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

Constraint : xdssd035

Constraint Name
xdssd035 (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:time, the attribute value SHALL be present
OCL
self.author->select(templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.2.20.2')).time->forAll((not nullFlavor.oclIsUndefined()) or (not value.oclIsUndefined()))