Constraint Descriptor : asipd2lmfin110 (type: ERROR, kind: Fixed value)

Constraint : asipd2lmfin110

Constraint Name
asipd2lmfin110 (type: ERROR, kind: Fixed value)
Package
asipd2lmfin
Description
In Specifications Techniques De La FIN, in /hl7:ClinicalDocument[hl7:templateId/@root='1.2.250.1.213.1.1.1.27']/hl7:authorization/hl7:consent, the attribute moodCode SHALL have the value 'EVN' if present
OCL
self.authorization.consent->forAll(moodCode.oclIsUndefined() or moodCode=ActMood::EVN)