Constraint Descriptor : asipstructmin195 (type: ERROR, kind: Cardinality)

Constraint : asipstructmin195

Constraint Name
asipstructmin195 (type: ERROR, kind: Cardinality)
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:legalAuthenticator/hl7:assignedEntity/hl7:id, the attribute root SHALL be present
OCL
self.legalAuthenticator.assignedEntity.id->forAll((not nullFlavor.oclIsUndefined()) or (not root.oclIsUndefined()))