From 4c98fcb230b8a282de7f35fe204231e3d3ddbc36 Mon Sep 17 00:00:00 2001 From: Mayank Aamseek Date: Tue, 18 Feb 2025 17:05:26 +0000 Subject: [PATCH] Merged in feature/daip2-95 (pull request #396) Feature/daip2 95 * testing carveout * Merge branch 'main' into feature/daip2-95 pulled latest changes from main * CONTRACT_DEFAULT_IND logic changed * Merge branch 'main' into feature/daip2-95 pulled latest changes from main * prompt updated to remove mention of last carveout * Merged main into feature/daip2-95 * Merged main into feature/daip2-95 * prompt updated * Merge branch 'feature/daip2-95' of https://bitbucket.org/aarete/doczy.ai into feature/daip2-95 latest changes pulled Approved-by: Katon Minhas --- fieldExtraction/src/prompts/investment_prompts.json | 4 ++-- fieldExtraction/src/prompts/investment_prompts.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fieldExtraction/src/prompts/investment_prompts.json b/fieldExtraction/src/prompts/investment_prompts.json index 2779c2f..3ab448d 100644 --- a/fieldExtraction/src/prompts/investment_prompts.json +++ b/fieldExtraction/src/prompts/investment_prompts.json @@ -376,8 +376,8 @@ { "field_name": "CONTRACT_DEFAULT_IND", "relationship": "one_to_n", - "field_type": "TBD", - "prompt": "TBD" + "field_type": "methodology_breakout", + "prompt": "DEFAULT_INDICATOR:\nIndicates whether this methodology serves as a default/fallback payment rate when no other payment methods apply. The default/fallback payment rate is typically a low rate and based on billed charges.\nOutput 'Y' if ANY of these conditions are met in the methodology:\n1. Specifies a rate that applies to:\nservices not listed in the fee schedule\nservices for which no other payment method is specified\nall other services\nservices not otherwise specified\n2. Explicitly labeled as:\n'default rate' or 'default payment'\nOutput 'N' if:\nThe methodology is specific to listed services/procedures\nNo default/fallback language is present" }, { "field_name": "CPT4_PROC_CD", diff --git a/fieldExtraction/src/prompts/investment_prompts.py b/fieldExtraction/src/prompts/investment_prompts.py index 914cd00..3da004c 100644 --- a/fieldExtraction/src/prompts/investment_prompts.py +++ b/fieldExtraction/src/prompts/investment_prompts.py @@ -469,7 +469,7 @@ Service: {service} Methodology: {methodology} Determine if the Service and Methodology match any of the Carveout descriptions. -If so, write the name of the Carveout. If they do not, simply write N/A. The answer will be somewhat explicitly written - do not attempt to force an answer if it is not the obvious answer. +If so, write the name of the Carveout. If they do not, simply write N/A. {PIPE_FORMAT_INSTRUCTIONS} """