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

Constraint : ccda21245

Constraint Name
ccda21245 (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/hl7:consent, the element(s) hl7:statusCode SHALL not have nullFlavor (mandatory) (Item : CONF:1198-16797)
OCL
self.authorization.consent.statusCode->forAll(nullFlavor.oclIsUndefined())