Martin visited DataDirect and learned about the new HIPAA and ICD standards. Last week I visited Dr. Carlo “Minollo” Innocenti of Progress Software subsidiary DataDirect to talk about HIPAA 5010 electronic transactions, ICD-10 diagnostic codes, HL7 3.x, and the DataDirect Data Integration Suite. The visit came about because of my blog post the previous week about XBRL, HL7, and Altova MissonKit 2009. You may recall that I went into some detail about XBRL in that post, but deferred electronic health records to another time: basically, I wanted to hear another viewpoint.Minollo, who is the XML technologies lead at DataDirect, gave me a nice overview of the current electronic health care records situation, and a demo of how DataDirect can solve some of the problems. According to Minollo, while DataDirect Data Integration Suite is often compared to Altova’s products because of their overlap, its emphasis is different: DataDirect centers on its XQuery engine and XML converters and just happens to have an IDE called Stylus Studio to support these.The problems that companies who want to implement the current revision of HIPAA transactions face are serious, but not insurmountable. Health plans, health care providers, and health care clearinghouses all need to conform to the HIPAA EDI standards, but it’s the clearinghouses that have the biggest headaches. What’s the problem? Basically, the new standards aren’t backward compatible. Specifically, the EDI-based HIPAA Version 4 release 1 (4010) is being replaced by the XML-based Version 5 release 1 (5010), and the ICD-9 International Classification of Diseases code set is being replaced by ICD-10. The mandated compliance dates are January 2012 and October 2013.Suppose a doctor’s office is producing HIPAA 4010 with ICD-9 diagnostic codes, and the patient’s health plan requires HIPAA 5010 with ICD-10 diagnostic codes. If you’re the clearinghouse, you have a data conversion problem.An EDI input facility, XML Converters, and XQuery can manage the HIPAA 4010-to-5010 translation. The ICD-9 to 10 translation is a little harder, because they aren’t compatible standards. Minollo’s solution is to create tables in SQL Server representing all the published ICD-9 and ICD-10 codes, create a table in SQL Server with the published information about ICD-9 to ICD-10 mappings, and finally to use XQuery to map ICD-9 into ICD-10 codes whenever it’s possible. Unfortunately, it isn’t always possible: some ICD-9 to 10 mappings are one to one, but others are one to many, and a few don’t exist. In many cases the correct mapping can be inferred from other parts of the health claim, but in some cases the record may have to go back to the provider for recoding. I found it interesting that Minollo was able to keep his XQuery code compact by using the new modify syntax: copy $doc5010 := . modify ( rename node $doc5010/HIPAA/ISA/ISA11-InterchangeControlStandards as QName(“”, “ISA11-RepetitionSeparator”), replace value of node $doc5010/HIPAA/ISA/ISA12-InterchangeControlVersion with “00501”, rename node $doc5010/HIPAA/ISA/ISA12-InterchangeControlVersion as QName(“”, “ISA12-InterchangeControlVersionNumber”), rename node $doc5010/HIPAA/ISA/ISA15-UsageIndicator as QName(“”, “ISA15-InterchangeUsageIndicator”), insert node 005010X222 before $doc5010/HIPAA/GS/GS08-VersionReleaseIndustry, delete node $doc5010/HIPAA/GS/GS08-VersionReleaseIndustry, …You can find out more by listening to Minollo’s Webinar on this subject (free registration required) or at one of the following resources: XML Connections DataDirect Data Integration Suite Overview Download the demo DataDirect XML Converters DataDirect XQuery Software DevelopmentCompliance