Constraint Descriptor : hl7ips1063 (type: org.eclipse.emf.ecore.impl.DynamicEObjectImpl@3c220740 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@5e0a1997 (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false)), kind: Vocabulary)

Constraint : hl7ips1063

Constraint Name
hl7ips1063 (type: org.eclipse.emf.ecore.impl.DynamicEObjectImpl@3c220740 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@5e0a1997 (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false)), kind: Vocabulary)
Constraint Class
HL7IPS
Package
hl7ips
Description
In International Patient Summary, the code of /hl7:ClinicalDocument[hl7:templateId/@root='2.16.840.1.113883.10.22.1.1']/hl7:recordTarget/hl7:patientRole/hl7:telecom/@use SHALL be from the valueSet 2.16.840.1.113883.1.11.201 (flexibility : dynamic)
OCL
self.recordTarget.patientRole.telecom.use->forAll( aa | aa.oclIsUndefined() or (CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.201', aa)))