Thursday, June 25, 2015

Practical Theory


In the past, I was part of a project focused on redesigning core business functionality. My approach was influenced by fundamental theory. I ended up redesigning the underlying complex database into third normal form. It had 40 tables. When I presented this to the team, the reaction was mixed. From surprise to frustration, I heard that 40 tables are way too much and we need simpler and scalable design.

In following months, another team approached this problem from fundamentally different manner more focused on code first approach. This team initially produced key-value based database with 20 tables. This solution was finalized for implementation.
Now we are close to the implementation and over last few months, the team working on this project had to add lot of additional tables to address functional and non-functional requirements. Finally, this data model is ready with 51 tables.  Lot of core features like data validation and integrity are bolted on to the initial model.


Point of this post is not to turn this into A Vs B design discussion, but to highlight the fact that proven design principals and practical theory like relational algebra; category theory etc. saves lot of implementation headaches and eliminates / minimizes complexity.  In my opinion, quite often this proven strategy is neglected for short term gains, inter/intra team dynamics or just lack of respect for theory.  What you think? What is your experience? 

Monday, February 4, 2013

ICD Manager

ICD Manager look-up screen


ICD 9 to 10 details based on CMS GEM

Wednesday, April 4, 2012

Transition of care market is worth 1.5 billion $ in 2011

According to some estimates, transition of care [from emergency room to the primary care] is the costliest part of the healthcare delivery system in the US. Out of estimated 150 million emergency room visits reported in 2010-11 across all 50 states, 80% of such visits resulted in follow-ups with primary care physician [PCP]. But for only 5% of all such reported PCP visits – relevant clinical information such as procedures performed, medication administered and tests conducted were available to the attending primary care physician. [In other words, for 114 million visits no ER information was available to the PCP] Estimated cost involved in chart chasing, mailing, faxing, phone calls, etc. is estimated to be in the range of 1.5 billion dollars in 2011 and projected to grow to 2.9 billion dollars by 2014 – whooping 24% growth.

Interesting observation is that HIE will not reduce this cost in near future as HIE implementation and adoption is moving really slow. There are many vendors operating in the middle offering multitude of delivery alternatives such as smart scans, electronic fax on demand and automated chart routing systems based on the primary care provider information [if such information is available]. None of these solutions are either improving or enhancing the quality of care.

With so much focus on Accountable Care Organizations [ACO][1], let’s hope that ER-PCP weak link will also be addressed seriously

1. ACO : http://en.wikipedia.org/wiki/Accountable_care_organization

Saturday, March 31, 2012

Future of ASP.NET driven LOB applications on Windows8 / WinRT platform

As usual, Microsoft is driving the Win8 bus with high level demos and pep talks. But not much information is available on the future of main stream, data intensive line of business [LOB] applications driven by server side programming [ASP.NET web forms / MVC, etc.] in WinRT ecosystem. Sure, these applications will run without any glitch on Windows 8 in desktop mode – heard this zillion times. But haven’t heard enough on – future of ASP.NET driven LOB on Windows 8 –WinRT/ Metro stack?

Based on Google driven research done in last few weeks – think, following approach will work for the data driven LOB applications with metro style HTML5 / CSS / JavaScript based UI


Data from RDBMS server will be exposed via entity framework [or any other ORM of choice] via repository pattern. ORM model will be wrapped via WCF service layer pattern to provide standard CRUD operations. REST based WCF service will support JSON so that client can easily consume / interact with the data via JavaScript in the client UI.

Again, this is my take [may be naïve take] on how LOB applications might work in Win8/WinRT /Metro environment. Will appreciate constructive criticism / suggestions/ alternative approaches or your take on this amorphous stack.

Excellent Summary available @ http://magenic.com/Portals/0/Magenic-White-Paper-Assessing-the-Windows-8-Development-Platform.pdf


Ciao


Friday, March 30, 2012

SQL Server 2000 and EF


Take a look @ the image - SQL Server 2000 will not work with entity framework



Tuesday, September 13, 2011

Windows 8 Programming Stack

My take with few additions










Original Slide from MS


SIlverlight and XAML are not dead but HTML 5 and Javascript are supported out-of-the box.

Monday, August 15, 2011

Numbers and Pictures!


Wednesday, April 13, 2011

Windows Phone 7 app



Got windows phone 7 app going over the weekend. Hoping that will get new Windows Phone 7 codebase -"Mango" soon to build new cool applications



Above : Schedule application for Doctor and working Win Phone 7 tweet application

Saturday, November 20, 2010

Push Pull



in .NET, Reactive Framework provides great async programming model. More details @ Reactive Framework

Sunday, September 26, 2010

Evolution of Data and UI


Monday, June 28, 2010

Healthcare Interoperability 101

