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

Constraint : xdssd031

Constraint Name
xdssd031 (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:author[hl7:templateId/@root='1.3.6.1.4.1.19376.1.2.20.2']/hl7:templateId[@root='1.3.6.1.4.1.19376.1.2.20.2'], the attribute root SHALL be present (Item : XDSSDVAL-038)
OCL
self.author->select(templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.2.20.2')).templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.2.20.2')->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))
                        

List Assertions