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

Constraint : xdssd021

Constraint Name
xdssd021 (type: ERROR, kind: Cardinality)
Constraint Class
XDSSD
Package
xdssd
Description
In Scanned document (XDS-SD), in /hl7:ClinicalDocument[hl7:templateId/@root='1.3.6.1.4.1.19376.1.2.20']/hl7:recordTarget/hl7:patientRole/hl7:id, the attribute root SHALL be present (Item : XDSSDVAL-031)
OCL
self.recordTarget.patientRole.id->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))