In the US healthcare, there is a lot of buzz around "Interoperability". Mostly driven by standardization bodies and vendors, this discussion is lost in translation. Just count number of standards, HL7, LOINC, SNOMED, DICOM, CDA, AJCC, FORDS, etc. Don't worry if you don't know a few of these standards – Google will lead you in the right direction.

For system integrators, challenge is in synchronizing the relevant information and to facilitate the prompt decision making. Mostly the source data is stored in a relational format in the underlying RDBMS systems like SQL Server, Oracle, DB2, MySQL etc. In some cases, data is stored in legacy systems on mainframe computers in EBCDIC format. For example VistA, the Veteran Administration's aging Electronic Health Records (EHR) system written in MUMPS.

A good analogy would be to compare healthcare interoperability landscape with the United Nations General Assembly. In the UN, we have more than 150 countries and their representative speaking in hundreds of different languages and numerous dialects. Everyone is concerned with "Global Peace". And as was explained by one UN employee, the challenge is to establish the common ground, and ensuring that the message is not lost in translation. We in healthcare are facing the same challenge – for us, it's an interoperability challenge. For system healthcare integrators, interoperability is an ongoing struggle. Consider the following figure


Figure above represents the simplistic view of diverse message formats used in every day healthcare information exchange. Many expert working groups are investing a lot of time and energy in formulating these standards, and keeping them up to date. Most of these messages carry almost identical information like patient demographics, albeit in its own format. For example, X12 Eligibility request and HL7 patient demographics information. In the source data store, patient information will mostly be stored in the same location. Challenge is in figuring out the real cost of supporting these diverse message sets for system integrators like EMR/EHR vendors, and for the end users like providers and hospitals?

Time and again, these standards are presented as panacea for all healthcare data integration issues. Each group claims universal support and wide adoption on their website, and vendors supporting them use it wherever possible. Challenging or questioning their relevance is a sin. From BI system to PACS vendors, everyone is driving this bandwagon. IMHO, standards can resolve an interoperability issue is a myth. Standards are part of this puzzle but not the puzzle itself.

Another issue in interoperability domain is related to the special cases / exceptions. For example, In the US labs market, LOINC is a well established standard. But there are some reference labs where LOINC is not a good enough solution. So we end up with the broken system in which we implement LOINC plus custom codes. It's like writing 90% of the blog post in English with remaining 10% in some other foreign language. Supporting such special requests breaks the interop logic flow. At the implementation level, such requests are either implemented via lookup tables or through custom logic built inside the interop / rules engine.

Finally, the uniqueness of healthcare presents its own challenge. Consider the specialty like cancer care and in that specialty, a very specialized vertical like Brest Cancer treatment. Brest Cancer treatment and survival statistics reporting demands some special attention. Hence, we end up with FORDS - Facility Oncology Registry Data Standard. FORDS provides definitions and detailed instructions for coding patient diagnosis, treatment, and outcomes. Now, standards like FORDS play an important role in the cancer treatment domain. But for the system integrators, this is one more message format to deal with. In the end, we have to deal with multitude of interoperability challenges as explained below


Conclusion

Interoperability requirements will evolve with time. No one standard / group should try to design "Grand Daddy" of all these systems. Any such attempt will create a gynormous blueprint, practically impossible to implement.

References

  1. Principles of Health Interoperability HL7 and SNOMED

Friday, March 12, 2010

What type of company are you working for?

No great company can be built on revenue model – everything should start with product. Apple, BMW, and GE – everybody had a great product and then they built revenue model around it. If we drive our development to catch up with revenue, we will be in catch-up game all the time. We will end up adding a lot of functionality for anybody who wants to buy. Every opportunity is billion dollar one and every customer is God! We get it, but if we don’t know where we want to go – any road will take us there…

Are you working for a product driven company or revenue driven one? Answers are not simple as revenue will drive the product, and product will generate revenue. But there is a litmus test, if your short term plan is in flux and you bump on new keyword every three to five weeks, chances are you are driven by sales organization. If you have people talking about same technology for long time, and have a capacity built around it, then you are working for a product driven company.

For example, iPhone, Google, ebay was not built to make millions / billions and 110% growth. First the product was designed and developed followed by growth. Now anybody trying to catch–up with these companies are investing 10 bucks, and want 40 back in two years. And we all know where this strategy is going.

Alas! We know – We understand and then We ignore…what type of company are you working for?

Friday, February 26, 2010

Gen next coming

Barbie The Computer Engineer...

Saturday, February 13, 2010

Freash from Boot Camp

I just got back from Silverlight 4.0 Microsoft boot camp. It was great experience [much better than a three day conference]. OOB,MEF,RIA web service,isolated storage,local mesh and much more...

What we saw in these four days in Redmond is really amazing, and talking to silverlight dev team was a great experience.Friends, river of possibilities is flowing high - its just a matter of jumping in and being part of the fun ride...

I am working on a silverlight 4 test app. Will blog a bout it when its ready.

Till then, have fun, stay in touch and be safe!

Ciao!

