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

Constraint : asipstructmin413

Constraint Name
asipstructmin413 (type: ERROR, kind: Fixed value)
Constraint Class
SMDS_CDAClinicalDocument
Package
asipstructmin
Description
In Structuration Minimale Documents de Santé, in /hl7:ClinicalDocument[hl7:templateId/@root='1.2.250.1.213.1.1.1.1']/hl7:authorization/hl7:consent/hl7:statusCode, the attribute code SHALL have the value 'completed' if present
OCL
self.authorization.consent.statusCode->forAll(code.oclIsUndefined() or code='completed')