Constraint Descriptor : asipstructmin202 (type: ERROR, kind: Datatype)

Constraint : asipstructmin202

Constraint Name
asipstructmin202 (type: ERROR, kind: Datatype)
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:telecom, the attribute use SHALL have the datatype 'cs' if present
OCL
self.legalAuthenticator.assignedEntity.telecom.use->forAll(aa | CommonOperationsStatic::isCSType(aa))