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

Constraint : asipstructmin338

Constraint Name
asipstructmin338 (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:componentOf/hl7:encompassingEncounter/hl7:dischargeDispositionCode, the attribute codeSystem SHALL have the value '1.2.250.1.213.2.14' if present
OCL
self.componentOf.encompassingEncounter.dischargeDispositionCode->forAll(codeSystem.oclIsUndefined() or codeSystem='1.2.250.1.213.2.14')