Constraint Descriptor : plcda1456 (type: ERROR, kind: Context)

Constraint : plcda1456

Constraint Name
plcda1456 (type: ERROR, kind: Context)
Constraint Class
plCdaManufacturedLabeledDrug
Package
plcda
Description
In [4] Lek gotowy, the element defined by /hl7:manufacturedProduct[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.21']/hl7:manufacturerOrganization/hl7:addr shall verify this requirement : Poprawnie zapisany numer TERYT powinien zaczynać się od znaków: "TERYT TERC:" lub "TERYT SIMC:".
OCL
self.manufacturerOrganization.addr->reject(not nullFlavor.oclIsUndefined())->forAll(aa | CommonOperationsStatic::validateByXPATHV2(aa, 'not(cda:censusTract) or starts-with(cda:censusTract,\u0027TERYT TERC:\u0027) or starts-with(cda:censusTract,\u0027TERYT SIMC:\u0027)') )