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

Constraint : asipstructmin1179

Constraint Name
asipstructmin1179 (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:reference/hl7:externalAct/hl7:code SHALL have codeSystem='2.16.840.1.113883.5.4'
OCL
self.reference.externalAct.code->forAll( (not nullFlavor.oclIsUndefined()) or (((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.4')))