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

Constraint : asipstructmin1288

Constraint Name
asipstructmin1288 (type: ERROR, kind: Vocabulary)
Constraint Class
CDASupply
Package
asipstructmin
Description
In CDA Supply, the code of /hl7:supply[hl7:templateId/@root='2.16.840.1.113883.10.12.309']/hl7:reference/hl7:externalDocument/hl7:code SHALL have codeSystem='2.16.840.1.113883.6.1'
OCL
self.reference.externalDocument.code->forAll( (not nullFlavor.oclIsUndefined()) or (((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.6.1')))