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

Constraint : asipstructmin1139

Constraint Name
asipstructmin1139 (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:author/hl7:assignedAuthor/hl7:representedOrganization, the attribute classCode SHALL have the value 'ORG' if present
OCL
self.author.assignedAuthor.representedOrganization->forAll(classCode.oclIsUndefined() or classCode=EntityClassOrganization::ORG)