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

Constraint : constraint_pharmpre_MedecineEntry_code_originalText_reference

Constraint Name
constraint_pharmpre_MedecineEntry_code_originalText_reference (type: ERROR, kind: )
Constraint Class
MedecineEntry
Package
ihepre
Description
The originalText SHALL contain a reference whose URI value points to the generic name and strength of the medication, or just the generic name alone if strength is not relevant. (IHE PRE, 6.3.4.2.3.2)
OCL
self.code.oclIsUndefined() or
self.code.originalText.oclIsUndefined() or
(
	(not self.code.originalText.oclIsUndefined()) and 
	(not self.code.originalText.reference.oclIsUndefined()) and 
	(not self.code.originalText.reference.value.oclIsUndefined())
)