Constraint Descriptor : xdssd034 (type: org.eclipse.emf.ecore.impl.DynamicEObjectImpl@edcc58 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@7c02a5e1 (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false)), kind: Context)

Constraint : xdssd034

Constraint Name
xdssd034 (type: org.eclipse.emf.ecore.impl.DynamicEObjectImpl@edcc58 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@7c02a5e1 (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false)), kind: Context)
Constraint Class
XDSSD
Package
xdssd
Description
In Scanned document (XDS-SD), the element defined by /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 shall verify this requirement : At a minimum, the time shall be precise to the day (XDSSDVAL-041)
OCL
self.author->select(templateId.root->exists(aa : String| aa = '1.3.6.1.4.1.19376.1.2.20.2')).time->reject(not nullFlavor.oclIsUndefined())->forAll(aa | CommonOperationsStatic::validateByXPATHV2(aa, 'string-length(@value) >= 8') )
                        

List Assertions