ihepcc
IHEProblemConcernEntry
IHEProblemConcernEntry
cda-POCDMT000040Act
ihepcc1672
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2']/hl7:code, the attribute nullFlavor SHALL have the value 'NA' if present
self.code->forAll(nullFlavor.oclIsUndefined() or nullFlavor=NullFlavor::NA)
ERROR
Fixed value
ihepcc1665
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1668
In IHE Problem Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'] (Item : 6.3.4.12.4)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1658
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.27'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.12.4)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.27')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1673
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute typeCode SHALL have the value 'SUBJ' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.5'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::SUBJ)
ERROR
Fixed value
ihepcc1664
In IHE Problem Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] (Item : 6.3.4.12.4)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1675
In IHE Problem Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'] SHALL contain at least ONE hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] (Item : 6.3.4.11.9)
(not self.nullFlavor.oclIsUndefined()) or self.entryRelationship->size()>0
ERROR
Cardinality
ihepcc1657
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.27'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.27')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1666
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.12.4)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1662
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.12.4)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1660
In IHE Problem Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.27'] (Item : 6.3.4.12.4)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1667
In IHE Problem Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'] (Item : 6.3.4.12.4)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2')->size()<2
ERROR
Cardinality
ihepcc1671
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2']/hl7:code, the attribute nullFlavor SHALL be present
self.code->forAll(not nullFlavor.oclIsUndefined())
ERROR
Cardinality
ihepcc1661
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1659
In IHE Problem Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.27'] (Item : 6.3.4.12.4)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.27')->size()<2
ERROR
Cardinality
ihepcc1656
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XDocumentActMood::EVN
ERROR
Fixed value
ihepcc1669
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'], the element(s) hl7:id SHALL not have nullFlavor (mandatory) (Item : 6.3.4.11.5)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1655
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'], the attribute classCode SHALL have the value 'ACT' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryAct::ACT
ERROR
Fixed value
ihepcc1674
In IHE Problem Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.5')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1670
In IHE Problem Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'] SHALL contain at least ONE hl7:id (Item : 6.3.4.11.5)
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1663
In IHE Problem Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] (Item : 6.3.4.12.4)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1')->size()<2
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.5.2
templateId.root
IHEVitalSignsOrganizer
IHEVitalSignsOrganizer
cda-POCDMT000040Organizer
ihepcc181
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'], the element(s) hl7:code SHALL not have nullFlavor (mandatory) (Item : 6.3.4.21.5)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc179
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.96' if present
self.code->select(oclIsKindOf(CE)).oclAsType(CE)->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.96')
ERROR
Fixed value
ihepcc175
In IHE Vital Signs Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] SHALL contain at most ONE hl7:id (Item : 6.3.4.21.4)
self.id->size()<2
ERROR
Cardinality
ihepcc170
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.35'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.35')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc167
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.32'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.21.3)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.32')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc164
In IHE Vital Signs Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] (Item : 6.3.4.21.3)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1')->size()<2
ERROR
Cardinality
ihepcc174
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'], the element(s) hl7:id SHALL not have nullFlavor (mandatory) (Item : 6.3.4.21.4)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc168
In IHE Vital Signs Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.32'] (Item : 6.3.4.21.3)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.32')->size()<2
ERROR
Cardinality
ihepcc189
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'], the element(s) hl7:component SHALL not have nullFlavor (mandatory) (Item : 6.3.4.21.9)
self.component->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc163
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.21.3)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc177
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1']/hl7:code, the attribute code SHALL be present
self.code->select(oclIsKindOf(CE)).oclAsType(CE)->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc171
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.35'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.21.3)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.35')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc187
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1']/hl7:component, the attribute typeCode SHALL have the value 'COMP' if present
self.component->forAll(typeCode.oclIsUndefined() or typeCode=ActRelationshipHasComponent::COMP)
ERROR
Fixed value
ihepcc176
In IHE Vital Signs Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] SHALL contain at least ONE hl7:id (Item : 6.3.4.21.4)
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc173
In IHE Vital Signs Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.35'] (Item : 6.3.4.21.3)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc184
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc188
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1']/hl7:component/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'], the attribute root SHALL be present
self.component.observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc178
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1']/hl7:code, the attribute code SHALL have the value '46680005' if present
self.code->select(oclIsKindOf(CE)).oclAsType(CE)->forAll(code.oclIsUndefined() or code='46680005')
ERROR
Fixed value
ihepcc172
In IHE Vital Signs Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.35'] (Item : 6.3.4.21.3)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.35')->size()<2
ERROR
Cardinality
ihepcc186
In IHE Vital Signs Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] SHALL contain at least ONE hl7:effectiveTime (Item : 6.3.4.21.7)
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc169
In IHE Vital Signs Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.32'] (Item : 6.3.4.21.3)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc182
In IHE Vital Signs Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] SHALL contain at least ONE hl7:code (Item : 6.3.4.21.5)
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc166
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.32'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.32')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc160
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
Fixed value
ihepcc162
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc165
In IHE Vital Signs Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] (Item : 6.3.4.21.3)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc190
In IHE Vital Signs Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'] SHALL contain at least ONE hl7:component (Item : 6.3.4.21.9)
(not self.nullFlavor.oclIsUndefined()) or self.component->size()>0
ERROR
Cardinality
ihepcc161
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'], the attribute classCode SHALL have the value 'CLUSTER' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryOrganizer::CLUSTER
ERROR
Fixed value
ihepcc180
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'], the element(s) hl7:code SHALL be from the datatype CE (Item : 6.3.4.21.5)
self.code->forAll(oclIsKindOf(CE))
ERROR
Datatype
ihepcc183
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc185
In IHE Vital Signs Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory) (Item : 6.3.4.21.6)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.4.13.1
templateId.root
IHEProblemStatusObservation
IHEProblemStatusObservation
cda-POCDMT000040Observation
ihepcc1024
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:statusCode, the attribute codeSystem SHALL have the value '2.16.840.1.113883.5.14' if present
self.statusCode->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.5.14')
ERROR
Fixed value
ihepcc1005
In IHE Problem Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.57']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1021
In IHE Problem Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1003
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.57'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.57')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1009
In IHE Problem Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.50']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1018
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:text, the element(s) hl7:reference SHALL not have nullFlavor (mandatory)
self.text.reference->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1016
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1019
In IHE Problem Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:text SHALL contain at least ONE hl7:reference
self.text->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
ihepcc1012
In IHE Problem Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1')->size()<2
ERROR
Cardinality
ihepcc1026
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the element(s) hl7:value SHALL be from the datatype CE
self.value->forAll(oclIsKindOf(CE))
ERROR
Datatype
ihepcc1029
In IHE Problem Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc1027
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the element(s) hl7:value SHALL not have nullFlavor (mandatory)
self.value->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1023
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc1020
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1017
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1022
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1008
In IHE Problem Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.50']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.50')->size()<2
ERROR
Cardinality
ihepcc1015
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:code, the attribute code SHALL have the value '33999-4' if present
self.code->forAll(code.oclIsUndefined() or code='33999-4')
ERROR
Fixed value
ihepcc1002
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.57'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.57')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1007
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.50'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.50')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1014
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1028
In IHE Problem Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] SHALL contain at most ONE hl7:value
self.value->size()<2
ERROR
Cardinality
ihepcc1030
In IHE Problem Status Observation, the code of /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:value SHALL be from the valueSet 1.2.3.4.5.6.7.11.2
self.value->forAll( (not nullFlavor.oclIsUndefined()) or ((not oclAsType(CE).code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('1.2.3.4.5.6.7.11.2', oclAsType(CE).code, oclAsType(CE).codeSystem, null, null)))
ERROR
Vocabulary
ihepcc1025
In IHE Problem Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc1010
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1013
In IHE Problem Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1004
In IHE Problem Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.57']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.57')->size()<2
ERROR
Cardinality
ihepcc1011
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1006
In IHE Problem Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.50'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.50')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.1.1
templateId.root
IHECodedSocialHistorySection
IHECodedSocialHistorySection
cda-POCDMT000040Section
ihepcc857
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.16')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc865
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1']/hl7:code, the attribute code SHALL have the value '29762-2' if present
self.code->forAll(code.oclIsUndefined() or code='29762-2')
ERROR
Fixed value
ihepcc855
In IHE Coded Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1')->size()<2
ERROR
Cardinality
ihepcc854
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc874
In IHE Coded Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] SHALL contain at least ONE hl7:entry
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc863
In IHE Coded Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.15']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc853
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc869
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc862
In IHE Coded Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.15']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.15')->size()<2
ERROR
Cardinality
ihepcc859
In IHE Coded Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.16')->size()<2
ERROR
Cardinality
ihepcc872
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1']/hl7:entry/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4'], the attribute root SHALL be present
self.entry.observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc856
In IHE Coded Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc868
In IHE Coded Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc860
In IHE Coded Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc871
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1']/hl7:entry, the attribute typeCode SHALL be present
self.entry->forAll((not nullFlavor.oclIsUndefined()) or (not typeCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc867
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc866
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc875
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1']/hl7:component/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.37'], the attribute root SHALL be present
self.component.section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.37')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc873
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'], the element(s) hl7:entry SHALL not have nullFlavor (mandatory)
self.entry->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc876
In IHE Coded Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] SHALL contain at most ONE hl7:component
self.component->size()<2
ERROR
Cardinality
ihepcc858
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.16')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc864
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc861
In IHE Coded Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.15'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.15')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc870
In IHE Coded Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.16.1
templateId.root
IHEFamilyHistoryObservation
IHEFamilyHistoryObservation
cda-POCDMT000040Observation
ihepcc217
In IHE Family History Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.19376.1.5.3.1.4.13.3']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc215
In IHE Family History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'], the element(s) hl7:templateId[@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.19376.1.5.3.1.4.13.3')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc225
In IHE Family History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc230
In IHE Family History Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc226
In IHE Family History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc218
In IHE Family History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.22'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.22')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc213
In IHE Family History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc219
In IHE Family History Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.22']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.22')->size()<2
ERROR
Cardinality
ihepcc214
In IHE Family History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3']/hl7:templateId[@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.19376.1.5.3.1.4.13.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc229
In IHE Family History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'], the element(s) hl7:value SHALL be from the datatype CD
self.value->forAll(oclIsKindOf(CD))
ERROR
Datatype
ihepcc224
In IHE Family History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc227
In IHE Family History Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc223
In IHE Family History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc222
In IHE Family History Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc220
In IHE Family History Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.22']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc228
In IHE Family History Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'] SHALL contain at least ONE hl7:effectiveTime
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc221
In IHE Family History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc216
In IHE Family History Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.19376.1.5.3.1.4.13.3']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.19376.1.5.3.1.4.13.3')->size()<2
ERROR
Cardinality
1.3.6.1.4.19376.1.5.3.1.4.13.3
templateId.root
IHESocialHistorySection
IHESocialHistorySection
cda-POCDMT000040Section
ihepcc638
In IHE Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.15'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.15')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc649
In IHE Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc643
In IHE Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc634
In IHE Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.16')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc646
In IHE Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc635
In IHE Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.16')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc648
In IHE Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc641
In IHE Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.15']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc637
In IHE Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc645
In IHE Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16']/hl7:code, the attribute code SHALL have the value '29762-2' if present
self.code->forAll(code.oclIsUndefined() or code='29762-2')
ERROR
Fixed value
ihepcc647
In IHE Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc644
In IHE Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc639
In IHE Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.15'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.15')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc650
In IHE Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc642
In IHE Social History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc636
In IHE Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.16')->size()<2
ERROR
Cardinality
ihepcc640
In IHE Social History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.15']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.15')->size()<2
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.16
templateId.root
IHECodedListOfSurgeriesSection
IHECodedListOfSurgeriesSection
cda-POCDMT000040Section
ihepcc1158
In IHE Coded List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1149
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.11')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1148
In IHE Coded List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.12']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1154
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.12'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.12')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1151
In IHE Coded List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.11']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.11')->size()<2
ERROR
Cardinality
ihepcc1168
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12']/hl7:entry[hl7:act/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.4'], the attribute root SHALL be present
self.entry->select(act.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.4')).act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.4')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1166
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12']/hl7:entry[hl7:procedure/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']/hl7:procedure/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'], the attribute root SHALL be present
self.entry->select(procedure.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.19')).procedure.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.19')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1162
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1163
In IHE Coded List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1165
In IHE Coded List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1145
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.12')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1160
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12']/hl7:code, the attribute code SHALL have the value '47519-4' if present
self.code->forAll(code.oclIsUndefined() or code='47519-4')
ERROR
Fixed value
ihepcc1152
In IHE Coded List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.11']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1164
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1157
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1161
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1153
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.12'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.12')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1156
In IHE Coded List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.12']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1159
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1150
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.11')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1155
In IHE Coded List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.12']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.12')->size()<2
ERROR
Cardinality
ihepcc1146
In IHE Coded List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.12')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1147
In IHE Coded List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.12']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.12')->size()<2
ERROR
Cardinality
ihepcc1167
In IHE Coded List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.12'] SHALL contain at least ONE hl7:entry[hl7:procedure/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.12
templateId.root
IHEWeeklyWorkHoursObservation
IHEWeeklyWorkHoursObservation
cda-POCDMT000040Observation
ihepcc668
In IHE Weekly Work Hours Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc657
In IHE Weekly Work Hours Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc654
In IHE Weekly Work Hours Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc662
In IHE Weekly Work Hours Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc656
In IHE Weekly Work Hours Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc664
In IHE Weekly Work Hours Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc660
In IHE Weekly Work Hours Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc658
In IHE Weekly Work Hours Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc653
In IHE Weekly Work Hours Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc652
In IHE Weekly Work Hours Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc666
In IHE Weekly Work Hours Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'], the element(s) hl7:value SHALL not have nullFlavor (mandatory)
self.value->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc661
In IHE Weekly Work Hours Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc667
In IHE Weekly Work Hours Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'] SHALL contain at most ONE hl7:value
self.value->size()<2
ERROR
Cardinality
ihepcc659
In IHE Weekly Work Hours Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8']/hl7:code, the attribute code SHALL have the value 'LOINC-8' if present
self.code->forAll(code.oclIsUndefined() or code='LOINC-8')
ERROR
Fixed value
ihepcc655
In IHE Weekly Work Hours Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8')->size()<2
ERROR
Cardinality
ihepcc665
In IHE Weekly Work Hours Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'], the element(s) hl7:value SHALL be from the datatype INT
self.value->forAll(oclIsKindOf(INT))
ERROR
Datatype
ihepcc651
In IHE Weekly Work Hours Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'], the attribute classCode SHALL have the value 'OBS' if present
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
ERROR
Fixed value
ihepcc663
In IHE Weekly Work Hours Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.4.20.8
templateId.root
Comment
Comment
cda-POCDMT000040Act
ihepcc127
In Comment, the code of /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:subject/hl7:awarenessCode SHALL be from the valueSet 2.16.840.1.113883.1.11.10310
self.subject.awarenessCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.10310', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc125
In Comment, in /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:subject, the attribute typeCode SHALL have the value 'SBJ' if present
self.subject->forAll(typeCode.oclIsUndefined() or typeCode=ParticipationTargetSubject::SBJ)
ERROR
Fixed value
ihepcc121
In Comment, in /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40'], the element(s) hl7:code SHALL not have nullFlavor (mandatory) (Item : CONF-507)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc120
In Comment, in /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc117
In Comment, /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.40']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc129
In Comment, the code of /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:subject/hl7:relatedSubject/@classCode SHALL be from the valueSet 2.16.840.1.113883.1.11.19368
self.subject.relatedSubject.classCode->forAll( aa | (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.19368', CommonOperationsStatic::stringValueOf(aa))))
ERROR
Vocabulary
ihepcc114
In Comment, in /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40'], the attribute moodCode SHALL have the value 'EVN' if present (Item : CONF-505)
self.moodCode.oclIsUndefined() or self.moodCode=XDocumentActMood::EVN
ERROR
Fixed value
ihepcc122
In Comment, the code of /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:statusCode SHALL be from the valueSet 2.16.840.1.113883.1.11.15933
self.statusCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.15933', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc130
In Comment, the code of /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:subject/hl7:relatedSubject/hl7:code SHALL be from the valueSet 2.16.840.1.113883.1.11.19563
self.subject.relatedSubject.code->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.19563', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc128
In Comment, in /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:subject/hl7:relatedSubject, the attribute classCode SHALL be present
self.subject.relatedSubject->forAll((not nullFlavor.oclIsUndefined()) or (not classCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc123
In Comment, the code of /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:priorityCode SHALL be from the valueSet 2.16.840.1.113883.1.11.16866
self.priorityCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.16866', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc115
In Comment, in /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.40'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.40')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc131
In Comment, the code of /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:subject/hl7:relatedSubject/hl7:subject/@classCode SHALL be from the valueSet 2.16.840.1.113883.1.11.20049
self.subject.relatedSubject.subject.classCode->forAll( aa | (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.20049', CommonOperationsStatic::stringValueOf(aa))))
ERROR
Vocabulary
ihepcc133
In Comment, the code of /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:subject/hl7:relatedSubject/hl7:subject/hl7:administrativeGenderCode SHALL be from the valueSet 2.16.840.1.113883.1.11.1
self.subject.relatedSubject.subject.administrativeGenderCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.1', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc132
In Comment, in /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:subject/hl7:relatedSubject/hl7:subject, the attribute determinerCode SHALL have the value 'INSTANCE' if present
self.subject.relatedSubject.subject->forAll(determinerCode.oclIsUndefined() or determinerCode=EntityDeterminer::INSTANCE)
ERROR
Fixed value
ihepcc119
In Comment, in /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:code, the attribute code SHALL have the value '48767-8' if present
self.code->forAll(code.oclIsUndefined() or code='48767-8')
ERROR
Fixed value
ihepcc124
In Comment, the code of /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:languageCode SHALL be from the valueSet 2.16.840.1.113883.1.11.11526
self.languageCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.11526', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc116
In Comment, /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.40']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.40')->size()<2
ERROR
Cardinality
ihepcc113
In Comment, in /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40'], the attribute classCode SHALL have the value 'ACT' if present (Item : CONF-504)
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryAct::ACT
ERROR
Fixed value
ihepcc126
In Comment, in /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:subject, the attribute contextControlCode SHALL have the value 'OP' if present
self.subject->forAll(contextControlCode.oclIsUndefined() or contextControlCode=NullFlavor::OP)
ERROR
Fixed value
ihepcc118
In Comment, in /hl7:act[hl7:templateId/@root='2.16.840.1.113883.10.20.1.40']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
2.16.840.1.113883.10.20.1.40
templateId.root
IHESeverityEntry
IHESeverityEntry
cda-POCDMT000040Observation
ihepcc1459
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1469
In IHE Severity Entry, the code of /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:value SHALL have code='L'and codeSytem='2.16.840.1.113883.5.1063' OR SHALL have code='H'and codeSytem='2.16.840.1.113883.5.1063' OR SHALL have code='M'and codeSytem='2.16.840.1.113883.5.1063'
self.value->forAll( (not nullFlavor.oclIsUndefined()) or ((not oclAsType(CD).code.oclIsUndefined()) and oclAsType(CD).code='L' and ((oclAsType(CD).codeSystem.oclIsUndefined()) or oclAsType(CD).codeSystem='2.16.840.1.113883.5.1063')) or ((not oclAsType(CD).code.oclIsUndefined()) and oclAsType(CD).code='H' and ((oclAsType(CD).codeSystem.oclIsUndefined()) or oclAsType(CD).codeSystem='2.16.840.1.113883.5.1063')) or ((not oclAsType(CD).code.oclIsUndefined()) and oclAsType(CD).code='M' and ((oclAsType(CD).codeSystem.oclIsUndefined()) or oclAsType(CD).codeSystem='2.16.840.1.113883.5.1063')))
ERROR
Vocabulary
ihepcc1448
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1465
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc1468
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the element(s) hl7:value SHALL be from the datatype CD
self.value->forAll(oclIsKindOf(CD))
ERROR
Datatype
ihepcc1453
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.55'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.55')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1461
In IHE Severity Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:text SHALL contain at least ONE hl7:reference
self.text->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
ihepcc1457
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:code, the attribute code SHALL have the value 'SEV' if present
self.code->forAll(code.oclIsUndefined() or code='SEV')
ERROR
Fixed value
ihepcc1451
In IHE Severity Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1455
In IHE Severity Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.55']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1458
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.5.4' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.5.4')
ERROR
Fixed value
ihepcc1456
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1449
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1466
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:statusCode, the attribute codeSystem SHALL have the value '2.16.840.1.113883.5.14' if present
self.statusCode->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.5.14')
ERROR
Fixed value
ihepcc1464
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1467
In IHE Severity Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc1446
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the attribute classCode SHALL have the value 'OBS' if present
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
ERROR
Fixed value
ihepcc1447
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc1460
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:text, the element(s) hl7:reference SHALL not have nullFlavor (mandatory)
self.text.reference->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1462
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1452
In IHE Severity Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.55'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.55')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1463
In IHE Severity Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1450
In IHE Severity Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1')->size()<2
ERROR
Cardinality
ihepcc1454
In IHE Severity Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.55']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.55')->size()<2
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.1
templateId.root
IHEFamilyMedicalHistorySection
IHEFamilyMedicalHistorySection
cda-POCDMT000040Section
ihepcc997
In IHE Family Medical History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14']/hl7:code, the attribute code SHALL have the value '10157-6' if present
self.code->forAll(code.oclIsUndefined() or code='10157-6')
ERROR
Fixed value
ihepcc992
In IHE Family Medical History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.4']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.4')->size()<2
ERROR
Cardinality
ihepcc989
In IHE Family Medical History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.14']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc986
In IHE Family Medical History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.14')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1001
In IHE Family Medical History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc998
In IHE Family Medical History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc991
In IHE Family Medical History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.4'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.4')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc987
In IHE Family Medical History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.14')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc995
In IHE Family Medical History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc993
In IHE Family Medical History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.4']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc990
In IHE Family Medical History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.4'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.4')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc996
In IHE Family Medical History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc999
In IHE Family Medical History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc994
In IHE Family Medical History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc988
In IHE Family Medical History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.14']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.14')->size()<2
ERROR
Cardinality
ihepcc1000
In IHE Family Medical History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.14
templateId.root
IHEProcedureEntry
IHEProcedureEntry
cda-POCDMT000040Procedure
ihepcc340
In IHE Procedure Entry, /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.19')->size()<2
ERROR
Cardinality
ihepcc339
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.19')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc359
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']/hl7:entryRelationship[@typeCode='RSON']/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'], the attribute root SHALL be present
self.entryRelationship->select((not typeCode.oclIsUndefined()) and typeCode=XActRelationshipEntryRelationship::RSON).act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc344
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.25'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.25')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc335
In IHE Procedure Entry, the element defined by /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] shall verify this requirement : When the procedure is in event mood (moodCode='EVN'), this entry conforms to the CCD template 2.16.840.1.113883.10.20.1.29, and when in intent mood, this entry conforms to the CCD template 2.16.840.1.113883.10.20.1.25
CommonOperationsStatic::validateByXPATHV2(self, '(@moodCode=\u0027EVN\u0027 and cda:templateId/@root=\u00272.16.840.1.113883.10.20.1.29\u0027) or (@moodCode=\u0027INT\u0027 and cda:templateId/@root=\u00272.16.840.1.113883.10.20.1.25\u0027)')
ERROR
Context
ihepcc354
In IHE Procedure Entry, /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc350
In IHE Procedure Entry, /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']/hl7:text SHALL contain at least ONE hl7:reference
self.text->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
ihepcc352
In IHE Procedure Entry, /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc356
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']/hl7:entryRelationship[@typeCode='COMP'], the attribute inversionInd SHALL be present
self.entryRelationship->select((not typeCode.oclIsUndefined()) and typeCode=XActRelationshipEntryRelationship::COMP)->forAll((not nullFlavor.oclIsUndefined()) or (not inversionInd.oclIsUndefined()))
ERROR
Cardinality
ihepcc353
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc342
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.29'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.29')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc347
In IHE Procedure Entry, /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc341
In IHE Procedure Entry, /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc343
In IHE Procedure Entry, /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.29']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.29')->size()<2
ERROR
Cardinality
ihepcc337
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'], the attribute classCode SHALL have the value 'PROC' if present
self.classCode.oclIsUndefined() or self.classCode=ActClass::PROC
ERROR
Fixed value
ihepcc351
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc348
In IHE Procedure Entry, /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc357
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']/hl7:entryRelationship[@typeCode='COMP'], the attribute inversionInd SHALL have the value 'true' if present
self.entryRelationship->select((not typeCode.oclIsUndefined()) and typeCode=XActRelationshipEntryRelationship::COMP)->forAll(inversionInd.oclIsUndefined() or inversionInd=true)
ERROR
Fixed value
ihepcc355
In IHE Procedure Entry, the code of /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']/hl7:statusCode SHALL have code='completed' OR SHALL have code='active' OR SHALL have code='aborted' OR SHALL have code='cancelled'
self.statusCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and code='completed') or ((not code.oclIsUndefined()) and code='active') or ((not code.oclIsUndefined()) and code='aborted') or ((not code.oclIsUndefined()) and code='cancelled'))
ERROR
Vocabulary
ihepcc336
In IHE Procedure Entry, the element defined by /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] shall verify this requirement : priorityCode shall be present in INT mood when effectiveTime is not provided, it may be present in other moods.
CommonOperationsStatic::validateByXPATHV2(self, '(not @moodCode=\u0027INT\u0027) or (priorityCode or effectiveTime)')
ERROR
Context
ihepcc349
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']/hl7:text, the element(s) hl7:reference SHALL not have nullFlavor (mandatory)
self.text.reference->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc345
In IHE Procedure Entry, /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.25']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.25')->size()<2
ERROR
Cardinality
ihepcc338
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.19')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc346
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc358
In IHE Procedure Entry, in /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']/hl7:entryRelationship[@typeCode='COMP']/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'], the attribute root SHALL be present
self.entryRelationship->select((not typeCode.oclIsUndefined()) and typeCode=XActRelationshipEntryRelationship::COMP).act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc334
In IHE Procedure Entry, the element defined by /hl7:procedure[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] shall verify this requirement : The moodCode attribute SHALL have the value EVN or INT
CommonOperationsStatic::validateByXPATHV2(self, '@moodCode=\u0027EVN\u0027 or @moodCode=\u0027INT\u0027')
ERROR
Context
1.3.6.1.4.1.19376.1.5.3.1.4.19
templateId.root
IHEGeneralAppearanceSection
IHEGeneralAppearanceSection
cda-POCDMT000040Section
ihepcc695
In IHE General Appearance Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc694
In IHE General Appearance Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc696
In IHE General Appearance Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc688
In IHE General Appearance Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16')->size()<2
ERROR
Cardinality
ihepcc699
In IHE General Appearance Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16']/hl7:entry/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute root SHALL be present
self.entry.observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc698
In IHE General Appearance Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc689
In IHE General Appearance Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc690
In IHE General Appearance Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc691
In IHE General Appearance Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc692
In IHE General Appearance Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc697
In IHE General Appearance Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc687
In IHE General Appearance Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc686
In IHE General Appearance Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc693
In IHE General Appearance Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.16']/hl7:code, the attribute code SHALL have the value '10210-3' if present
self.code->forAll(code.oclIsUndefined() or code='10210-3')
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.1.9.16
templateId.root
IHEFamilyHistoryOrganizer
IHEFamilyHistoryOrganizer
cda-POCDMT000040Organizer
ihepcc935
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:subject/hl7:relatedSubject/hl7:code, the attribute codeSystem SHALL have the datatype 'oid' if present
self.subject.relatedSubject.code->forAll(codeSystem.oclIsUndefined() or CommonOperationsStatic::isOID(codeSystem))
ERROR
Datatype
ihepcc950
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:participant/hl7:participantRole/hl7:playingEntity, the attribute classCode SHALL have the value 'PSN' if present
self.participant.participantRole.playingEntity->forAll(classCode.oclIsUndefined() or classCode=EntityClassRoot::PSN)
ERROR
Fixed value
ihepcc934
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:subject/hl7:relatedSubject/hl7:code, the attribute codeSystemName SHALL have the value 'RoleCode' if present
self.subject.relatedSubject.code->forAll(codeSystemName.oclIsUndefined() or codeSystemName='RoleCode')
ERROR
Fixed value
ihepcc936
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:subject/hl7:relatedSubject/hl7:code, the attribute codeSystem SHALL be present
self.subject.relatedSubject.code->forAll((not nullFlavor.oclIsUndefined()) or (not codeSystem.oclIsUndefined()))
ERROR
Cardinality
ihepcc946
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:participant/hl7:participantRole, the attribute classCode SHALL have the value 'PRS' if present
self.participant.participantRole->forAll(classCode.oclIsUndefined() or classCode=RoleClassRoot::PRS)
ERROR
Fixed value
ihepcc941
In IHE Family History Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:subject/hl7:relatedSubject SHALL contain at least ONE hl7:subject
self.subject.relatedSubject->forAll(not subject.oclIsUndefined())
ERROR
Cardinality
ihepcc937
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:subject/hl7:relatedSubject/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.5.111' if present
self.subject.relatedSubject.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.5.111')
ERROR
Fixed value
ihepcc952
In IHE Family History Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:participant/hl7:participantRole SHALL contain at least ONE hl7:playingEntity
self.participant.participantRole->forAll(not playingEntity.oclIsUndefined())
ERROR
Cardinality
ihepcc942
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'], the element(s) hl7:subject SHALL not have nullFlavor (mandatory)
self.subject->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc945
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:participant/hl7:participantRole, the attribute classCode SHALL be present
self.participant.participantRole->forAll((not nullFlavor.oclIsUndefined()) or (not classCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc930
In IHE Family History Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.23']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.23')->size()<2
ERROR
Cardinality
ihepcc943
In IHE Family History Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'] SHALL contain at least ONE hl7:subject
(not self.nullFlavor.oclIsUndefined()) or self.subject->size()>0
ERROR
Cardinality
ihepcc938
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:subject/hl7:relatedSubject/hl7:code, the attribute code SHALL be present
self.subject.relatedSubject.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc954
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:component/hl7:observation/hl7:templateId[@root='1.3.6.1.4.19376.1.5.3.1.4.13.3'], the attribute root SHALL be present
self.component.observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.19376.1.5.3.1.4.13.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc955
In IHE Family History Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'] SHALL contain at least ONE hl7:component
(not self.nullFlavor.oclIsUndefined()) or self.component->size()>0
ERROR
Cardinality
ihepcc932
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:subject/hl7:relatedSubject, the attribute classCode SHALL be present
self.subject.relatedSubject->forAll((not nullFlavor.oclIsUndefined()) or (not classCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc924
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.15')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc928
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.23'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.23')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc953
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:component, the attribute typeCode SHALL have the value 'COMP' if present
self.component->forAll(typeCode.oclIsUndefined() or typeCode=ActRelationshipHasComponent::COMP)
ERROR
Fixed value
ihepcc951
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:participant/hl7:participantRole, the element(s) hl7:playingEntity SHALL not have nullFlavor (mandatory)
self.participant.participantRole.playingEntity->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc927
In IHE Family History Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc940
In IHE Family History Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:subject/hl7:relatedSubject SHALL contain at least ONE hl7:code
self.subject.relatedSubject->forAll(not code.oclIsUndefined())
ERROR
Cardinality
ihepcc948
In IHE Family History Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:participant/hl7:participantRole SHALL contain at least ONE hl7:code
self.participant.participantRole->forAll(not code.oclIsUndefined())
ERROR
Cardinality
ihepcc939
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:subject/hl7:relatedSubject, the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.subject.relatedSubject.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc949
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:participant/hl7:participantRole/hl7:playingEntity, the attribute classCode SHALL be present
self.participant.participantRole.playingEntity->forAll((not nullFlavor.oclIsUndefined()) or (not classCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc923
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
Fixed value
ihepcc922
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'], the attribute classCode SHALL have the value 'CLUSTER' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryOrganizer::CLUSTER
ERROR
Fixed value
ihepcc947
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:participant/hl7:participantRole, the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.participant.participantRole.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc926
In IHE Family History Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.15')->size()<2
ERROR
Cardinality
ihepcc933
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:subject/hl7:relatedSubject, the attribute classCode SHALL have the value 'PRS' if present
self.subject.relatedSubject->forAll(classCode.oclIsUndefined() or classCode=XDocumentSubject::PRS)
ERROR
Fixed value
ihepcc929
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.23'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.23')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc944
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15']/hl7:participant, the attribute typeCode SHALL have the value 'IND' if present
self.participant->forAll(typeCode.oclIsUndefined() or typeCode=ParticipationType::IND)
ERROR
Fixed value
ihepcc931
In IHE Family History Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.23']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc925
In IHE Family History Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.15')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.4.15
templateId.root
IHEHealthStatusObservation
IHEHealthStatusObservation
cda-POCDMT000040Observation
ihepcc487
In IHE Health Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.51']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc508
In IHE Health Status Observation, the code of /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']/hl7:value SHALL be from the valueSet 1.2.3.4.5.6.7.11.3
self.value->forAll( (not nullFlavor.oclIsUndefined()) or ((not oclAsType(CE).code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('1.2.3.4.5.6.7.11.3', oclAsType(CE).code, oclAsType(CE).codeSystem, null, null)))
ERROR
Vocabulary
ihepcc499
In IHE Health Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc502
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']/hl7:statusCode, the attribute codeSystem SHALL have the value '2.16.840.1.113883.5.14' if present
self.statusCode->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.5.14')
ERROR
Fixed value
ihepcc498
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc500
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc486
In IHE Health Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.51']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.51')->size()<2
ERROR
Cardinality
ihepcc489
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc484
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.51'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.51')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc493
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']/hl7:code, the attribute code SHALL have the value '11323-3' if present
self.code->forAll(code.oclIsUndefined() or code='11323-3')
ERROR
Fixed value
ihepcc494
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc504
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'], the element(s) hl7:value SHALL be from the datatype CE
self.value->forAll(oclIsKindOf(CE))
ERROR
Datatype
ihepcc496
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']/hl7:text, the element(s) hl7:reference SHALL not have nullFlavor (mandatory)
self.text.reference->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc506
In IHE Health Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'] SHALL contain at most ONE hl7:value
self.value->size()<2
ERROR
Cardinality
ihepcc488
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc491
In IHE Health Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc507
In IHE Health Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc495
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc485
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.51'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.51')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc503
In IHE Health Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc492
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc490
In IHE Health Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2')->size()<2
ERROR
Cardinality
ihepcc505
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'], the element(s) hl7:value SHALL not have nullFlavor (mandatory)
self.value->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc497
In IHE Health Status Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']/hl7:text SHALL contain at least ONE hl7:reference
self.text->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
ihepcc501
In IHE Health Status Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.4.1.2
templateId.root
IHEWorkShiftObservationEntry
IHEWorkShiftObservationEntry
cda-POCDMT000040Observation
ihepcc259
In IHE Work Shift Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc266
In IHE Work Shift Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'], the element(s) hl7:value SHALL be from the datatype CD
self.value->forAll(oclIsKindOf(CD))
ERROR
Datatype
ihepcc262
In IHE Work Shift Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc267
In IHE Work Shift Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'], the element(s) hl7:value SHALL not have nullFlavor (mandatory)
self.value->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc268
In IHE Work Shift Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'] SHALL contain at most ONE hl7:value
self.value->size()<2
ERROR
Cardinality
ihepcc256
In IHE Work Shift Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7')->size()<2
ERROR
Cardinality
ihepcc257
In IHE Work Shift Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc269
In IHE Work Shift Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc263
In IHE Work Shift Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc260
In IHE Work Shift Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7']/hl7:code, the attribute code SHALL have the value 'LOINC-7' if present
self.code->forAll(code.oclIsUndefined() or code='LOINC-7')
ERROR
Fixed value
ihepcc255
In IHE Work Shift Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc254
In IHE Work Shift Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc253
In IHE Work Shift Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc252
In IHE Work Shift Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'], the attribute classCode SHALL have the value 'OBS' if present
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
ERROR
Fixed value
ihepcc264
In IHE Work Shift Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc258
In IHE Work Shift Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc265
In IHE Work Shift Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc261
In IHE Work Shift Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.4.20.7
templateId.root
IHECoverageEntry
IHECoverageEntry
cda-POCDMT000040Act
ihepcc1645
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1654
In IHE Coverage Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'] SHALL contain at least ONE hl7:entryRelationship
(not self.nullFlavor.oclIsUndefined()) or self.entryRelationship->size()>0
ERROR
Cardinality
ihepcc1649
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1647
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1639
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.20'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.20')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1636
In IHE Coverage Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.17']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.17')->size()<2
ERROR
Cardinality
ihepcc1646
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1644
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17']/hl7:code, the attribute code SHALL have the value '48768-6' if present
self.code->forAll(code.oclIsUndefined() or code='48768-6')
ERROR
Fixed value
ihepcc1635
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.17')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1643
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1653
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'], the element(s) hl7:entryRelationship SHALL not have nullFlavor (mandatory)
self.entryRelationship->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1652
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17']/hl7:entryRelationship/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'], the attribute root SHALL be present
self.entryRelationship.act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.18')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1634
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.17')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1633
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'], the attribute moodCode SHALL have the value 'DEF' if present
self.moodCode.oclIsUndefined() or self.moodCode=XDocumentActMood::DEF
ERROR
Fixed value
ihepcc1641
In IHE Coverage Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.20']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1648
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc1642
In IHE Coverage Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1651
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17']/hl7:entryRelationship, the attribute typeCode SHALL have the value 'COMP' if present
self.entryRelationship->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::COMP)
ERROR
Fixed value
ihepcc1638
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.20'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.20')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1650
In IHE Coverage Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc1637
In IHE Coverage Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.17']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1632
In IHE Coverage Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'], the attribute classCode SHALL have the value 'ACT' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryAct::ACT
ERROR
Fixed value
ihepcc1640
In IHE Coverage Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.20']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.20')->size()<2
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.17
templateId.root
IHEAllergiesAndOtherAdverseReactionsSection
IHEAllergiesAndOtherAdverseReactionsSection
cda-POCDMT000040Section
ihepcc108
In IHE Allergies and Other Adverse Reactions Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc102
In IHE Allergies and Other Adverse Reactions Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.2']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.2')->size()<2
ERROR
Cardinality
ihepcc110
In IHE Allergies and Other Adverse Reactions Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc101
In IHE Allergies and Other Adverse Reactions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.2'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.2')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc099
In IHE Allergies and Other Adverse Reactions Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc106
In IHE Allergies and Other Adverse Reactions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc096
In IHE Allergies and Other Adverse Reactions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.13')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc107
In IHE Allergies and Other Adverse Reactions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc103
In IHE Allergies and Other Adverse Reactions Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.2']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc112
In IHE Allergies and Other Adverse Reactions Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'] SHALL contain at least ONE hl7:entry
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc111
In IHE Allergies and Other Adverse Reactions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']/hl7:entry/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3'], the attribute root SHALL be present
self.entry.act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc100
In IHE Allergies and Other Adverse Reactions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.2'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc105
In IHE Allergies and Other Adverse Reactions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']/hl7:code, the attribute code SHALL have the value '48765-2' if present
self.code->forAll(code.oclIsUndefined() or code='48765-2')
ERROR
Fixed value
ihepcc097
In IHE Allergies and Other Adverse Reactions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.13')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc098
In IHE Allergies and Other Adverse Reactions Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.13')->size()<2
ERROR
Cardinality
ihepcc104
In IHE Allergies and Other Adverse Reactions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc109
In IHE Allergies and Other Adverse Reactions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.3.13
templateId.root
IHEUsualOccupationDurationEntry
IHEUsualOccupationDurationEntry
cda-POCDMT000040Observation
ihepcc394
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc387
In IHE Usual Occupation Duration Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc391
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc386
In IHE Usual Occupation Duration Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc385
In IHE Usual Occupation Duration Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9')->size()<2
ERROR
Cardinality
ihepcc397
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'], the element(s) hl7:value SHALL not have nullFlavor (mandatory)
self.value->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc390
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc384
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc381
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'], the attribute classCode SHALL have the value 'OBS' if present
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
ERROR
Fixed value
ihepcc382
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc398
In IHE Usual Occupation Duration Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'] SHALL contain at most ONE hl7:value
self.value->size()<2
ERROR
Cardinality
ihepcc396
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'], the element(s) hl7:value SHALL be from the datatype PQ
self.value->forAll(oclIsKindOf(PQ))
ERROR
Datatype
ihepcc399
In IHE Usual Occupation Duration Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc389
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9']/hl7:code, the attribute code SHALL have the value 'LOINC-5' if present
self.code->forAll(code.oclIsUndefined() or code='LOINC-5')
ERROR
Fixed value
ihepcc383
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc395
In IHE Usual Occupation Duration Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc393
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc388
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc392
In IHE Usual Occupation Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.20.9
templateId.root
IHECarePlanSection
IHECarePlanSection
cda-POCDMT000040Section
ihepcc682
In IHE Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc673
In IHE Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.10'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.10')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc683
In IHE Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc680
In IHE Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31']/hl7:code, the attribute code SHALL have the value '61145-9' if present
self.code->forAll(code.oclIsUndefined() or code='61145-9')
ERROR
Fixed value
ihepcc678
In IHE Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc685
In IHE Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc679
In IHE Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc681
In IHE Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc675
In IHE Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.10']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.10')->size()<2
ERROR
Cardinality
ihepcc672
In IHE Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc674
In IHE Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.10'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.10')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc671
In IHE Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.31')->size()<2
ERROR
Cardinality
ihepcc669
In IHE Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.31')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc677
In IHE Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc676
In IHE Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.10']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc684
In IHE Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc670
In IHE Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.31')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.3.31
templateId.root
IHEMedicalSummaryDocument
IHEMedicalSummaryDocument
cda-POCDMT000040ClinicalDocument
ihepcc980
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc978
In IHE Medical Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc973
In IHE Medical Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.2']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.2')->size()<2
ERROR
Cardinality
ihepcc984
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'], the element(s) hl7:languageCode SHALL not have nullFlavor (mandatory)
self.languageCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc970
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2']/hl7:typeId, the attribute extension SHALL have the value 'POCD_HD000040' if present
self.typeId->forAll(extension.oclIsUndefined() or extension='POCD_HD000040')
ERROR
Fixed value
ihepcc982
In IHE Medical Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'] SHALL contain at least ONE hl7:title
(not self.nullFlavor.oclIsUndefined()) or self.title->size()>0
ERROR
Cardinality
ihepcc985
In IHE Medical Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'] SHALL contain at least ONE hl7:languageCode
(not self.nullFlavor.oclIsUndefined()) or self.languageCode->size()>0
ERROR
Cardinality
ihepcc967
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2']/hl7:typeId, the attribute root SHALL be present
self.typeId->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc971
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc983
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'], the element(s) hl7:effectiveTime SHALL not have nullFlavor (mandatory)
self.effectiveTime->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc975
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc981
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'], the element(s) hl7:title SHALL not have nullFlavor (mandatory)
self.title->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc969
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2']/hl7:typeId, the attribute extension SHALL be present
self.typeId->forAll((not nullFlavor.oclIsUndefined()) or (not extension.oclIsUndefined()))
ERROR
Cardinality
ihepcc977
In IHE Medical Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.1']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.1')->size()<2
ERROR
Cardinality
ihepcc976
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc968
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2']/hl7:typeId, the attribute root SHALL have the value '2.16.840.1.113883.1.3' if present
self.typeId->forAll(root.oclIsUndefined() or root='2.16.840.1.113883.1.3')
ERROR
Fixed value
ihepcc974
In IHE Medical Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.2']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc972
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.2')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc979
In IHE Medical Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.1.2
templateId.root
AbdomenSection
AbdomenSection
cda-POCDMT000040Section
ihepcc1218
In Abdomen Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1222
In Abdomen Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31']/hl7:entry/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute root SHALL be present
self.entry.observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1219
In Abdomen Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1212
In Abdomen Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1213
In Abdomen Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1217
In Abdomen Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1221
In Abdomen Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1211
In Abdomen Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31')->size()<2
ERROR
Cardinality
ihepcc1209
In Abdomen Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1216
In Abdomen Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31']/hl7:code, the attribute code SHALL have the value '10191- 5' if present
self.code->forAll(code.oclIsUndefined() or code='10191- 5')
ERROR
Fixed value
ihepcc1210
In Abdomen Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1214
In Abdomen Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1220
In Abdomen Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1215
In Abdomen Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.31']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.1.9.31
templateId.root
IHEAdvanceDirectivesSection
IHEAdvanceDirectivesSection
cda-POCDMT000040Section
ihepcc1486
In IHE Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1484
In IHE Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1470
In IHE Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.34')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1480
In IHE Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1475
In IHE Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1471
In IHE Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.34')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1483
In IHE Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1473
In IHE Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.34']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1485
In IHE Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1479
In IHE Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1482
In IHE Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1478
In IHE Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1481
In IHE Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34']/hl7:code, the attribute code SHALL have the value '42348-3' if present
self.code->forAll(code.oclIsUndefined() or code='42348-3')
ERROR
Fixed value
ihepcc1476
In IHE Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.1']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.1')->size()<2
ERROR
Cardinality
ihepcc1472
In IHE Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.34']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.34')->size()<2
ERROR
Cardinality
ihepcc1477
In IHE Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1474
In IHE Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.34
templateId.root
IHEReasonForReferralSection
IHEReasonForReferralSection
cda-POCDMT000040Section
ihepcc1300
In IHE Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1']/hl7:code, the attribute code SHALL have the value '42349-1' if present
self.code->forAll(code.oclIsUndefined() or code='42349-1')
ERROR
Fixed value
ihepcc1298
In IHE Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1299
In IHE Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1305
In IHE Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1303
In IHE Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1304
In IHE Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1294
In IHE Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1293
In IHE Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1296
In IHE Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1301
In IHE Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1302
In IHE Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1295
In IHE Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.1']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.1')->size()<2
ERROR
Cardinality
ihepcc1297
In IHE Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.3.1
templateId.root
IHESocialHistoryObservation
IHESocialHistoryObservation
cda-POCDMT000040Observation
ihepcc375
In IHE Social History Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4')->size()<2
ERROR
Cardinality
ihepcc374
In IHE Social History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc373
In IHE Social History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc379
In IHE Social History Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.33']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc376
In IHE Social History Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc380
In IHE Social History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc378
In IHE Social History Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.33']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.33')->size()<2
ERROR
Cardinality
ihepcc377
In IHE Social History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.33'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.33')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc372
In IHE Social History Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.4'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.4.13.4
templateId.root
IHEProblemEntry
IHEProblemEntry
cda-POCDMT000040Observation
ihepcc1124
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.28'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.28')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1120
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc1142
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'], the attribute typeCode SHALL have the value 'REFR' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1.2'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::REFR)
ERROR
Fixed value
ihepcc1121
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1126
In IHE Problem Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.28']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1131
In IHE Problem Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1135
In IHE Problem Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:value SHALL contain at least ONE hl7:originalText
self.value->select(oclIsKindOf(CD)).oclAsType(CD)->forAll(originalText->size()>0)
ERROR
Cardinality
ihepcc1141
In IHE Problem Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] SHALL contain at most ONE hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1.1'))->size()<2
ERROR
Cardinality
ihepcc1143
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1.2')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1132
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1138
In IHE Problem Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] SHALL contain at most ONE hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1'))->size()<2
ERROR
Cardinality
ihepcc1128
In IHE Problem Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] SHALL contain at most ONE hl7:id
self.id->size()<2
ERROR
Cardinality
ihepcc1139
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the attribute typeCode SHALL have the value 'REFR' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1.1'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::REFR)
ERROR
Fixed value
ihepcc1129
In IHE Problem Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1130
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1127
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1134
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the element(s) hl7:value SHALL be from the datatype CD
self.value->forAll(oclIsKindOf(CD))
ERROR
Datatype
ihepcc1123
In IHE Problem Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1137
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1136
In IHE Problem Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc1133
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc1140
In IHE Problem Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1.1')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1122
In IHE Problem Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5')->size()<2
ERROR
Cardinality
ihepcc1144
In IHE Problem Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] SHALL contain at most ONE hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.2']
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1.2'))->size()<2
ERROR
Cardinality
ihepcc1125
In IHE Problem Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.28']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.28')->size()<2
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.5
templateId.root
RespiratorySystemSection
RespiratorySystemSection
cda-POCDMT000040Section
ihepcc005
In Respiratory System Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc009
In Respiratory System Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc012
In Respiratory System Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc015
In Respiratory System Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30']/hl7:entry/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute root SHALL be present
self.entry.observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc001
In Respiratory System Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc003
In Respiratory System Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30')->size()<2
ERROR
Cardinality
ihepcc011
In Respiratory System Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc002
In Respiratory System Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc014
In Respiratory System Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30']/hl7:entry, the attribute typeCode SHALL be present
self.entry->forAll((not nullFlavor.oclIsUndefined()) or (not typeCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc006
In Respiratory System Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc013
In Respiratory System Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc010
In Respiratory System Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc004
In Respiratory System Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc008
In Respiratory System Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30']/hl7:code, the attribute code SHALL have the value '11412- 4' if present
self.code->forAll(code.oclIsUndefined() or code='11412- 4')
ERROR
Fixed value
ihepcc007
In Respiratory System Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.9.30']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.1.9.30
templateId.root
IHEProceduresAndInterventionsSection
IHEProceduresAndInterventionsSection
cda-POCDMT000040Section
ihepcc364
In IHE Procedures and Interventions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc371
In IHE Procedures and Interventions Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11'] SHALL contain at least ONE hl7:entry
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc368
In IHE Procedures and Interventions Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc369
In IHE Procedures and Interventions Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc362
In IHE Procedures and Interventions Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11')->size()<2
ERROR
Cardinality
ihepcc360
In IHE Procedures and Interventions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc367
In IHE Procedures and Interventions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc370
In IHE Procedures and Interventions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11']/hl7:entry/hl7:procedure/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'], the attribute root SHALL be present
self.entry.procedure.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.19')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc361
In IHE Procedures and Interventions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc365
In IHE Procedures and Interventions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11']/hl7:code, the attribute code SHALL have the value '29554-3' if present
self.code->forAll(code.oclIsUndefined() or code='29554-3')
ERROR
Fixed value
ihepcc363
In IHE Procedures and Interventions Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc366
In IHE Procedures and Interventions Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11
templateId.root
IHEPhysicalExaminationSection
IHEPhysicalExaminationSection
cda-POCDMT000040Section
ihepcc795
In IHE Physical Examination Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc799
In IHE Physical Examination Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc801
In IHE Physical Examination Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc798
In IHE Physical Examination Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc791
In IHE Physical Examination Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc792
In IHE Physical Examination Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc793
In IHE Physical Examination Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24']/hl7:code, the attribute codeSystem SHALL have the datatype 'oid' if present
self.code->forAll(codeSystem.oclIsUndefined() or CommonOperationsStatic::isOID(codeSystem))
ERROR
Datatype
ihepcc797
In IHE Physical Examination Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24']/hl7:code, the attribute code SHALL have the value '29545-1' if present
self.code->forAll(code.oclIsUndefined() or code='29545-1')
ERROR
Fixed value
ihepcc800
In IHE Physical Examination Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc788
In IHE Physical Examination Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.24'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.24')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc787
In IHE Physical Examination Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.24'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.24')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc789
In IHE Physical Examination Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.24']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.24')->size()<2
ERROR
Cardinality
ihepcc796
In IHE Physical Examination Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc794
In IHE Physical Examination Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24']/hl7:code, the attribute codeSystem SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not codeSystem.oclIsUndefined()))
ERROR
Cardinality
ihepcc790
In IHE Physical Examination Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.24']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.24
templateId.root
IHECodedReasonForReferralSection
IHECodedReasonForReferralSection
cda-POCDMT000040Section
ihepcc1520
In IHE Coded Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'] SHALL contain at least ONE hl7:entry[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc1500
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1502
In IHE Coded Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.1']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.1')->size()<2
ERROR
Cardinality
ihepcc1506
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1504
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1512
In IHE Coded Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1514
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'], the element(s) hl7:entry[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL not have nullFlavor (mandatory)
self.entry->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.13'))->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1519
In IHE Coded Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'] SHALL contain at most ONE hl7:entry[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']
self.entry->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.5'))->size()<2
ERROR
Cardinality
ihepcc1507
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2']/hl7:code, the attribute code SHALL have the value '42349-1' if present
self.code->forAll(code.oclIsUndefined() or code='42349-1')
ERROR
Fixed value
ihepcc1501
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1510
In IHE Coded Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1516
In IHE Coded Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'] SHALL contain at least ONE hl7:entry[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc1503
In IHE Coded Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1518
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'], the element(s) hl7:entry[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] SHALL not have nullFlavor (mandatory)
self.entry->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.5'))->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1511
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1505
In IHE Coded Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1509
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1515
In IHE Coded Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'] SHALL contain at most ONE hl7:entry[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']
self.entry->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.13'))->size()<2
ERROR
Cardinality
ihepcc1517
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2']/hl7:entry[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute root SHALL be present
self.entry->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.5')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1513
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2']/hl7:entry[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'], the attribute root SHALL be present
self.entry->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.13')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1508
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1497
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.2')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1499
In IHE Coded Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.2']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1498
In IHE Coded Reason for Referral Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.2']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.2')->size()<2
ERROR
Cardinality
ihepcc1496
In IHE Coded Reason for Referral Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.2'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.2
templateId.root
IHEConcernEntry
IHEConcernEntry
cda-POCDMT000040Act
ihepcc251
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1']/hl7:entryRelationship[@typeCode='REFR'], the attribute inversionInd SHALL have the value 'false' if present
self.entryRelationship->select((not typeCode.oclIsUndefined()) and typeCode=XActRelationshipEntryRelationship::REFR)->forAll(inversionInd.oclIsUndefined() or inversionInd=false)
ERROR
Fixed value
ihepcc249
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.5')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc246
In IHE Concern Entry, the code of /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1']/hl7:statusCode SHALL have code='active' OR SHALL have code='suspended' OR SHALL have code='aborted' OR SHALL have code='completed'
self.statusCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and code='active') or ((not code.oclIsUndefined()) and code='suspended') or ((not code.oclIsUndefined()) and code='aborted') or ((not code.oclIsUndefined()) and code='completed'))
ERROR
Vocabulary
ihepcc240
In IHE Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.27']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc247
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute inversionInd SHALL have the value 'false' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.5'))->forAll(inversionInd.oclIsUndefined() or inversionInd=false)
ERROR
Fixed value
ihepcc238
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.27'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.27')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc250
In IHE Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] SHALL contain at least ONE hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']
(not self.nullFlavor.oclIsUndefined()) or self.entryRelationship->size()>0
ERROR
Cardinality
ihepcc233
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc237
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.27'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.27')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc245
In IHE Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc242
In IHE Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc244
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1']/hl7:code, the attribute nullFlavor SHALL have the value 'NA' if present
self.code->forAll(nullFlavor.oclIsUndefined() or nullFlavor=NullFlavor::NA)
ERROR
Fixed value
ihepcc236
In IHE Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc248
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute typeCode SHALL have the value 'SUBJ' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.5'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::SUBJ)
ERROR
Fixed value
ihepcc234
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc231
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'], the attribute classCode SHALL have the value 'ACT' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryAct::ACT
ERROR
Fixed value
ihepcc239
In IHE Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.27']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.27')->size()<2
ERROR
Cardinality
ihepcc232
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XDocumentActMood::EVN
ERROR
Fixed value
ihepcc243
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1']/hl7:code, the attribute nullFlavor SHALL be present
self.code->forAll(not nullFlavor.oclIsUndefined())
ERROR
Cardinality
ihepcc241
In IHE Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc235
In IHE Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1')->size()<2
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.5.1
templateId.root
MedicationSeriesNumberObservation
MedicationSeriesNumberObservation
cda-POCDMT000040Observation
ihepcc1423
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:subject/hl7:relatedSubject, the attribute classCode SHALL be present
self.subject.relatedSubject->forAll((not nullFlavor.oclIsUndefined()) or (not classCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc1440
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:entryRelationship/@typeCode SHALL be from the valueSet 2.16.840.1.113883.1.11.19447
self.entryRelationship.typeCode->forAll( aa | (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.19447', CommonOperationsStatic::stringValueOf(aa))))
ERROR
Vocabulary
ihepcc1412
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:statusCode SHALL be from the valueSet 2.16.840.1.113883.1.11.15933 (Item : CONF-343)
self.statusCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.15933', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc1420
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:subject, the attribute typeCode SHALL have the value 'SBJ' if present
self.subject->forAll(typeCode.oclIsUndefined() or typeCode=ParticipationTargetSubject::SBJ)
ERROR
Fixed value
ihepcc1441
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:entryRelationship/hl7:act/hl7:templateId[@root='2.16.840.1.113883.10.20.1.40'], the attribute root SHALL be present
self.entryRelationship.act.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.40')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1416
In Medication series number observation, /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46'] SHALL contain at most ONE hl7:value (Item : CONF-346 / CONF-347)
self.value->size()<2
ERROR
Cardinality
ihepcc1439
In Medication series number observation, /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer/hl7:assignedEntity/hl7:representedOrganization SHALL contain at least ONE hl7:id
self.performer.assignedEntity.representedOrganization->forAll(id->size()>0)
ERROR
Cardinality
ihepcc1403
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/@classCode SHALL be from the valueSet 2.16.840.1.113883.1.11.11529 (Item : CONF-341)
self.classCode->forAll( aa | (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.11529', CommonOperationsStatic::stringValueOf(aa))))
ERROR
Vocabulary
ihepcc1431
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer/hl7:assignedEntity/@classCode SHALL be from the valueSet 2.16.840.1.113883.1.11.11595
self.performer.assignedEntity.classCode->forAll( aa | (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.11595', CommonOperationsStatic::stringValueOf(aa))))
ERROR
Vocabulary
ihepcc1413
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:priorityCode SHALL be from the valueSet 2.16.840.1.113883.1.11.16866
self.priorityCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.16866', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc1442
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:referenceRange, the attribute typeCode SHALL have the value 'REFV' if present
self.referenceRange->forAll(typeCode.oclIsUndefined() or typeCode=ActRelationshipType::REFV)
ERROR
Fixed value
ihepcc1414
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:languageCode SHALL be from the valueSet 2.16.840.1.113883.1.11.11526
self.languageCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.11526', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc1408
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1443
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:referenceRange/hl7:observationRange/@classCode SHALL be from the valueSet 2.16.840.1.113883.1.11.11529
self.referenceRange.observationRange.classCode->forAll( aa | (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.11529', CommonOperationsStatic::stringValueOf(aa))))
ERROR
Vocabulary
ihepcc1428
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:subject/hl7:relatedSubject/hl7:subject/hl7:administrativeGenderCode SHALL be from the valueSet 2.16.840.1.113883.1.11.1
self.subject.relatedSubject.subject.administrativeGenderCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.1', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc1426
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:subject/hl7:relatedSubject/hl7:subject/@classCode SHALL be from the valueSet 2.16.840.1.113883.1.11.20049
self.subject.relatedSubject.subject.classCode->forAll( aa | (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.20049', CommonOperationsStatic::stringValueOf(aa))))
ERROR
Vocabulary
ihepcc1424
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:subject/hl7:relatedSubject/@classCode SHALL be from the valueSet 2.16.840.1.113883.1.11.19368
self.subject.relatedSubject.classCode->forAll( aa | (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.19368', CommonOperationsStatic::stringValueOf(aa))))
ERROR
Vocabulary
ihepcc1419
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:methodCode SHALL be from the valueSet 2.16.840.1.113883.1.11.14079
self.methodCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.14079', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc1411
In Medication series number observation, /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46'] SHALL contain at least ONE hl7:statusCode (Item : CONF-343)
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc1404
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46'], the attribute moodCode SHALL have the value 'EVN' if present (Item : CONF-342)
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc1434
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer/hl7:assignedEntity/hl7:representedOrganization/@classCode SHALL be from the valueSet 2.16.840.1.113883.1.11.10889
self.performer.assignedEntity.representedOrganization.classCode->forAll( aa | (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.10889', CommonOperationsStatic::stringValueOf(aa))))
ERROR
Vocabulary
ihepcc1405
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.46'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.46')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1406
In Medication series number observation, /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.46']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.46')->size()<2
ERROR
Cardinality
ihepcc1433
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer/hl7:assignedEntity/hl7:assignedPerson, the attribute determinerCode SHALL have the value 'INSTANCE' if present
self.performer.assignedEntity.assignedPerson->forAll(determinerCode.oclIsUndefined() or determinerCode=EntityDeterminer::INSTANCE)
ERROR
Fixed value
ihepcc1410
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1407
In Medication series number observation, /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.46']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1427
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:subject/hl7:relatedSubject/hl7:subject, the attribute determinerCode SHALL have the value 'INSTANCE' if present
self.subject.relatedSubject.subject->forAll(determinerCode.oclIsUndefined() or determinerCode=EntityDeterminer::INSTANCE)
ERROR
Fixed value
ihepcc1418
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:interpretationCode SHALL be from the valueSet 2.16.840.1.113883.1.11.78
self.interpretationCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.78', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc1432
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer/hl7:assignedEntity/hl7:assignedPerson/@classCode SHALL be from the valueSet 2.16.840.1.113883.1.11.20049
self.performer.assignedEntity.assignedPerson.classCode->forAll( aa | (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.20049', CommonOperationsStatic::stringValueOf(aa))))
ERROR
Vocabulary
ihepcc1417
In Medication series number observation, /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46'] SHALL contain at least ONE hl7:value (Item : CONF-346 / CONF-347)
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc1436
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer/hl7:assignedEntity/hl7:representedOrganization/hl7:templateId[@root='2.16.840.1.113883.10.12.151'], the attribute root SHALL be present
self.performer.assignedEntity.representedOrganization.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.12.151')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1421
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:subject, the attribute contextControlCode SHALL have the value 'OP' if present
self.subject->forAll(contextControlCode.oclIsUndefined() or contextControlCode=NullFlavor::OP)
ERROR
Fixed value
ihepcc1429
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer, the attribute typeCode SHALL have the value 'PRF' if present
self.performer->forAll(typeCode.oclIsUndefined() or typeCode=ParticipationPhysicalPerformer::PRF)
ERROR
Fixed value
ihepcc1425
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:subject/hl7:relatedSubject/hl7:code SHALL be from the valueSet 2.16.840.1.113883.1.11.19563
self.subject.relatedSubject.code->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.19563', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc1438
In Medication series number observation, /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer/hl7:assignedEntity/hl7:representedOrganization SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.12.151']
self.performer.assignedEntity.representedOrganization->forAll(templateId->size()>0)
ERROR
Cardinality
ihepcc1422
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:subject/hl7:awarenessCode SHALL be from the valueSet 2.16.840.1.113883.1.11.10310
self.subject.awarenessCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.10310', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc1444
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:referenceRange/hl7:observationRange/@moodCode SHALL be from the valueSet 2.16.840.1.113883.1.11.20268
self.referenceRange.observationRange.moodCode->forAll( aa | (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.20268', CommonOperationsStatic::stringValueOf(aa))))
ERROR
Vocabulary
ihepcc1430
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer/hl7:modeCode SHALL be from the valueSet 2.16.840.1.113883.1.11.16543
self.performer.modeCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.16543', code, codeSystem, null, null)))
ERROR
Vocabulary
ihepcc1437
In Medication series number observation, /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer/hl7:assignedEntity/hl7:representedOrganization SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.12.151']
self.performer.assignedEntity.representedOrganization->forAll(templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.12.151')->size()<2)
ERROR
Cardinality
ihepcc1409
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:code, the attribute code SHALL have the value '30973-2' if present
self.code->forAll(code.oclIsUndefined() or code='30973-2')
ERROR
Fixed value
ihepcc1415
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46'], the element(s) hl7:value SHALL be from the datatype INT (Item : CONF-346 / CONF-347)
self.value->forAll(oclIsKindOf(INT))
ERROR
Datatype
ihepcc1435
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:performer/hl7:assignedEntity/hl7:representedOrganization, the attribute determinerCode SHALL have the value 'INSTANCE' if present
self.performer.assignedEntity.representedOrganization->forAll(determinerCode.oclIsUndefined() or determinerCode=EntityDeterminer::INSTANCE)
ERROR
Fixed value
ihepcc1445
In Medication series number observation, the code of /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:referenceRange/hl7:observationRange/hl7:interpretationCode SHALL be from the valueSet 2.16.840.1.113883.1.11.78
self.referenceRange.observationRange.interpretationCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.78', code, codeSystem, null, null)))
ERROR
Vocabulary
2.16.840.1.113883.10.20.1.46
templateId.root
IHECodedFamilyMedicalHistorySection
IHECodedFamilyMedicalHistorySection
cda-POCDMT000040Section
ihepcc836
In IHE Coded Family Medial History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc825
In IHE Coded Family Medial History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.15']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc834
In IHE Coded Family Medial History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15']/hl7:code, the attribute code SHALL have the value '10157-6' if present
self.code->forAll(code.oclIsUndefined() or code='10157-6')
ERROR
Fixed value
ihepcc835
In IHE Coded Family Medial History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc831
In IHE Coded Family Medial History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.4']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.4')->size()<2
ERROR
Cardinality
ihepcc832
In IHE Coded Family Medial History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.4']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc833
In IHE Coded Family Medial History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc829
In IHE Coded Family Medial History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.14']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc822
In IHE Coded Family Medial History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.15')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc823
In IHE Coded Family Medial History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.15')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc828
In IHE Coded Family Medial History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.14']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.14')->size()<2
ERROR
Cardinality
ihepcc840
In IHE Coded Family Medial History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15']/hl7:entry/hl7:organizer/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.15'], the attribute root SHALL be present
self.entry.organizer.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.15')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc830
In IHE Coded Family Medial History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.4'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.4')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc826
In IHE Coded Family Medial History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.14')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc841
In IHE Coded Family Medial History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'] SHALL contain at least ONE hl7:entry
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc824
In IHE Coded Family Medial History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.15']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.15')->size()<2
ERROR
Cardinality
ihepcc839
In IHE Coded Family Medial History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15']/hl7:entry, the attribute typeCode SHALL be present
self.entry->forAll((not nullFlavor.oclIsUndefined()) or (not typeCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc827
In IHE Coded Family Medial History Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.14')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc837
In IHE Coded Family Medial History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc838
In IHE Coded Family Medial History Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.15'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.15
templateId.root
IHEVitalSignsObservation
IHEVitalSignsObservation
cda-POCDMT000040Observation
ihepcc320
In IHE Vital Signs Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.31'] (Item : 6.3.4.22.2)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc314
In IHE Vital Signs Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.22.2)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc333
In IHE Vital Signs Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc325
In IHE Vital Signs Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'], the element(s) hl7:code SHALL be from the datatype CE
self.code->forAll(oclIsKindOf(CE))
ERROR
Datatype
ihepcc316
In IHE Vital Signs Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] (Item : 6.3.4.22.2)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc318
In IHE Vital Signs Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.31'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.22.2)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.31')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc332
In IHE Vital Signs Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'] SHALL contain at most ONE hl7:value
self.value->size()<2
ERROR
Cardinality
ihepcc322
In IHE Vital Signs Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.22.2)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc317
In IHE Vital Signs Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.31'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.31')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc331
In IHE Vital Signs Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'], the element(s) hl7:value SHALL be from the datatype PQ
self.value->forAll(oclIsKindOf(PQ))
ERROR
Datatype
ihepcc329
In IHE Vital Signs Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2']/hl7:text, the element(s) hl7:reference SHALL not have nullFlavor (mandatory)
self.text.reference->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc326
In IHE Vital Signs Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc321
In IHE Vital Signs Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc324
In IHE Vital Signs Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'] (Item : 6.3.4.22.2)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc327
In IHE Vital Signs Observation, the code of /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2']/hl7:code SHALL be from the valueSet 1.2.3.4.5.6.7.11.4
self.code->forAll( (not nullFlavor.oclIsUndefined()) or ((not oclAsType(CE).code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('1.2.3.4.5.6.7.11.4', oclAsType(CE).code, oclAsType(CE).codeSystem, null, null)))
ERROR
Vocabulary
ihepcc313
In IHE Vital Signs Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc330
In IHE Vital Signs Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2']/hl7:text SHALL contain at least ONE hl7:reference
self.text->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
ihepcc328
In IHE Vital Signs Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2']/hl7:text/hl7:reference, the attribute value SHALL be present
self.text.reference->forAll((not nullFlavor.oclIsUndefined()) or (not value.oclIsUndefined()))
ERROR
Cardinality
ihepcc315
In IHE Vital Signs Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] (Item : 6.3.4.22.2)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->size()<2
ERROR
Cardinality
ihepcc319
In IHE Vital Signs Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.31'] (Item : 6.3.4.22.2)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.31')->size()<2
ERROR
Cardinality
ihepcc323
In IHE Vital Signs Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2'] (Item : 6.3.4.22.2)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.2')->size()<2
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.13.2
templateId.root
IHEPregnancyObservation
IHEPregnancyObservation
cda-POCDMT000040Observation
ihepcc850
In IHE Pregnancy Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc844
In IHE Pregnancy Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc842
In IHE Pregnancy Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc846
In IHE Pregnancy Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc851
In IHE Pregnancy Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc849
In IHE Pregnancy Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->size()<2
ERROR
Cardinality
ihepcc852
In IHE Pregnancy Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc845
In IHE Pregnancy Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5')->size()<2
ERROR
Cardinality
ihepcc848
In IHE Pregnancy Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc847
In IHE Pregnancy Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc843
In IHE Pregnancy Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.13.5
templateId.root
IHEHospAdmissionDiagnosis
IHEHospAdmissionDiagnosis
cda-POCDMT000040Section
ihepcc1494
In IHE Hospital Admission Diagnosis Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.3'], the element(s) hl7:entry SHALL not have nullFlavor (mandatory)
self.entry->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1487
In IHE Hospital Admission Diagnosis Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.3']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.3'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1488
In IHE Hospital Admission Diagnosis Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.3'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.3'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.3')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1491
In IHE Hospital Admission Diagnosis Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.3'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1495
In IHE Hospital Admission Diagnosis Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.3'] SHALL contain at least ONE hl7:entry
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc1492
In IHE Hospital Admission Diagnosis Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.3'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1489
In IHE Hospital Admission Diagnosis Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.3'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.3']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.3')->size()<2
ERROR
Cardinality
ihepcc1490
In IHE Hospital Admission Diagnosis Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.3'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.3']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1493
In IHE Hospital Admission Diagnosis Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.3']/hl7:entry/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'], the attribute root SHALL be present
self.entry.act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.3
templateId.root
IHEExternalReferenceEntry
IHEExternalReferenceEntry
cda-POCDMT000040Act
ihepcc1320
In IHE External Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']/hl7:reference/hl7:externalDocument, the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.reference.externalDocument.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1311
In IHE External Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1316
In IHE External Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1315
In IHE External Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']/hl7:code, the attribute nullFlavor SHALL have the value 'NA' if present
self.code->forAll(nullFlavor.oclIsUndefined() or nullFlavor=NullFlavor::NA)
ERROR
Fixed value
ihepcc1312
In IHE External Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4'] SHALL contain at most ONE hl7:id
self.id->size()<2
ERROR
Cardinality
ihepcc1314
In IHE External Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']/hl7:code, the attribute nullFlavor SHALL be present
self.code->forAll(not nullFlavor.oclIsUndefined())
ERROR
Cardinality
ihepcc1308
In IHE External Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.4'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.4')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1324
In IHE External Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4'] SHALL contain at least ONE hl7:reference
(not self.nullFlavor.oclIsUndefined()) or self.reference->size()>0
ERROR
Cardinality
ihepcc1309
In IHE External Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.4')->size()<2
ERROR
Cardinality
ihepcc1322
In IHE External Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']/hl7:reference/hl7:externalDocument SHALL contain at least ONE hl7:id
self.reference.externalDocument->forAll(id->size()>0)
ERROR
Cardinality
ihepcc1323
In IHE External Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']/hl7:reference SHALL contain at least ONE hl7:externalDocument
self.reference->forAll(not externalDocument.oclIsUndefined())
ERROR
Cardinality
ihepcc1317
In IHE External Reference Entry, the code of /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']/hl7:reference/@typeCode SHALL have code='SPRT' OR SHALL have code='REFR'
self.reference.typeCode->forAll( aa | (CommonOperationsStatic::stringValueOf(aa)='SPRT') or (CommonOperationsStatic::stringValueOf(aa)='REFR'))
ERROR
Vocabulary
ihepcc1321
In IHE External Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']/hl7:reference/hl7:externalDocument SHALL contain at most ONE hl7:id
self.reference.externalDocument->forAll(id->size()<2)
ERROR
Cardinality
ihepcc1318
In IHE External Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']/hl7:reference/hl7:externalDocument, the attribute classCode SHALL have the value 'DOC' if present
self.reference.externalDocument->forAll(classCode.oclIsUndefined() or classCode=ActClassDocument::DOC)
ERROR
Fixed value
ihepcc1313
In IHE External Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1310
In IHE External Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1319
In IHE External Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']/hl7:reference/hl7:externalDocument, the attribute moodCode SHALL have the value 'EVN' if present
self.reference.externalDocument->forAll(moodCode.oclIsUndefined() or moodCode=ActMood::EVN)
ERROR
Fixed value
ihepcc1307
In IHE External Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XDocumentActMood::EVN
ERROR
Fixed value
ihepcc1306
In IHE External Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4'], the attribute classCode SHALL have the value 'ACT' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryAct::ACT
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.4.4
templateId.root
IHEHealthyWeightCarePlanSection
IHEHealthyWeightCarePlanSection
cda-POCDMT000040Section
ihepcc804
In IHE Healthy Weight Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2')->size()<2
ERROR
Cardinality
ihepcc816
In IHE Healthy Weight Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc811
In IHE Healthy Weight Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.10']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.10')->size()<2
ERROR
Cardinality
ihepcc803
In IHE Healthy Weight Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc818
In IHE Healthy Weight Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'], the element(s) hl7:title SHALL not have nullFlavor (mandatory)
self.title->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc817
In IHE Healthy Weight Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc814
In IHE Healthy Weight Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2']/hl7:code, the attribute code SHALL have the value '61145-9' if present
self.code->forAll(code.oclIsUndefined() or code='61145-9')
ERROR
Fixed value
ihepcc807
In IHE Healthy Weight Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.31')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc820
In IHE Healthy Weight Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc812
In IHE Healthy Weight Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.10']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc821
In IHE Healthy Weight Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc806
In IHE Healthy Weight Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.31')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc813
In IHE Healthy Weight Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc815
In IHE Healthy Weight Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc819
In IHE Healthy Weight Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'] SHALL contain at least ONE hl7:title
(not self.nullFlavor.oclIsUndefined()) or self.title->size()>0
ERROR
Cardinality
ihepcc808
In IHE Healthy Weight Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.31')->size()<2
ERROR
Cardinality
ihepcc802
In IHE Healthy Weight Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc809
In IHE Healthy Weight Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc805
In IHE Healthy Weight Care Plan Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc810
In IHE Healthy Weight Care Plan Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.2']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.10'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.10')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.7.3.1.3.24.2
templateId.root
IHEInternalReferenceEntry
IHEInternalReferenceEntry
cda-POCDMT000040Act
ihepcc403
In IHE Internal Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'] (Item : 6.3.4.10.4)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc400
In IHE Internal Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc401
In IHE Internal Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.10.4)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc407
In IHE Internal Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1']/hl7:code, the attribute nullFlavor SHALL have the value 'NA' if present
self.code->forAll(nullFlavor.oclIsUndefined() or nullFlavor=NullFlavor::NA)
ERROR
Fixed value
ihepcc406
In IHE Internal Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'] SHALL contain at least ONE hl7:id (Item : 6.3.4.10.5)
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc405
In IHE Internal Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'] SHALL contain at most ONE hl7:id (Item : 6.3.4.10.5)
self.id->size()<2
ERROR
Cardinality
ihepcc404
In IHE Internal Reference Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'], the element(s) hl7:id SHALL not have nullFlavor (mandatory) (Item : 6.3.4.10.5)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc402
In IHE Internal Reference Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'] (Item : 6.3.4.10.4)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1')->size()<2
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.4.1
templateId.root
IHEEmploymentStatusOrganizer
IHEEmploymentStatusOrganizer
cda-POCDMT000040Organizer
ihepcc471
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc464
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'], the attribute classCode SHALL have the value 'CLUSTER' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryOrganizer::CLUSTER
ERROR
Fixed value
ihepcc466
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc474
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc483
In IHE Employment Status Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'] SHALL contain at least ONE hl7:component
(not self.nullFlavor.oclIsUndefined()) or self.component->size()>0
ERROR
Cardinality
ihepcc475
In IHE Employment Status Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc477
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc470
In IHE Employment Status Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc469
In IHE Employment Status Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc467
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc465
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
Fixed value
ihepcc473
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc472
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']/hl7:code, the attribute code SHALL have the value 'LOINC-2' if present
self.code->forAll(code.oclIsUndefined() or code='LOINC-2')
ERROR
Fixed value
ihepcc478
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']/hl7:statusCode, the attribute codeSystem SHALL have the value '2.16.840.1.113883.5.14' if present
self.statusCode->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.5.14')
ERROR
Fixed value
ihepcc479
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc482
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']/hl7:component/hl7:organizer/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'], the attribute root SHALL be present
self.component.organizer.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc476
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc468
In IHE Employment Status Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1')->size()<2
ERROR
Cardinality
ihepcc480
In IHE Employment Status Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'] SHALL contain at least ONE hl7:effectiveTime
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc481
In IHE Employment Status Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']/hl7:component, the attribute typeCode SHALL have the value 'COMP' if present
self.component->forAll(typeCode.oclIsUndefined() or typeCode=ActRelationshipHasComponent::COMP)
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.4.20.1
templateId.root
IHEMedicationFulFillmentInstructions
IHEMedicationFulFillmentInstructions
cda-POCDMT000040Act
ihepcc070
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc074
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc069
In IHE Medication FulFillment Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.43'] (Item : 6.3.4.8.5)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc075
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1']/hl7:code, the attribute code SHALL have the value 'FINSTRUCT' if present
self.code->forAll(code.oclIsUndefined() or code='FINSTRUCT')
ERROR
Fixed value
ihepcc071
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.8.5)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc065
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'], the attribute moodCode SHALL have the value 'INT' if present (Item : 6.3.4.8.4)
self.moodCode.oclIsUndefined() or self.moodCode=XDocumentActMood::INT
ERROR
Fixed value
ihepcc083
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc081
In IHE Medication FulFillment Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'] SHALL contain at least ONE hl7:text (Item : 6.3.4.8.7)
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc078
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1']/hl7:text, the element(s) hl7:reference SHALL not have nullFlavor (mandatory)
self.text.reference->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc066
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.43'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.43')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc085
In IHE Medication FulFillment Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'] SHALL contain at least ONE hl7:statusCode (Item : 6.3.4.8.8)
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc082
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc077
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'], the element(s) hl7:code SHALL not have nullFlavor (mandatory) (Item : 6.3.4.8.6)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc067
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.43'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.8.5)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.43')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc073
In IHE Medication FulFillment Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'] (Item : 6.3.4.8.5)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc080
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'], the element(s) hl7:text SHALL not have nullFlavor (mandatory) (Item : 6.3.4.8.7)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc072
In IHE Medication FulFillment Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'] (Item : 6.3.4.8.5)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1')->size()<2
ERROR
Cardinality
ihepcc068
In IHE Medication FulFillment Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.43'] (Item : 6.3.4.8.5)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.43')->size()<2
ERROR
Cardinality
ihepcc064
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'], the attribute classCode SHALL have the value 'ACT' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryAct::ACT
ERROR
Fixed value
ihepcc079
In IHE Medication FulFillment Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1']/hl7:text SHALL contain at least ONE hl7:reference
self.text->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
ihepcc076
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1']/hl7:code, the attribute codeSystem SHALL have the value '1.3.6.1.4.1.19376.1.5.3.2' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='1.3.6.1.4.1.19376.1.5.3.2')
ERROR
Fixed value
ihepcc084
In IHE Medication FulFillment Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory) (Item : 6.3.4.8.8)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.4.3.1
templateId.root
IHEUsualIndustryDurationEntry
IHEUsualIndustryDurationEntry
cda-POCDMT000040Observation
ihepcc1341
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'], the element(s) hl7:value SHALL not have nullFlavor (mandatory)
self.value->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1333
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10']/hl7:code, the attribute code SHALL have the value 'LOINC-5' if present
self.code->forAll(code.oclIsUndefined() or code='LOINC-5')
ERROR
Fixed value
ihepcc1342
In IHE Usual Industry Duration Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'] SHALL contain at most ONE hl7:value
self.value->size()<2
ERROR
Cardinality
ihepcc1325
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'], the attribute classCode SHALL have the value 'OBS' if present
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
ERROR
Fixed value
ihepcc1340
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'], the element(s) hl7:value SHALL be from the datatype PQ
self.value->forAll(oclIsKindOf(PQ))
ERROR
Datatype
ihepcc1336
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1328
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1343
In IHE Usual Industry Duration Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc1339
In IHE Usual Industry Duration Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc1332
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1335
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1334
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1330
In IHE Usual Industry Duration Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1327
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1329
In IHE Usual Industry Duration Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10')->size()<2
ERROR
Cardinality
ihepcc1326
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc1331
In IHE Usual Industry Duration Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1338
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1337
In IHE Usual Industry Duration Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.4.20.10
templateId.root
IHEImmunizationsEntry
IHEImmunizationsEntry
cda-POCDMT000040SubstanceAdministration
ihepcc1239
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'], the element(s) hl7:code SHALL not have nullFlavor (mandatory) (Item : 6.3.4.17.5)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1257
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at most ONE hl7:entryRelationship[hl7:observation/hl7:templateId/@root='2.16.840.1.113883.10.20.1.46'] (Item : 6.3.4.17.14)
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '2.16.840.1.113883.10.20.1.46'))->size()<2
ERROR
Cardinality
ihepcc1224
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XDocumentSubstanceMood::EVN
ERROR
Fixed value
ihepcc1252
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:entryRelationship[hl7:supply/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'], the attribute typeCode SHALL have the value 'REFR' if present
self.entryRelationship->select(supply.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.7.3'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::REFR)
ERROR
Fixed value
ihepcc1254
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at most ONE hl7:entryRelationship[hl7:supply/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'] (Item : 6.3.4.17.13)
self.entryRelationship->select(supply.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.7.3'))->size()<2
ERROR
Cardinality
ihepcc1253
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:entryRelationship[hl7:supply/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:supply/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'], the attribute root SHALL be present
self.entryRelationship->select(supply.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.7.3')).supply.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1231
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.24'] (Item : 6.3.4.17.3)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.24')->size()<2
ERROR
Cardinality
ihepcc1255
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='2.16.840.1.113883.10.20.1.46'], the attribute typeCode SHALL have the value 'SUBJ' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '2.16.840.1.113883.10.20.1.46'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::SUBJ)
ERROR
Fixed value
ihepcc1230
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.24'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.17.3)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.24')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1260
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:entryRelationship[hl7:substanceAdministration/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1'], the attribute typeCode SHALL have the value 'COMP' if present
self.entryRelationship->select(substanceAdministration.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.12.1'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::COMP)
ERROR
Fixed value
ihepcc1226
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.17.3)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.12')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1229
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.24'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.24')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1258
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute typeCode SHALL have the value 'CAUS' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.5'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::CAUS)
ERROR
Fixed value
ihepcc1223
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'], the attribute classCode SHALL have the value 'SBADM' if present
self.classCode.oclIsUndefined() or self.classCode=ActClass::SBADM
ERROR
Fixed value
ihepcc1250
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:consumable, the attribute typeCode SHALL have the value 'CSM' if present
self.consumable->forAll(typeCode.oclIsUndefined() or typeCode=ParticipationType::CSM)
ERROR
Fixed value
ihepcc1242
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:text SHALL contain at least ONE hl7:reference
self.text->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
ihepcc1249
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at least ONE hl7:effectiveTime (Item : 6.3.4.17.8)
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc1246
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:statusCode, the attribute codeSystem SHALL have the value '2.16.840.1.113883.5.14' if present
self.statusCode->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.5.14')
ERROR
Fixed value
ihepcc1237
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:code, the attribute code SHALL have the value 'IMMUNIZ' if present
self.code->forAll(code.oclIsUndefined() or code='IMMUNIZ')
ERROR
Fixed value
ihepcc1243
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at least ONE hl7:text (Item : 6.3.4.17.6)
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1238
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:code, the attribute codeSystem SHALL have the value '1.3.5.1.4.1.19376.1.5.3.2' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='1.3.5.1.4.1.19376.1.5.3.2')
ERROR
Fixed value
ihepcc1256
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:observation/hl7:templateId[@root='2.16.840.1.113883.10.20.1.46'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '2.16.840.1.113883.10.20.1.46')).observation.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.46')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1248
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at most ONE hl7:effectiveTime (Item : 6.3.4.17.8)
self.effectiveTime->size()<2
ERROR
Cardinality
ihepcc1228
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] (Item : 6.3.4.17.3)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1227
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] (Item : 6.3.4.17.3)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.12')->size()<2
ERROR
Cardinality
ihepcc1233
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'], the element(s) hl7:id SHALL not have nullFlavor (mandatory) (Item : 6.3.4.17.4)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1240
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at least ONE hl7:code (Item : 6.3.4.17.5)
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1247
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at least ONE hl7:statusCode (Item : 6.3.4.17.7)
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc1225
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.12')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1235
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at least ONE hl7:id (Item : 6.3.4.17.4)
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1234
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at most ONE hl7:id (Item : 6.3.4.17.4)
self.id->size()<2
ERROR
Cardinality
ihepcc1251
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:consumable/hl7:manufacturedProduct/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'], the attribute root SHALL be present
self.consumable.manufacturedProduct.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1244
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1241
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:text, the element(s) hl7:reference SHALL not have nullFlavor (mandatory)
self.text.reference->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1232
In IHE Immunizations Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.24'] (Item : 6.3.4.17.3)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1259
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.5')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1245
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc1236
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1261
In IHE Immunizations Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12']/hl7:entryRelationship[hl7:substanceAdministration/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1']/hl7:substanceAdministration/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1'], the attribute root SHALL be present
self.entryRelationship->select(substanceAdministration.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.12.1')).substanceAdministration.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.12
templateId.root
IHEAllergyAndIntoleranceConcernEntry
IHEAllergyAndIntoleranceConcernEntry
cda-POCDMT000040Act
ihepcc1088
In IHE Allergy and Intolerance Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3']/hl7:entryRelationship/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'], the attribute root SHALL be present
self.entryRelationship.observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.6')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1087
In IHE Allergy and Intolerance Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3']/hl7:entryRelationship, the attribute typeCode SHALL have the value 'SUBJ' if present
self.entryRelationship->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::SUBJ)
ERROR
Fixed value
ihepcc1083
In IHE Allergy and Intolerance Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] (Item : 6.3.4.13.4)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1086
In IHE Allergy and Intolerance Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3'] (Item : 6.3.4.13.4)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1085
In IHE Allergy and Intolerance Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3'] (Item : 6.3.4.13.4)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3')->size()<2
ERROR
Cardinality
ihepcc1081
In IHE Allergy and Intolerance Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1079
In IHE Allergy and Intolerance Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.27'] (Item : 6.3.4.13.4)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.27')->size()<2
ERROR
Cardinality
ihepcc1082
In IHE Allergy and Intolerance Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1'] (Item : 6.3.4.13.4)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.1')->size()<2
ERROR
Cardinality
ihepcc1080
In IHE Allergy and Intolerance Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.27'] (Item : 6.3.4.13.4)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1084
In IHE Allergy and Intolerance Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1078
In IHE Allergy and Intolerance Concern Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.27'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.27')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1089
In IHE Allergy and Intolerance Concern Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.3'] SHALL contain at least ONE hl7:entryRelationship
(not self.nullFlavor.oclIsUndefined()) or self.entryRelationship->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.5.3
templateId.root
IHESimpleObservation
IHESimpleObservation
cda-POCDMT000040Observation
ihepcc1623
In IHE Simple Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']/hl7:text SHALL contain at least ONE hl7:reference
self.text->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
ihepcc1625
In IHE Simple Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1616
In IHE Simple Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1628
In IHE Simple Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1614
In IHE Simple Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc1622
In IHE Simple Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']/hl7:text, the element(s) hl7:reference SHALL not have nullFlavor (mandatory)
self.text.reference->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1629
In IHE Simple Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc1620
In IHE Simple Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL contain at most ONE hl7:id
self.id->size()<2
ERROR
Cardinality
ihepcc1630
In IHE Simple Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL contain at least ONE hl7:effectiveTime
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc1627
In IHE Simple Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc1626
In IHE Simple Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1617
In IHE Simple Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->size()<2
ERROR
Cardinality
ihepcc1624
In IHE Simple Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1618
In IHE Simple Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1615
In IHE Simple Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1631
In IHE Simple Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc1619
In IHE Simple Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1621
In IHE Simple Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.13
templateId.root
IHEEmploymentStatusObservationEntry
IHEEmploymentStatusObservationEntry
cda-POCDMT000040Observation
ihepcc291
In IHE Employment Status Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc290
In IHE Employment Status Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'] SHALL contain at most ONE hl7:value
self.value->size()<2
ERROR
Cardinality
ihepcc279
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc277
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc289
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'], the element(s) hl7:value SHALL be from the datatype CD
self.value->forAll(oclIsKindOf(CD))
ERROR
Datatype
ihepcc288
In IHE Employment Status Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'] SHALL contain at least ONE hl7:effectiveTime
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc282
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc280
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc274
In IHE Employment Status Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4')->size()<2
ERROR
Cardinality
ihepcc287
In IHE Employment Status Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4']/hl7:effectiveTime SHALL contain at least ONE hl7:high
self.effectiveTime->forAll(not high.oclIsUndefined())
ERROR
Cardinality
ihepcc273
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc284
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc286
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4']/hl7:effectiveTime/hl7:low, the attribute nullFlavor SHALL have the value 'UNK' if present
self.effectiveTime.low->forAll(nullFlavor.oclIsUndefined() or nullFlavor=NullFlavor::UNK)
ERROR
Fixed value
ihepcc285
In IHE Employment Status Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc275
In IHE Employment Status Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc270
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'], the attribute classCode SHALL have the value 'OBS' if present
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
ERROR
Fixed value
ihepcc283
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4']/hl7:statusCode, the attribute codeSystem SHALL have the value '2.16.840.1.113883.5.14' if present
self.statusCode->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.5.14')
ERROR
Fixed value
ihepcc276
In IHE Employment Status Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc278
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4']/hl7:code, the attribute code SHALL have the value 'LOINC-2' if present
self.code->forAll(code.oclIsUndefined() or code='LOINC-2')
ERROR
Fixed value
ihepcc281
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc272
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc271
In IHE Employment Status Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.4'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.4.20.4
templateId.root
IHEUsualOccupationAndIndustryOrganizer
IHEUsualOccupationAndIndustryOrganizer
cda-POCDMT000040Organizer
ihepcc1557
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']/hl7:component/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'], the attribute root SHALL be present
self.component.observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1555
In IHE Usual Occupation and Industry Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'] SHALL contain at least ONE hl7:effectiveTime
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc1549
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1547
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1543
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1540
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'], the attribute classCode SHALL have the value 'CLUSTER' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryOrganizer::CLUSTER
ERROR
Fixed value
ihepcc1546
In IHE Usual Occupation and Industry Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1554
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1548
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']/hl7:code, the attribute code SHALL have the value 'LOINC-3' if present
self.code->forAll(code.oclIsUndefined() or code='LOINC-3')
ERROR
Fixed value
ihepcc1541
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
Fixed value
ihepcc1551
In IHE Usual Occupation and Industry Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1550
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1558
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'], the element(s) hl7:component SHALL not have nullFlavor (mandatory)
self.component->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1545
In IHE Usual Occupation and Industry Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1544
In IHE Usual Occupation and Industry Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2')->size()<2
ERROR
Cardinality
ihepcc1556
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']/hl7:component, the attribute typeCode SHALL have the value 'COMP' if present
self.component->forAll(typeCode.oclIsUndefined() or typeCode=ActRelationshipHasComponent::COMP)
ERROR
Fixed value
ihepcc1553
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc1559
In IHE Usual Occupation and Industry Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'] SHALL contain at least ONE hl7:component
(not self.nullFlavor.oclIsUndefined()) or self.component->size()>0
ERROR
Cardinality
ihepcc1552
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1542
In IHE Usual Occupation and Industry Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.20.2
templateId.root
IHECodedAdvanceDirectivesSection
IHECodedAdvanceDirectivesSection
cda-POCDMT000040Section
ihepcc770
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.34')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc784
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc769
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.34')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc782
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc776
In IHE Coded Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc778
In IHE Coded Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc785
In IHE Coded Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc766
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.35')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc786
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35']/hl7:entry/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the attribute root SHALL be present
self.entry.observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc777
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc774
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc771
In IHE Coded Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.34']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.34')->size()<2
ERROR
Cardinality
ihepcc772
In IHE Coded Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.34']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc768
In IHE Coded Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.35']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc773
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc783
In IHE Coded Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc775
In IHE Coded Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.1']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.1')->size()<2
ERROR
Cardinality
ihepcc781
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc779
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc767
In IHE Coded Advance directives section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.35']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.35')->size()<2
ERROR
Cardinality
ihepcc765
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.35'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.35')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc780
In IHE Coded Advance directives section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.35']/hl7:code, the attribute code SHALL have the value '42348-3' if present
self.code->forAll(code.oclIsUndefined() or code='42348-3')
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.3.35
templateId.root
IHECodedResultsSection
IHECodedResultsSection
cda-POCDMT000040Section
ihepcc567
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc572
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc575
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'], the element(s) hl7:entry[hl7:procedure/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'] SHALL not have nullFlavor (mandatory)
self.entry->select(procedure.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.19'))->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc558
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.28')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc563
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.27')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc562
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.27')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc574
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28']/hl7:entry[hl7:procedure/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']/hl7:procedure/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.19'], the attribute root SHALL be present
self.entry->select(procedure.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.19')).procedure.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.19')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc578
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28']/hl7:entry[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'], the attribute root SHALL be present
self.entry->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.13')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc569
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc570
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc559
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.28')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc568
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28']/hl7:code, the attribute code SHALL have the value '30954-2' if present
self.code->forAll(code.oclIsUndefined() or code='30954-2')
ERROR
Fixed value
ihepcc566
In IHE Coded Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc561
In IHE Coded Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.28']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc579
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'], the element(s) hl7:entry[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL not have nullFlavor (mandatory)
self.entry->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.13'))->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc577
In IHE Coded Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28']/hl7:entry[hl7:act/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4']/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.4'], the attribute root SHALL be present
self.entry->select(act.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.4')).act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.4')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc576
In IHE Coded Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'] SHALL contain at least ONE hl7:entry[hl7:procedure/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.19']
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc573
In IHE Coded Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc564
In IHE Coded Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.27']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.27')->size()<2
ERROR
Cardinality
ihepcc565
In IHE Coded Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.27']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc571
In IHE Coded Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc560
In IHE Coded Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.28']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.28')->size()<2
ERROR
Cardinality
ihepcc580
In IHE Coded Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.28'] SHALL contain at least ONE hl7:entry[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.28
templateId.root
IHEVitalSignsSection
IHEVitalSignsSection
cda-POCDMT000040Section
ihepcc590
In IHE Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc592
In IHE Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25']/hl7:code, the attribute code SHALL have the value '8716-3' if present
self.code->forAll(code.oclIsUndefined() or code='8716-3')
ERROR
Fixed value
ihepcc593
In IHE Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc596
In IHE Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc586
In IHE Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.16'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.16')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc597
In IHE Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc595
In IHE Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc581
In IHE Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.25')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc591
In IHE Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc587
In IHE Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.16']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.16')->size()<2
ERROR
Cardinality
ihepcc583
In IHE Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.25']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.25')->size()<2
ERROR
Cardinality
ihepcc594
In IHE Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc588
In IHE Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.16']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc584
In IHE Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.25']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc585
In IHE Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.16'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.16')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc589
In IHE Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc582
In IHE Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.25')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.3.25
templateId.root
IHEReviewofSystemsSection
IHEReviewofSystemsSection
cda-POCDMT000040Section
ihepcc959
In IHE Review of Systems Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.18']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc961
In IHE Review of Systems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18']/hl7:code, the attribute code SHALL have the value '10187-3' if present
self.code->forAll(code.oclIsUndefined() or code='10187-3')
ERROR
Fixed value
ihepcc958
In IHE Review of Systems Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.18']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.18')->size()<2
ERROR
Cardinality
ihepcc966
In IHE Review of Systems Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc965
In IHE Review of Systems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc957
In IHE Review of Systems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.18'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.18')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc963
In IHE Review of Systems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc956
In IHE Review of Systems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.18'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.18')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc960
In IHE Review of Systems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc964
In IHE Review of Systems Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc962
In IHE Review of Systems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.3.18
templateId.root
IHEOccupationalDataForHealthOrganizerEntry
IHEOccupationalDataForHealthOrganizerEntry
cda-POCDMT000040Organizer
ihepcc725
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']/hl7:organizer/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'], the attribute root SHALL be present
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.2')).organizer.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc703
In IHE Occupational Data For Health Organizer Entry, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20')->size()<2
ERROR
Cardinality
ihepcc721
In IHE Occupational Data For Health Organizer Entry, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'] SHALL contain at most ONE hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.1'))->size()<2
ERROR
Cardinality
ihepcc715
In IHE Occupational Data For Health Organizer Entry, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'] SHALL contain at least ONE hl7:effectiveTime
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc726
In IHE Occupational Data For Health Organizer Entry, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'] SHALL contain at most ONE hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.2'))->size()<2
ERROR
Cardinality
ihepcc724
In IHE Occupational Data For Health Organizer Entry, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'] SHALL contain at least ONE hl7:sequenceNumber
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.2'))->forAll(not sequenceNumber.oclIsUndefined())
ERROR
Cardinality
ihepcc730
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']/hl7:organizer/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'], the attribute root SHALL be present
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.3')).organizer.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc729
In IHE Occupational Data For Health Organizer Entry, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'] SHALL contain at least ONE hl7:sequenceNumber
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.3'))->forAll(not sequenceNumber.oclIsUndefined())
ERROR
Cardinality
ihepcc710
In IHE Occupational Data For Health Organizer Entry, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc707
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:code, the attribute code SHALL have the value 'LOINC-1' if present
self.code->forAll(code.oclIsUndefined() or code='LOINC-1')
ERROR
Fixed value
ihepcc714
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc728
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'], the element(s) hl7:sequenceNumber SHALL not have nullFlavor (mandatory)
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.3')).sequenceNumber->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc713
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:statusCode, the attribute codeSystem SHALL have the value '2.16.840.1.113883.5.14' if present
self.statusCode->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.5.14')
ERROR
Fixed value
ihepcc712
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc704
In IHE Occupational Data For Health Organizer Entry, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc731
In IHE Occupational Data For Health Organizer Entry, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'] SHALL contain at most ONE hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.3'))->size()<2
ERROR
Cardinality
ihepcc716
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']/hl7:sequenceNumber, the attribute value SHALL be present
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.1')).sequenceNumber->forAll((not nullFlavor.oclIsUndefined()) or (not value.oclIsUndefined()))
ERROR
Cardinality
ihepcc700
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'], the attribute classCode SHALL have the value 'CLUSTER' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryOrganizer::CLUSTER
ERROR
Fixed value
ihepcc709
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc722
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2']/hl7:sequenceNumber, the attribute value SHALL have the value '2' if present
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.2')).sequenceNumber->forAll(value.oclIsUndefined() or value=2)
ERROR
Fixed value
ihepcc711
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc702
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc723
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.2'], the element(s) hl7:sequenceNumber SHALL not have nullFlavor (mandatory)
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.2')).sequenceNumber->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc706
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc705
In IHE Occupational Data For Health Organizer Entry, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc718
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'], the element(s) hl7:sequenceNumber SHALL not have nullFlavor (mandatory)
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.1')).sequenceNumber->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc719
In IHE Occupational Data For Health Organizer Entry, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'] SHALL contain at least ONE hl7:sequenceNumber
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.1'))->forAll(not sequenceNumber.oclIsUndefined())
ERROR
Cardinality
ihepcc720
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']/hl7:organizer/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1'], the attribute root SHALL be present
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.1')).organizer.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc727
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']/hl7:sequenceNumber, the attribute value SHALL have the value '3' if present
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.3')).sequenceNumber->forAll(value.oclIsUndefined() or value=3)
ERROR
Fixed value
ihepcc701
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc717
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:component[hl7:organizer/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.1']/hl7:sequenceNumber, the attribute value SHALL have the value '1' if present
self.component->select(organizer.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.1')).sequenceNumber->forAll(value.oclIsUndefined() or value=1)
ERROR
Fixed value
ihepcc708
In IHE Occupational Data For Health Organizer Entry, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.4.20
templateId.root
IHEPatientMedicationInstructions
IHEPatientMedicationInstructions
cda-POCDMT000040Act
ihepcc310
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc311
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory) (Item : 6.3.4.7.8)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc308
In IHE Patient Medication Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'] SHALL contain at least ONE hl7:text (Item : 6.3.4.7.7)
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc302
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc305
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'], the element(s) hl7:code SHALL not have nullFlavor (mandatory) (Item : 6.3.4.7.6)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc292
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'], the attribute classCode SHALL have the value 'ACT' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryAct::ACT
ERROR
Fixed value
ihepcc301
In IHE Patient Medication Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.49'] (Item : 6.3.4.7.5)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc297
In IHE Patient Medication Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'] (Item : 6.3.4.7.5)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc296
In IHE Patient Medication Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'] (Item : 6.3.4.7.5)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.3')->size()<2
ERROR
Cardinality
ihepcc306
In IHE Patient Medication Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3']/hl7:text SHALL contain at least ONE hl7:reference
self.text->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
ihepcc303
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3']/hl7:code, the attribute code SHALL have the value 'PINSTRUCT' if present
self.code->forAll(code.oclIsUndefined() or code='PINSTRUCT')
ERROR
Fixed value
ihepcc295
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.7.5)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.3')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc298
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.49'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.49')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc307
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'], the element(s) hl7:text SHALL not have nullFlavor (mandatory) (Item : 6.3.4.7.7)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc309
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc304
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3']/hl7:code, the attribute codeSystem SHALL have the value '1.3.6.1.4.1.19376.1.5.3.2' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='1.3.6.1.4.1.19376.1.5.3.2')
ERROR
Fixed value
ihepcc312
In IHE Patient Medication Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'] SHALL contain at least ONE hl7:statusCode (Item : 6.3.4.7.8)
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc300
In IHE Patient Medication Instructions, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.49'] (Item : 6.3.4.7.5)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.49')->size()<2
ERROR
Cardinality
ihepcc294
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc293
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'], the attribute moodCode SHALL have the value 'INT' if present (Item : 6.3.4.7.4)
self.moodCode.oclIsUndefined() or self.moodCode=XDocumentActMood::INT
ERROR
Fixed value
ihepcc299
In IHE Patient Medication Instructions, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.49'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.7.5)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.49')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.4.3
templateId.root
IHEFunctionalStatusSection
IHEFunctionalStatusSection
cda-POCDMT000040Section
ihepcc1274
In IHE Functional Status Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1265
In IHE Functional Status Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.17']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1273
In IHE Functional Status Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17']/hl7:code, the attribute code SHALL have the value '47420-5' if present
self.code->forAll(code.oclIsUndefined() or code='47420-5')
ERROR
Fixed value
ihepcc1271
In IHE Functional Status Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1270
In IHE Functional Status Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1269
In IHE Functional Status Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.5']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1268
In IHE Functional Status Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.5']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.5')->size()<2
ERROR
Cardinality
ihepcc1277
In IHE Functional Status Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1278
In IHE Functional Status Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1275
In IHE Functional Status Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1267
In IHE Functional Status Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.5'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.5')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1263
In IHE Functional Status Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.17')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1276
In IHE Functional Status Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1262
In IHE Functional Status Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.17')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1266
In IHE Functional Status Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.5'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1272
In IHE Functional Status Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1264
In IHE Functional Status Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.17'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.17']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.17')->size()<2
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.17
templateId.root
IHESupplyEntry
IHESupplyEntry
cda-POCDMT000040Supply
ihepcc159
In IHE Supply Entry, /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'] SHALL contain at most ONE hl7:entryRelationship (Item : 6.3.4.18.19)
self.entryRelationship->size()<2
ERROR
Cardinality
ihepcc149
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:author, the number of elements of type 'assignedPerson', 'representedOrganization' SHALL be bigger or equal to 1 (Item : 6.3.4.18.13)
self.author.assignedAuthor->forAll( (assignedPerson->size()+representedOrganization->size())>=1)
ERROR
Cardinality
ihepcc144
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'], the element(s) hl7:id SHALL not have nullFlavor (mandatory) (Item : 6.3.4.18.6)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc141
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.18.5)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc138
In IHE Supply Entry, /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.34'] (Item : 6.3.4.18.5)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.34')->size()<2
ERROR
Cardinality
ihepcc153
In IHE Supply Entry, /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:performer/hl7:assignedEntity/hl7:assignedPerson SHALL contain at least ONE hl7:name
self.performer.assignedEntity.assignedPerson->forAll(name->size()>0)
ERROR
Cardinality
ihepcc157
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:entryRelationship, the attribute typeCode SHALL have the value 'SUBJ' if present
self.entryRelationship->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::SUBJ)
ERROR
Fixed value
ihepcc136
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.34'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.34')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc135
In IHE Supply Entry, the code of /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/@moodCode SHALL have code='EVN' OR SHALL have code='INT' (Item : 6.3.4.18.4)
self.moodCode->forAll( aa | (CommonOperationsStatic::stringValueOf(aa)='EVN') or (CommonOperationsStatic::stringValueOf(aa)='INT'))
ERROR
Vocabulary
ihepcc156
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:performer, the element(s) hl7:assignedEntity SHALL not have nullFlavor (mandatory) (Item : 6.3.4.18.16)
self.performer.assignedEntity->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc134
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'], the attribute classCode SHALL have the value 'SPLY' if present
self.classCode.oclIsUndefined() or self.classCode=ActClassSupply::SPLY
ERROR
Fixed value
ihepcc154
In IHE Supply Entry, /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:performer/hl7:assignedEntity/hl7:representedOrganization SHALL contain at least ONE hl7:name
self.performer.assignedEntity.representedOrganization->forAll(name->size()>0)
ERROR
Cardinality
ihepcc142
In IHE Supply Entry, /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'] (Item : 6.3.4.18.5)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3')->size()<2
ERROR
Cardinality
ihepcc152
In IHE Supply Entry, /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:performer SHALL contain at least ONE hl7:time (Item : 6.3.4.18.15)
self.performer->forAll(not time.oclIsUndefined())
ERROR
Cardinality
ihepcc139
In IHE Supply Entry, /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.34'] (Item : 6.3.4.18.5)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc155
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:performer, the number of elements of type 'assignedPerson', 'representedOrganization' SHALL be bigger or equal to 1 (Item : 6.3.4.18.18)
self.performer.assignedEntity->forAll( (assignedPerson->size()+representedOrganization->size())>=1)
ERROR
Cardinality
ihepcc146
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:quantity, the attribute value SHALL be present
self.quantity->forAll((not nullFlavor.oclIsUndefined()) or (not value.oclIsUndefined()))
ERROR
Cardinality
ihepcc143
In IHE Supply Entry, /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'] (Item : 6.3.4.18.5)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc148
In IHE Supply Entry, /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:author/hl7:assignedAuthor/hl7:representedOrganization SHALL contain at least ONE hl7:name
self.author.assignedAuthor.representedOrganization->forAll(name->size()>0)
ERROR
Cardinality
ihepcc137
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.34'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.18.5)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.34')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc151
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:performer/hl7:time, the attribute nullFlavor SHALL have the value 'UNK' if present
self.performer.time->forAll(nullFlavor.oclIsUndefined() or nullFlavor=NullFlavor::UNK)
ERROR
Fixed value
ihepcc158
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:entryRelationship/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1'], the attribute root SHALL be present
self.entryRelationship.act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc140
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc150
In IHE Supply Entry, in /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:performer, the attribute typeCode SHALL have the value 'PRF' if present
self.performer->forAll(typeCode.oclIsUndefined() or typeCode=ParticipationPhysicalPerformer::PRF)
ERROR
Fixed value
ihepcc147
In IHE Supply Entry, /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:author/hl7:assignedAuthor/hl7:assignedPerson SHALL contain at least ONE hl7:name
self.author.assignedAuthor.assignedPerson->forAll(name->size()>0)
ERROR
Cardinality
ihepcc145
In IHE Supply Entry, /hl7:supply[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'] SHALL contain at least ONE hl7:id (Item : 6.3.4.18.6)
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.7.3
templateId.root
IHECommentEntry
IHECommentEntry
cda-POCDMT000040Act
ihepcc762
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:author/hl7:assignedAuthor, the element(s) hl7:telecom SHALL not have nullFlavor (mandatory)
self.author.assignedAuthor.telecom->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc760
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:author/hl7:assignedAuthor, the element(s) hl7:addr SHALL not have nullFlavor (mandatory)
self.author.assignedAuthor.addr->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc756
In IHE Comment Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:author/hl7:assignedAuthor/hl7:assignedPerson SHALL contain at least ONE hl7:name
self.author.assignedAuthor.assignedPerson->forAll(name->size()>0)
ERROR
Cardinality
ihepcc752
In IHE Comment Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:text SHALL contain at least ONE hl7:reference
self.text->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
ihepcc734
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.40'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.40')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc750
In IHE Comment Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc743
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:code, the attribute code SHALL have the value '48767-8' if present
self.code->forAll(code.oclIsUndefined() or code='48767-8')
ERROR
Fixed value
ihepcc758
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:author, the number of elements of type 'assignedPerson', 'representedOrganization' SHALL be bigger or equal to 1
self.author.assignedAuthor->forAll( (assignedPerson->size()+representedOrganization->size())>=1)
ERROR
Cardinality
ihepcc748
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:statusCode, the attribute codeSystem SHALL have the value '2.16.840.1.113883.5.14' if present
self.statusCode->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.5.14')
ERROR
Fixed value
ihepcc739
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.2')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc745
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc732
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'], the attribute classCode SHALL have the value 'ACT' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryAct::ACT
ERROR
Fixed value
ihepcc754
In IHE Comment Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc740
In IHE Comment Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.2')->size()<2
ERROR
Cardinality
ihepcc751
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:text, the element(s) hl7:reference SHALL not have nullFlavor (mandatory)
self.text.reference->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc749
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc761
In IHE Comment Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:author/hl7:assignedAuthor SHALL contain at least ONE hl7:addr
self.author.assignedAuthor->forAll(addr->size()>0)
ERROR
Cardinality
ihepcc735
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.40'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.40')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc757
In IHE Comment Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:author/hl7:assignedAuthor/hl7:representedOrganization SHALL contain at least ONE hl7:name
self.author.assignedAuthor.representedOrganization->forAll(name->size()>0)
ERROR
Cardinality
ihepcc744
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc753
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc746
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc738
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc763
In IHE Comment Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:author/hl7:assignedAuthor SHALL contain at least ONE hl7:telecom
self.author.assignedAuthor->forAll(telecom->size()>0)
ERROR
Cardinality
ihepcc764
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:author, the element(s) hl7:assignedAuthor SHALL not have nullFlavor (mandatory)
self.author.assignedAuthor->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc733
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XDocumentActMood::EVN
ERROR
Fixed value
ihepcc759
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:author/hl7:assignedAuthor, the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.author.assignedAuthor.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc742
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc737
In IHE Comment Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.40']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc747
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc741
In IHE Comment Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc736
In IHE Comment Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.40']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.40')->size()<2
ERROR
Cardinality
ihepcc755
In IHE Comment Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:author, the element(s) hl7:time SHALL not have nullFlavor (mandatory)
self.author.time->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.4.2
templateId.root
IHEUsualOccupationAndIndustryObservationEntry
IHEUsualOccupationAndIndustryObservationEntry
cda-POCDMT000040Observation
ihepcc542
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'], the element(s) hl7:value SHALL not have nullFlavor (mandatory)
self.value->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc537
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc533
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc544
In IHE Usual Occupation and Industry Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc553
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.9')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc527
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc547
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:participant/hl7:participantRole, the attribute classCode SHALL have the value 'ROL' if present
self.participant.participantRole->forAll(classCode.oclIsUndefined() or classCode=RoleClassRoot::ROL)
ERROR
Fixed value
ihepcc531
In IHE Usual Occupation and Industry Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc529
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc526
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'], the attribute classCode SHALL have the value 'OBS' if present
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
ERROR
Fixed value
ihepcc528
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc552
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9'], the attribute typeCode SHALL have the value 'REFR' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.9'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::REFR)
ERROR
Fixed value
ihepcc534
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:code, the attribute code SHALL have the value 'LOINC-3' if present
self.code->forAll(code.oclIsUndefined() or code='LOINC-3')
ERROR
Fixed value
ihepcc554
In IHE Usual Occupation and Industry Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'] SHALL contain at most ONE hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.9']
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.9'))->size()<2
ERROR
Cardinality
ihepcc557
In IHE Usual Occupation and Industry Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'] SHALL contain at most ONE hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10']
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.10'))->size()<2
ERROR
Cardinality
ihepcc539
In IHE Usual Occupation and Industry Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc538
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc530
In IHE Usual Occupation and Industry Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5')->size()<2
ERROR
Cardinality
ihepcc550
In IHE Usual Occupation and Industry Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:participant/hl7:participantRole SHALL contain at least ONE hl7:id
self.participant.participantRole->forAll(id->size()>0)
ERROR
Cardinality
ihepcc549
In IHE Usual Occupation and Industry Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:participant/hl7:participantRole SHALL contain at most ONE hl7:id
self.participant.participantRole->forAll(id->size()<2)
ERROR
Cardinality
ihepcc543
In IHE Usual Occupation and Industry Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'] SHALL contain at most ONE hl7:value
self.value->size()<2
ERROR
Cardinality
ihepcc545
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:participant, the attribute typeCode SHALL have the value 'IND' if present
self.participant->forAll(typeCode.oclIsUndefined() or typeCode=ParticipationType::IND)
ERROR
Fixed value
ihepcc535
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc540
In IHE Usual Occupation and Industry Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'] SHALL contain at least ONE hl7:effectiveTime
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc556
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.10')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc555
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.10'], the attribute typeCode SHALL have the value 'REFR' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.10'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::REFR)
ERROR
Fixed value
ihepcc551
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:participant, the element(s) hl7:participantRole SHALL not have nullFlavor (mandatory)
self.participant.participantRole->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc532
In IHE Usual Occupation and Industry Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc548
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:participant/hl7:participantRole, the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.participant.participantRole.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc541
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5'], the element(s) hl7:value SHALL be from the datatype CD
self.value->forAll(oclIsKindOf(CD))
ERROR
Datatype
ihepcc546
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:participant/hl7:participantRole, the attribute classCode SHALL be present
self.participant.participantRole->forAll((not nullFlavor.oclIsUndefined()) or (not classCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc536
In IHE Usual Occupation and Industry Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.5']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.20.5
templateId.root
IHEHistoryOfPastIllnessSection
IHEHistoryOfPastIllnessSection
cda-POCDMT000040Section
ihepcc1613
In IHE History of Past Illness Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'] SHALL contain at least ONE hl7:entry
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc1610
In IHE History of Past Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8']/hl7:entry/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'], the attribute root SHALL be present
self.entry.act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1605
In IHE History of Past Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1599
In IHE History of Past Illness Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.8']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.8')->size()<2
ERROR
Cardinality
ihepcc1611
In IHE History of Past Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'], the element(s) hl7:entry SHALL not have nullFlavor (mandatory)
self.entry->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1602
In IHE History of Past Illness Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1600
In IHE History of Past Illness Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.8']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1598
In IHE History of Past Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.8')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1603
In IHE History of Past Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1608
In IHE History of Past Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1597
In IHE History of Past Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.8')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1601
In IHE History of Past Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1612
In IHE History of Past Illness Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'] SHALL contain at most ONE hl7:entry
self.entry->size()<2
ERROR
Cardinality
ihepcc1607
In IHE History of Past Illness Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1606
In IHE History of Past Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1609
In IHE History of Past Illness Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1604
In IHE History of Past Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8']/hl7:code, the attribute code SHALL have the value '11348-0' if present
self.code->forAll(code.oclIsUndefined() or code='11348-0')
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.3.8
templateId.root
IHEAdvanceDirectiveObservation
IHEAdvanceDirectiveObservation
cda-POCDMT000040Observation
ihepcc1363
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1400
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:reference/hl7:externalDocument SHALL contain at least ONE hl7:id
self.reference.externalDocument->forAll(id->size()>0)
ERROR
Cardinality
ihepcc1398
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:reference/hl7:externalDocument, the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.reference.externalDocument.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1364
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->size()<2
ERROR
Cardinality
ihepcc1396
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:reference/hl7:externalDocument, the attribute moodCode SHALL have the value 'EVN' if present
self.reference.externalDocument->forAll(moodCode.oclIsUndefined() or moodCode=ActMood::EVN)
ERROR
Fixed value
ihepcc1365
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1360
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7')->size()<2
ERROR
Cardinality
ihepcc1376
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1359
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1402
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at least ONE hl7:reference
(not self.nullFlavor.oclIsUndefined()) or self.reference->size()>0
ERROR
Cardinality
ihepcc1361
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1371
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at most ONE hl7:id
self.id->size()<2
ERROR
Cardinality
ihepcc1366
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.17'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.17')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1392
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:reference/hl7:templateId[@root='2.16.840.1.113883.10.20.1.36'], the attribute root SHALL be present
self.reference.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.36')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1394
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:reference SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.36']
self.reference->forAll(templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.36')->size()<2)
ERROR
Cardinality
ihepcc1388
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the element(s) hl7:value SHALL not have nullFlavor (mandatory)
self.value->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1374
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:code, the attribute codeSystem SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not codeSystem.oclIsUndefined()))
ERROR
Cardinality
ihepcc1367
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.17'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.17')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1387
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the element(s) hl7:value SHALL be from the datatype BL
self.value->forAll(oclIsKindOf(BL))
ERROR
Datatype
ihepcc1381
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1379
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1377
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1393
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:reference, the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.36'] SHALL not have nullFlavor (mandatory)
self.reference.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.36')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1390
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc1384
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at least ONE hl7:effectiveTime
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc1380
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc1370
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1358
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1368
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.17']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.17')->size()<2
ERROR
Cardinality
ihepcc1389
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at most ONE hl7:value
self.value->size()<2
ERROR
Cardinality
ihepcc1383
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the element(s) hl7:effectiveTime SHALL not have nullFlavor (mandatory)
self.effectiveTime->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1372
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1362
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1399
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:reference/hl7:externalDocument SHALL contain at most ONE hl7:id
self.reference.externalDocument->forAll(id->size()<2)
ERROR
Cardinality
ihepcc1385
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:value, the attribute value SHALL be present
self.value->select(oclIsKindOf(BL)).oclAsType(BL)->forAll((not nullFlavor.oclIsUndefined()) or (not value.oclIsUndefined()))
ERROR
Cardinality
ihepcc1401
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:reference SHALL contain at least ONE hl7:externalDocument
self.reference->forAll(not externalDocument.oclIsUndefined())
ERROR
Cardinality
ihepcc1386
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:value, the attribute value SHALL have the value 'true' if present
self.value->select(oclIsKindOf(BL)).oclAsType(BL)->forAll(value.oclIsUndefined() or value=true)
ERROR
Fixed value
ihepcc1382
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc1375
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.96' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.96')
ERROR
Fixed value
ihepcc1397
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:reference/hl7:externalDocument, the attribute classCode SHALL have the value 'DOC' if present
self.reference.externalDocument->forAll(classCode.oclIsUndefined() or classCode=ActClassDocument::DOC)
ERROR
Fixed value
ihepcc1391
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:reference, the attribute typeCode SHALL have the value 'REFR' if present
self.reference->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipExternalReference::REFR)
ERROR
Fixed value
ihepcc1356
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the attribute classCode SHALL have the value 'OBS' if present
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
ERROR
Fixed value
ihepcc1357
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc1369
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.17']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1395
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:reference SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.36']
self.reference->forAll(templateId->size()>0)
ERROR
Cardinality
ihepcc1373
In IHE Advance Directive Observation, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7']/hl7:code, the attribute codeSystem SHALL have the datatype 'oid' if present
self.code->forAll(codeSystem.oclIsUndefined() or CommonOperationsStatic::isOID(codeSystem))
ERROR
Datatype
ihepcc1378
In IHE Advance Directive Observation, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.7'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.13.7
templateId.root
IHEMedicationsSection
IHEMedicationsSection
cda-POCDMT000040Section
ihepcc615
In IHE Medications section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'] SHALL contain at least ONE hl7:entry
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc612
In IHE Medications section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']/hl7:entry, the attribute typeCode SHALL be present
self.entry->forAll((not nullFlavor.oclIsUndefined()) or (not typeCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc606
In IHE Medications section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']/hl7:code, the attribute code SHALL have the value '10160-0' if present
self.code->forAll(code.oclIsUndefined() or code='10160-0')
ERROR
Fixed value
ihepcc605
In IHE Medications section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc599
In IHE Medications section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.19')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc611
In IHE Medications section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc601
In IHE Medications section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc604
In IHE Medications section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.8']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc600
In IHE Medications section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.19')->size()<2
ERROR
Cardinality
ihepcc598
In IHE Medications section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.19')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc610
In IHE Medications section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc603
In IHE Medications section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.8']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.8')->size()<2
ERROR
Cardinality
ihepcc607
In IHE Medications section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc613
In IHE Medications section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']/hl7:entry/hl7:substanceAdministration/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'], the attribute root SHALL be present
self.entry.substanceAdministration.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc608
In IHE Medications section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc609
In IHE Medications section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc614
In IHE Medications section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'], the element(s) hl7:entry SHALL not have nullFlavor (mandatory)
self.entry->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc602
In IHE Medications section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.8'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.8')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.19
templateId.root
IHEPayersSection
IHEPayersSection
cda-POCDMT000040Section
ihepcc1182
In IHE Payers section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'] SHALL contain at least ONE hl7:title
(not self.nullFlavor.oclIsUndefined()) or self.title->size()>0
ERROR
Cardinality
ihepcc1170
In IHE Payers section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1181
In IHE Payers section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'], the element(s) hl7:title SHALL not have nullFlavor (mandatory)
self.title->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1184
In IHE Payers section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1175
In IHE Payers section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.9']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1171
In IHE Payers section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7')->size()<2
ERROR
Cardinality
ihepcc1177
In IHE Payers section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7']/hl7:code, the attribute code SHALL have the value '48768-6' if present
self.code->forAll(code.oclIsUndefined() or code='48768-6')
ERROR
Fixed value
ihepcc1179
In IHE Payers section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1174
In IHE Payers section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.9']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.9')->size()<2
ERROR
Cardinality
ihepcc1172
In IHE Payers section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1183
In IHE Payers section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1169
In IHE Payers section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1186
In IHE Payers section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7']/hl7:entry/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.17'], the attribute root SHALL be present
self.entry.act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.17')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1180
In IHE Payers section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1173
In IHE Payers section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.9'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.9')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1185
In IHE Payers section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7']/hl7:entry, the attribute typeCode SHALL be present
self.entry->forAll((not nullFlavor.oclIsUndefined()) or (not typeCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc1178
In IHE Payers section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1176
In IHE Payers section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.1.5.3.7
templateId.root
IHEMedicationsEntry
IHEMedicationsEntry
cda-POCDMT000040SubstanceAdministration
ihepcc1072
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:entryRelationship[hl7:act/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'], the attribute typeCode SHALL have the value 'SUBJ' if present
self.entryRelationship->select(act.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.3'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::SUBJ)
ERROR
Fixed value
ihepcc1050
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'], the element(s) hl7:id SHALL not have nullFlavor (mandatory) (Item : 6.3.4.16.6)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1070
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:entryRelationship[hl7:supply/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3']/hl7:supply/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'], the attribute root SHALL be present
self.entryRelationship->select(supply.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.7.3')).supply.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1046
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.10'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.10')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1041
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.1'] (Item : 6.3.4.16.3.1)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.1')->size()<2
ERROR
Cardinality
ihepcc1042
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.8'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.8')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1043
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.8'] (Item : 6.3.4.16.3.2)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.8')->size()<2
ERROR
Cardinality
ihepcc1077
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:entryRelationship[hl7:act/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1']/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'], the attribute root SHALL be present
self.entryRelationship->select(act.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.4.1')).act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1052
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at least ONE hl7:id (Item : 6.3.4.16.6)
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1068
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:consumable/hl7:manufacturedProduct/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'], the attribute root SHALL be present
self.consumable.manufacturedProduct.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1056
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc1061
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:effectiveTime SHALL contain at least ONE hl7:low
self.effectiveTime->select(oclIsKindOf(IVLTS)).oclAsType(IVLTS)->select((not ((not operator.oclIsUndefined()) and operator=SetOperator::A)))->forAll(low->size()>0)
ERROR
Cardinality
ihepcc1047
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.10'] (Item : 6.3.4.16.3.4)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.10')->size()<2
ERROR
Cardinality
ihepcc1040
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1067
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at most ONE hl7:effectiveTime[@operator='A'] (Item : 6.3.4.16.12)
self.effectiveTime->select((not operator.oclIsUndefined()) and operator=SetOperator::A)->size()<2
ERROR
Cardinality
ihepcc1039
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] (Item : 6.3.4.16.4)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1032
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'], the attribute classCode SHALL have the value 'SBADM' if present
self.classCode.oclIsUndefined() or self.classCode=ActClass::SBADM
ERROR
Fixed value
ihepcc1038
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] (Item : 6.3.4.16.4)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7')->size()<2
ERROR
Cardinality
ihepcc1031
In IHE Medications Entry, the element defined by /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] shall verify this requirement : moodCode attribute SHALL have the value 'INT' or 'EVN' (Item : 6.3.4.16.3)
CommonOperationsStatic::validateByXPATHV2(self, '@moodCode=\u0027INT\u0027 or @moodCode=\u0027EVN\u0027')
ERROR
Context
ihepcc1060
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:effectiveTime/hl7:low, the attribute nullFlavor SHALL have the value 'UNK' if present
self.effectiveTime->select(oclIsKindOf(IVLTS)).oclAsType(IVLTS)->select((not ((not operator.oclIsUndefined()) and operator=SetOperator::A))).low->forAll(nullFlavor.oclIsUndefined() or nullFlavor=NullFlavor::UNK)
ERROR
Fixed value
ihepcc1033
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.24'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.24')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1071
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:entryRelationship[@typeCode='COMP'] SHALL contain at least ONE hl7:sequenceNumber
self.entryRelationship->select((not typeCode.oclIsUndefined()) and typeCode=XActRelationshipEntryRelationship::COMP)->forAll(not sequenceNumber.oclIsUndefined())
ERROR
Cardinality
ihepcc1045
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.9'] (Item : 6.3.4.16.3.3)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.9')->size()<2
ERROR
Cardinality
ihepcc1044
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.9'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.9')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1053
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:text SHALL contain at least ONE hl7:reference
self.text->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
ihepcc1036
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.24'] (Item : 6.3.4.16.4)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1051
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at most ONE hl7:id (Item : 6.3.4.16.6)
self.id->size()<2
ERROR
Cardinality
ihepcc1055
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1063
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:effectiveTime SHALL contain at least ONE hl7:high
self.effectiveTime->select(oclIsKindOf(IVLTS)).oclAsType(IVLTS)->select((not ((not operator.oclIsUndefined()) and operator=SetOperator::A)))->forAll(high->size()>0)
ERROR
Cardinality
ihepcc1073
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:entryRelationship[hl7:act/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'], the attribute inversionInd SHALL be present
self.entryRelationship->select(act.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.3'))->forAll((not nullFlavor.oclIsUndefined()) or (not inversionInd.oclIsUndefined()))
ERROR
Cardinality
ihepcc1076
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:entryRelationship[hl7:act/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1'], the attribute typeCode SHALL have the value 'RSON' if present
self.entryRelationship->select(act.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.4.1'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::RSON)
ERROR
Fixed value
ihepcc1048
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.11'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.11')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1074
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:entryRelationship[hl7:act/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'], the attribute inversionInd SHALL have the value 'true' if present
self.entryRelationship->select(act.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.3'))->forAll(inversionInd.oclIsUndefined() or inversionInd=true)
ERROR
Fixed value
ihepcc1049
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.11'] (Item : 6.3.4.16.3.5)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.11')->size()<2
ERROR
Cardinality
ihepcc1054
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at least ONE hl7:text (Item : 6.3.4.16.8)
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1065
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at least ONE hl7:effectiveTime (Item : 6.3.4.16.10)
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc1037
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1075
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:entryRelationship[hl7:act/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.3']/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.3'], the attribute root SHALL be present
self.entryRelationship->select(act.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.3')).act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1066
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:effectiveTime[@operator='A'], the attribute operator SHALL be present
self.effectiveTime->select((not operator.oclIsUndefined()) and operator=SetOperator::A)->forAll((not nullFlavor.oclIsUndefined()) or (not operator.oclIsUndefined()))
ERROR
Cardinality
ihepcc1034
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.24'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.16.4)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.24')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1064
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at most ONE hl7:effectiveTime (Item : 6.3.4.16.10)
self.effectiveTime->select((not ((not operator.oclIsUndefined()) and operator=SetOperator::A)))->size()<2
ERROR
Cardinality
ihepcc1058
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at least ONE hl7:statusCode (Item : 6.3.4.16.9)
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc1035
In IHE Medications Entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.24'] (Item : 6.3.4.16.4)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.24')->size()<2
ERROR
Cardinality
ihepcc1062
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:effectiveTime/hl7:high, the attribute nullFlavor SHALL have the value 'UNK' if present
self.effectiveTime->select(oclIsKindOf(IVLTS)).oclAsType(IVLTS)->select((not ((not operator.oclIsUndefined()) and operator=SetOperator::A))).high->forAll(nullFlavor.oclIsUndefined() or nullFlavor=NullFlavor::UNK)
ERROR
Fixed value
ihepcc1057
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory) (Item : 6.3.4.16.9)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1069
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7']/hl7:entryRelationship[hl7:supply/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.3'], the attribute typeCode SHALL have the value 'REFR' if present
self.entryRelationship->select(supply.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.7.3'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::REFR)
ERROR
Fixed value
ihepcc1059
In IHE Medications Entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7'], the element(s) hl7:effectiveTime SHALL be from the datatype IVLTS (Item : 6.3.4.16.10)
self.effectiveTime->select((not ((not operator.oclIsUndefined()) and operator=SetOperator::A)))->forAll(oclIsKindOf(IVLTS))
ERROR
Datatype
1.3.6.1.4.1.19376.1.5.3.1.4.7
templateId.root
IHEAllergyAndIntoleranceEntry
IHEAllergyAndIntoleranceEntry
cda-POCDMT000040Observation
ihepcc022
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.28']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.28')->size()<2
ERROR
Cardinality
ihepcc047
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:participant/hl7:participantRole/hl7:playingEntity SHALL contain at least ONE hl7:code
self.participant.participantRole.playingEntity->forAll(not code.oclIsUndefined())
ERROR
Cardinality
ihepcc031
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc042
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:participant/hl7:participantRole/hl7:playingEntity/hl7:code/hl7:originalText, the element(s) hl7:reference SHALL not have nullFlavor (mandatory)
self.participant.participantRole.playingEntity.code.originalText.reference->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc054
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc035
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'], the element(s) hl7:value SHALL be from the datatype CD
self.value->forAll(oclIsKindOf(CD))
ERROR
Datatype
ihepcc050
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.5')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc040
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:participant/hl7:participantRole/hl7:playingEntity, the attribute classCode SHALL be present
self.participant.participantRole.playingEntity->forAll((not nullFlavor.oclIsUndefined()) or (not classCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc044
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:participant/hl7:participantRole/hl7:playingEntity/hl7:code, the element(s) hl7:originalText SHALL not have nullFlavor (mandatory)
self.participant.participantRole.playingEntity.code.originalText->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc041
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:participant/hl7:participantRole/hl7:playingEntity, the attribute classCode SHALL have the value 'MMAT' if present
self.participant.participantRole.playingEntity->forAll(classCode.oclIsUndefined() or classCode=EntityClassRoot::MMAT)
ERROR
Fixed value
ihepcc033
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:statusCode, the attribute codeSystem SHALL have the value '2.16.840.1.113883.5.14' if present
self.statusCode->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.5.14')
ERROR
Fixed value
ihepcc055
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at most ONE hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1']
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1'))->size()<2
ERROR
Cardinality
ihepcc023
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.28']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc018
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc056
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the attribute inversionInd SHALL have the value 'false' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1.1'))->forAll(inversionInd.oclIsUndefined() or inversionInd=false)
ERROR
Fixed value
ihepcc051
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the attribute inversionInd SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1'))->forAll((not nullFlavor.oclIsUndefined()) or (not inversionInd.oclIsUndefined()))
ERROR
Cardinality
ihepcc025
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.6')->size()<2
ERROR
Cardinality
ihepcc061
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:act/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'], the attribute inversionInd SHALL have the value 'true' if present
self.entryRelationship->select(act.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.2'))->forAll(inversionInd.oclIsUndefined() or inversionInd=true)
ERROR
Fixed value
ihepcc052
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the attribute inversionInd SHALL have the value 'true' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1'))->forAll(inversionInd.oclIsUndefined() or inversionInd=true)
ERROR
Fixed value
ihepcc059
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at most ONE hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1.1'))->size()<2
ERROR
Cardinality
ihepcc030
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc024
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.6')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc048
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at most ONE hl7:participant
self.participant->size()<2
ERROR
Cardinality
ihepcc029
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc020
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc046
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:participant/hl7:participantRole/hl7:playingEntity, the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.participant.participantRole.playingEntity.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc026
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc058
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1.1')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc063
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:act/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2']/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'], the attribute root SHALL be present
self.entryRelationship->select(act.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.2')).act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc043
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:participant/hl7:participantRole/hl7:playingEntity/hl7:code/hl7:originalText SHALL contain at least ONE hl7:reference
self.participant.participantRole.playingEntity.code.originalText->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
ihepcc049
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'], the attribute typeCode SHALL have the value 'MFST' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.5'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::MFST)
ERROR
Fixed value
ihepcc060
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:act/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'], the attribute inversionInd SHALL be present
self.entryRelationship->select(act.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.2'))->forAll((not nullFlavor.oclIsUndefined()) or (not inversionInd.oclIsUndefined()))
ERROR
Cardinality
ihepcc027
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc045
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:participant/hl7:participantRole/hl7:playingEntity/hl7:code SHALL contain at least ONE hl7:originalText
self.participant.participantRole.playingEntity.code->forAll(not originalText.oclIsUndefined())
ERROR
Cardinality
ihepcc038
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:participant/hl7:participantRole, the attribute classCode SHALL be present
self.participant.participantRole->forAll((not nullFlavor.oclIsUndefined()) or (not classCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc021
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.28'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.28')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc036
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
ihepcc037
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:participant, the attribute typeCode SHALL have the value 'CSM' if present
self.participant->forAll(typeCode.oclIsUndefined() or typeCode=ParticipationType::CSM)
ERROR
Fixed value
ihepcc017
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc053
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'], the attribute typeCode SHALL have the value 'SUBJ' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::SUBJ)
ERROR
Fixed value
ihepcc034
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc062
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:act/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.2'], the attribute typeCode SHALL have the value 'SUBJ' if present
self.entryRelationship->select(act.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.2'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::SUBJ)
ERROR
Fixed value
ihepcc032
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc028
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc019
In IHE Allergies And Intolerances Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5')->size()<2
ERROR
Cardinality
ihepcc057
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.1.1'], the attribute typeCode SHALL have the value 'REFR' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.1.1'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::REFR)
ERROR
Fixed value
ihepcc016
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6'], the attribute classCode SHALL have the value 'OBS' if present
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
ERROR
Fixed value
ihepcc039
In IHE Allergies And Intolerances Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.6']/hl7:participant/hl7:participantRole, the attribute classCode SHALL have the value 'MANU' if present
self.participant.participantRole->forAll(classCode.oclIsUndefined() or classCode=RoleClassRoot::MANU)
ERROR
Fixed value
1.3.6.1.4.1.19376.1.5.3.1.4.6
templateId.root
IHEHistoryofPresentIllnessSection
IHEHistoryofPresentIllnessSection
cda-POCDMT000040Section
ihepcc1355
In IHE History of Present Illness Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1351
In IHE History of Present Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1346
In IHE History of Present Illness Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.4']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.4')->size()<2
ERROR
Cardinality
ihepcc1344
In IHE History of Present Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.4'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.4')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1350
In IHE History of Present Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4']/hl7:code, the attribute code SHALL have the value '10164-2' if present
self.code->forAll(code.oclIsUndefined() or code='10164-2')
ERROR
Fixed value
ihepcc1349
In IHE History of Present Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1345
In IHE History of Present Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.4'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.4')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1353
In IHE History of Present Illness Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1354
In IHE History of Present Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1352
In IHE History of Present Illness Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1348
In IHE History of Present Illness Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1347
In IHE History of Present Illness Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.4']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.4
templateId.root
IHEReferralSummaryDocument
IHEReferralSummaryDocument
cda-POCDMT000040ClinicalDocument
ihepcc428
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'], the element(s) hl7:effectiveTime SHALL not have nullFlavor (mandatory)
self.effectiveTime->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc424
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc410
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:typeId, the attribute extension SHALL be present
self.typeId->forAll((not nullFlavor.oclIsUndefined()) or (not extension.oclIsUndefined()))
ERROR
Cardinality
ihepcc441
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.8'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.8')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.8')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc451
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.18'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.18')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.18')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc439
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.13'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.13')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.13')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc445
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.23')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.23')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc411
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:typeId, the attribute extension SHALL have the value 'POCD_HD000040' if present
self.typeId->forAll(extension.oclIsUndefined() or extension='POCD_HD000040')
ERROR
Fixed value
ihepcc450
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.16'))->size()<2)
ERROR
Cardinality
ihepcc434
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.4'))->size()<2)
ERROR
Cardinality
ihepcc443
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.11')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.11')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc416
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc425
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc460
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.31'))->size()<2)
ERROR
Cardinality
ihepcc431
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.1'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.1')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc427
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'] SHALL contain at least ONE hl7:title
(not self.nullFlavor.oclIsUndefined()) or self.title->size()>0
ERROR
Cardinality
ihepcc408
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:typeId, the attribute root SHALL be present
self.typeId->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc442
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.8']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.8'))->size()<2)
ERROR
Cardinality
ihepcc456
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.24'))->size()<2)
ERROR
Cardinality
ihepcc413
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.3')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc455
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.24']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.24'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.24')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.24')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc446
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.23'))->size()<2)
ERROR
Cardinality
ihepcc412
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc462
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.34'))->size()<2)
ERROR
Cardinality
ihepcc409
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:typeId, the attribute root SHALL have the value '2.16.840.1.113883.1.3' if present
self.typeId->forAll(root.oclIsUndefined() or root='2.16.840.1.113883.1.3')
ERROR
Fixed value
ihepcc444
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.11'))->size()<2)
ERROR
Cardinality
ihepcc433
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.4']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.4'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.4')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.4')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc417
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.2'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.2')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc421
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc449
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.16']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.16')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.16')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc452
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.18']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.18'))->size()<2)
ERROR
Cardinality
ihepcc459
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.31']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.31')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.31')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc429
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'], the element(s) hl7:languageCode SHALL not have nullFlavor (mandatory)
self.languageCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc463
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component SHALL contain at least ONE hl7:structuredBody
self.component->forAll(not structuredBody.oclIsUndefined())
ERROR
Cardinality
ihepcc414
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.3')->size()<2
ERROR
Cardinality
ihepcc453
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.25')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.25')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc454
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.25']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.25'))->size()<2)
ERROR
Cardinality
ihepcc420
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc438
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.19'))->size()<2)
ERROR
Cardinality
ihepcc458
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.27'))->size()<2)
ERROR
Cardinality
ihepcc418
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.2']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.2')->size()<2
ERROR
Cardinality
ihepcc447
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.14'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.14')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.14')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc422
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.1']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.1')->size()<2
ERROR
Cardinality
ihepcc448
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.14']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.14'))->size()<2)
ERROR
Cardinality
ihepcc435
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.6')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.6')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc415
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc432
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.1']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.1'))->size()<2)
ERROR
Cardinality
ihepcc440
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.13']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.13'))->size()<2)
ERROR
Cardinality
ihepcc430
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'] SHALL contain at least ONE hl7:languageCode
(not self.nullFlavor.oclIsUndefined()) or self.languageCode->size()>0
ERROR
Cardinality
ihepcc457
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.27')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.27')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc423
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc437
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.19']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.19'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.19')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.19')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc436
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody SHALL contain at most ONE hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']
self.component.structuredBody->forAll(component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.6'))->size()<2)
ERROR
Cardinality
ihepcc426
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'], the element(s) hl7:title SHALL not have nullFlavor (mandatory)
self.title->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc419
In IHE Referral Summary Document, /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.2']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc461
In IHE Referral Summary Document, in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.3']/hl7:component/hl7:structuredBody/hl7:component[hl7:section/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.34']/hl7:section/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.34'], the attribute root SHALL be present
self.component.structuredBody.component->select(section.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.3.34')).section.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.34')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.1.3
templateId.root
IHEResourcesToSupportGoals
IHEResourcesToSupportGoals
cda-POCDMT000040Section
ihepcc195
In IHE Resources to Support Goals Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc194
In IHE Resources to Support Goals Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1')->size()<2
ERROR
Cardinality
ihepcc202
In IHE Resources to Support Goals Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc196
In IHE Resources to Support Goals Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc191
In IHE Resources to Support Goals Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
Fixed value
ihepcc200
In IHE Resources to Support Goals Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc199
In IHE Resources to Support Goals Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc193
In IHE Resources to Support Goals Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc201
In IHE Resources to Support Goals Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc198
In IHE Resources to Support Goals Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1']/hl7:code, the attribute code SHALL have the value '46802-5' if present
self.code->forAll(code.oclIsUndefined() or code='46802-5')
ERROR
Fixed value
ihepcc197
In IHE Resources to Support Goals Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc192
In IHE Resources to Support Goals Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.7.3.1.3.24.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.7.3.1.3.24.1
templateId.root
IHEActiveProblemsSection
IHEActiveProblemsSection
cda-POCDMT000040Section
ihepcc629
In IHE Active Problems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc620
In IHE Active Problems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.11'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.11')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc627
In IHE Active Problems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc622
In IHE Active Problems Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.11']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.11')->size()<2
ERROR
Cardinality
ihepcc616
In IHE Active Problems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.6')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc623
In IHE Active Problems Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.11']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc631
In IHE Active Problems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']/hl7:entry, the attribute typeCode SHALL be present
self.entry->forAll((not nullFlavor.oclIsUndefined()) or (not typeCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc618
In IHE Active Problems Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.6')->size()<2
ERROR
Cardinality
ihepcc617
In IHE Active Problems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.6')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc630
In IHE Active Problems Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc632
In IHE Active Problems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']/hl7:entry/hl7:act/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2'], the attribute root SHALL be present
self.entry.act.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.5.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc626
In IHE Active Problems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc625
In IHE Active Problems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']/hl7:code, the attribute code SHALL have the value '11450-4' if present
self.code->forAll(code.oclIsUndefined() or code='11450-4')
ERROR
Fixed value
ihepcc633
In IHE Active Problems Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'] SHALL contain at least ONE hl7:entry
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc619
In IHE Active Problems Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc628
In IHE Active Problems Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc624
In IHE Active Problems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc621
In IHE Active Problems Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.6'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.11'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.11')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.3.6
templateId.root
IHEOccupationalDataForHealthSection
IHEOccupationalDataForHealthSection
cda-POCDMT000040Section
ihepcc1280
In IHE Occupational Data for Health Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.37'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.37')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1282
In IHE Occupational Data for Health Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.37']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1292
In IHE Occupational Data for Health Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37'] SHALL contain at most ONE hl7:entry
self.entry->size()<2
ERROR
Cardinality
ihepcc1281
In IHE Occupational Data for Health Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.37']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.37')->size()<2
ERROR
Cardinality
ihepcc1291
In IHE Occupational Data for Health Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37']/hl7:entry/hl7:organizer/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20'], the attribute root SHALL be present
self.entry.organizer.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1290
In IHE Occupational Data for Health Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1289
In IHE Occupational Data for Health Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37'] SHALL contain at least ONE hl7:title
(not self.nullFlavor.oclIsUndefined()) or self.title->size()>0
ERROR
Cardinality
ihepcc1288
In IHE Occupational Data for Health Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1284
In IHE Occupational Data for Health Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1286
In IHE Occupational Data for Health Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1283
In IHE Occupational Data for Health Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1287
In IHE Occupational Data for Health Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1285
In IHE Occupational Data for Health Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37']/hl7:code, the attribute code SHALL have the value '74166-0' if present
self.code->forAll(code.oclIsUndefined() or code='74166-0')
ERROR
Fixed value
ihepcc1279
In IHE Occupational Data for Health Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.37']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.37'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.37')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.37
templateId.root
IHEHistoryOfOccupationOrganizer
IHEHistoryOfOccupationOrganizer
cda-POCDMT000040Organizer
ihepcc1529
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']/hl7:code, the attribute code SHALL have the value 'LOINC-6' if present
self.code->forAll(code.oclIsUndefined() or code='LOINC-6')
ERROR
Fixed value
ihepcc1521
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'], the attribute classCode SHALL have the value 'CLUSTER' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryOrganizer::CLUSTER
ERROR
Fixed value
ihepcc1523
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1526
In IHE History of Occupation Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1537
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']/hl7:component, the attribute typeCode SHALL have the value 'COMP' if present
self.component->forAll(typeCode.oclIsUndefined() or typeCode=ActRelationshipHasComponent::COMP)
ERROR
Fixed value
ihepcc1522
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
Fixed value
ihepcc1532
In IHE History of Occupation Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1530
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1525
In IHE History of Occupation Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3')->size()<2
ERROR
Cardinality
ihepcc1534
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc1535
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1524
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1539
In IHE History of Occupation Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'] SHALL contain at least ONE hl7:component
(not self.nullFlavor.oclIsUndefined()) or self.component->size()>0
ERROR
Cardinality
ihepcc1527
In IHE History of Occupation Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1533
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1538
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']/hl7:component/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'], the attribute root SHALL be present
self.component.observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1536
In IHE History of Occupation Organizer, /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'] SHALL contain at least ONE hl7:effectiveTime
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc1528
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1531
In IHE History of Occupation Organizer, in /hl7:organizer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.3'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.4.20.3
templateId.root
IHECodedVitalSignsSection
IHECodedVitalSignsSection
cda-POCDMT000040Section
ihepcc1187
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1196
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.16'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.16')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1188
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1201
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1207
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']/hl7:entry/hl7:organizer/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1'], the attribute root SHALL be present
self.entry.organizer.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.13.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1195
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.16'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.16')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1204
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1191
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.25')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1205
In IHE Coded Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1200
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']/hl7:code, the attribute code SHALL have the value '8716-3' if present
self.code->forAll(code.oclIsUndefined() or code='8716-3')
ERROR
Fixed value
ihepcc1198
In IHE Coded Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.16']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1203
In IHE Coded Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1193
In IHE Coded Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.25']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.25')->size()<2
ERROR
Cardinality
ihepcc1194
In IHE Coded Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.25']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1199
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1208
In IHE Coded Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] SHALL contain at least ONE hl7:entry
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc1206
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']/hl7:entry, the attribute typeCode SHALL be present
self.entry->forAll((not nullFlavor.oclIsUndefined()) or (not typeCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc1189
In IHE Coded Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2')->size()<2
ERROR
Cardinality
ihepcc1190
In IHE Coded Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1202
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1197
In IHE Coded Vital Signs Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.16']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.16')->size()<2
ERROR
Cardinality
ihepcc1192
In IHE Coded Vital Signs Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.25'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.25')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2
templateId.root
IHEOccupationObservationEntry
IHEOccupationObservationEntry
cda-POCDMT000040Observation
ihepcc1572
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc1587
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:participant, the element(s) hl7:participantRole SHALL not have nullFlavor (mandatory)
self.participant.participantRole->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1586
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:participant/hl7:participantRole SHALL contain at least ONE hl7:id
self.participant.participantRole->forAll(id->size()>0)
ERROR
Cardinality
ihepcc1570
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1567
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1568
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:code, the attribute code SHALL have the value 'LOINC-6' if present
self.code->forAll(code.oclIsUndefined() or code='LOINC-6')
ERROR
Fixed value
ihepcc1574
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:effectiveTime/hl7:low, the attribute nullFlavor SHALL have the value 'UNK' if present
self.effectiveTime.low->forAll(nullFlavor.oclIsUndefined() or nullFlavor=NullFlavor::UNK)
ERROR
Fixed value
ihepcc1582
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:participant/hl7:participantRole, the attribute classCode SHALL be present
self.participant.participantRole->forAll((not nullFlavor.oclIsUndefined()) or (not classCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc1565
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1577
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'], the element(s) hl7:value SHALL be from the datatype CD
self.value->forAll(oclIsKindOf(CD))
ERROR
Datatype
ihepcc1564
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6')->size()<2
ERROR
Cardinality
ihepcc1578
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'], the element(s) hl7:value SHALL not have nullFlavor (mandatory)
self.value->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1589
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'] SHALL contain at most ONE hl7:participant
self.participant->size()<2
ERROR
Cardinality
ihepcc1581
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:participant, the attribute typeCode SHALL have the value 'IND' if present
self.participant->forAll(typeCode.oclIsUndefined() or typeCode=ParticipationType::IND)
ERROR
Fixed value
ihepcc1590
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'] SHALL contain at least ONE hl7:participant
(not self.nullFlavor.oclIsUndefined()) or self.participant->size()>0
ERROR
Cardinality
ihepcc1576
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'] SHALL contain at least ONE hl7:effectiveTime
(not self.nullFlavor.oclIsUndefined()) or self.effectiveTime->size()>0
ERROR
Cardinality
ihepcc1591
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'], the attribute typeCode SHALL have the value 'REFR' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.7'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::REFR)
ERROR
Fixed value
ihepcc1592
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.7')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1575
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:effectiveTime SHALL contain at least ONE hl7:high
self.effectiveTime->forAll(not high.oclIsUndefined())
ERROR
Cardinality
ihepcc1584
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:participant/hl7:participantRole, the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.participant.participantRole.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1593
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'] SHALL contain at most ONE hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.7']
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.7'))->size()<2
ERROR
Cardinality
ihepcc1573
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc1566
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1571
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1588
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'], the element(s) hl7:participant SHALL not have nullFlavor (mandatory)
self.participant->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1563
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1562
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1569
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1585
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:participant/hl7:participantRole SHALL contain at most ONE hl7:id
self.participant.participantRole->forAll(id->size()<2)
ERROR
Cardinality
ihepcc1583
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:participant/hl7:participantRole, the attribute classCode SHALL have the value 'ROL' if present
self.participant.participantRole->forAll(classCode.oclIsUndefined() or classCode=RoleClassRoot::ROL)
ERROR
Fixed value
ihepcc1594
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'], the attribute typeCode SHALL have the value 'REFR' if present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.8'))->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::REFR)
ERROR
Fixed value
ihepcc1595
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6']/hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8']/hl7:observation/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8'], the attribute root SHALL be present
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.8')).observation.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1560
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'], the attribute classCode SHALL have the value 'OBS' if present
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
ERROR
Fixed value
ihepcc1579
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'] SHALL contain at most ONE hl7:value
self.value->size()<2
ERROR
Cardinality
ihepcc1596
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'] SHALL contain at most ONE hl7:entryRelationship[hl7:observation/hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.8']
self.entryRelationship->select(observation.templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.5.3.1.4.20.8'))->size()<2
ERROR
Cardinality
ihepcc1561
In IHE Occupation Observation Entry, in /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XActMoodDocumentObservation::EVN
ERROR
Fixed value
ihepcc1580
In IHE Occupation Observation Entry, /hl7:observation[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.20.6'] SHALL contain at least ONE hl7:value
(not self.nullFlavor.oclIsUndefined()) or self.value->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.20.6
templateId.root
IHEAntigenDoseEntry
IHEAntigenDoseEntry
cda-POCDMT000040SubstanceAdministration
ihepcc090
In IHE Antigen Dose entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1')->size()<2
ERROR
Cardinality
ihepcc086
In IHE Antigen Dose entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1'], the attribute classCode SHALL have the value 'SBADM' if present
self.classCode.oclIsUndefined() or self.classCode=ActClass::SBADM
ERROR
Fixed value
ihepcc094
In IHE Antigen Dose entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1']/hl7:consumable, the attribute typeCode SHALL have the value 'CSM' if present
self.consumable->forAll(typeCode.oclIsUndefined() or typeCode=ParticipationType::CSM)
ERROR
Fixed value
ihepcc087
In IHE Antigen Dose entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XDocumentSubstanceMood::EVN
ERROR
Fixed value
ihepcc091
In IHE Antigen Dose entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc095
In IHE Antigen Dose entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1']/hl7:consumable/hl7:manufacturedProduct/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'], the attribute root SHALL be present
self.consumable.manufacturedProduct.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc088
In IHE Antigen Dose entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc092
In IHE Antigen Dose entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc089
In IHE Antigen Dose entry, in /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc093
In IHE Antigen Dose entry, /hl7:substanceAdministration[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.12.1'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.12.1
templateId.root
IHEPayerEntry
IHEPayerEntry
cda-POCDMT000040Act
ihepcc911
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:participant[@typeCode='HLD']/hl7:participantRole, the attribute classCode SHALL be present
self.participant->select((not typeCode.oclIsUndefined()) and typeCode=ParticipationType::HLD).participantRole->forAll((not nullFlavor.oclIsUndefined()) or (not classCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc890
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
self.statusCode->forAll(code.oclIsUndefined() or code='completed')
ERROR
Fixed value
ihepcc920
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:entryRelationship, the element(s) hl7:act SHALL not have nullFlavor (mandatory)
self.entryRelationship.act->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc892
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'] SHALL contain at least ONE hl7:statusCode
(not self.nullFlavor.oclIsUndefined()) or self.statusCode->size()>0
ERROR
Cardinality
ihepcc914
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:participant[@typeCode='HLD']/hl7:participantRole SHALL contain at least ONE hl7:telecom
self.participant->select((not typeCode.oclIsUndefined()) and typeCode=ParticipationType::HLD).participantRole->forAll(telecom->size()>0)
ERROR
Cardinality
ihepcc878
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'], the attribute moodCode SHALL have the value 'EVN' if present
self.moodCode.oclIsUndefined() or self.moodCode=XDocumentActMood::EVN
ERROR
Fixed value
ihepcc887
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc881
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.18')->size()<2
ERROR
Cardinality
ihepcc899
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:performer/hl7:assignedEntity, the element(s) hl7:telecom SHALL not have nullFlavor (mandatory)
self.performer.assignedEntity.telecom->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc885
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.26']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.26')->size()<2
ERROR
Cardinality
ihepcc895
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:performer/hl7:assignedEntity, the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.performer.assignedEntity.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc893
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:performer, the attribute typeCode SHALL have the value 'PRF' if present
self.performer->forAll(typeCode.oclIsUndefined() or typeCode=ParticipationPhysicalPerformer::PRF)
ERROR
Fixed value
ihepcc886
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.26']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc884
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.26'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.26')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc913
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:participant[@typeCode='HLD']/hl7:participantRole SHALL contain at least ONE hl7:addr
self.participant->select((not typeCode.oclIsUndefined()) and typeCode=ParticipationType::HLD).participantRole->forAll(addr->size()>0)
ERROR
Cardinality
ihepcc905
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:participant[@typeCode='COV']/hl7:participantRole, the attribute classCode SHALL be present
self.participant->select((not typeCode.oclIsUndefined()) and typeCode=ParticipationType::COV).participantRole->forAll((not nullFlavor.oclIsUndefined()) or (not classCode.oclIsUndefined()))
ERROR
Cardinality
ihepcc903
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'] SHALL contain at most ONE hl7:performer
self.performer->size()<2
ERROR
Cardinality
ihepcc915
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:participant[@typeCode='HLD'], the element(s) hl7:participantRole SHALL not have nullFlavor (mandatory)
self.participant->select((not typeCode.oclIsUndefined()) and typeCode=ParticipationType::HLD).participantRole->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc909
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'] SHALL contain at most ONE hl7:participant[@typeCode='COV']
self.participant->select((not typeCode.oclIsUndefined()) and typeCode=ParticipationType::COV)->size()<2
ERROR
Cardinality
ihepcc917
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:entryRelationship, the attribute typeCode SHALL have the value 'REFR' if present
self.entryRelationship->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipEntryRelationship::REFR)
ERROR
Fixed value
ihepcc894
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:performer/hl7:assignedEntity, the attribute classCode SHALL have the value 'ASSIGNED' if present
self.performer.assignedEntity->forAll(classCode.oclIsUndefined() or classCode=RoleClassAssignedEntity::ASSIGNED)
ERROR
Fixed value
ihepcc902
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'], the element(s) hl7:performer SHALL not have nullFlavor (mandatory)
self.performer->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc921
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:entryRelationship SHALL contain at least ONE hl7:act
self.entryRelationship->forAll(not act.oclIsUndefined())
ERROR
Cardinality
ihepcc882
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc891
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'], the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory)
self.statusCode->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc916
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'] SHALL contain at most ONE hl7:participant[@typeCode='HLD']
self.participant->select((not typeCode.oclIsUndefined()) and typeCode=ParticipationType::HLD)->size()<2
ERROR
Cardinality
ihepcc919
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:entryRelationship/hl7:act SHALL contain at least ONE hl7:id
self.entryRelationship.act->forAll(id->size()>0)
ERROR
Cardinality
ihepcc880
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.18')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc912
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:participant[@typeCode='HLD']/hl7:participantRole SHALL contain at least ONE hl7:id
self.participant->select((not typeCode.oclIsUndefined()) and typeCode=ParticipationType::HLD).participantRole->forAll(id->size()>0)
ERROR
Cardinality
ihepcc900
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:performer/hl7:assignedEntity SHALL contain at least ONE hl7:telecom
self.performer.assignedEntity->forAll(telecom->size()>0)
ERROR
Cardinality
ihepcc889
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:statusCode, the attribute code SHALL be present
self.statusCode->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc896
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:performer/hl7:assignedEntity SHALL contain at least ONE hl7:code
self.performer.assignedEntity->forAll(not code.oclIsUndefined())
ERROR
Cardinality
ihepcc897
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:performer/hl7:assignedEntity, the element(s) hl7:addr SHALL not have nullFlavor (mandatory)
self.performer.assignedEntity.addr->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc898
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:performer/hl7:assignedEntity SHALL contain at least ONE hl7:addr
self.performer.assignedEntity->forAll(addr->size()>0)
ERROR
Cardinality
ihepcc877
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'], the attribute classCode SHALL have the value 'ACT' if present
self.classCode.oclIsUndefined() or self.classCode=XActClassDocumentEntryAct::ACT
ERROR
Fixed value
ihepcc907
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:participant[@typeCode='COV']/hl7:participantRole SHALL contain at least ONE hl7:code
self.participant->select((not typeCode.oclIsUndefined()) and typeCode=ParticipationType::COV).participantRole->forAll(not code.oclIsUndefined())
ERROR
Cardinality
ihepcc906
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:participant[@typeCode='COV']/hl7:participantRole, the attribute classCode SHALL have the value 'PAT' if present
self.participant->select((not typeCode.oclIsUndefined()) and typeCode=ParticipationType::COV).participantRole->forAll(classCode.oclIsUndefined() or classCode=RoleClassRoot::PAT)
ERROR
Fixed value
ihepcc904
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'] SHALL contain at least ONE hl7:performer
(not self.nullFlavor.oclIsUndefined()) or self.performer->size()>0
ERROR
Cardinality
ihepcc901
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:performer, the element(s) hl7:assignedEntity SHALL not have nullFlavor (mandatory)
self.performer.assignedEntity->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc908
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:participant[@typeCode='COV'], the element(s) hl7:participantRole SHALL not have nullFlavor (mandatory)
self.participant->select((not typeCode.oclIsUndefined()) and typeCode=ParticipationType::COV).participantRole->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc888
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc918
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:entryRelationship/hl7:act, the attribute classCode SHALL have the value 'ACT' if present
self.entryRelationship.act->forAll(classCode.oclIsUndefined() or classCode=XActClassDocumentEntryAct::ACT)
ERROR
Fixed value
ihepcc883
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.26'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.26')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc910
In IHE Payer Entry, /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'] SHALL contain at least ONE hl7:participant[@typeCode='COV']
(not self.nullFlavor.oclIsUndefined()) or self.participant->size()>0
ERROR
Cardinality
ihepcc879
In IHE Payer Entry, in /hl7:act[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.18']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.18'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.18')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.18
templateId.root
IHEResultsSection
IHEResultsSection
cda-POCDMT000040Section
ihepcc1100
In IHE Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1092
In IHE Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.27']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.27')->size()<2
ERROR
Cardinality
ihepcc1090
In IHE Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.27')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1093
In IHE Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.27']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1097
In IHE Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1098
In IHE Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1095
In IHE Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1091
In IHE Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.27')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1101
In IHE Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1096
In IHE Results Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27']/hl7:code, the attribute code SHALL have the value '30954-2' if present
self.code->forAll(code.oclIsUndefined() or code='30954-2')
ERROR
Fixed value
ihepcc1099
In IHE Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1094
In IHE Results Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.27'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.27
templateId.root
IHEImmunizationsSection
IHEImmunizationsSection
cda-POCDMT000040Section
ihepcc1112
In IHE Immunizations Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']/hl7:code, the attribute code SHALL have the value '11369-6' if present
self.code->forAll(code.oclIsUndefined() or code='11369-6')
ERROR
Fixed value
ihepcc1110
In IHE Immunizations Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc1102
In IHE Immunizations Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.23')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1119
In IHE Immunizations Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] SHALL contain at least ONE hl7:entry
(not self.nullFlavor.oclIsUndefined()) or self.entry->size()>0
ERROR
Cardinality
ihepcc1117
In IHE Immunizations Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc1118
In IHE Immunizations Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']/hl7:entry/hl7:substanceAdministration/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.12'], the attribute root SHALL be present
self.entry.substanceAdministration.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.12')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1116
In IHE Immunizations Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1113
In IHE Immunizations Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc1114
In IHE Immunizations Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1109
In IHE Immunizations Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.6']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1106
In IHE Immunizations Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.6'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.6')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc1108
In IHE Immunizations Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.6']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.6')->size()<2
ERROR
Cardinality
ihepcc1115
In IHE Immunizations Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc1111
In IHE Immunizations Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc1103
In IHE Immunizations Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.23')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1107
In IHE Immunizations Section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.6'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.6')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc1105
In IHE Immunizations Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc1104
In IHE Immunizations Section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.23']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.23')->size()<2
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.23
templateId.root
IHEListOfSurgeriesSection
IHEListOfSurgeriesSection
cda-POCDMT000040Section
ihepcc511
In IHE List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.11']
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.11')->size()<2
ERROR
Cardinality
ihepcc510
In IHE List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.11')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc517
In IHE List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'], the element(s) hl7:id SHALL not have nullFlavor (mandatory)
self.id->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc515
In IHE List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.12']
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.12')->size()<2
ERROR
Cardinality
ihepcc523
In IHE List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'] SHALL contain at least ONE hl7:code
(not self.nullFlavor.oclIsUndefined()) or self.code->size()>0
ERROR
Cardinality
ihepcc521
In IHE List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11']/hl7:code, the attribute codeSystem SHALL have the value '2.16.840.1.113883.6.1' if present
self.code->forAll(codeSystem.oclIsUndefined() or codeSystem='2.16.840.1.113883.6.1')
ERROR
Fixed value
ihepcc524
In IHE List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'], the element(s) hl7:text SHALL not have nullFlavor (mandatory)
self.text->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc522
In IHE List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'], the element(s) hl7:code SHALL not have nullFlavor (mandatory)
self.code->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc514
In IHE List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.12'] SHALL not have nullFlavor (mandatory)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.12')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc520
In IHE List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11']/hl7:code, the attribute code SHALL have the value '47519-4' if present
self.code->forAll(code.oclIsUndefined() or code='47519-4')
ERROR
Fixed value
ihepcc519
In IHE List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11']/hl7:code, the attribute code SHALL be present
self.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))
ERROR
Cardinality
ihepcc509
In IHE List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.3.11')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc518
In IHE List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'] SHALL contain at least ONE hl7:id
(not self.nullFlavor.oclIsUndefined()) or self.id->size()>0
ERROR
Cardinality
ihepcc513
In IHE List of Surgeries section, in /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.12'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.12')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc525
In IHE List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'] SHALL contain at least ONE hl7:text
(not self.nullFlavor.oclIsUndefined()) or self.text->size()>0
ERROR
Cardinality
ihepcc516
In IHE List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.12']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc512
In IHE List of Surgeries section, /hl7:section[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.3.11'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.11']
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.3.11
templateId.root
IHEProductEntry
IHEProductEntry
cda-POCDMT000040ManufacturedProduct
ihepcc209
In IHE Product Entry, in /hl7:manufacturedProduct[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'], the element(s) hl7:templateId[@root='2.16.840.1.113883.10.20.1.53'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.19.2)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.53')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc207
In IHE Product Entry, /hl7:manufacturedProduct[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'] SHALL contain at least ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'] (Item : 6.3.4.19.2)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc206
In IHE Product Entry, /hl7:manufacturedProduct[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'] (Item : 6.3.4.19.2)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2')->size()<2
ERROR
Cardinality
ihepcc208
In IHE Product Entry, in /hl7:manufacturedProduct[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2']/hl7:templateId[@root='2.16.840.1.113883.10.20.1.53'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.53')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc211
In IHE Product Entry, /hl7:manufacturedProduct[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'] SHALL contain at least ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.53'] (Item : 6.3.4.19.2)
(not self.nullFlavor.oclIsUndefined()) or self.templateId->size()>0
ERROR
Cardinality
ihepcc204
In IHE Product Entry, in /hl7:manufacturedProduct[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'], the attribute root SHALL be present
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
ERROR
Cardinality
ihepcc203
In IHE Product Entry, in /hl7:manufacturedProduct[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'], the attribute classCode SHALL have the value 'MANU' if present
self.classCode.oclIsUndefined() or self.classCode=RoleClassManufacturedProduct::MANU
ERROR
Fixed value
ihepcc210
In IHE Product Entry, /hl7:manufacturedProduct[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'] SHALL contain at most ONE hl7:templateId[@root='2.16.840.1.113883.10.20.1.53'] (Item : 6.3.4.19.2)
self.templateId->select((not root.oclIsUndefined()) and root='2.16.840.1.113883.10.20.1.53')->size()<2
ERROR
Cardinality
ihepcc205
In IHE Product Entry, in /hl7:manufacturedProduct[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'] SHALL not have nullFlavor (mandatory) (Item : 6.3.4.19.2)
self.templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2')->forAll(nullFlavor.oclIsUndefined())
ERROR
Mandatory
ihepcc212
In IHE Product Entry, /hl7:manufacturedProduct[hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2']/hl7:manufacturedMaterial/hl7:code/hl7:originalText SHALL contain at least ONE hl7:reference (Item : 6.3.4.19.3)
self.manufacturedMaterial.code.originalText->forAll(not reference.oclIsUndefined())
ERROR
Cardinality
1.3.6.1.4.1.19376.1.5.3.1.4.7.2
templateId.root
IHEPCCClinicalDocumentSpec
IHEPCCClinicalDocumentSpec
cda-POCDMT000040ClinicalDocument
ihepcc1676
The CDA ClinicalDocument SHALL have a templateId from this list of ID : { 1.3.6.1.4.1.19376.1.5.3.1.1.3, 1.3.6.1.4.1.19376.1.5.3.1.1.2 }
self.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ((ii.root='1.3.6.1.4.1.19376.1.5.3.1.1.3') or (ii.root='1.3.6.1.4.1.19376.1.5.3.1.1.2')))
ERROR
Fixed value