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

Constraint : plcda1469

Constraint Name
plcda1469 (type: ERROR, kind: Vocabulary)
Constraint Class
plCdaManufacturedLabeledDrug
Package
plcda
Description
In [4] Lek gotowy, the code of /hl7:manufacturedProduct[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.21']/hl7:manufacturerOrganization/hl7:asOrganizationPartOf/hl7:statusCode SHALL be from the valueSet RoleStatus(2.16.840.1.113883.1.11.15999)
OCL
self.manufacturerOrganization.asOrganizationPartOf.statusCode->forAll( (not nullFlavor.oclIsUndefined()) or ((not code.oclIsUndefined()) and CommonOperationsStatic::matchesValueSet('2.16.840.1.113883.1.11.15999', code, codeSystem, null, null)))