Constraint Descriptor : asipstructmin411 (type: ERROR, kind: Vocabulary)

Constraint : asipstructmin411

Constraint Name
asipstructmin411 (type: ERROR, kind: Vocabulary)
Constraint Class
SMDS_CDAClinicalDocument
Package
asipstructmin
Description
In Structuration Minimale Documents de Santé, the code of /hl7:ClinicalDocument[hl7:templateId/@root='1.2.250.1.213.1.1.1.1']/hl7:authorization/hl7:consent/hl7:code SHALL have codeSystem='2.16.840.1.113883.5.4'
OCL
self.authorization.consent.code->forAll( (not nullFlavor.oclIsUndefined()) or (((codeSystem.oclIsUndefined()) or codeSystem='2.16.840.1.113883.5.4')))