Constraint Descriptor : constraint_pharmpre_PrescriptionItemEntry_entryRelationship_patientMedicationInstructions (type: INFO, kind: )

Constraint : constraint_pharmpre_PrescriptionItemEntry_entryRelationship_patientMedicationInstructions

Constraint Name
constraint_pharmpre_PrescriptionItemEntry_entryRelationship_patientMedicationInstructions (type: INFO, kind: )
Constraint Class
PrescriptionItemEntry
Package
ihepre
Description
At most one instruction MAY be provided for each substanceAdministration entry. If provided, it SHALL conform to the requirements listed for Patient Medication Instructions. (IHE PRE, 6.3.4.1.3.19)
OCL
self.entryRelationship->select(enresh : POCDMT000040EntryRelationship |
	(not enresh.act.oclIsUndefined()) and 
	enresh.act.templateId->exists(ii : II | not ii.root.oclIsUndefined() and 
		ii.root='1.3.6.1.4.1.19376.1.5.3.1.4.3'
	)
)->size()<2