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

Constraint : asipstructmin926

Constraint Name
asipstructmin926 (type: ERROR, kind: Fixed value)
Constraint Class
CDAProcedure
Package
asipstructmin
Description
In CDA Procedure, in /hl7:procedure[hl7:templateId/@root='2.16.840.1.113883.10.12.306']/hl7:subject/hl7:relatedSubject/hl7:subject, the attribute classCode SHALL have the value 'PSN' if present
OCL
self.subject.relatedSubject.subject->forAll(classCode.oclIsUndefined() or classCode=EntityClass::PSN)