Rules / IBR-005-AE
IBR-005-AE error
Frequency of billing should be taken from the frequency of billing code list
Frequency of billing (BTAE-06) should be taken from the frequency of billing code list.
Fails
<cbc:DescriptionCode>XYZ</cbc:DescriptionCode>
Fix
Use a value from the code list the rule names. Codes are case-sensitive and must not have spaces around them.
Schematron
- Context
cac:InvoicePeriod/cbc:DescriptionCode- Test
((not(contains(normalize-space(.), ' ')) and contains(' DLY WKY Q15 MTH Q45 Q60 QTR YRL HYR OTH ', concat(' ', normalize-space(.), ' '))))
Official text: Frequency of billing (BTAE-06) should be taken from the frequency of billing code list.