Constraint Descriptor : ccda21209 (type: org.eclipse.emf.ecore.impl.DynamicEObjectImpl@7dd92a36 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@531ed68e (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false)), kind: Context)

Constraint : ccda21209

Constraint Name
ccda21209 (type: org.eclipse.emf.ecore.impl.DynamicEObjectImpl@7dd92a36 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@531ed68e (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false)), kind: Context)
Constraint Class
USRealmHeaderV3
Package
ccda21
Description
In US Realm Header (V3), the element defined by /hl7:ClinicalDocument[hl7:templateId/@root='2.16.840.1.113883.10.20.22.1.1']/hl7:legalAuthenticator shall verify this requirement : *SHOULD* be precise to the minute (Item : CONF:1198-5579)
OCL
self.legalAuthenticator->reject(not nullFlavor.oclIsUndefined())->forAll(aa | CommonOperationsStatic::validateByXPATHV2(aa, 'not(@value) or (string-length(@value)>=12)') )