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

Constraint : plcda2095

Constraint Name
plcda2095 (type: ERROR, kind: Context)
Constraint Class
plCdaObservationRequest
Package
plcda
Description
In [4] Zalecenie wykonania badania, the element defined by /hl7:observation[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.4.24']/hl7:performer/hl7:assignedEntity/hl7:addr shall verify this requirement : Poprawnie zapisany numer TERYT powinien zaczynać się od znaków: "TERYT TERC:" lub "TERYT SIMC:".
OCL
self.performer.assignedEntity.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)') )