Constraint Descriptor : ccda21246 (type: ERROR, kind: Mandatory)

Constraint : ccda21246

Constraint Name
ccda21246 (type: ERROR, kind: Mandatory)
Constraint Class
USRealmHeaderV3
Package
ccda21
Description
In US Realm Header (V3), in /hl7:ClinicalDocument[hl7:templateId/@root='2.16.840.1.113883.10.20.22.1.1']/hl7:authorization, the element(s) hl7:consent SHALL not have nullFlavor (mandatory) (Item : CONF:1198-16793)
OCL
self.authorization.consent->forAll(nullFlavor.oclIsUndefined())