Open tompeeszter opened 1 month ago
Hi, Thanks for reporting your concerns. There are 2 issues involved. The first one is a wrong label for a condition that applies to rules BR-BT-00106-0022, BR-BT-00106-0036 and BR-BT-00106-0053. this will get fixed with SDK 1.13 and backported down to SDK 1.11. The second one is relative to the rule context which has been updated with SDK 1.12 (and can't however get backported as this would make the SDK 1.11 rules stricter) and had to be changed from the parent node to another ancestor for the mandatory rules to be effective KR.
Thanks for the rapid answer!
We have noticed the following isse with the field: BT-106-Procedure (name: "Procedure Accelerated").
There are the following rules:
BR-BT-00106-0022 (validation-stage-4-16.sch)
<assert id="BR-BT-00106-0022" role="ERROR" diagnostics="BT-106-Procedure" test="count(cbc:ProcessReasonCode) > 0 or not(../cbc:ProcedureCode/normalize-space(text()) = ('open','restricted','neg-w-call'))">rule|text|BR-BT-00106-0022</assert>
BR-BT-00106-0053 (validation-stage-4-16.sch)
<assert id="BR-BT-00106-0053" role="ERROR" diagnostics="BT-106-Procedure" test="count(cbc:ProcessReasonCode) = 0 or (../cbc:ProcedureCode/normalize-space(text()) = ('open','restricted','neg-w-call'))">rule|text|BR-BT-00106-0053</assert>
BR-BT-00106-0023 (validation-stage-4-17.sch)
<assert id="BR-BT-00106-0023" role="ERROR" diagnostics="BT-106-Procedure" test="count(cbc:ProcessReasonCode) > 0 or not(../cbc:ProcedureCode/normalize-space(text()) = ('open','restricted','neg-w-call','comp-dial','innovation'))">rule|text|BR-BT-00106-0023</assert>
BR-BT-00106-0036 (validation-stage-4-29.sch)
<assert id=""BR-BT-00106-0036"" role=""ERROR"" diagnostics=""BT-106-Procedure"" test=""count(cbc:ProcessReasonCode) = 0 or (../cbc:ProcedureCode/normalize-space(text()) = ('open','restricted','neg-w-call'))"">rule|text|BR-BT-00106-0036</assert>
The second part of the issue is that the mandatory rules aren't invited during schematron validation. For example according to the rule BR-BT-00106-0022 (validation-stage-4-16.sch) we should send BT-106 (in case of BT-105='Open'), but we don't recive any ERROR during the validation. I send you an xml example. BT_106.txt
We use SDK 1.11.1.
Could you please investigate this issue? Thanks in advance!