Unit Test Results.

Designed for use with JUnit and Ant.

Class org.openhealthtools.mdht.uml.cda.ihe.tests.EncounterActivityTest

NameTestsErrorsFailuresTime(s)Time StampHost
EncounterActivityTest2000.0102013-01-31T13:34:23JKMSoftware-desktop

Tests

NameStatusResultTime(s)
testConstructor

Constraint

OCL

SuccessInvalid XML

Valid XML

0.001
testValidateEncountersActivityTemplateId

Constraint

The 'EncountersActivityTemplateId' invariant is violated on 'org.openhealthtools.mdht.uml.cda.ihe.impl.EncounterActivityImpl@251ebd4f{#//}'

OCL

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

SuccessInvalid XML


<encounter xmlns="urn:hl7-org:v3"/>

Valid XML


<encounter xmlns="urn:hl7-org:v3" classCode="ENC" moodCode="EVN">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.14"/>
<templateId root="2.16.840.1.113883.10.20.1.21"/>
<code codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActEncounterCode"/>
</encounter>

0.008
Properties »