Merged in bugfix/split_reimb (pull request #757)

bugfix/split_reimb to main

* updated compound indicators

* comppund reimb

* Merged main into bugfix/split_reimb


Approved-by: Katon Minhas
This commit is contained in:
VenkataKrishna Reddy Avula
2025-11-03 16:12:33 +00:00
committed by Katon Minhas
parent ee8314f574
commit 6d4ebd3dac
2 changed files with 4 additions and 1 deletions
@@ -5,6 +5,8 @@
"for which there is no",
"when no payment rate",
"where there is no payment rate",
"there is no Medicare payment rate",
"there is no Medicaid payment rate",
"otherwise shall be",
"shall otherwise be",
@@ -21,6 +23,7 @@
"except for",
"with the exception",
"excluding",
"excluded",
"however, for",
"notwithstanding",
@@ -659,7 +659,7 @@ def split_compound_reimbursements(
reimb_term = answer_dict.get("REIMB_TERM", "").lower().strip()
# Check if this looks like a compound reimbursement by using a substring search
has_compound = any(indicator in reimb_term for indicator in COMPOUND_INDICATORS)
has_compound = any(indicator.lower() in reimb_term.lower() for indicator in COMPOUND_INDICATORS)
if has_compound:
# Use LLM to split the compound reimbursement