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

Constraint : asipstructmin314

Constraint Name
asipstructmin314 (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:documentationOf/hl7:serviceEvent/hl7:performer/hl7:assignedEntity/hl7:representedOrganization/hl7:standardIndustryClassCode, the attribute codeSystem SHALL have the datatype 'oid' if present
OCL
self.documentationOf.serviceEvent.performer.assignedEntity.representedOrganization.standardIndustryClassCode->forAll(codeSystem.oclIsUndefined() or CommonOperationsStatic::isOID(codeSystem))