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

Constraint : asipstructmin122

Constraint Name
asipstructmin122 (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:informant/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.informant.assignedEntity.representedOrganization.id->forAll(root.oclIsUndefined() or root='1.2.250.1.71.4.2.2')