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

Constraint : asipstructmin357

Constraint Name
asipstructmin357 (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:responsibleParty/hl7:assignedEntity/hl7:representedOrganization/hl7:id, the attribute root SHALL have the value '1.2.250.1.71.4.2.2' if present
OCL
self.componentOf.encompassingEncounter.responsibleParty.assignedEntity.representedOrganization.id->forAll(root.oclIsUndefined() or root='1.2.250.1.71.4.2.2')