We run a report that pulls claims with specific medical codes. The AMA has changed codes to the new ICD10 codes. The previous ICD9 codes were all digits XXX.XX (3 digits dot 2 digits). The ICD10 Codes all begin with a letter followed by 2 digits, dot, the 1,2,or3 digits (AXX.X,AXX.XX,or AXX.XXX). I want to pull the claims with specific AXX codes whether they have 1,2 or 3 digits following it. Here is 2 examples of formulas currently used, one is specific and one is a range.
(VAL({CLAIM_DIAGS_VS.DIAG}) = 042.00) or
(VAL({CLAIM_DIAGS_VS.DIAG}) >= 070.00 and VAL({CLAIM_DIAGS_VS.DIAG}) <= 070.99) or
When I try using the same line but using an alpha character
(VAL({CLAIM_DIAGS_VS.DIAG}) = A40.00)
I get this: "A number, currency amount, boolean, data, time, date-time, or string is expected here."
I am looking for a way to just add 1 line to pull all claims starting with the first 3 characters in the code regardless of how many digits follow (1,2 or 3)
(VAL({CLAIM_DIAGS_VS.DIAG}) = 042.00) or
(VAL({CLAIM_DIAGS_VS.DIAG}) >= 070.00 and VAL({CLAIM_DIAGS_VS.DIAG}) <= 070.99) or
When I try using the same line but using an alpha character
(VAL({CLAIM_DIAGS_VS.DIAG}) = A40.00)
I get this: "A number, currency amount, boolean, data, time, date-time, or string is expected here."
I am looking for a way to just add 1 line to pull all claims starting with the first 3 characters in the code regardless of how many digits follow (1,2 or 3)