Thursday, January 21, 2010

Design 101

I was reading "Dreaming in Code" and thinking about many project I worked on in my career...

And the thought of production tragedy kept coming at me. So finally got it...

When Design is a disaster and Implementation is catastrophe - production will be Tragedy!

Sunday, December 27, 2009

SOA: CAPEX Vs OPEX

When is your Information Technology investment in general and Service related investment in particular is CAPEX and not an OPEX? Let’s consider an example, if service is a value-add then money spent on it will be CAPEX, otherwise if it is something you have to do to keep your product alive – it’s definitely OPEX.

From architecture point, CAPEX services can be developed in an isolated environment and tied back to the product via satellite interface. Many such services are offered via browser and charged on pay-per-use billing model. On the other hand, core business services like messaging and security are integral part of the product and are tightly integrated with it. Mostly, customer will end up paying for OPEX service in one way or other.

Recently, my cell phone provider offered me additional data storage for fixed cost per month. This is a good example of a CAPEX service. Same provider is charging me fixed price for each text message [since I don’t have text plan] – I guess, for the provider, this is an OPEX service.

There are many things we consider while evaluating any technology including distribution model. With SOA, this distribution channel and CAPEX / OPEX model will decide many things like coupling architecture, SLA and revenue projections…

**I am not an accountant and do not understand the nuances involved in this CAPEX Vs OPEX discussion. So feel free to correct me …

Happy Holidays!

Ref:
http://www.stratetect.com/2008/06/capex-vs-opex-what-is-the-difference/

Tuesday, November 3, 2009

X12 and HL7 view of the patient

Sunday, October 18, 2009

Impedance mismatch

Friday, October 2, 2009

Healthcare Demo App on SQL Azure Platform

In our Azure user group meeting and at the LA CloudCamp, I heard many people asking about support for entity framework on top of SQL Azure platform. The best way to test / ans / find out is to build an application.

So I have developed a healthcare app [provider claim lookup] on top of SQL Azure. This app is based on "Code Far" model -i.e. app is running of the hosted server but data is stored in the cloud.

Developed using : Dynamic Data Entities Web Application, Entity Framework, SQL Azure, ASP.NET / C#

Here is a link http://www.zimbatech.com/healthcaredemo/

abhi
www.zimbatech.com

Thursday, October 1, 2009

LA CloudCamp -Data in the Cloud

We had a very good CloudCamp in LA. It was my first unconference – I was not sure what to expect and what I will learn. But at the end of the day [around 11.45 PM or so], when I was walking up to my underground garage on the corner of 5th and Olive, I felt really good about it. It was on the fly brainstorming session with 100 plus technology related folks.

The way this camp was conducted is impressive and food [please read it as free food] was awesome. They had unlimited beer for those who would like to climb up in the cloud before getting into any serious conversation…

We focused on the general theme of data in the cloud. I started the conversation with CAP [not CRAP]. C: Consistency, A: Availability and P: partionshing [a.k.a. load balancing, scaling etc.]. It is mathematically proven that one can have any two of these three qualities in any massively distributed system. Now if we are building an app for the cloud – this principal is very important as there is a network in the middle… it was a discussion that could almost go on for days if not weeks, and we had to wrap it up in half an hour. So the conclusion was twofold – know the limitations and choose what you want before you build your app – you can have any combination of CAP – viz – CA, AP or CP but not all…

Then Lynn Langit of the Microsoft presented on SQL Azure. It was a very good, house full presentation. Our small room was jam packed to its limit and Lynn did a great job of introducing this RDBMS in the cloud. Yes, we heard all those legitimate concerns one more time – how can you build a real database with 10 GB, and what about replication? But as Lynn said this is V1 [and we know from our experience that MS gets the right product out with V3]. I learned one important lesson in this session – when there are non-microsofties around – explain every acronym you use. For them PDC and RTM is like JAOO to the Microsoft community.

Our final talk was on scaling the data in the cloud. From what I understood [which might be way off the mark], there is altogether other alternative to the RDBMS model. Things like Tokyo Cabinet and hadoop , HBASE, CouchDB, etc. [WOW – I remembered all these things]. The point of this discussion was, start thinking outside the box. There are other ways to think about transactions – like BASE, and ACID is not the only way to achieve the consistency. This session was more techno- philosophical. Take away, as per our DBA friend –“RDBMS is crap, start thinking about alternatives”. In the end, the data structures you want to use depend on the type of applications you want to build. Facebook and banking app are two extreme end points on this scale, and have their unique requirements. Albeit, both of them deal with large datasets…

In the end, walking back to the parking lot, I heard this interesting comment –“I went to watch a movie and they told me to act in it, there was no Tom Cruise or Don Box, Lary Ellison in the room, and I ended up presenting the show. Oh! Well – thank god my wife was not in the room…please pardon me if I said something stupid, you know I was little bit drunk…”

abhi
www,zimbatech.com