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

Constraint : xdssd054

Constraint Name
xdssd054 (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:author[hl7:templateId/@root='1.3.6.1.4.1.19376.1.2.20.1'] SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.2.20.1'] (Item : XDSSDVAL-036)
OCL
self.author->select(templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.2.20.1'))->forAll(templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.2.20.1')->size()<2)
                        

List Assertions