Constraint Descriptor : xdssd053 (type: ERROR, kind: Mandatory)

Constraint : xdssd053

Constraint Name
xdssd053 (type: ERROR, kind: Mandatory)
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:author[hl7:templateId/@root='1.3.6.1.4.1.19376.1.2.20.1'], the element(s) hl7:templateId[@root='1.3.6.1.4.1.19376.1.2.20.1'] SHALL not have nullFlavor (mandatory) (Item : XDSSDVAL-036)
OCL
self.author->select(templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.2.20.1')).templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.2.20.1')->forAll(nullFlavor.oclIsUndefined())