Constraint Descriptor : xdssd082 (type: ERROR, kind: Context)

Constraint : xdssd082

Constraint Name
xdssd082 (type: ERROR, kind: Context)
Constraint Class
Package
Description
In XDS-SD scanner operator, the element defined by /hl7:dataEnterer[hl7:templateId/@root='1.3.6.1.4.1.19376.1.2.20.3']/hl7:time shall verify this requirement : The time shall include the time zone offset from GMT. (XDSSDVAL-061) (Item : XDSSDVAL-058)
OCL
self.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)))') )