Unit Test Results.

Designed for use with JUnit and Ant.

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

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

Failures

NameStatusResultTime(s)
testValidateFamilyHistoryCauseOfDeathObservationCauseOfDeathObservation

Constraint

OCL

NO OCL FOUND FOR PROPERTY VALIDATE_FAMILY_HISTORY_CAUSE_OF_DEATH_OBSERVATION_CAUSE_OF_DEATH_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP

FailureInvalid XML


<observation xmlns="urn:hl7-org:v3" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.1.42"/>
<templateId root="2.16.840.1.113883.10.20.1.22"/>
<statusCode code="completed"/>
<entryRelationship>
<observation/>
</entryRelationship>
</observation>

Valid XML

ERROR EXPECT FAIL validateFamilyHistoryCauseOfDeathObservationCauseOfDeathObservation" passed when it was expected to fail.<observation xmlns="urn:hl7-org:v3" moodCode="EVN"> <templateId root="2.16.840.1.113883.10.20.1.42"/> <templateId root="2.16.840.1.113883.10.20.1.22"/> <statusCode code="completed"/> <entryRelationship> <observation/> </entryRelationship> </observation>

junit.framework.AssertionFailedError: ERROR EXPECT FAIL validateFamilyHistoryCauseOfDeathObservationCauseOfDeathObservation" passed when it was expected to fail.







at org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest$CDAValidationTestCase.validateExpectFail(CDAValidationTest.java:286)
at org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest$OperationsTestCase.doTest(CDAValidationTest.java:751)
at org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest$OperationsTestCase.doValidationTest(CDAValidationTest.java:845)
at org.openhealthtools.mdht.uml.cda.ccd.tests.FamilyHistoryCauseOfDeathObservationTest.testValidateFamilyHistoryCauseOfDeathObservationCauseOfDeathObservation(FamilyHistoryCauseOfDeathObservationTest.java:79)
0.007
Properties »