Unit Test Results.

Designed for use with JUnit and Ant.

Class org.openhealthtools.mdht.uml.cda.cdt.tests.LevelTwoConformanceTest

NameTestsErrorsFailuresTime(s)Time StampHost
LevelTwoConformanceTest2000.0092013-01-31T13:33:55JKMSoftware-desktop

Tests

NameStatusResultTime(s)
testConstructor

Constraint

OCL

SuccessInvalid XML

Valid XML

0.001
testValidateLevelOneConformanceTemplateId

Constraint

The 'LevelOneConformanceTemplateId' invariant is violated on 'org.openhealthtools.mdht.uml.cda.cdt.impl.LevelTwoConformanceImpl@14baaea8{#//}'

OCL

self.templateId->exists(id : datatypes::II | id.root = '2.16.840.1.113883.10.20.20')

SuccessInvalid XML


<?xml version="1.0" encoding="UTF-8"?>
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 CDA.xsd"/>

Valid XML


<?xml version="1.0" encoding="UTF-8"?>
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 CDA.xsd">
<templateId root="2.16.840.1.113883.10.20.20"/>
<templateId root="2.16.840.1.113883.10.20.10"/>
</ClinicalDocument>

0.005
Properties »