Constraint Descriptor : asipstructmin1153 (type: ERROR, kind: Fixed value)

Constraint : asipstructmin1153

Constraint Name
asipstructmin1153 (type: ERROR, kind: Fixed value)
Constraint Class
CDASubstanceAdministration
Package
asipstructmin
Description
In CDA SubstanceAdministration, in /hl7:substanceAdministration[hl7:templateId/@root='2.16.840.1.113883.10.12.308']/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:asOrganizationPartOf, the attribute classCode SHALL have the value 'PART' if present
OCL
self.informant.assignedEntity.representedOrganization.asOrganizationPartOf->forAll(classCode.oclIsUndefined() or classCode=RoleClass::PART)