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

Constraint : asipcse2471

Constraint Name
asipcse2471 (type: ERROR, kind: Fixed value)
Package
asipcse
Description
In Medication series number observation, in /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.10.20.1.46']/hl7:subject, the attribute typeCode SHALL have the value 'SBJ' if present
OCL
self.subject->forAll(typeCode.oclIsUndefined() or typeCode=ParticipationTargetSubject::SBJ)