Unit Test Results.

Designed for use with JUnit and Ant.

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

NameTestsErrorsFailuresTime(s)Time StampHost
ProductEntryTest2000.0052013-01-31T13:34:27JKMSoftware-desktop

Tests

NameStatusResultTime(s)
testConstructor

Constraint

OCL

SuccessInvalid XML

Valid XML

0.001
testValidateProductEntryTemplateId

Constraint

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

OCL

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

SuccessInvalid XML


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

Valid XML


<manufacturedproduct xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2"/>
<templateId root="2.16.840.1.113883.10.20.1.53"/>
</manufacturedproduct>

0.003
Properties »