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

Constraint : asipd2lmfin112

Constraint Name
asipd2lmfin112 (type: ERROR, kind: Cardinality)
Package
asipd2lmfin
Description
In Specifications Techniques De La FIN, /hl7:ClinicalDocument[hl7:templateId/@root='1.2.250.1.213.1.1.1.27']/hl7:authorization/hl7:consent SHALL contain at most ONE hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.2.5']
OCL
self.authorization.consent->forAll(templateId->select((not root.oclIsUndefined()) and root='1.3.6.1.4.1.19376.1.5.3.1.2.5')->size()<2)