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

Constraint : asipstructmin1154

Constraint Name
asipstructmin1154 (type: ERROR, kind: Vocabulary)
Constraint Class
CDASubstanceAdministration
Package
asipstructmin
Description
In CDA SubstanceAdministration, the code of /hl7:substanceAdministration[hl7:templateId/@root='2.16.840.1.113883.10.12.308']/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')))