Constraint Descriptor : asipstructmin609 (type: ERROR, kind: Vocabulary)

Constraint : asipstructmin609

Constraint Name
asipstructmin609 (type: ERROR, kind: Vocabulary)
Constraint Class
CDAEncounter
Package
asipstructmin
Description
In CDA Encounter, the code of /hl7:encounter[hl7:templateId/@root='2.16.840.1.113883.10.12.302']/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:asOrganizationPartOf/hl7:code SHALL have codeSystem='2.16.840.1.113883.5.111'
OCL
self.informant.assignedEntity.representedOrganization.asOrganizationPartOf.code->forAll( (not nullFlavor.oclIsUndefined()) or (((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.111')))