Question

The company I work for recently started a project delving into the world of HL7 messaging and data trading. We are using BizTalk Server 2010 with the BTAHL7 accelerator for 2010 with success so far for HL7 v2 but now we have a need to accept HL7 v3 (CDA R2) documents. These are CCD's we will be accepting from an external vendor.

I have the full suite of .xsd schemas from HL7 for CDA R2 (all 1541 of them) but am struggling with how to figure out which schemas relate to the messages we will be receiving. All I have to work with are test CCD messages from our trading partner and no other information. I have tried to use the code and display name along with the templateId's to figure out which subschemas this will match so I can appropriately map into our internal canonical formats for data loading but I am struggling to figure that out.

I'd rather not create one project in BizTalk that holds all 1541 schemas to parse and validate these files as that would make reading my maps and transformation mechanisms that much more difficult. Has anyone with experience in HL7 v3 and BizTalk got any guidance on how I can identify the appropriate subschemas based on the information available in the test files?

Here is the header information:

<realmCode code="US"/>
<typeId root="XXX" extension="POCD_HD000040"/>        
<templateId root="2.16.840.1.113883.10.20.1"/>
<templateId root="2.16.840.1.113883.3.88.11.32.1"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.6"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.2"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.1"/>
<templateId root="2.16.840.1.113883.10.20.3"/>
<templateId root="2.16.840.1.113883.3.88.11.83.1"/>
<id root="1.2.840.113619.21.1.3164884235793924544.1704986688012700"/>
<code code="34133-9" codeSystem="XXX" codeSystemName="LOINC" displayName="Summarization of episode note"/>
<title>XXX</title>
<effectiveTime value="20140110152448-0500"/>
<confidentialityCode code="N" codeSystem="XXX"/><languageCode code="en-US"/>
Was it helpful?

Solution

CDA is not like the rest of V3, and the v3 schemas are irrelevant. I would've thought Biztalk included CDA schemas specifically. The ones you need are:

  • datatypes-base.xsd
  • NarrativeBlock.xsd
  • voc.xsd
  • datatypes.xsd
  • POCD_MT000040.xsd
  • CDA.xsd

OTHER TIPS

As @Grahame stated, having the HL7 V3 schemas does not really help you implement the CDA in BizTalk. The CCD (Continuity of Care Document) is a defined set of constraints on the CDA (Clinical Document Architecture) standard.

In order to obtain the CCD schemas, you have to go to HL7. You can download the CCD spec, samples, and required schemas directly by going here, accepting the HL7 licensing agreement, and giving them your data.

Once you download the ZIP file, look inside the CDASchemas folder for the actual schema files. The CDASchemas\cda\Schemas\CDA.xsd file will act as the "root" schema.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top