XML Evaluation Style Sheets
Many IHE documents are defined in terms of CDA or other document types that are XML documents. Some IHE documents are XML documents that are defined by IHE and are not defined by an SDO.
This page contains style sheets that we use to evaluate content (not form) of these documents. We specify the content the document should contain and provide a style sheet that help a human compare the document under test with the content that was expected.
Consider this version 1 of this kind of test. A better implementation would use Schematron or some other mechanism and only show places where the document differed from expected content. These style sheets show both expected and submitted content.
The style sheets below rely on a folder of included style sheets: expected.zip
|IHE Profile||Document Type||Style Sheet|
|XDS-MS / Discharge||CDA||XDSMSDischarge_content_test.xsl|
|XDS-MS / Referral||CDA||XDSMSReferral_content_test.xsl|
- Download the zip file expected.zip. Unzip the file, and maintain the folder structure (one folder named expected).
- Download the desired style sheet from the table above. The style sheet references expected/xxx.xsl, so it should be stored in the same folder as expected, not under expected.
- Use your favorite XML tool to associate the style sheet with the XML file under test.
- Open the XML file under test. The style sheet should show you what values are expected and what values are provided in the file under test.