Constraint Descriptor : xdssd064 (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 : xdssd064

Constraint Name
xdssd064 (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:dataEnterer/hl7:time shall verify this requirement : The time shall include the time zone offset from GMT. (XDSSDVAL-061) (Item : XDSSDVAL-058)
OCL
self.dataEnterer.time->reject(not nullFlavor.oclIsUndefined())->forAll(aa | CommonOperationsStatic::validateByXPATHV2(aa, 'string-length(@value)<10 or ( string-length(@value)>=10 and (contains(@value,\u0027+\u0027) or contains(@value,\u0027-\u0027)))') )