Constraint Descriptor : asipcse2473 (type: ERROR, kind: Cardinality)

Constraint : asipcse2473

Constraint Name
asipcse2473 (type: ERROR, kind: Cardinality)
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/hl7:relatedSubject, the attribute classCode SHALL be present
OCL
self.subject.relatedSubject->forAll((not nullFlavor.oclIsUndefined()) or (not classCode.oclIsUndefined()))