Unit Test Results.

Designed for use with JUnit and Ant.

Class org.openhealthtools.mdht.uml.cda.hitsp.tests.ResultOrganizerTest

NameTestsErrorsFailuresTime(s)Time StampHost
ResultOrganizerTest3000.0362013-01-31T13:34:35JKMSoftware-desktop

Tests

NameStatusResultTime(s)
testConstructor

Constraint

OCL

SuccessInvalid XML

Valid XML

0.000
testGetResults

Constraint

OCL

SuccessInvalid XML

Valid XML

0.017
testValidateHITSPResultOrganizerResult

Constraint

HITSP Result Organizer SHALL contain at least one [1..*] component Contains exactly one [1..1] Result (templateId: 2.16.840.1.113883.3.88.11.83.15.1)

OCL

self.component->exists(component : cda::Component4 | not component.observation.oclIsUndefined() and component.observation.oclIsKindOf(hitsp::Result))

SuccessInvalid XML


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

Valid XML


<organizer xmlns="urn:hl7-org:v3" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.1.32"/>
<component>
<observation/>
</component>
</organizer>

0.016
Properties »