Constraint Descriptor : xdssd028 (type: ERROR, kind: Cardinality)

Constraint : xdssd028

Constraint Name
xdssd028 (type: ERROR, kind: Cardinality)
Constraint Class
XDSSD
Package
xdssd
Description
In Scanned document (XDS-SD), /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.2.20']/hl7:recordTarget/hl7:patientRole/hl7:patient SHALL contain at least ONE hl7:administrativeGenderCode (Item : XDSSDVAL-034)
OCL
self.recordTarget.patientRole.patient->forAll((not nullFlavor.oclIsUndefined()) or not administrativeGenderCode.oclIsUndefined())