From 63a9815c9896ec19ba557191bc3afd7b78ad4db8 Mon Sep 17 00:00:00 2001 From: Chris Bull Date: Tue, 17 Dec 2024 23:14:56 +0000 Subject: [PATCH] Merged in bugfix/default-rate-prompt-adjustment (pull request #336) slight change to prompt, tested on 83 files * slight change to prompt, tested on 83 files * Merged main into bugfix/default-rate-prompt-adjustment Approved-by: Katon Minhas --- fieldExtraction/src/prompts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fieldExtraction/src/prompts.py b/fieldExtraction/src/prompts.py index 6d85550..9d479ce 100644 --- a/fieldExtraction/src/prompts.py +++ b/fieldExtraction/src/prompts.py @@ -186,8 +186,8 @@ Final check before returning result: 'CONTRACT_LOB' : List the Line of Business mentioned on the page. Choose ONLY from the following: {valid.VALID_LOBS}. If there are multiple on the page, write them in a comma-separated list. If no LOB is found, write 'N/A'. 'CONTRACT_PROGRAM' : List any Programs or Plans mentioned on the page. {valid.VALID_PROGRAMS}. If no program is found, write 'N/A'. -'DEFAULT_TERM' : If there is a section labelled 'Default' or similar, write that entire section here. It may also be a term that describes the payment rate if there is no established payment amount. If there is no such term, write 'N/A'. -'DEFAULT_RATE' : Write the rate from the Default Term in the form 'X% of Y'. If there is no Default Term, or no rate in the Default Term, write 'N/A'. +'DEFAULT_TERM' : If there is a section labelled 'Default' or similar, write that entire section here. It may also be a term that describes the reimbursement instructions if there is no established payment amount. This language often starts with a phrase like "if there is no published fee schedule..." If there is no such term, write 'N/A'. +'DEFAULT_RATE' : Write the rate from the Default Term in the form 'X% of Y'. It may be that the rate is not expressed in the form of a percentage; in this case, write '100% of Y,' Y being the payment reference. For example, if the default term specifies 'Any service not mentioned above shall be paid according to the plan's fee schedule,' write '100% of Plan's Fee Schedule.' If there is no Default Term, or no rate in the Default Term, write 'N/A'. 'CDM_IND' : Is there language on the page regarding CDM Neutralization? Write 'Y' if yes, 'N' if no. 'CHARGEMASTER' : Is there language on the page related to Chargemaster Protections? If so, return the sentence or sentences. If not, return 'N/A'. 'ADD_ON_REIMBURSEMENT_LANGUAGE' : Extract the Add On Reimbursement language present in the contract. If it is not present, answer N/A.