From 89165c36f7fd73b60229ae9af2c13d312b7d1dbd Mon Sep 17 00:00:00 2001 From: Mayank Date: Fri, 12 Dec 2025 15:00:42 +0000 Subject: [PATCH] added IPPS --- fieldExtraction/src/prompts/investment_prompts.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fieldExtraction/src/prompts/investment_prompts.json b/fieldExtraction/src/prompts/investment_prompts.json index 3d3fe5c..e2c0405 100644 --- a/fieldExtraction/src/prompts/investment_prompts.json +++ b/fieldExtraction/src/prompts/investment_prompts.json @@ -480,7 +480,7 @@ "field_name": "GROUPER_TYPE", "relationship": "one_to_n", "field_type": "grouper_breakout", - "prompt": "Extract all grouper types from the Service and Methodology. Look for MS-DRG, APR-DRG, DRG, APC, APG, EAPG, OPPS (Outpatient Prospective Payment System) and similar grouper methodologies. Follow these rules: 1) Standardize all MS-DRG variations (MSDRG, MS DRG, MSDRGs, etc.) to 'MS-DRG'. 2) Standardize all APR-DRG variations (APRDRG, APR DRG, APRDRGs, etc.) to 'APR-DRG'. 3) For other DRG variants (Ohio Medicaid DRG, Non-weighted DRGs, TDH DRG, etc.), extract only 'DRG' without prefixes. 4) Remove all descriptive prefixes - for 'Surgical MSDRGs' return 'MS-DRG', for 'Enhanced APR-DRG' return 'APR-DRG'. 5) In case of OPPS or Outpatient Prospective Payment System of any type, return 'APC'. 6) When both MS-DRG/APR-DRG and generic DRG are present in same context, extract only the specific one ('MS-DRG' or 'APR-DRG'), not both. 7) Extract only abbreviations, not full forms. If multiple different grouper types are found, separate them with commas. Do not return empty arrays, empty strings, or brackets. If no grouper methodology is found, return only N/A." + "prompt": "Extract all grouper types from the Service and Methodology. Look for MS-DRG, APR-DRG, DRG, APC, APG, EAPG, OPPS (Outpatient Prospective Payment System), Inpatient Prospective Payment System and similar grouper methodologies. Follow these rules: 1) Standardize all MS-DRG variations (MSDRG, MS DRG, MSDRGs, etc.) to 'MS-DRG'. 2) Standardize all APR-DRG variations (APRDRG, APR DRG, APRDRGs, etc.) to 'APR-DRG'. 3) For other DRG variants (Ohio Medicaid DRG, Non-weighted DRGs, TDH DRG, etc.), extract only 'DRG' without prefixes. 4) Remove all descriptive prefixes - for 'Surgical MSDRGs' return 'MS-DRG', for 'Enhanced APR-DRG' return 'APR-DRG'. 5) In case of OPPS or Outpatient Prospective Payment System of any type, return 'APC'. 6) When both MS-DRG/APR-DRG and generic DRG are present in same context, extract only the specific one ('MS-DRG' or 'APR-DRG'), not both. 7) Extract only abbreviations, not full forms. If multiple different grouper types are found, separate them with commas. Do not return empty arrays, empty strings, or brackets. If no grouper methodology is found, return only N/A." }, { "field_name": "GROUPER_CD",