Unit Test Results.

Designed for use with JUnit and Ant.

Class org.openhealthtools.mdht.uml.cda.ccd.tests.FulfillmentInstructionTest

NameTestsErrorsFailuresTime(s)Time StampHost
FulfillmentInstructionTest3000.0122013-01-31T13:34:13JKMSoftware-desktop

Tests

NameStatusResultTime(s)
testConstructor

Constraint

OCL

SuccessInvalid XML

Valid XML

0.001
testValidateFulfillmentInstructionTemplateId

Constraint

SHALL contain exactly one [1..1] templateId ( ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.1.43"

OCL

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

SuccessInvalid XML


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

Valid XML


<act xmlns="urn:hl7-org:v3" moodCode="INT">
<templateId root="2.16.840.1.113883.10.20.1.43"/>
</act>

0.005
testValidateFulfillmentInstructionMoodCode

Constraint

CCD Fulfillment Instruction SHALL contain exactly one [1..1] @moodCode="INT" (CodeSystem: 2.16.840.1.113883.5.1001 HL7ActMood) (CONF-336)

OCL

self.moodCode=vocab::x_DocumentActMood::INT

SuccessInvalid XML


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

Valid XML


<act xmlns="urn:hl7-org:v3" moodCode="INT">
<templateId root="2.16.840.1.113883.10.20.1.43"/>
</act>

0.003
Properties »