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

Constraint : plcda1737

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