Constraint Descriptor : asipd2lmfin117 (type: ERROR, kind: Cardinality)

Constraint : asipd2lmfin117

Constraint Name
asipd2lmfin117 (type: ERROR, kind: Cardinality)
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/hl7:code, the attribute code SHALL be present
OCL
self.authorization.consent.code->forAll((not nullFlavor.oclIsUndefined()) or (not code.oclIsUndefined()))