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

Constraint : asipstructmin1110

Constraint Name
asipstructmin1110 (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:consumable/hl7:manufacturedProduct/hl7:manufacturedLabeledDrug, the attribute classCode SHALL have the value 'MMAT' if present
OCL
self.consumable.manufacturedProduct.manufacturedLabeledDrug->forAll(classCode.oclIsUndefined() or classCode=EntityClassManufacturedMaterial::MMAT)