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:
committed by
Katon Minhas
parent
ee8314f574
commit
6d4ebd3dac
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user