diff --git a/fieldExtraction/src/constants/investment_columns.py b/fieldExtraction/src/constants/investment_columns.py index 50ea7a0..9b49082 100644 --- a/fieldExtraction/src/constants/investment_columns.py +++ b/fieldExtraction/src/constants/investment_columns.py @@ -67,6 +67,7 @@ COLUMN_ORDER = [ "UNIT_OF_MEASURE", "REIMB_PCT_RATE", "REIMB_FEE_RATE", + "REIMB_CONVERSION_FACTOR", "NOT_TO_EXCEED_IND", "TRIGGER_CAP_THRESHOLD_TYPE", "TRIGGER_CAP_THRESHOLD_AMT", diff --git a/fieldExtraction/src/prompts/investment_prompts.json b/fieldExtraction/src/prompts/investment_prompts.json index 941a3e1..6266da1 100644 --- a/fieldExtraction/src/prompts/investment_prompts.json +++ b/fieldExtraction/src/prompts/investment_prompts.json @@ -27,7 +27,7 @@ "field_name": "AARETE_DERIVED_REIMB_METHOD", "relationship": "one_to_n", "field_type": "methodology_breakout", - "prompt": "What is the method of reimbursement? Choose only from the following valid values: {valid_values}.\nFollow these mapping rules:\n- If any of Medicare, Medicaid, Average Sales Price (ASP), AWP (Average Wholesale Price), WAC (Wholesale Acquisition Cost), RBRVS (Resource-Based Relative Value Scale) or RVU (Relative Value Unit) or any type of Fee Schedule is mentioned, return 'Fee Schedule'\n- In case of MS-DRG, AP-DRG, APR-DRG, APG, EAPG, APC/ OPPS or ASC, return 'Grouper'.\n- In case of Percent of Charge or Percentage of Billed, return 'Billed Charges'.\n- For mixed methodologies (e.g., 'cost plus 5% based on AWP'), prioritize the base method (AWP)\n- answer 'DOFR' only when this exact term i.e. 'DOFR' is present.\n- answer 'Medicare Member Cost Share' only when this exact phrase appears.\n\nImportant exceptions and additional rules:\n- Reimbursements with specific dollar values cannot be 'Fee Schedule'\n- Provider interest rates are not considered 'Flat Rate'. \n- ASA is not a reimbursement method and not a fee schedule. \n- For values 'Flat Rate', 'Per Visit' and 'Per Diem', REIMB_FEE_RATE field must be populated.\n If no specific rule is matched, map to the most appropriate value from the given valid values.", + "prompt": "What is the method of reimbursement? Choose only from the following valid values: {valid_values}.\nFollow these mapping rules:\n- If any of Medicare, Medicaid, Average Sales Price (ASP), AWP (Average Wholesale Price), WAC (Wholesale Acquisition Cost), RBRVS (Resource-Based Relative Value Scale) or RVU (Relative Value Unit) or any type of Fee Schedule is mentioned, return 'Fee Schedule'\n- In case of MS-DRG, AP-DRG, APR-DRG, APG, EAPG, APC/ OPPS or ASC, return 'Grouper'.\n- In case of Percent of Charge or Percentage of Billed, return 'Billed Charges'.\n- For mixed methodologies (e.g., 'cost plus 5% based on AWP'), prioritize the base method (AWP)\n- answer 'DOFR' only when this exact term i.e. 'DOFR' is present.\n- answer 'Medicare Member Cost Share' only when this exact phrase appears.\n\nImportant exceptions and additional rules:\n- Reimbursements with specific dollar values cannot be 'Fee Schedule'\n- Provider interest rates are not considered 'Flat Rate'. \n- ASA is not a reimbursement method and not a fee schedule. \n If no specific rule is matched, map to the most appropriate value from the given valid values.", "valid_values": "VALID_REIMB_TERM_FULL" }, { @@ -40,7 +40,7 @@ "field_name": "REIMB_FEE_RATE", "relationship": "one_to_n", "field_type": "methodology_breakout", - "prompt": "If the reimbursement rate is a dollar amount, what is that dollar amount? Conversion factor is not fee rate. If there is no dollar amount mentioned, answer 'N/A'." + "prompt": "If the reimbursement rate is a flat fee (a specific dollar amount), what is that amount? In the case of 'RBRVS', 'RVU', or 'ASA', any dollar amount mentioned refers to a conversion factor (even if not explicitly labeled as such), and not to a flat fee rate. If no flat fee is mentioned, return 'N/A'." }, { "field_name": "REIMB_PCT_RATE", @@ -48,6 +48,12 @@ "field_type": "methodology_breakout", "prompt": "What is the percentage rate of reimbursement? Extract only the numeric percentage value (without % symbol). If a percentage is explicitly stated, return that number. If no percentage is found AND no specific dollar amount is mentioned in the text, return 100 as default. If a specific dollar amount is mentioned, return 'N/A'." }, + { + "field_name": "REIMB_CONVERSION_FACTOR", + "relationship": "one_to_n", + "field_type": "methodology_breakout", + "prompt": "What is the conversion factor (a specific dollar amount) mentioned in the text? A conversion factor is a dollar amount used to determine payment for healthcare services, typically under a fee-for-service or Diagnosis-Related Group (DRG) reimbursement model. It serves as a multiplier that converts a relative value (such as a DRG weight or Relative Value Unit — RVU) into an actual payment amount. If no conversion factor is mentioned, return 'N/A'. If it is mentioned as a dollar amount, return it as a numeric value only (e.g., 1.25 for $1.25)." + }, { "field_name": "REIMB_EFFECTIVE_DT", "relationship": "one_to_n", diff --git a/fieldExtraction/src/testbed/methodology_breakout_issue_fixes.ipynb b/fieldExtraction/src/testbed/methodology_breakout_issue_fixes.ipynb index 9a16387..da5c757 100644 --- a/fieldExtraction/src/testbed/methodology_breakout_issue_fixes.ipynb +++ b/fieldExtraction/src/testbed/methodology_breakout_issue_fixes.ipynb @@ -52,8 +52,7 @@ "output_type": "stream", "text": [ "(3178, 158)\n", - "(115, 158)\n", - "(6, 158)\n" + "(2, 158)\n" ] }, { @@ -84,37 +83,24 @@ " \n", " \n", " \n", - " 53\n", - " 02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_642...\n", - " BLOOD COUNT; SPUN MICROHEMATOCRIT (CPT CODE: 8...\n", - " CONTRACTAMOUNT : $3.35\n", - " \n", - " \n", - " 81\n", - " 02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_642...\n", - " HEMATOCRIT (CPT CODE: 85014)\n", - " CONTRACTAMOUNT : $3.35\n", - " \n", - " \n", - " 83\n", - " 02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_642...\n", - " HEMOGLOBIN, CALORIMETRIC (CPT CODE: 85018)\n", - " CONTRACTAMOUNT : $3.35\n", + " 129\n", + " 06-1798267-ANTHONY W. LE, A PROFESSIONAL CORP-...\n", + " ANESTHESIA SERVICES WHEN PROVIDED BY AN ANESTH...\n", + " THE LESSER OF: (I) $39 / ASA UNIT, OR (II) 75%...\n", " \n", " \n", "\n", "" ], "text/plain": [ - " FILE_NAME \\\n", - "53 02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_642... \n", - "81 02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_642... \n", - "83 02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_642... \n", + " FILE_NAME \\\n", + "129 06-1798267-ANTHONY W. LE, A PROFESSIONAL CORP-... \n", "\n", - " SERVICE_TERM REIMB_TERM \n", - "53 BLOOD COUNT; SPUN MICROHEMATOCRIT (CPT CODE: 8... CONTRACTAMOUNT : $3.35 \n", - "81 HEMATOCRIT (CPT CODE: 85014) CONTRACTAMOUNT : $3.35 \n", - "83 HEMOGLOBIN, CALORIMETRIC (CPT CODE: 85018) CONTRACTAMOUNT : $3.35 " + " SERVICE_TERM \\\n", + "129 ANESTHESIA SERVICES WHEN PROVIDED BY AN ANESTH... \n", + "\n", + " REIMB_TERM \n", + "129 THE LESSER OF: (I) $39 / ASA UNIT, OR (II) 75%... " ] }, "execution_count": 3, @@ -125,20 +111,23 @@ "source": [ "labels_df = pd.read_csv('src/testbed/v6_DoczyAI_all_test_bed_LIVE_5.6.25_POSTPROCESSED.csv',encoding='utf-8')\n", "print(labels_df.shape)\n", - "labels_df = labels_df[labels_df[\n", - " 'FILE_NAME'].isin([\n", - " # \"00-125434-CENTRAL MS DIAGNOSTIC, LLC-ICMPROVIDERAGREEMENT_78285.TXT\",\n", - " \"02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_64220_2.TXT\",\n", - " # \"050540697 DEEPAK NANDA 2017 PHSP MU.TXT\",\n", - " # \"06-1798267-ANTHONY W. LE, A PROFESSIONAL CORP-ICMPROVIDERAGREEMENT_316844.TXT\",\n", - " # \"133923495 CAIPA 2015 PHSP.TXT\",\n", - " ])]\n", - "print(labels_df.shape)\n", + "# labels_df = labels_df[labels_df[\n", + "# 'FILE_NAME'].isin([\n", + "# # \"00-125434-CENTRAL MS DIAGNOSTIC, LLC-ICMPROVIDERAGREEMENT_78285.TXT\",\n", + "# \"02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_64220_2.TXT\",\n", + "# # \"050540697 DEEPAK NANDA 2017 PHSP MU.TXT\",\n", + "# # \"06-1798267-ANTHONY W. LE, A PROFESSIONAL CORP-ICMPROVIDERAGREEMENT_316844.TXT\",\n", + "# # \"133923495 CAIPA 2015 PHSP.TXT\",\n", + "# ])]\n", + "# print(labels_df.shape)\n", "\n", "labels_df = labels_df[labels_df[\n", " 'REIMB_TERM'].isin([\n", - " \"CONTRACTAMOUNT : $3.35\"\n", - " # , \"One hundred thirty percent (130%) of the then-current Medicare Average Sales Price (ASP) for Medicare Part B Drugs. In the event there is no Medicare ASP for a certain prescription drug, reimbursement will be based on the Wholesale Acquisition Cost (WAC).\"\n", + " # \"THE LESSER OF BILLED OR ALLOWABLE. WILL BE PAID WITH A CONVERSION FACTOR OF $30.72.\",\n", + " # \"THE LESSER OF BILLED OR ALLOWABLE. THE PROFESSIONAL SERVICES FEE SCHEDULE FOR THE MEDICAID LINE OF BUSINESS IS BASED PRIMARILY ON THE CMS TRANSITIONAL FACILITY/NON-FACILITY RELATIVE VALUE UNIT SCALE (\\\"RVU\\\") AND METHODOLOGY AS DEFINED AND INSTRUCTED BY THE FEDERAL REGISTER IN PRINT AS OF DECEMBER 31, 2013. COVERED SERVICES WILL BE CALCULATED USING THE CONVERSION FACTORS BELOW. ANCILLARY PROVIDER SERVICES $26.00 CONVERSION FACTOR*. ANESTHESIA $21.20 CONVERSION FACTOR**.\",\n", + " # \"CONTRACTAMOUNT : $26.00 RBRVS\",\n", + " \"THE LESSER OF: (I) $39 / ASA UNIT, OR (II) 75% OF PROVIDER'S ALLOWABLE CHARGES.\",\n", + " # \"PHYSICIAN GROUP SHALL BE COMPENSATED FOR ANESTHESIOLOGY SERVICES WHICH ARE COVERED SERVICES AT THE LESSER OF (A) $39.00 PER UNIT VALUE IN ACCORDANCE WITH THE AMERICAN SOCIETY OF ANESTHESIOLOGY (ASA) UNIT SCALE, OR (B) 75% OF THE PHYSICIAN GROUP'S USUAL BILLED CHARGES.\",\n", " # , \"Health Net will offer $1,000,000 incremental reimbursement for the Medi-Cal line of business each year of the two year renewal effective 5/1/18 and 5/1/19, resulting in an additional $1M reimbursement from 5/1/18 through 4/30/19 and an additional $2M reimbursement from 5/1/19 through 4/30/20.\"\n", " ])]\n", "print(labels_df.shape)\n", @@ -163,42 +152,62 @@ "name": "stdout", "output_type": "stream", "text": [ - "llm_answer_raw: In this case, we have a specific CPT code (85013) mentioned for a particular service (BLOOD COUNT; SPUN MICROHEMATOCRIT). The methodology provides a specific contractual amount for this service.\n", + "Let's analyze this methodology step by step:\n", "\n", - "This scenario falls under the PAYMENT_CARVEOUT case. The definition for PAYMENT_CARVEOUT states: \"Describes payments for services or codes that are separately mentioned or carved out from the standard payment for all covered services. Examples include 'Radiology covered services', 'Anesthesia covered services', 'Pharmaceuticals' and 'HEMATOCRIT (CPT CODE: 85014)'. Any service or code that is specifically or separately mentioned falls under the 'payment_carveout' category.\"\n", + "1. LESSER_OF_IND: The methodology explicitly states \"THE LESSER OF\", so this will be 'Y'.\n", "\n", - "The given service is very similar to one of the examples provided (HEMATOCRIT), and it's a specific CPT code that's being mentioned separately with its own contractual amount. This fits the definition of a payment carveout perfectly.\n", + "2. GREATER_OF_IND: There's no mention of \"greater of\", so this will be 'N'.\n", "\n", - "Therefore, my answer is:\n", + "3. AARETE_DERIVED_REIMB_METHOD: \n", + " - For (I): \"$39 / ASA UNIT\" refers to a specific dollar amount per ASA unit. ASA (American Society of Anesthesiology) units are a type of relative value unit used in anesthesia billing. This is essentially a fee schedule.\n", + " - For (II): \"75% OF PROVIDER'S ALLOWABLE CHARGES\" is a percentage of billed charges.\n", + " So we have two methods: 'Fee Schedule' and 'Billed Charges'.\n", "\n", - "|PAYMENT_CARVEOUT|\n", - "{'FILE_NAME': '02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_64220_2.TXT', 'SERVICE_TERM': 'BLOOD COUNT; SPUN MICROHEMATOCRIT (CPT CODE: 85013)', 'REIMB_TERM': 'CONTRACTAMOUNT : $3.35', 'CARVEOUT_CD': 'PAYMENT_CARVEOUT', 'CARVEOUT_IND': 'Y', 'DEFAULT_IND': 'N'}\n", - "[{'FILE_NAME': '02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_64220_2.TXT', 'SERVICE_TERM': 'BLOOD COUNT; SPUN MICROHEMATOCRIT (CPT CODE: 85013)', 'REIMB_TERM': 'CONTRACTAMOUNT : $3.35', 'CARVEOUT_CD': 'PAYMENT_CARVEOUT', 'CARVEOUT_IND': 'Y', 'DEFAULT_IND': 'N', 'LESSER_OF_IND': 'N', 'GREATER_OF_IND': 'N', 'AARETE_DERIVED_REIMB_METHOD': 'Flat Rate', 'UNIT_OF_MEASURE': 'Per Service', 'REIMB_FEE_RATE': '3.35', 'REIMB_PCT_RATE': 'N/A', 'NOT_TO_EXCEED_IND': 'N', 'FEE_SCHEDULE': 'N/A', 'AARETE_DERIVED_FEE_SCHEDULE': 'N/A', 'AARETE_DERIVED_FEE_SCHEDULE_VERSION': 'N/A'}]\n", - "llm_answer_raw: Based on the given Service and Methodology, this case falls under the PAYMENT_CARVEOUT category. Here's why:\n", + "4. UNIT_OF_MEASURE: \n", + " - For (I): The unit is \"Per ASA Unit\"\n", + " - For (II): Not applicable, so \"N/A\"\n", "\n", - "1. The Service is specifically mentioned as \"HEMATOCRIT (CPT CODE: 85014)\". This is a specific service with a CPT code, which is separately mentioned.\n", + "5. REIMB_FEE_RATE: \n", + " - For (I): $39 is mentioned as a specific dollar amount\n", + " - For (II): No specific dollar amount, so \"N/A\"\n", "\n", - "2. The Methodology provides a specific contractual amount ($3.35) for this particular service.\n", + "6. REIMB_PCT_RATE:\n", + " - For (I): No percentage mentioned, so 100 (default)\n", + " - For (II): 75% is explicitly mentioned\n", "\n", - "3. According to the definition of PAYMENT_CARVEOUT, it \"Describes payments for services or codes that are separately mentioned or carved out from the standard payment for all covered services.\" The definition even specifically mentions \"HEMATOCRIT (CPT CODE: 85014)\" as an example.\n", + "7. REIMB_CONVERSION_FACTOR: \n", + " - For (I): $39 is the conversion factor\n", + " - For (II): No conversion factor mentioned, so \"N/A\"\n", "\n", - "Therefore, the answer is:\n", + "8. NOT_TO_EXCEED_IND: There's no explicit \"not to exceed\" language, so this will be 'N' for both.\n", "\n", - "|PAYMENT_CARVEOUT|\n", - "{'FILE_NAME': '02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_64220_2.TXT', 'SERVICE_TERM': 'HEMATOCRIT (CPT CODE: 85014)', 'REIMB_TERM': 'CONTRACTAMOUNT : $3.35', 'CARVEOUT_CD': 'PAYMENT_CARVEOUT', 'CARVEOUT_IND': 'Y', 'DEFAULT_IND': 'N'}\n", - "[{'FILE_NAME': '02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_64220_2.TXT', 'SERVICE_TERM': 'HEMATOCRIT (CPT CODE: 85014)', 'REIMB_TERM': 'CONTRACTAMOUNT : $3.35', 'CARVEOUT_CD': 'PAYMENT_CARVEOUT', 'CARVEOUT_IND': 'Y', 'DEFAULT_IND': 'N', 'LESSER_OF_IND': 'N', 'GREATER_OF_IND': 'N', 'AARETE_DERIVED_REIMB_METHOD': 'Flat Rate', 'UNIT_OF_MEASURE': 'Per Service', 'REIMB_FEE_RATE': '3.35', 'REIMB_PCT_RATE': 'N/A', 'NOT_TO_EXCEED_IND': 'N', 'FEE_SCHEDULE': 'N/A', 'AARETE_DERIVED_FEE_SCHEDULE': 'N/A', 'AARETE_DERIVED_FEE_SCHEDULE_VERSION': 'N/A'}]\n", - "llm_answer_raw: In this case, we have a specific CPT code (85018) for a particular service (HEMOGLOBIN, CALORIMETRIC) with a defined contractual amount ($3.35). This scenario best fits the PAYMENT_CARVEOUT case.\n", + "Given that we have a \"lesser of\" scenario with two distinct methodologies, we'll create two JSON dictionaries in our list.\n", "\n", - "The PAYMENT_CARVEOUT case is described as:\n", - "\"Describes payments for services or codes that are separately mentioned or carved out from the standard payment for all covered services. Examples include 'Radiology covered services', 'Anesthesia covered services', 'Pharmaceuticals' and 'HEMATOCRIT (CPT CODE: 85014)'. Any service or code that is specifically or separately mentioned falls under the 'payment_carveout' category.\"\n", - "\n", - "This example closely matches the given description, as it's a specific service with a CPT code that has a separately mentioned payment amount. It's not part of a general covered services category but is individually specified.\n", - "\n", - "Therefore, my answer is:\n", - "\n", - "|PAYMENT_CARVEOUT|\n", - "{'FILE_NAME': '02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_64220_2.TXT', 'SERVICE_TERM': 'HEMOGLOBIN, CALORIMETRIC (CPT CODE: 85018)', 'REIMB_TERM': 'CONTRACTAMOUNT : $3.35', 'CARVEOUT_CD': 'PAYMENT_CARVEOUT', 'CARVEOUT_IND': 'Y', 'DEFAULT_IND': 'N'}\n", - "[{'FILE_NAME': '02-0677066-EYEMASTERS-ICMPROVIDERAGREEMENT_64220_2.TXT', 'SERVICE_TERM': 'HEMOGLOBIN, CALORIMETRIC (CPT CODE: 85018)', 'REIMB_TERM': 'CONTRACTAMOUNT : $3.35', 'CARVEOUT_CD': 'PAYMENT_CARVEOUT', 'CARVEOUT_IND': 'Y', 'DEFAULT_IND': 'N', 'LESSER_OF_IND': 'N', 'GREATER_OF_IND': 'N', 'AARETE_DERIVED_REIMB_METHOD': 'Flat Rate', 'UNIT_OF_MEASURE': 'Per Service', 'REIMB_FEE_RATE': '3.35', 'REIMB_PCT_RATE': 'N/A', 'NOT_TO_EXCEED_IND': 'N', 'FEE_SCHEDULE': 'N/A', 'AARETE_DERIVED_FEE_SCHEDULE': 'N/A', 'AARETE_DERIVED_FEE_SCHEDULE_VERSION': 'N/A'}]\n" + "FINAL REIMBURSEMENT METHODOLOGY:\n", + "[\n", + " {\n", + " \"LESSER_OF_IND\": \"Y\",\n", + " \"GREATER_OF_IND\": \"N\",\n", + " \"AARETE_DERIVED_REIMB_METHOD\": \"Fee Schedule\",\n", + " \"UNIT_OF_MEASURE\": \"Per ASA Unit\",\n", + " \"REIMB_FEE_RATE\": \"N/A\",\n", + " \"REIMB_PCT_RATE\": 100,\n", + " \"REIMB_CONVERSION_FACTOR\": 39,\n", + " \"NOT_TO_EXCEED_IND\": \"N\"\n", + " },\n", + " {\n", + " \"LESSER_OF_IND\": \"Y\",\n", + " \"GREATER_OF_IND\": \"N\",\n", + " \"AARETE_DERIVED_REIMB_METHOD\": \"Billed Charges\",\n", + " \"UNIT_OF_MEASURE\": \"N/A\",\n", + " \"REIMB_FEE_RATE\": \"N/A\",\n", + " \"REIMB_PCT_RATE\": 75,\n", + " \"REIMB_CONVERSION_FACTOR\": \"N/A\",\n", + " \"NOT_TO_EXCEED_IND\": \"N\"\n", + " }\n", + "]\n", + "{'FILE_NAME': '06-1798267-ANTHONY W. LE, A PROFESSIONAL CORP-ICMPROVIDERAGREEMENT_316844.TXT', 'SERVICE_TERM': 'ANESTHESIA SERVICES WHEN PROVIDED BY AN ANESTHESIOLOGIST OR CERTIFIED REGISTERED NURSE ANESTHETIST (AMERICAN SOCIETY OF ANESTHESIOLOGY (ASA) UNIT SCALE)', 'REIMB_TERM': \"THE LESSER OF: (I) $39 / ASA UNIT, OR (II) 75% OF PROVIDER'S ALLOWABLE CHARGES.\", 'CARVEOUT_CD': 'PAYMENT_CARVEOUT', 'CARVEOUT_IND': 'Y', 'DEFAULT_IND': 'N'}\n", + "[{'FILE_NAME': '06-1798267-ANTHONY W. LE, A PROFESSIONAL CORP-ICMPROVIDERAGREEMENT_316844.TXT', 'SERVICE_TERM': 'ANESTHESIA SERVICES WHEN PROVIDED BY AN ANESTHESIOLOGIST OR CERTIFIED REGISTERED NURSE ANESTHETIST (AMERICAN SOCIETY OF ANESTHESIOLOGY (ASA) UNIT SCALE)', 'REIMB_TERM': \"THE LESSER OF: (I) $39 / ASA UNIT, OR (II) 75% OF PROVIDER'S ALLOWABLE CHARGES.\", 'CARVEOUT_CD': 'PAYMENT_CARVEOUT', 'CARVEOUT_IND': 'Y', 'DEFAULT_IND': 'N', 'LESSER_OF_IND': 'Y', 'GREATER_OF_IND': 'N', 'AARETE_DERIVED_REIMB_METHOD': 'Fee Schedule', 'UNIT_OF_MEASURE': 'Per ASA Unit', 'REIMB_FEE_RATE': 'N/A', 'REIMB_PCT_RATE': 100, 'REIMB_CONVERSION_FACTOR': 39, 'NOT_TO_EXCEED_IND': 'N', 'FEE_SCHEDULE': 'ASA UNIT', 'AARETE_DERIVED_FEE_SCHEDULE': 'CMS', 'FEE_SCHEDULE_VERSION': 'N/A', 'AARETE_DERIVED_FEE_SCHEDULE_VERSION': 'current'}, {'FILE_NAME': '06-1798267-ANTHONY W. LE, A PROFESSIONAL CORP-ICMPROVIDERAGREEMENT_316844.TXT', 'SERVICE_TERM': 'ANESTHESIA SERVICES WHEN PROVIDED BY AN ANESTHESIOLOGIST OR CERTIFIED REGISTERED NURSE ANESTHETIST (AMERICAN SOCIETY OF ANESTHESIOLOGY (ASA) UNIT SCALE)', 'REIMB_TERM': \"THE LESSER OF: (I) $39 / ASA UNIT, OR (II) 75% OF PROVIDER'S ALLOWABLE CHARGES.\", 'CARVEOUT_CD': 'PAYMENT_CARVEOUT', 'CARVEOUT_IND': 'Y', 'DEFAULT_IND': 'N', 'LESSER_OF_IND': 'Y', 'GREATER_OF_IND': 'N', 'AARETE_DERIVED_REIMB_METHOD': 'Billed Charges', 'UNIT_OF_MEASURE': 'N/A', 'REIMB_FEE_RATE': 'N/A', 'REIMB_PCT_RATE': 75, 'REIMB_CONVERSION_FACTOR': 'N/A', 'NOT_TO_EXCEED_IND': 'N', 'FEE_SCHEDULE': 'N/A', 'AARETE_DERIVED_FEE_SCHEDULE': 'N/A', 'AARETE_DERIVED_FEE_SCHEDULE_VERSION': 'N/A'}]\n" ] } ], @@ -236,7 +245,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 5, "metadata": {}, "outputs": [], "source": [ @@ -248,16 +257,16 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "(3, 16)" + "(2, 18)" ] }, - "execution_count": 7, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } @@ -270,16 +279,16 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 7, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "(3, 16)" + "(2, 18)" ] }, - "execution_count": 5, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -288,6 +297,27 @@ "predictions_df.shape" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, { "cell_type": "code", "execution_count": null,