Wednesday, September 16, 2009
Enforce basic document structure with XML constraint checking
Enforce basic document structure with XML constraint checking: "The ability to specify, check and act upon constraints is vital to ensuring the overall quality of healthcare information. The Health Level 7 (HL7) Clinical Document Architecture (CDA), described through XML Schema, allows the specification of constraints through HL7 Templates, which can be implemented in Schematron. Schematron can be applied through XSLT. This article illustrates software and hardware solutions for constraint checking in the HL7 CDA. The two solutions are demonstrated in an SOA that includes both successful and failing XML Schema and Schematron constraint checks. The article evaluates the application of constraints in the HL7 CDA and identifies some categories of constraints that require further investigation. The outcome of this evaluation shows that the ability to specify, check, and act upon constraints through Schematron complements XML Schema processing. The two constraint approaches are very useful and practical, and should therefore be pursued further."