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

Constraint : cons_lux_63

Constraint Name
cons_lux_63 (type: ERROR, kind: )
Constraint Class
RecordTargetSpec
Package
luxh
Description
If the birthplace is given either birthplace/place/name or birthplace/place/addr or both shall be present
OCL
self.patientRole.oclIsUndefined() or 
self.patientRole.patient.oclIsUndefined() or 
self.patientRole.patient.birthplace.oclIsUndefined() or 
(not patientRole.patient.birthplace.nullFlavor.oclIsUndefined()) or 
(
	(not patientRole.patient.birthplace.place.oclIsUndefined()) and 
	(
		(not self.patientRole.patient.birthplace.place.addr.oclIsUndefined()) or 
		(not self.patientRole.patient.birthplace.place.name.oclIsUndefined())
	)
)