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

Constraint : asipstructmin325

Constraint Name
asipstructmin325 (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:relatedDocument, the attribute typeCode SHALL have the value 'RPLC' if present
OCL
self.relatedDocument->forAll(typeCode.oclIsUndefined() or typeCode=XActRelationshipDocument::RPLC)