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

Constraint : cons_lux_guard1

Constraint Name
cons_lux_guard1 (type: ERROR, kind: )
Constraint Class
RecordTargetSpec
Package
luxh
Description
If patient/guardian/id is present and has no nullFlavor, it shall contain @root and @extension
OCL
self.patientRole.oclIsUndefined() or 
self.patientRole.patient.oclIsUndefined() or 
self.patientRole.patient.guardian->forAll(gar : POCDMT000040Guardian | 
	gar.id->forAll(ii : II | 
		(not ii.nullFlavor.oclIsUndefined()) or 
		(
			(not ii.root.oclIsUndefined()) and 
			(not ii.extension.oclIsUndefined())
		)
	)
)