Constraint Descriptor : plcda1514 (type: ERROR, kind: Vocabulary)

Constraint : plcda1514

Constraint Name
plcda1514 (type: ERROR, kind: Vocabulary)
Package
plcda
Description
In [4] Zalecenie leku, the code of /hl7:substanceAdministration[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.22']/hl7:subject/hl7:relatedSubject/hl7:subject/hl7:administrativeGenderCode SHALL be from the valueSet AdministrativeGender(2.16.840.1.113883.1.11.1)
OCL
self.subject.relatedSubject.subject.administrativeGenderCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.1', code, codeSystem, null, null)))