Unit Test Results.

Designed for use with JUnit and Ant.

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

NameTestsErrorsFailuresTime(s)Time StampHost
CoveredPartyTest3000.0382013-01-31T13:34:12JKMSoftware-desktop

Tests

NameStatusResultTime(s)
testConstructor

Constraint

OCL

SuccessInvalid XML

Valid XML

0.001
testValidateCoveredPartyId

Constraint

CCD Covered Party SHOULD contain at least one [1..*] id (CONF-59)

OCL

(self.id->isEmpty() or self.id->exists(element | element.isNullFlavorUndefined())) implies (not self.id->isEmpty())

SuccessInvalid XML


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

Valid XML


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

0.006
testValidateCoveredPartyCode

Constraint

CCD Covered Party SHOULD contain exactly one [1..1] code (CONF-60)

OCL

(self.code.oclIsUndefined() or self.code.isNullFlavorUndefined()) implies (not self.code.oclIsUndefined())

SuccessInvalid XML


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

Valid XML


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

0.029
Properties »