VRBL-APR-US-1p0-25
Basic Info
|
Rule
|
The value of the %{probe} must be contained in Party Identification Scheme ID [VRBL-CL-US-PartyIdentification-SchemeID]. Allowed values: 0060, 0088, 9959. |
|
Context
|
/ubl:ApplicationResponse/cac:DocumentResponse/cac:DocumentReference/cac:IssuerParty/cac:PartyIdentification/cbc:ID
|
|
Pattern
|
vrbl-ar-us-dbna-1p0 |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
@schemeID
|
| codeList |
= |
$VRBL-CL-US-PartyIdentification-SchemeID
|
| showValues |
= |
true
|
Implementation
not(boolean(@schemeID))
or
(
(
not(
contains(
normalize-space(@schemeID),
substring($VRBL-CL-US-PartyIdentification-SchemeID, 1, 1)
)
)
and
contains(
$VRBL-CL-US-PartyIdentification-SchemeID,
concat(
substring($VRBL-CL-US-PartyIdentification-SchemeID, 1, 1),
normalize-space(@schemeID),
substring($VRBL-CL-US-PartyIdentification-SchemeID, 1, 1)
)
)
)
)