Constraint Descriptor : constraint_pharmdis_DispenseItemEntry_product_manufacturedProduct_manufacturedMaterial (type: ERROR, kind: )

Constraint : constraint_pharmdis_DispenseItemEntry_product_manufacturedProduct_manufacturedMaterial

Constraint Name
constraint_pharmdis_DispenseItemEntry_product_manufacturedProduct_manufacturedMaterial (type: ERROR, kind: )
Constraint Class
DispenseItemEntry
Package
ihedis
Description
The product element SHALL be present, and unique, and SHALL contain a manufacturedProduct element, conforming to the Medicine Entry Content Module. This element represents the actual medication dispensed. (IHE DIS, 6.3.4.5.3.6)
OCL
not self.product.oclIsUndefined() and 
(not self.product.manufacturedProduct.oclIsUndefined()) and 
(not self.product.manufacturedProduct.manufacturedMaterial.oclIsUndefined()) and 
self.product.manufacturedProduct.manufacturedMaterial.templateId->exists(ii : II | not ii.root.oclIsUndefined() and ii.root='1.3.6.1.4.1.19376.1.9.1.3.1')