Constraint Descriptor : ccda21163 (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: Vocabulary)

Constraint : ccda21163

Constraint Name
ccda21163 (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: Vocabulary)
Constraint Class
USRealmHeaderV3
Package
ccda21
Description
In US Realm Header (V3), the code of /hl7:ClinicalDocument[hl7:templateId/@root='2.16.840.1.113883.10.20.22.1.1']/hl7:recordTarget/hl7:patientRole/hl7:patient/hl7:languageCommunication/hl7:languageCode SHALL be from the valueSet 2.16.840.1.113883.1.11.11526 (flexibility : dynamic) (Item : CONF:1198-5407)
OCL
self.recordTarget.patientRole.patient.languageCommunication.languageCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesCodeToValueSet('2.16.840.1.113883.1.11.11526', code)))