Constraint Descriptor : asipd2lmfin038 (type: org.eclipse.emf.ecore.impl.DynamicEObjectImpl@46ab007f (eClass: org.eclipse.emf.ecore.impl.EClassImpl@4adb618 (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false)), kind: Context)

Constraint : asipd2lmfin038

Constraint Name
asipd2lmfin038 (type: org.eclipse.emf.ecore.impl.DynamicEObjectImpl@46ab007f (eClass: org.eclipse.emf.ecore.impl.EClassImpl@4adb618 (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false)), kind: Context)
Package
asipd2lmfin
Description
In Specifications Techniques De La FIN, the element defined by /hl7:ClinicalDocument[hl7:templateId/@root='1.2.250.1.213.1.1.1.27']/hl7:recordTarget/hl7:patientRole/hl7:patient/hl7:guardian/hl7:guardianPerson/hl7:name/hl7:family shall verify this requirement : Valeur du nom typé par l’attribut qualifier : "BR" pour le nom de famille "SP" pour le nom de d’usage "CL" pour le pseudonyme
OCL
self.recordTarget.patientRole.patient.guardian.guardianPerson.name.family->reject(not nullFlavor.oclIsUndefined())->forAll(aa | CommonOperationsStatic::validateByXPATHV2(aa, '//cda:recordTarget/cda:patientRole/cda:patient/cda:name/cda:family/@qualifier=\u0027BR\u0027 or //cda:recordTarget/cda:patientRole/cda:patient/cda:name/cda:family/@qualifier=\u0027SP\u0027 or //cda:recordTarget/cda:patientRole/cda:patient/cda:name/cda:family/@qualifier=\u0027CL\u0027') )