Unit Test Results.

Designed for use with JUnit and Ant.

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

NameTestsErrorsFailuresTime(s)Time StampHost
PhysicalExamSectionTest52000.6382013-01-31T13:34:26JKMSoftware-desktop

Tests

NameStatusResultTime(s)
testConstructor

Constraint

OCL

SuccessInvalid XML

Valid XML

0.001
testGetVitalSignsSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.018
testValidatePhysicalExamSectionTemplateId

Constraint

SHALL contain exactly one [1..1] templateId ( CONF:10465 ) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.2.10"

OCL

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

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="2.16.840.1.113883.10.20.2.10"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
</section>

0.006
testValidatePhysicalExamSectionVitalSignsSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Vital Signs Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.3.25)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::VitalSignsSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.25"/>
<templateId root="2.16.840.1.113883.10.20.1.16"/>
<code code="8716-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Vital signs"/>
</section>
</component>
</section>

0.013
testValidatePhysicalExamSectionGeneralAppearanceSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] General Appearance Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.16)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::GeneralAppearanceSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.16"/>
<code code="10210-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="GENERAL STATUS"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionVisibleImplantedMedicalDevicesSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Visible Implanted Medical Devices Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.48)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::VisibleImplantedMedicalDevicesSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.48"/>
<code code="XX-VisibleImplantedDevices" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Visible implanted medical devices"/>
</section>
</component>
</section>

0.012
testValidatePhysicalExamSectionIntegumentarySystemSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Integumentary System Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.17)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::IntegumentarySystemSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.17"/>
<code code="29302-7" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="INTEGUMENTARY SYSTEM"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionHeadSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Head Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.18)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::HeadSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.18"/>
<code code="10199-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="HEAD"/>
</section>
</component>
</section>

0.012
testValidatePhysicalExamSectionEyesSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Eyes Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.19)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::EyesSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.19"/>
<code code="10197-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="EYE"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionEarsNoseMouthThroatSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Ears Nose Mouth Throat Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.20)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::EarsNoseMouthThroatSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.20"/>
<code code="11393-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="EARS and NOSE and MOUTH and THROAT"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionEarsSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Ears Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.21)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::EarsSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.21"/>
<code code="10195-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="EAR"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionNoseSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Nose Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.22)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::NoseSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.22"/>
<code code="10203-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="NOSE"/>
</section>
</component>
</section>

0.012
testValidatePhysicalExamSectionMouthThroatTeethSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Mouth Throat Teeth Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.23)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::MouthThroatTeethSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.23"/>
<code code="10201-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="MOUTH and THROAT and TEETH"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionNeckSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Neck Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.24)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::NeckSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.24"/>
<code code="11411-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="NECK"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionEndocrineSystemSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Endocrine System Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.25)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::EndocrineSystemSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.25"/>
<code code="29307-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="ENDOCRINE SYSTEM"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionThoraxLungsSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Thorax Lungs Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.26)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::ThoraxLungsSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.26"/>
<code code="10207-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="THORAX+LUNGS"/>
</section>
</component>
</section>

0.012
testValidatePhysicalExamSectionChestWallSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Chest Wall Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.27)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::ChestWallSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.27"/>
<code code="11392-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="CHEST WALL"/>
</section>
</component>
</section>

0.012
testValidatePhysicalExamSectionBreastSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Breast Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.28)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::BreastSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.28"/>
<code code="10193-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="BREASTS"/>
</section>
</component>
</section>

0.012
testValidatePhysicalExamSectionHeartSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Heart Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.29)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::HeartSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.29"/>
<code code="10200-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="HEART"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionRespiratorySystemSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Respiratory System Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.30)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::RespiratorySystemSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.30"/>
<code code="11412-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="RESPIRATORY SYSTEM"/>
</section>
</component>
</section>

0.012
testValidatePhysicalExamSectionAbdomenSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Abdomen Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.31)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::AbdomenSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.31"/>
<code code="10191-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="ABDOMEN"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionLymphaticSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Lymphatic Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.32)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::LymphaticSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.32"/>
<code code="11447-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="HEMATOLOGIC+LYMPHATIC+IMMUNOLOGIC SYSTEM"/>
</section>
</component>
</section>

0.012
testValidatePhysicalExamSectionVesselsSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Vessels Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.33)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::VesselsSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.33"/>
<code code="10208-7" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="VESSELS"/>
</section>
</component>
</section>

0.012
testValidatePhysicalExamSectionMusculoskeletalSystemSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Musculoskeletal System Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.34)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::MusculoskeletalSystemSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.34"/>
<code code="11410-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="MUSCULOSKELETAL SYSTEM"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionNeurologicSystemSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Neurologic System Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.35)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::NeurologicSystemSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.35"/>
<code code="10202-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="NEUROLOGIC SYSTEM"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionGenitaliaSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Genitalia Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.36)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::GenitaliaSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.36"/>
<code code="11400-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="GENITALIA"/>
</section>
</component>
</section>

0.011
testValidatePhysicalExamSectionRectumSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Rectum Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.9.37)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::RectumSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.37"/>
<code code="10205-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="RECTUM"/>
</section>
</component>
</section>

0.013
testValidatePhysicalExamSectionExtremitiesSection

Constraint

IHE Physical Exam Section MAY contain zero or one [0..1] component Contains exactly one [1..1] Extremities Section (templateId: 1.3.6.1.4.1.19376.1.5.3.1.1.16.2.1)

OCL

self.getAllSections()->one(section : cda::Section | not section.oclIsUndefined() and section.oclIsKindOf(ihe::ExtremitiesSection))

SuccessInvalid XML


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

Valid XML


<section xmlns="urn:hl7-org:v3">
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.9.15"/>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.24"/>
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PHYSICAL EXAMINATION"/>
<component>
<section>
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.16.2.1"/>
<code code="10196-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="EXTREMITIES"/>
</section>
</component>
</section>

0.011
testGetGeneralAppearanceSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.012
testGetVisibleImplantedMedicalDevicesSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.012
testGetIntegumentarySystemSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.012
testGetHeadSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetEyesSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetEarsNoseMouthThroatSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetEarsSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetNoseSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetMouthThroatTeethSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetNeckSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetEndocrineSystemSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetThoraxLungsSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetChestWallSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetBreastSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetHeartSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetRespiratorySystemSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetAbdomenSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetLymphaticSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.012
testGetVesselsSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetMusculoskeletalSystemSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetNeurologicSystemSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetGenitaliaSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
testGetRectumSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.014
testGetExtremitiesSection

Constraint

OCL

SuccessInvalid XML

Valid XML

0.013
Properties »