diff --git a/fieldExtraction/src/testbed/one_to_n_comparison.py b/fieldExtraction/src/testbed/one_to_n_comparison.py
new file mode 100644
index 0000000..81a7941
--- /dev/null
+++ b/fieldExtraction/src/testbed/one_to_n_comparison.py
@@ -0,0 +1,115 @@
+import pandas as pd
+
+from rapidfuzz import fuzz
+
+
+def are_entries_similar_field_by_field(entry1: tuple, entry2: tuple, thresholds=None):
+ """Compare two entries for similarity based on a given threshold using rapidfuzz
+
+ Args:
+ entry1 (tuple): The first entry to compare.
+ entry2 (tuple): The second entry to compare.
+ thresholds (int, optional): Dictionary or list of thresholds for each field (defaults to 95 for all)
+ """
+ if thresholds is None:
+ thresholds = [95] * len(entry1) # Default threshold to 95 for all fields
+
+ # Check if threshold is a single value
+ if isinstance(thresholds, (int, float)):
+ thresholds = [thresholds] * len(entry1)
+
+ # Compare each field with its corresponding threshold
+ for i, (field1, field2) in enumerate(zip(entry1, entry2)):
+ field1_str = str(field1)
+ field2_str = str(field2)
+
+ # Calculate similarity for this field
+ similarity = fuzz.token_sort_ratio(field1_str, field2_str)
+
+ # If any field fails the threshold check, entries are not similar
+ if similarity < thresholds[i]:
+ return False
+
+ # All fields passed their threshold checks
+ return True
+
+
+def evaluate_one_to_n_fields_fuzzy_matching_field_by_field(
+ labels_df: pd.DataFrame,
+ predictions_df: pd.DataFrame,
+ key_field: str,
+ comparison_fields: list,
+ thresholds=None,
+):
+ """Evaluate 1:n field predictions against labels using field-by-field fuzzy matching
+
+ Args:
+ labels_df (pd.DataFrame): DataFrame with ground truth labels
+ predictions_df (pd.DataFrame): DataFrame with predictions
+ key_field (str): Field that identifies the contract (probably "CONTRACT_FILE_NAME")
+ comparison_fields (list): A list of fields to compare against the labels
+ thresholds: Thresholds for each comparison field (same length as comparison_fields); defaults to 95 for all
+ """
+ # Track metrics
+ total_true_positives = 0
+ total_false_positives = 0
+ total_false_negatives = 0
+
+ # group by contract
+ contract_ids = set(labels_df[key_field].unique()).union(
+ set(predictions_df[key_field].unique())
+ )
+
+ for contract_id in contract_ids:
+ # Get labeled and predicted values for this contract
+ contract_labels = labels_df[labels_df[key_field] == contract_id]
+ contract_predictions = predictions_df[predictions_df[key_field] == contract_id]
+
+ # Create lists of entries as tuples for comparison
+ labeled_entries = [tuple(row) for row in contract_labels[comparison_fields].values]
+ predicted_entries = [tuple(row) for row in contract_predictions[comparison_fields].values]
+
+ # Track matches to avoid double counting
+ matched_labels = set()
+ matched_predictions = set()
+
+ # Find matches using field-by-field fuzzy comparison
+ for i, labeled_entry in enumerate(labeled_entries):
+ for j, predicted_entry in enumerate(predicted_entries):
+ if j not in matched_predictions and are_entries_similar_field_by_field(labeled_entry, predicted_entry, thresholds):
+ # If a match is found, increment true positives and mark entries as matched
+ total_true_positives += 1
+ matched_labels.add(i)
+ matched_predictions.add(j)
+ break
+ # Calculate unmatched entries
+ total_false_negatives += len(labeled_entries) - len(matched_labels)
+ total_false_positives += len(predicted_entries) - len(matched_predictions)
+
+
+ # Calculate overall metrics
+ precision = (
+ total_true_positives / (total_true_positives + total_false_positives)
+ if (total_true_positives + total_false_positives) > 0
+ else 0
+ )
+ recall = (
+ total_true_positives / (total_true_positives + total_false_negatives)
+ if (total_true_positives + total_false_negatives) > 0
+ else 0
+ )
+ f1_score = (
+ 2 * precision * recall / (precision + recall) if (precision + recall) > 0 else 0
+ )
+
+ return {
+ "precision": precision,
+ "recall": recall,
+ "f1_score": f1_score,
+ "true_positives": total_true_positives,
+ "false_positives": total_false_positives,
+ "false_negatives": total_false_negatives,
+ "matched_labels": {contract_id: [labeled_entries[i] for i in matched_labels] for contract_id in contract_ids},
+ "unmatched_labels": {contract_id: [labeled_entries[i] for i in range(len(labeled_entries)) if i not in matched_labels] for contract_id in contract_ids},
+ "unmatched_predictions": {contract_id: [predicted_entries[j] for j in range(len(predicted_entries)) if j not in matched_predictions] for contract_id in contract_ids}
+ }
\ No newline at end of file
diff --git a/fieldExtraction/src/testbed/test_one_to_n.ipynb b/fieldExtraction/src/testbed/test_one_to_n.ipynb
new file mode 100644
index 0000000..24502d2
--- /dev/null
+++ b/fieldExtraction/src/testbed/test_one_to_n.ipynb
@@ -0,0 +1,3546 @@
+{
+ "cells": [
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "from one_to_n_comparison import evaluate_one_to_n_fields_fuzzy_matching_field_by_field"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "import pandas as pd"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "labels_df = pd.read_excel('input_data/00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285_LABELS.xlsx')\n",
+ "predictions_df = pd.read_csv('input_data/00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt-RESULTS.csv')"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# For all float and int columns, standardize to Int64 and handle NaN values\n",
+ "labels_df = labels_df.astype({col: 'Int64' for col in labels_df.select_dtypes(include=['float', 'int']).columns})\n",
+ "predictions_df = predictions_df.astype({col: 'Int64' for col in predictions_df.select_dtypes(include=['float', 'int']).columns})\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "application/vnd.microsoft.datawrangler.viewer.v0+json": {
+ "columns": [
+ {
+ "name": "index",
+ "rawType": "int64",
+ "type": "integer"
+ },
+ {
+ "name": "PROV_GROUP_TIN",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "PROV_TIN_OTHER",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "PROV_GROUP_NPI",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "PROV_NPI_OTHER",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_TERMINATION_DT",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_AUTO_RENEWAL_TERM",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_EFFECTIVE_DT",
+ "rawType": "datetime64[ns]",
+ "type": "datetime"
+ },
+ {
+ "name": "CONTRACT_TITLE",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_AUTO_RENEWAL_IND",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_CLAIM_TYPE_CD",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_AMENDMENT_NUM",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "PAYER_NAME",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "PROV_GROUP_NAME_FULL",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "PROV_FULL_NAME",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_FILE_NAME",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_SERVICE_CD_OR_DESC",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_REIMBURSEMENT_METHOD",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "REIMBURSEMENT_PROV_NAME",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_CARVEOUT_CD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_CARVEOUT_IND",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_LESSER_OF_IND",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_GREATER_OF_IND",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "AARETE_DERIVED_REIMBURSEMENT_METHOD",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_REIMBURSEMENT_FEE_RATE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_REIMBURSEMENT_PERCENT_RATE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "NOT_TO_EXCEED_IND",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_DEFAULT_IND",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_FEE_SCHEDULE_DESC",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "AARETE_DERIVED_FEE_SCHEDULE",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "AARETE_DERIVED_FEE_SCHEDULE_VERSION",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "CONTRACT_BILL_TYPE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CPT4_PROC_CD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CPT4_PROC_MOD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "REVENUE_CD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "DIAG_CD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "FACILITY_GROUPER_CD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "LINE_NDC_NUM",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CLAIM_ADMIT_TYPE_CD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CPT4_PROC_DESC",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CPT4_PROC_MOD_DESC",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "DIAG_CD_DESC",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "REVENUE_CD_DESC",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "FACILITY_GROUPER_DESC",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "GROUPER_TYPE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "AUTH_ADMIT_TYPE_DESC",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "PROV_REIMBURSEMENT_TIN",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "PROV_REIMBURSEMENT_NPI",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_LINE_OF_BUSINESS",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "REIMBURSEMENT_EFFECTIVE_DATE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "REIMBURSEMENT_TERMINATION_DATE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_NETWORK",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_PRODUCT",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_PROGRAM",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "AARETE_DERIVED_PROV_TYPE",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "EXHIBIT_NAME",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "EXHIBIT_PAGE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "AARETE_DERIVED_LINE_OF_BUSINESS",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "AARETE_DERIVED_NETWORK",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "AARETE_DERIVED_PRODUCT",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "AARETE_DERIVED_PROGRAM",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "AARETE_DERIVED_CLAIM_TYPE_CD",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CLIENT_NAME",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "AARETE_DERIVED_TERMINATION_DATE",
+ "rawType": "object",
+ "type": "unknown"
+ }
+ ],
+ "conversionMethod": "pd.DataFrame",
+ "ref": "9224dba9-a25c-4363-b46e-25fbd8b96e9e",
+ "rows": [
+ [
+ "0",
+ "640908605",
+ null,
+ "1255427464",
+ null,
+ "three years from the contract effective date",
+ "one year",
+ "2018-05-02 00:00:00",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ "Y",
+ "Ancillary",
+ null,
+ "Magnolia Health Plan, Inc.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "laboratory Covered Services",
+ "the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicaid fee schedule.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "N",
+ "Y",
+ "N",
+ "Billed Charges",
+ null,
+ "100",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "MEDICAID",
+ null,
+ null,
+ null,
+ null,
+ "MississippiCAN",
+ "Lab",
+ "Attachment A-1: Medicaid\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nANCILLARY SERVICES\nLABORATORY\nCentral MS Diagnostic, LLC",
+ "30",
+ "Medicaid",
+ null,
+ null,
+ "MississippiCAN",
+ "M",
+ "Test-Client",
+ "9999-05-01 00:00:00"
+ ],
+ [
+ "1",
+ "640908605",
+ null,
+ "1255427464",
+ null,
+ "three years from the contract effective date",
+ "one year",
+ "2018-05-02 00:00:00",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ "Y",
+ "Ancillary",
+ null,
+ "Magnolia Health Plan, Inc.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "laboratory Covered Services",
+ "the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicaid fee schedule.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "N",
+ "Y",
+ "N",
+ "Fee Schedule",
+ null,
+ "100",
+ "N",
+ "N",
+ "Payor's Medicaid fee schedule",
+ "MEDICAID",
+ "current",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "MEDICAID",
+ null,
+ null,
+ null,
+ null,
+ "MississippiCAN",
+ "Lab",
+ "Attachment A-1: Medicaid\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nANCILLARY SERVICES\nLABORATORY\nCentral MS Diagnostic, LLC",
+ "30",
+ "Medicaid",
+ null,
+ null,
+ "MississippiCAN",
+ "M",
+ "Test-Client",
+ "9999-05-01 00:00:00"
+ ],
+ [
+ "2",
+ "640908605",
+ null,
+ "1255427464",
+ null,
+ "three years from the contract effective date",
+ "one year",
+ "2018-05-02 00:00:00",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ "Y",
+ "Ancillary",
+ null,
+ "Magnolia Health Plan, Inc.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "Covered Services that are Medicare Covered Services and Medicaid Covered Services",
+ "The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on one hundred percent (100%) of the Medicare payment rate in effect on the date of service, plus the amount payable by Medicaid as a secondary coverage based on the Medicaid payment rate in effect on the date of service",
+ "Central MS Diagnostic, LLC",
+ null,
+ "Y",
+ "Y",
+ "N",
+ "Billed Charges",
+ null,
+ "100",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "DUAL",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ "DUAL",
+ null,
+ null,
+ null,
+ "M",
+ "Test-Client",
+ "9999-05-01 00:00:00"
+ ],
+ [
+ "3",
+ "640908605",
+ null,
+ "1255427464",
+ null,
+ "three years from the contract effective date",
+ "one year",
+ "2018-05-02 00:00:00",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ "Y",
+ "Ancillary",
+ null,
+ "Magnolia Health Plan, Inc.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "Covered Services that are Medicare Covered Services and Medicaid Covered Services",
+ "The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on one hundred percent (100%) of the Medicare payment rate in effect on the date of service, plus the amount payable by Medicaid as a secondary coverage based on the Medicaid payment rate in effect on the date of service",
+ "Central MS Diagnostic, LLC",
+ null,
+ "Y",
+ "Y",
+ "N",
+ "Fee Schedule",
+ null,
+ "100",
+ "N",
+ "N",
+ "Medicare payment rate plus amount payable by Medicaid as secondary coverage",
+ "MEDICARE plus secondary coverage based on Medicaid",
+ "current",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "DUAL",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ "DUAL",
+ null,
+ null,
+ null,
+ "M",
+ "Test-Client",
+ "9999-05-01 00:00:00"
+ ],
+ [
+ "4",
+ "640908605",
+ null,
+ "1255427464",
+ null,
+ "three years from the contract effective date",
+ "one year",
+ "2018-05-02 00:00:00",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ "Y",
+ "Ancillary",
+ null,
+ "Magnolia Health Plan, Inc.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "Covered Services that are Medicare Covered Services and are not Medicaid Covered Services",
+ "The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable based on the Medicare payment rate in effect on the date of service, not including Cost-Sharing Amounts",
+ "Central MS Diagnostic, LLC",
+ null,
+ "Y",
+ "Y",
+ "N",
+ "Billed Charges",
+ null,
+ "100",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "DUAL",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ "DUAL",
+ null,
+ null,
+ null,
+ "M",
+ "Test-Client",
+ "9999-05-01 00:00:00"
+ ],
+ [
+ "5",
+ "640908605",
+ null,
+ "1255427464",
+ null,
+ "three years from the contract effective date",
+ "one year",
+ "2018-05-02 00:00:00",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ "Y",
+ "Ancillary",
+ null,
+ "Magnolia Health Plan, Inc.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "Covered Services that are Medicare Covered Services and are not Medicaid Covered Services",
+ "The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable based on the Medicare payment rate in effect on the date of service, not including Cost-Sharing Amounts",
+ "Central MS Diagnostic, LLC",
+ null,
+ "Y",
+ "Y",
+ "N",
+ "Fee Schedule",
+ null,
+ "100",
+ "N",
+ "N",
+ "Medicare payment rate",
+ "MEDICARE",
+ "in effect on the date of service",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "DUAL",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ "DUAL",
+ null,
+ null,
+ null,
+ "M",
+ "Test-Client",
+ "9999-05-01 00:00:00"
+ ],
+ [
+ "6",
+ "640908605",
+ null,
+ "1255427464",
+ null,
+ "three years from the contract effective date",
+ "one year",
+ "2018-05-02 00:00:00",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ "Y",
+ "Ancillary",
+ null,
+ "Magnolia Health Plan, Inc.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "Covered Services that are Medicaid Covered Services and are not Medicare Covered Services",
+ "The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable by Medicaid, not including any Cost-Sharing Amounts that would have been applied by Medicaid, based on the Medicaid payment rate in effect on the date of service",
+ "Central MS Diagnostic, LLC",
+ null,
+ "Y",
+ "Y",
+ "N",
+ "Billed Charges",
+ null,
+ "100",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "DUAL",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ "DUAL",
+ null,
+ null,
+ null,
+ "M",
+ "Test-Client",
+ "9999-05-01 00:00:00"
+ ],
+ [
+ "7",
+ "640908605",
+ null,
+ "1255427464",
+ null,
+ "three years from the contract effective date",
+ "one year",
+ "2018-05-02 00:00:00",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ "Y",
+ "Ancillary",
+ null,
+ "Magnolia Health Plan, Inc.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "Covered Services that are Medicaid Covered Services and are not Medicare Covered Services",
+ "The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable by Medicaid, not including any Cost-Sharing Amounts that would have been applied by Medicaid, based on the Medicaid payment rate in effect on the date of service",
+ "Central MS Diagnostic, LLC",
+ null,
+ "Y",
+ "Y",
+ "N",
+ "Fee Schedule",
+ null,
+ "100",
+ "N",
+ "N",
+ "Medicaid",
+ "MEDICAID",
+ "current",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "DUAL",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ "DUAL",
+ null,
+ null,
+ null,
+ "M",
+ "Test-Client",
+ "9999-05-01 00:00:00"
+ ],
+ [
+ "8",
+ "640908605",
+ null,
+ "1255427464",
+ null,
+ "three years from the contract effective date",
+ "one year",
+ "2018-05-02 00:00:00",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ "Y",
+ "Ancillary",
+ null,
+ "Magnolia Health Plan, Inc.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "Covered Services where Payor is the only Payor for Medicare Covered Services",
+ "The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service",
+ "Central MS Diagnostic, LLC",
+ null,
+ "N",
+ "Y",
+ "N",
+ "Billed Charges",
+ null,
+ "100",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "MEDICARE",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ "Medicare",
+ null,
+ null,
+ null,
+ "M",
+ "Test-Client",
+ "9999-05-01 00:00:00"
+ ],
+ [
+ "9",
+ "640908605",
+ null,
+ "1255427464",
+ null,
+ "three years from the contract effective date",
+ "one year",
+ "2018-05-02 00:00:00",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ "Y",
+ "Ancillary",
+ null,
+ "Magnolia Health Plan, Inc.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "Covered Services where Payor is the only Payor for Medicare Covered Services",
+ "The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service",
+ "Central MS Diagnostic, LLC",
+ null,
+ "N",
+ "Y",
+ "N",
+ "Fee Schedule",
+ null,
+ "100",
+ "Y",
+ "N",
+ "Medicare",
+ "MEDICARE",
+ "current",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "MEDICARE",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ "Medicare",
+ null,
+ null,
+ null,
+ "M",
+ "Test-Client",
+ "9999-05-01 00:00:00"
+ ],
+ [
+ "10",
+ "640908605",
+ null,
+ "1255427464",
+ null,
+ "three years from the contract effective date",
+ "one year",
+ "2018-05-02 00:00:00",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ "Y",
+ "Ancillary",
+ null,
+ "Magnolia Health Plan, Inc.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "laboratory Covered Services",
+ "the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicare fee schedule.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "N",
+ "Y",
+ "N",
+ "Billed Charges",
+ null,
+ "100",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "COMMERCIAL-EXCHANGE",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Lab",
+ "Attachment C: Commercial-Exchange\nEXHIBIT I\nCOMPENSATION SCHEDULE\nANCILLARY SERVICES\nLABORATORY\nCentral MS Diagnostic, LLC",
+ "47",
+ "COMMERCIAL-EXCHANGE",
+ null,
+ null,
+ null,
+ "M",
+ "Test-Client",
+ "9999-05-01 00:00:00"
+ ],
+ [
+ "11",
+ "640908605",
+ null,
+ "1255427464",
+ null,
+ "three years from the contract effective date",
+ "one year",
+ "2018-05-02 00:00:00",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ "Y",
+ "Ancillary",
+ null,
+ "Magnolia Health Plan, Inc.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "laboratory Covered Services",
+ "the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicare fee schedule.",
+ "Central MS Diagnostic, LLC",
+ null,
+ "N",
+ "Y",
+ "N",
+ "Fee Schedule",
+ null,
+ "100",
+ "N",
+ "N",
+ "Payor's Medicare fee schedule",
+ "MEDICARE",
+ "current",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "COMMERCIAL-EXCHANGE",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Lab",
+ "Attachment C: Commercial-Exchange\nEXHIBIT I\nCOMPENSATION SCHEDULE\nANCILLARY SERVICES\nLABORATORY\nCentral MS Diagnostic, LLC",
+ "47",
+ "COMMERCIAL-EXCHANGE",
+ null,
+ null,
+ null,
+ "M",
+ "Test-Client",
+ "9999-05-01 00:00:00"
+ ]
+ ],
+ "shape": {
+ "columns": 63,
+ "rows": 12
+ }
+ },
+ "text/html": [
+ "
\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " PROV_GROUP_TIN | \n",
+ " PROV_TIN_OTHER | \n",
+ " PROV_GROUP_NPI | \n",
+ " PROV_NPI_OTHER | \n",
+ " CONTRACT_TERMINATION_DT | \n",
+ " CONTRACT_AUTO_RENEWAL_TERM | \n",
+ " CONTRACT_EFFECTIVE_DT | \n",
+ " CONTRACT_TITLE | \n",
+ " CONTRACT_AUTO_RENEWAL_IND | \n",
+ " CONTRACT_CLAIM_TYPE_CD | \n",
+ " ... | \n",
+ " AARETE_DERIVED_PROV_TYPE | \n",
+ " EXHIBIT_NAME | \n",
+ " EXHIBIT_PAGE | \n",
+ " AARETE_DERIVED_LINE_OF_BUSINESS | \n",
+ " AARETE_DERIVED_NETWORK | \n",
+ " AARETE_DERIVED_PRODUCT | \n",
+ " AARETE_DERIVED_PROGRAM | \n",
+ " AARETE_DERIVED_CLAIM_TYPE_CD | \n",
+ " CLIENT_NAME | \n",
+ " AARETE_DERIVED_TERMINATION_DATE | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 640908605 | \n",
+ " <NA> | \n",
+ " 1255427464 | \n",
+ " <NA> | \n",
+ " three years from the contract effective date | \n",
+ " one year | \n",
+ " 2018-05-02 | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " Y | \n",
+ " Ancillary | \n",
+ " ... | \n",
+ " Lab | \n",
+ " Attachment A-1: Medicaid\\nEXHIBIT 1\\nCOMPENSAT... | \n",
+ " 30 | \n",
+ " Medicaid | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " MississippiCAN | \n",
+ " M | \n",
+ " Test-Client | \n",
+ " 9999-05-01 00:00:00 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 640908605 | \n",
+ " <NA> | \n",
+ " 1255427464 | \n",
+ " <NA> | \n",
+ " three years from the contract effective date | \n",
+ " one year | \n",
+ " 2018-05-02 | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " Y | \n",
+ " Ancillary | \n",
+ " ... | \n",
+ " Lab | \n",
+ " Attachment A-1: Medicaid\\nEXHIBIT 1\\nCOMPENSAT... | \n",
+ " 30 | \n",
+ " Medicaid | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " MississippiCAN | \n",
+ " M | \n",
+ " Test-Client | \n",
+ " 9999-05-01 00:00:00 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 640908605 | \n",
+ " <NA> | \n",
+ " 1255427464 | \n",
+ " <NA> | \n",
+ " three years from the contract effective date | \n",
+ " one year | \n",
+ " 2018-05-02 | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " Y | \n",
+ " Ancillary | \n",
+ " ... | \n",
+ " NaN | \n",
+ " Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... | \n",
+ " 41 | \n",
+ " DUAL | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " NaN | \n",
+ " M | \n",
+ " Test-Client | \n",
+ " 9999-05-01 00:00:00 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 640908605 | \n",
+ " <NA> | \n",
+ " 1255427464 | \n",
+ " <NA> | \n",
+ " three years from the contract effective date | \n",
+ " one year | \n",
+ " 2018-05-02 | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " Y | \n",
+ " Ancillary | \n",
+ " ... | \n",
+ " NaN | \n",
+ " Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... | \n",
+ " 41 | \n",
+ " DUAL | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " NaN | \n",
+ " M | \n",
+ " Test-Client | \n",
+ " 9999-05-01 00:00:00 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 640908605 | \n",
+ " <NA> | \n",
+ " 1255427464 | \n",
+ " <NA> | \n",
+ " three years from the contract effective date | \n",
+ " one year | \n",
+ " 2018-05-02 | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " Y | \n",
+ " Ancillary | \n",
+ " ... | \n",
+ " NaN | \n",
+ " Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... | \n",
+ " 41 | \n",
+ " DUAL | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " NaN | \n",
+ " M | \n",
+ " Test-Client | \n",
+ " 9999-05-01 00:00:00 | \n",
+ "
\n",
+ " \n",
+ " | 5 | \n",
+ " 640908605 | \n",
+ " <NA> | \n",
+ " 1255427464 | \n",
+ " <NA> | \n",
+ " three years from the contract effective date | \n",
+ " one year | \n",
+ " 2018-05-02 | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " Y | \n",
+ " Ancillary | \n",
+ " ... | \n",
+ " NaN | \n",
+ " Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... | \n",
+ " 41 | \n",
+ " DUAL | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " NaN | \n",
+ " M | \n",
+ " Test-Client | \n",
+ " 9999-05-01 00:00:00 | \n",
+ "
\n",
+ " \n",
+ " | 6 | \n",
+ " 640908605 | \n",
+ " <NA> | \n",
+ " 1255427464 | \n",
+ " <NA> | \n",
+ " three years from the contract effective date | \n",
+ " one year | \n",
+ " 2018-05-02 | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " Y | \n",
+ " Ancillary | \n",
+ " ... | \n",
+ " NaN | \n",
+ " Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... | \n",
+ " 41 | \n",
+ " DUAL | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " NaN | \n",
+ " M | \n",
+ " Test-Client | \n",
+ " 9999-05-01 00:00:00 | \n",
+ "
\n",
+ " \n",
+ " | 7 | \n",
+ " 640908605 | \n",
+ " <NA> | \n",
+ " 1255427464 | \n",
+ " <NA> | \n",
+ " three years from the contract effective date | \n",
+ " one year | \n",
+ " 2018-05-02 | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " Y | \n",
+ " Ancillary | \n",
+ " ... | \n",
+ " NaN | \n",
+ " Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... | \n",
+ " 41 | \n",
+ " DUAL | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " NaN | \n",
+ " M | \n",
+ " Test-Client | \n",
+ " 9999-05-01 00:00:00 | \n",
+ "
\n",
+ " \n",
+ " | 8 | \n",
+ " 640908605 | \n",
+ " <NA> | \n",
+ " 1255427464 | \n",
+ " <NA> | \n",
+ " three years from the contract effective date | \n",
+ " one year | \n",
+ " 2018-05-02 | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " Y | \n",
+ " Ancillary | \n",
+ " ... | \n",
+ " NaN | \n",
+ " Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... | \n",
+ " 41 | \n",
+ " Medicare | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " NaN | \n",
+ " M | \n",
+ " Test-Client | \n",
+ " 9999-05-01 00:00:00 | \n",
+ "
\n",
+ " \n",
+ " | 9 | \n",
+ " 640908605 | \n",
+ " <NA> | \n",
+ " 1255427464 | \n",
+ " <NA> | \n",
+ " three years from the contract effective date | \n",
+ " one year | \n",
+ " 2018-05-02 | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " Y | \n",
+ " Ancillary | \n",
+ " ... | \n",
+ " NaN | \n",
+ " Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... | \n",
+ " 41 | \n",
+ " Medicare | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " NaN | \n",
+ " M | \n",
+ " Test-Client | \n",
+ " 9999-05-01 00:00:00 | \n",
+ "
\n",
+ " \n",
+ " | 10 | \n",
+ " 640908605 | \n",
+ " <NA> | \n",
+ " 1255427464 | \n",
+ " <NA> | \n",
+ " three years from the contract effective date | \n",
+ " one year | \n",
+ " 2018-05-02 | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " Y | \n",
+ " Ancillary | \n",
+ " ... | \n",
+ " Lab | \n",
+ " Attachment C: Commercial-Exchange\\nEXHIBIT I\\n... | \n",
+ " 47 | \n",
+ " COMMERCIAL-EXCHANGE | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " NaN | \n",
+ " M | \n",
+ " Test-Client | \n",
+ " 9999-05-01 00:00:00 | \n",
+ "
\n",
+ " \n",
+ " | 11 | \n",
+ " 640908605 | \n",
+ " <NA> | \n",
+ " 1255427464 | \n",
+ " <NA> | \n",
+ " three years from the contract effective date | \n",
+ " one year | \n",
+ " 2018-05-02 | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " Y | \n",
+ " Ancillary | \n",
+ " ... | \n",
+ " Lab | \n",
+ " Attachment C: Commercial-Exchange\\nEXHIBIT I\\n... | \n",
+ " 47 | \n",
+ " COMMERCIAL-EXCHANGE | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " NaN | \n",
+ " M | \n",
+ " Test-Client | \n",
+ " 9999-05-01 00:00:00 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
12 rows × 63 columns
\n",
+ "
"
+ ],
+ "text/plain": [
+ " PROV_GROUP_TIN PROV_TIN_OTHER PROV_GROUP_NPI PROV_NPI_OTHER \\\n",
+ "0 640908605 1255427464 \n",
+ "1 640908605 1255427464 \n",
+ "2 640908605 1255427464 \n",
+ "3 640908605 1255427464 \n",
+ "4 640908605 1255427464 \n",
+ "5 640908605 1255427464 \n",
+ "6 640908605 1255427464 \n",
+ "7 640908605 1255427464 \n",
+ "8 640908605 1255427464 \n",
+ "9 640908605 1255427464 \n",
+ "10 640908605 1255427464 \n",
+ "11 640908605 1255427464 \n",
+ "\n",
+ " CONTRACT_TERMINATION_DT CONTRACT_AUTO_RENEWAL_TERM \\\n",
+ "0 three years from the contract effective date one year \n",
+ "1 three years from the contract effective date one year \n",
+ "2 three years from the contract effective date one year \n",
+ "3 three years from the contract effective date one year \n",
+ "4 three years from the contract effective date one year \n",
+ "5 three years from the contract effective date one year \n",
+ "6 three years from the contract effective date one year \n",
+ "7 three years from the contract effective date one year \n",
+ "8 three years from the contract effective date one year \n",
+ "9 three years from the contract effective date one year \n",
+ "10 three years from the contract effective date one year \n",
+ "11 three years from the contract effective date one year \n",
+ "\n",
+ " CONTRACT_EFFECTIVE_DT CONTRACT_TITLE \\\n",
+ "0 2018-05-02 PARTICIPATING PROVIDER AGREEMENT \n",
+ "1 2018-05-02 PARTICIPATING PROVIDER AGREEMENT \n",
+ "2 2018-05-02 PARTICIPATING PROVIDER AGREEMENT \n",
+ "3 2018-05-02 PARTICIPATING PROVIDER AGREEMENT \n",
+ "4 2018-05-02 PARTICIPATING PROVIDER AGREEMENT \n",
+ "5 2018-05-02 PARTICIPATING PROVIDER AGREEMENT \n",
+ "6 2018-05-02 PARTICIPATING PROVIDER AGREEMENT \n",
+ "7 2018-05-02 PARTICIPATING PROVIDER AGREEMENT \n",
+ "8 2018-05-02 PARTICIPATING PROVIDER AGREEMENT \n",
+ "9 2018-05-02 PARTICIPATING PROVIDER AGREEMENT \n",
+ "10 2018-05-02 PARTICIPATING PROVIDER AGREEMENT \n",
+ "11 2018-05-02 PARTICIPATING PROVIDER AGREEMENT \n",
+ "\n",
+ " CONTRACT_AUTO_RENEWAL_IND CONTRACT_CLAIM_TYPE_CD ... \\\n",
+ "0 Y Ancillary ... \n",
+ "1 Y Ancillary ... \n",
+ "2 Y Ancillary ... \n",
+ "3 Y Ancillary ... \n",
+ "4 Y Ancillary ... \n",
+ "5 Y Ancillary ... \n",
+ "6 Y Ancillary ... \n",
+ "7 Y Ancillary ... \n",
+ "8 Y Ancillary ... \n",
+ "9 Y Ancillary ... \n",
+ "10 Y Ancillary ... \n",
+ "11 Y Ancillary ... \n",
+ "\n",
+ " AARETE_DERIVED_PROV_TYPE \\\n",
+ "0 Lab \n",
+ "1 Lab \n",
+ "2 NaN \n",
+ "3 NaN \n",
+ "4 NaN \n",
+ "5 NaN \n",
+ "6 NaN \n",
+ "7 NaN \n",
+ "8 NaN \n",
+ "9 NaN \n",
+ "10 Lab \n",
+ "11 Lab \n",
+ "\n",
+ " EXHIBIT_NAME EXHIBIT_PAGE \\\n",
+ "0 Attachment A-1: Medicaid\\nEXHIBIT 1\\nCOMPENSAT... 30 \n",
+ "1 Attachment A-1: Medicaid\\nEXHIBIT 1\\nCOMPENSAT... 30 \n",
+ "2 Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... 41 \n",
+ "3 Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... 41 \n",
+ "4 Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... 41 \n",
+ "5 Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... 41 \n",
+ "6 Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... 41 \n",
+ "7 Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... 41 \n",
+ "8 Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... 41 \n",
+ "9 Attachment B: Medicare\\nEXHIBIT 1\\nCOMPENSATIO... 41 \n",
+ "10 Attachment C: Commercial-Exchange\\nEXHIBIT I\\n... 47 \n",
+ "11 Attachment C: Commercial-Exchange\\nEXHIBIT I\\n... 47 \n",
+ "\n",
+ " AARETE_DERIVED_LINE_OF_BUSINESS AARETE_DERIVED_NETWORK \\\n",
+ "0 Medicaid \n",
+ "1 Medicaid \n",
+ "2 DUAL \n",
+ "3 DUAL \n",
+ "4 DUAL \n",
+ "5 DUAL \n",
+ "6 DUAL \n",
+ "7 DUAL \n",
+ "8 Medicare \n",
+ "9 Medicare \n",
+ "10 COMMERCIAL-EXCHANGE \n",
+ "11 COMMERCIAL-EXCHANGE \n",
+ "\n",
+ " AARETE_DERIVED_PRODUCT AARETE_DERIVED_PROGRAM AARETE_DERIVED_CLAIM_TYPE_CD \\\n",
+ "0 MississippiCAN M \n",
+ "1 MississippiCAN M \n",
+ "2 NaN M \n",
+ "3 NaN M \n",
+ "4 NaN M \n",
+ "5 NaN M \n",
+ "6 NaN M \n",
+ "7 NaN M \n",
+ "8 NaN M \n",
+ "9 NaN M \n",
+ "10 NaN M \n",
+ "11 NaN M \n",
+ "\n",
+ " CLIENT_NAME AARETE_DERIVED_TERMINATION_DATE \n",
+ "0 Test-Client 9999-05-01 00:00:00 \n",
+ "1 Test-Client 9999-05-01 00:00:00 \n",
+ "2 Test-Client 9999-05-01 00:00:00 \n",
+ "3 Test-Client 9999-05-01 00:00:00 \n",
+ "4 Test-Client 9999-05-01 00:00:00 \n",
+ "5 Test-Client 9999-05-01 00:00:00 \n",
+ "6 Test-Client 9999-05-01 00:00:00 \n",
+ "7 Test-Client 9999-05-01 00:00:00 \n",
+ "8 Test-Client 9999-05-01 00:00:00 \n",
+ "9 Test-Client 9999-05-01 00:00:00 \n",
+ "10 Test-Client 9999-05-01 00:00:00 \n",
+ "11 Test-Client 9999-05-01 00:00:00 \n",
+ "\n",
+ "[12 rows x 63 columns]"
+ ]
+ },
+ "execution_count": 5,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "labels_df\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "application/vnd.microsoft.datawrangler.viewer.v0+json": {
+ "columns": [
+ {
+ "name": "index",
+ "rawType": "int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_FILE_NAME",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_TITLE",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_AMENDMENT_NUM",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CLIENT_NAME",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "PAYER_NAME",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "PROV_GROUP_TIN",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "PROV_GROUP_NPI",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "PROV_GROUP_NAME_FULL",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "PROV_TIN_OTHER",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "PROV_NPI_OTHER",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "PROV_REIMBURSEMENT_TIN",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "PROV_REIMBURSEMENT_NPI",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "PROV_FULL_NAME",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_EFFECTIVE_DT",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_TERMINATION_DT",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "AARETE_DERIVED_TERMINATION_DATE",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_AUTO_RENEWAL_IND",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_AUTO_RENEWAL_TERM",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_CLAIM_TYPE_CD",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "AARETE_DERIVED_CLAIM_TYPE_CD",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "EXHIBIT_NAME",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "EXHIBIT_PAGE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_PRODUCT",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "REIMBURSEMENT_PROV_NAME",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "AARETE_DERIVED_PRODUCT",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "CONTRACT_LINE_OF_BUSINESS",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "AARETE_DERIVED_LINE_OF_BUSINESS",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_PROGRAM",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "AARETE_DERIVED_PROGRAM",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_NETWORK",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "AARETE_DERIVED_NETWORK",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "AARETE_DERIVED_PROV_TYPE",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "REIMBURSEMENT_PROV_NAME.1",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_PROV_SPECIALTY",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "AARETE_DERIVED_PROV_SPECIALTY",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "CONTRACT_SERVICE_CD_OR_DESC",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_REIMBURSEMENT_METHOD",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "AARETE_DERIVED_REIMBURSEMENT_METHOD",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_REIMBURSEMENT_FEE_RATE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_REIMBURSEMENT_PERCENT_RATE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_FEE_SCHEDULE_DESC",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "AARETE_DERIVED_FEE_SCHEDULE",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "CONTRACT_FEE_SCHEDULE_VERSION",
+ "rawType": "object",
+ "type": "unknown"
+ },
+ {
+ "name": "AARETE_DERIVED_FEE_SCHEDULE_VERSION",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CONTRACT_LESSER_OF_IND",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_GREATER_OF_IND",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_DEFAULT_IND",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CPT4_PROC_CD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CPT4_PROC_DESC",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CPT4_PROC_MOD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CPT4_PROC_MOD_DESC",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "REVENUE_CD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "REVENUE_CD_DESC",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "DIAG_CD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "DIAG_CD_DESC",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "GROUPER_TYPE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "FACILITY_GROUPER_CD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "FACILITY_GROUPER_DESC",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "LINE_NDC_NUM",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "CLAIM_ADMIT_TYPE_CD",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "AUTH_ADMIT_TYPE_DESC",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "NOT_TO_EXCEED_IND",
+ "rawType": "object",
+ "type": "string"
+ },
+ {
+ "name": "CONTRACT_BILL_TYPE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "REIMBURSEMENT_EFFECTIVE_DATE",
+ "rawType": "Int64",
+ "type": "integer"
+ },
+ {
+ "name": "REIMBURSEMENT_TERMINATION_DATE",
+ "rawType": "Int64",
+ "type": "integer"
+ }
+ ],
+ "conversionMethod": "pd.DataFrame",
+ "ref": "31241db5-0f2c-4162-9950-d67ba66851be",
+ "rows": [
+ [
+ "0",
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ null,
+ "Test-Client",
+ "Magnolia Health Plan, Inc.",
+ "640908605",
+ "1255427464",
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "2018/05/02",
+ "three years from the contract effective date",
+ "9999/01/01",
+ "Y",
+ "one year",
+ "Ancillary",
+ "M",
+ "Attachment A-1: Medicaid\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nANCILLARY SERVICES\nLABORATORY\nCentral MS Diagnostic, LLC",
+ "30",
+ "Medicaid",
+ "Central MS Diagnostic, LLC",
+ "MEDICAID",
+ "MEDICAID",
+ "Medicaid",
+ null,
+ null,
+ null,
+ null,
+ "Lab",
+ "Central MS Diagnostic, LLC",
+ "LABORATORY",
+ "LABORATORY",
+ "laboratory Covered Services",
+ "the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicaid fee schedule.",
+ "Billed Charges",
+ null,
+ "100",
+ null,
+ null,
+ null,
+ null,
+ "Y",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "N",
+ null,
+ null,
+ null
+ ],
+ [
+ "1",
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ null,
+ "Test-Client",
+ "Magnolia Health Plan, Inc.",
+ "640908605",
+ "1255427464",
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "2018/05/02",
+ "three years from the contract effective date",
+ "9999/01/01",
+ "Y",
+ "one year",
+ "Ancillary",
+ "M",
+ "Attachment A-1: Medicaid\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nANCILLARY SERVICES\nLABORATORY\nCentral MS Diagnostic, LLC",
+ "30",
+ "Medicaid",
+ "Central MS Diagnostic, LLC",
+ "MEDICAID",
+ "MEDICAID",
+ "Medicaid",
+ null,
+ null,
+ null,
+ null,
+ "Lab",
+ "Central MS Diagnostic, LLC",
+ "LABORATORY",
+ "LABORATORY",
+ "laboratory Covered Services",
+ "the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicaid fee schedule.",
+ "Fee Schedule",
+ null,
+ "100",
+ "Payor's Medicaid fee schedule",
+ "MEDICAID",
+ null,
+ null,
+ "Y",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "N",
+ null,
+ null,
+ null
+ ],
+ [
+ "2",
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ null,
+ "Test-Client",
+ "Magnolia Health Plan, Inc.",
+ "640908605",
+ "1255427464",
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "2018/05/02",
+ "three years from the contract effective date",
+ "9999/01/01",
+ "Y",
+ "one year",
+ "Ancillary",
+ "M",
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ "MEDICARE",
+ "Medicare",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ "Covered Services that are Medicare Covered Services and Medicaid Covered Services",
+ "Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on one hundred percent (100%) of the Medicare payment rate in effect on the date of service, plus the amount payable by Medicaid as a secondary coverage based on the Medicaid payment rate in effect on the date of service",
+ "Billed Charges",
+ null,
+ "100",
+ null,
+ null,
+ null,
+ null,
+ "Y",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "N",
+ null,
+ null,
+ null
+ ],
+ [
+ "3",
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ null,
+ "Test-Client",
+ "Magnolia Health Plan, Inc.",
+ "640908605",
+ "1255427464",
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "2018/05/02",
+ "three years from the contract effective date",
+ "9999/01/01",
+ "Y",
+ "one year",
+ "Ancillary",
+ "M",
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ "MEDICARE",
+ "Medicare",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ "Covered Services that are Medicare Covered Services and Medicaid Covered Services",
+ "Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on one hundred percent (100%) of the Medicare payment rate in effect on the date of service, plus the amount payable by Medicaid as a secondary coverage based on the Medicaid payment rate in effect on the date of service",
+ "Fee Schedule",
+ null,
+ "100",
+ "Medicare payment rate",
+ "MEDICARE",
+ "in effect on the date of service",
+ null,
+ "Y",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Y",
+ null,
+ null,
+ null
+ ],
+ [
+ "4",
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ null,
+ "Test-Client",
+ "Magnolia Health Plan, Inc.",
+ "640908605",
+ "1255427464",
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "2018/05/02",
+ "three years from the contract effective date",
+ "9999/01/01",
+ "Y",
+ "one year",
+ "Ancillary",
+ "M",
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ "MEDICARE",
+ "Medicare",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ "Covered Services that are Medicare Covered Services and are not Medicaid Covered Services",
+ "Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable based on the Medicare payment rate in effect on the date of service, not including Cost-Sharing Amounts",
+ "Billed Charges",
+ null,
+ "100",
+ null,
+ null,
+ null,
+ null,
+ "Y",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "N",
+ null,
+ null,
+ null
+ ],
+ [
+ "5",
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ null,
+ "Test-Client",
+ "Magnolia Health Plan, Inc.",
+ "640908605",
+ "1255427464",
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "2018/05/02",
+ "three years from the contract effective date",
+ "9999/01/01",
+ "Y",
+ "one year",
+ "Ancillary",
+ "M",
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ "MEDICARE",
+ "Medicare",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ "Covered Services that are Medicare Covered Services and are not Medicaid Covered Services",
+ "Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable based on the Medicare payment rate in effect on the date of service, not including Cost-Sharing Amounts",
+ "Fee Schedule",
+ null,
+ "100",
+ "Medicare payment rate",
+ "MEDICARE",
+ "in effect on the date of service",
+ null,
+ "Y",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "N",
+ null,
+ null,
+ null
+ ],
+ [
+ "6",
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ null,
+ "Test-Client",
+ "Magnolia Health Plan, Inc.",
+ "640908605",
+ "1255427464",
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "2018/05/02",
+ "three years from the contract effective date",
+ "9999/01/01",
+ "Y",
+ "one year",
+ "Ancillary",
+ "M",
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ "MEDICARE",
+ "Medicare",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ "Covered Services that are Medicaid Covered Services and are not Medicare Covered Services",
+ "Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable by Medicaid, not including any Cost-Sharing Amounts that would have been applied by Medicaid, based on the Medicaid payment rate in effect on the date of service",
+ "Billed Charges",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Y",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "N",
+ null,
+ null,
+ null
+ ],
+ [
+ "7",
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ null,
+ "Test-Client",
+ "Magnolia Health Plan, Inc.",
+ "640908605",
+ "1255427464",
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "2018/05/02",
+ "three years from the contract effective date",
+ "9999/01/01",
+ "Y",
+ "one year",
+ "Ancillary",
+ "M",
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ "MEDICARE",
+ "Medicare",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ "Covered Services that are Medicaid Covered Services and are not Medicare Covered Services",
+ "Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable by Medicaid, not including any Cost-Sharing Amounts that would have been applied by Medicaid, based on the Medicaid payment rate in effect on the date of service",
+ "Fee Schedule",
+ null,
+ "100",
+ "Medicaid",
+ "MEDICAID",
+ "in effect on the date of service",
+ null,
+ "Y",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Y",
+ null,
+ null,
+ null
+ ],
+ [
+ "8",
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ null,
+ "Test-Client",
+ "Magnolia Health Plan, Inc.",
+ "640908605",
+ "1255427464",
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "2018/05/02",
+ "three years from the contract effective date",
+ "9999/01/01",
+ "Y",
+ "one year",
+ "Ancillary",
+ "M",
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ "MEDICARE",
+ "Medicare",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ "Covered Services rendered to Covered Person who are eligible for Medicare and enrolled in a Medicare Plan that may include coverage for both Medicare and Medicaid Covered Services",
+ "Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service",
+ "Billed Charges",
+ null,
+ "100",
+ null,
+ null,
+ null,
+ null,
+ "Y",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "N",
+ null,
+ null,
+ null
+ ],
+ [
+ "9",
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ null,
+ "Test-Client",
+ "Magnolia Health Plan, Inc.",
+ "640908605",
+ "1255427464",
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "2018/05/02",
+ "three years from the contract effective date",
+ "9999/01/01",
+ "Y",
+ "one year",
+ "Ancillary",
+ "M",
+ "Attachment B: Medicare\nEXHIBIT 1\nCOMPENSATION SCHEDULE\nALL MEDICARE PRODUCT TYPES\nPROVIDER SERVICES\nCentral MS Diagnostic, LLC",
+ "41",
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ "MEDICARE",
+ "Medicare",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ "Covered Services rendered to Covered Person who are eligible for Medicare and enrolled in a Medicare Plan that may include coverage for both Medicare and Medicaid Covered Services",
+ "Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service",
+ "Fee Schedule",
+ null,
+ "100",
+ "Medicare payment rate",
+ "MEDICARE",
+ "in effect on the date of service",
+ null,
+ "Y",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "Y",
+ null,
+ null,
+ null
+ ],
+ [
+ "10",
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ null,
+ "Test-Client",
+ "Magnolia Health Plan, Inc.",
+ "640908605",
+ "1255427464",
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "2018/05/02",
+ "three years from the contract effective date",
+ "9999/01/01",
+ "Y",
+ "one year",
+ "Ancillary",
+ "M",
+ "Attachment C: Commercial-Exchange\nEXHIBIT I\nCOMPENSATION SCHEDULE\nANCILLARY SERVICES\nLABORATORY\nCentral MS Diagnostic, LLC",
+ "47",
+ "Commercial-Exchange",
+ "Central MS Diagnostic, LLC",
+ "COMMERCIAL-EXCHANGE",
+ "COMMERCIAL-EXCHANGE",
+ "Commercial-Group",
+ null,
+ null,
+ null,
+ null,
+ "Lab",
+ "Central MS Diagnostic, LLC",
+ "LABORATORY",
+ "LABORATORY",
+ "laboratory Covered Services",
+ "the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicare fee schedule.",
+ "Billed Charges",
+ null,
+ "100",
+ null,
+ null,
+ null,
+ null,
+ "Y",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "N",
+ null,
+ null,
+ null
+ ],
+ [
+ "11",
+ "00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt",
+ "PARTICIPATING PROVIDER AGREEMENT",
+ null,
+ "Test-Client",
+ "Magnolia Health Plan, Inc.",
+ "640908605",
+ "1255427464",
+ "Central MS Diagnostic, LLC",
+ null,
+ null,
+ null,
+ null,
+ null,
+ "2018/05/02",
+ "three years from the contract effective date",
+ "9999/01/01",
+ "Y",
+ "one year",
+ "Ancillary",
+ "M",
+ "Attachment C: Commercial-Exchange\nEXHIBIT I\nCOMPENSATION SCHEDULE\nANCILLARY SERVICES\nLABORATORY\nCentral MS Diagnostic, LLC",
+ "47",
+ "Commercial-Exchange",
+ "Central MS Diagnostic, LLC",
+ "COMMERCIAL-EXCHANGE",
+ "COMMERCIAL-EXCHANGE",
+ "Commercial-Group",
+ null,
+ null,
+ null,
+ null,
+ "Lab",
+ "Central MS Diagnostic, LLC",
+ "LABORATORY",
+ "LABORATORY",
+ "laboratory Covered Services",
+ "the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicare fee schedule.",
+ "Fee Schedule",
+ null,
+ "100",
+ "Payor's Medicare fee schedule",
+ "MEDICARE",
+ null,
+ null,
+ "Y",
+ "N",
+ "N",
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ "N",
+ null,
+ null,
+ null
+ ]
+ ],
+ "shape": {
+ "columns": 65,
+ "rows": 12
+ }
+ },
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " CONTRACT_FILE_NAME | \n",
+ " CONTRACT_TITLE | \n",
+ " CONTRACT_AMENDMENT_NUM | \n",
+ " CLIENT_NAME | \n",
+ " PAYER_NAME | \n",
+ " PROV_GROUP_TIN | \n",
+ " PROV_GROUP_NPI | \n",
+ " PROV_GROUP_NAME_FULL | \n",
+ " PROV_TIN_OTHER | \n",
+ " PROV_NPI_OTHER | \n",
+ " ... | \n",
+ " GROUPER_TYPE | \n",
+ " FACILITY_GROUPER_CD | \n",
+ " FACILITY_GROUPER_DESC | \n",
+ " LINE_NDC_NUM | \n",
+ " CLAIM_ADMIT_TYPE_CD | \n",
+ " AUTH_ADMIT_TYPE_DESC | \n",
+ " NOT_TO_EXCEED_IND | \n",
+ " CONTRACT_BILL_TYPE | \n",
+ " REIMBURSEMENT_EFFECTIVE_DATE | \n",
+ " REIMBURSEMENT_TERMINATION_DATE | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 00-125434-Central MS Diagnostic, LLC-ICMProvid... | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " <NA> | \n",
+ " Test-Client | \n",
+ " Magnolia Health Plan, Inc. | \n",
+ " 640908605 | \n",
+ " 1255427464 | \n",
+ " Central MS Diagnostic, LLC | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " ... | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " N | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 00-125434-Central MS Diagnostic, LLC-ICMProvid... | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " <NA> | \n",
+ " Test-Client | \n",
+ " Magnolia Health Plan, Inc. | \n",
+ " 640908605 | \n",
+ " 1255427464 | \n",
+ " Central MS Diagnostic, LLC | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " ... | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " N | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 00-125434-Central MS Diagnostic, LLC-ICMProvid... | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " <NA> | \n",
+ " Test-Client | \n",
+ " Magnolia Health Plan, Inc. | \n",
+ " 640908605 | \n",
+ " 1255427464 | \n",
+ " Central MS Diagnostic, LLC | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " ... | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " N | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 00-125434-Central MS Diagnostic, LLC-ICMProvid... | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " <NA> | \n",
+ " Test-Client | \n",
+ " Magnolia Health Plan, Inc. | \n",
+ " 640908605 | \n",
+ " 1255427464 | \n",
+ " Central MS Diagnostic, LLC | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " ... | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " Y | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 00-125434-Central MS Diagnostic, LLC-ICMProvid... | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " <NA> | \n",
+ " Test-Client | \n",
+ " Magnolia Health Plan, Inc. | \n",
+ " 640908605 | \n",
+ " 1255427464 | \n",
+ " Central MS Diagnostic, LLC | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " ... | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " N | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ "
\n",
+ " \n",
+ " | 5 | \n",
+ " 00-125434-Central MS Diagnostic, LLC-ICMProvid... | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " <NA> | \n",
+ " Test-Client | \n",
+ " Magnolia Health Plan, Inc. | \n",
+ " 640908605 | \n",
+ " 1255427464 | \n",
+ " Central MS Diagnostic, LLC | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " ... | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " N | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ "
\n",
+ " \n",
+ " | 6 | \n",
+ " 00-125434-Central MS Diagnostic, LLC-ICMProvid... | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " <NA> | \n",
+ " Test-Client | \n",
+ " Magnolia Health Plan, Inc. | \n",
+ " 640908605 | \n",
+ " 1255427464 | \n",
+ " Central MS Diagnostic, LLC | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " ... | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " N | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ "
\n",
+ " \n",
+ " | 7 | \n",
+ " 00-125434-Central MS Diagnostic, LLC-ICMProvid... | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " <NA> | \n",
+ " Test-Client | \n",
+ " Magnolia Health Plan, Inc. | \n",
+ " 640908605 | \n",
+ " 1255427464 | \n",
+ " Central MS Diagnostic, LLC | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " ... | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " Y | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ "
\n",
+ " \n",
+ " | 8 | \n",
+ " 00-125434-Central MS Diagnostic, LLC-ICMProvid... | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " <NA> | \n",
+ " Test-Client | \n",
+ " Magnolia Health Plan, Inc. | \n",
+ " 640908605 | \n",
+ " 1255427464 | \n",
+ " Central MS Diagnostic, LLC | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " ... | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " N | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ "
\n",
+ " \n",
+ " | 9 | \n",
+ " 00-125434-Central MS Diagnostic, LLC-ICMProvid... | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " <NA> | \n",
+ " Test-Client | \n",
+ " Magnolia Health Plan, Inc. | \n",
+ " 640908605 | \n",
+ " 1255427464 | \n",
+ " Central MS Diagnostic, LLC | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " ... | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " Y | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ "
\n",
+ " \n",
+ " | 10 | \n",
+ " 00-125434-Central MS Diagnostic, LLC-ICMProvid... | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " <NA> | \n",
+ " Test-Client | \n",
+ " Magnolia Health Plan, Inc. | \n",
+ " 640908605 | \n",
+ " 1255427464 | \n",
+ " Central MS Diagnostic, LLC | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " ... | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " N | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ "
\n",
+ " \n",
+ " | 11 | \n",
+ " 00-125434-Central MS Diagnostic, LLC-ICMProvid... | \n",
+ " PARTICIPATING PROVIDER AGREEMENT | \n",
+ " <NA> | \n",
+ " Test-Client | \n",
+ " Magnolia Health Plan, Inc. | \n",
+ " 640908605 | \n",
+ " 1255427464 | \n",
+ " Central MS Diagnostic, LLC | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " ... | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " N | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ " <NA> | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
12 rows × 65 columns
\n",
+ "
"
+ ],
+ "text/plain": [
+ " CONTRACT_FILE_NAME \\\n",
+ "0 00-125434-Central MS Diagnostic, LLC-ICMProvid... \n",
+ "1 00-125434-Central MS Diagnostic, LLC-ICMProvid... \n",
+ "2 00-125434-Central MS Diagnostic, LLC-ICMProvid... \n",
+ "3 00-125434-Central MS Diagnostic, LLC-ICMProvid... \n",
+ "4 00-125434-Central MS Diagnostic, LLC-ICMProvid... \n",
+ "5 00-125434-Central MS Diagnostic, LLC-ICMProvid... \n",
+ "6 00-125434-Central MS Diagnostic, LLC-ICMProvid... \n",
+ "7 00-125434-Central MS Diagnostic, LLC-ICMProvid... \n",
+ "8 00-125434-Central MS Diagnostic, LLC-ICMProvid... \n",
+ "9 00-125434-Central MS Diagnostic, LLC-ICMProvid... \n",
+ "10 00-125434-Central MS Diagnostic, LLC-ICMProvid... \n",
+ "11 00-125434-Central MS Diagnostic, LLC-ICMProvid... \n",
+ "\n",
+ " CONTRACT_TITLE CONTRACT_AMENDMENT_NUM CLIENT_NAME \\\n",
+ "0 PARTICIPATING PROVIDER AGREEMENT Test-Client \n",
+ "1 PARTICIPATING PROVIDER AGREEMENT Test-Client \n",
+ "2 PARTICIPATING PROVIDER AGREEMENT Test-Client \n",
+ "3 PARTICIPATING PROVIDER AGREEMENT Test-Client \n",
+ "4 PARTICIPATING PROVIDER AGREEMENT Test-Client \n",
+ "5 PARTICIPATING PROVIDER AGREEMENT Test-Client \n",
+ "6 PARTICIPATING PROVIDER AGREEMENT Test-Client \n",
+ "7 PARTICIPATING PROVIDER AGREEMENT Test-Client \n",
+ "8 PARTICIPATING PROVIDER AGREEMENT Test-Client \n",
+ "9 PARTICIPATING PROVIDER AGREEMENT Test-Client \n",
+ "10 PARTICIPATING PROVIDER AGREEMENT Test-Client \n",
+ "11 PARTICIPATING PROVIDER AGREEMENT Test-Client \n",
+ "\n",
+ " PAYER_NAME PROV_GROUP_TIN PROV_GROUP_NPI \\\n",
+ "0 Magnolia Health Plan, Inc. 640908605 1255427464 \n",
+ "1 Magnolia Health Plan, Inc. 640908605 1255427464 \n",
+ "2 Magnolia Health Plan, Inc. 640908605 1255427464 \n",
+ "3 Magnolia Health Plan, Inc. 640908605 1255427464 \n",
+ "4 Magnolia Health Plan, Inc. 640908605 1255427464 \n",
+ "5 Magnolia Health Plan, Inc. 640908605 1255427464 \n",
+ "6 Magnolia Health Plan, Inc. 640908605 1255427464 \n",
+ "7 Magnolia Health Plan, Inc. 640908605 1255427464 \n",
+ "8 Magnolia Health Plan, Inc. 640908605 1255427464 \n",
+ "9 Magnolia Health Plan, Inc. 640908605 1255427464 \n",
+ "10 Magnolia Health Plan, Inc. 640908605 1255427464 \n",
+ "11 Magnolia Health Plan, Inc. 640908605 1255427464 \n",
+ "\n",
+ " PROV_GROUP_NAME_FULL PROV_TIN_OTHER PROV_NPI_OTHER ... \\\n",
+ "0 Central MS Diagnostic, LLC ... \n",
+ "1 Central MS Diagnostic, LLC ... \n",
+ "2 Central MS Diagnostic, LLC ... \n",
+ "3 Central MS Diagnostic, LLC ... \n",
+ "4 Central MS Diagnostic, LLC ... \n",
+ "5 Central MS Diagnostic, LLC ... \n",
+ "6 Central MS Diagnostic, LLC ... \n",
+ "7 Central MS Diagnostic, LLC ... \n",
+ "8 Central MS Diagnostic, LLC ... \n",
+ "9 Central MS Diagnostic, LLC ... \n",
+ "10 Central MS Diagnostic, LLC ... \n",
+ "11 Central MS Diagnostic, LLC ... \n",
+ "\n",
+ " GROUPER_TYPE FACILITY_GROUPER_CD FACILITY_GROUPER_DESC LINE_NDC_NUM \\\n",
+ "0 \n",
+ "1 \n",
+ "2 \n",
+ "3 \n",
+ "4 \n",
+ "5 \n",
+ "6 \n",
+ "7 \n",
+ "8 \n",
+ "9 \n",
+ "10 \n",
+ "11 \n",
+ "\n",
+ " CLAIM_ADMIT_TYPE_CD AUTH_ADMIT_TYPE_DESC NOT_TO_EXCEED_IND \\\n",
+ "0 N \n",
+ "1 N \n",
+ "2 N \n",
+ "3 Y \n",
+ "4 N \n",
+ "5 N \n",
+ "6 N \n",
+ "7 Y \n",
+ "8 N \n",
+ "9 Y \n",
+ "10 N \n",
+ "11 N \n",
+ "\n",
+ " CONTRACT_BILL_TYPE REIMBURSEMENT_EFFECTIVE_DATE \\\n",
+ "0 \n",
+ "1 \n",
+ "2 \n",
+ "3 \n",
+ "4 \n",
+ "5 \n",
+ "6 \n",
+ "7 \n",
+ "8 \n",
+ "9 \n",
+ "10 \n",
+ "11 \n",
+ "\n",
+ " REIMBURSEMENT_TERMINATION_DATE \n",
+ "0 \n",
+ "1 \n",
+ "2 \n",
+ "3 \n",
+ "4 \n",
+ "5 \n",
+ "6 \n",
+ "7 \n",
+ "8 \n",
+ "9 \n",
+ "10 \n",
+ "11 \n",
+ "\n",
+ "[12 rows x 65 columns]"
+ ]
+ },
+ "execution_count": 6,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "predictions_df"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "Index(['CONTRACT_FILE_NAME', 'CONTRACT_TITLE', 'CONTRACT_AMENDMENT_NUM',\n",
+ " 'CLIENT_NAME', 'PAYER_NAME', 'PROV_GROUP_TIN', 'PROV_GROUP_NPI',\n",
+ " 'PROV_GROUP_NAME_FULL', 'PROV_TIN_OTHER', 'PROV_NPI_OTHER',\n",
+ " 'PROV_REIMBURSEMENT_TIN', 'PROV_REIMBURSEMENT_NPI', 'PROV_FULL_NAME',\n",
+ " 'CONTRACT_EFFECTIVE_DT', 'CONTRACT_TERMINATION_DT',\n",
+ " 'AARETE_DERIVED_TERMINATION_DATE', 'CONTRACT_AUTO_RENEWAL_IND',\n",
+ " 'CONTRACT_AUTO_RENEWAL_TERM', 'CONTRACT_CLAIM_TYPE_CD',\n",
+ " 'AARETE_DERIVED_CLAIM_TYPE_CD', 'EXHIBIT_NAME', 'EXHIBIT_PAGE',\n",
+ " 'CONTRACT_PRODUCT', 'REIMBURSEMENT_PROV_NAME', 'AARETE_DERIVED_PRODUCT',\n",
+ " 'CONTRACT_LINE_OF_BUSINESS', 'AARETE_DERIVED_LINE_OF_BUSINESS',\n",
+ " 'CONTRACT_PROGRAM', 'AARETE_DERIVED_PROGRAM', 'CONTRACT_NETWORK',\n",
+ " 'AARETE_DERIVED_NETWORK', 'AARETE_DERIVED_PROV_TYPE',\n",
+ " 'REIMBURSEMENT_PROV_NAME.1', 'CONTRACT_PROV_SPECIALTY',\n",
+ " 'AARETE_DERIVED_PROV_SPECIALTY', 'CONTRACT_SERVICE_CD_OR_DESC',\n",
+ " 'CONTRACT_REIMBURSEMENT_METHOD', 'AARETE_DERIVED_REIMBURSEMENT_METHOD',\n",
+ " 'CONTRACT_REIMBURSEMENT_FEE_RATE',\n",
+ " 'CONTRACT_REIMBURSEMENT_PERCENT_RATE', 'CONTRACT_FEE_SCHEDULE_DESC',\n",
+ " 'AARETE_DERIVED_FEE_SCHEDULE', 'CONTRACT_FEE_SCHEDULE_VERSION',\n",
+ " 'AARETE_DERIVED_FEE_SCHEDULE_VERSION', 'CONTRACT_LESSER_OF_IND',\n",
+ " 'CONTRACT_GREATER_OF_IND', 'CONTRACT_DEFAULT_IND', 'CPT4_PROC_CD',\n",
+ " 'CPT4_PROC_DESC', 'CPT4_PROC_MOD', 'CPT4_PROC_MOD_DESC', 'REVENUE_CD',\n",
+ " 'REVENUE_CD_DESC', 'DIAG_CD', 'DIAG_CD_DESC', 'GROUPER_TYPE',\n",
+ " 'FACILITY_GROUPER_CD', 'FACILITY_GROUPER_DESC', 'LINE_NDC_NUM',\n",
+ " 'CLAIM_ADMIT_TYPE_CD', 'AUTH_ADMIT_TYPE_DESC', 'NOT_TO_EXCEED_IND',\n",
+ " 'CONTRACT_BILL_TYPE', 'REIMBURSEMENT_EFFECTIVE_DATE',\n",
+ " 'REIMBURSEMENT_TERMINATION_DATE'],\n",
+ " dtype='object')"
+ ]
+ },
+ "execution_count": 7,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "predictions_df.columns"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "{'precision': 1.0,\n",
+ " 'recall': 1.0,\n",
+ " 'f1_score': 1.0,\n",
+ " 'true_positives': 12,\n",
+ " 'false_positives': 0,\n",
+ " 'false_negatives': 0,\n",
+ " 'matched_labels': {'00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt': [(\"the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicaid fee schedule.\",),\n",
+ " (\"the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicaid fee schedule.\",),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on one hundred percent (100%) of the Medicare payment rate in effect on the date of service, plus the amount payable by Medicaid as a secondary coverage based on the Medicaid payment rate in effect on the date of service\",),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on one hundred percent (100%) of the Medicare payment rate in effect on the date of service, plus the amount payable by Medicaid as a secondary coverage based on the Medicaid payment rate in effect on the date of service\",),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable based on the Medicare payment rate in effect on the date of service, not including Cost-Sharing Amounts\",),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable based on the Medicare payment rate in effect on the date of service, not including Cost-Sharing Amounts\",),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable by Medicaid, not including any Cost-Sharing Amounts that would have been applied by Medicaid, based on the Medicaid payment rate in effect on the date of service\",),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable by Medicaid, not including any Cost-Sharing Amounts that would have been applied by Medicaid, based on the Medicaid payment rate in effect on the date of service\",),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service\",),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service\",),\n",
+ " (\"the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicare fee schedule.\",),\n",
+ " (\"the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicare fee schedule.\",)]},\n",
+ " 'unmatched_labels': {'00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt': []},\n",
+ " 'unmatched_predictions': {'00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt': []}}"
+ ]
+ },
+ "execution_count": 8,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "evaluate_one_to_n_fields_fuzzy_matching_field_by_field(labels_df, predictions_df, \"CONTRACT_FILE_NAME\", ['CONTRACT_REIMBURSEMENT_METHOD'])"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "{'precision': 0.8333333333333334,\n",
+ " 'recall': 0.8333333333333334,\n",
+ " 'f1_score': 0.8333333333333334,\n",
+ " 'true_positives': 10,\n",
+ " 'false_positives': 2,\n",
+ " 'false_negatives': 2,\n",
+ " 'matched_labels': {'00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt': [(\"the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicaid fee schedule.\",\n",
+ " nan),\n",
+ " (\"the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicaid fee schedule.\",\n",
+ " \"Payor's Medicaid fee schedule\"),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on one hundred percent (100%) of the Medicare payment rate in effect on the date of service, plus the amount payable by Medicaid as a secondary coverage based on the Medicaid payment rate in effect on the date of service\",\n",
+ " nan),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable based on the Medicare payment rate in effect on the date of service, not including Cost-Sharing Amounts\",\n",
+ " nan),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable based on the Medicare payment rate in effect on the date of service, not including Cost-Sharing Amounts\",\n",
+ " 'Medicare payment rate'),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable by Medicaid, not including any Cost-Sharing Amounts that would have been applied by Medicaid, based on the Medicaid payment rate in effect on the date of service\",\n",
+ " nan),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable by Medicaid, not including any Cost-Sharing Amounts that would have been applied by Medicaid, based on the Medicaid payment rate in effect on the date of service\",\n",
+ " 'Medicaid'),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service\",\n",
+ " nan),\n",
+ " (\"the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicare fee schedule.\",\n",
+ " nan),\n",
+ " (\"the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicare fee schedule.\",\n",
+ " \"Payor's Medicare fee schedule\")]},\n",
+ " 'unmatched_labels': {'00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt': [(\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on one hundred percent (100%) of the Medicare payment rate in effect on the date of service, plus the amount payable by Medicaid as a secondary coverage based on the Medicaid payment rate in effect on the date of service\",\n",
+ " 'Medicare payment rate plus amount payable by Medicaid as secondary coverage'),\n",
+ " (\"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service\",\n",
+ " 'Medicare')]},\n",
+ " 'unmatched_predictions': {'00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt': [(\"Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on one hundred percent (100%) of the Medicare payment rate in effect on the date of service, plus the amount payable by Medicaid as a secondary coverage based on the Medicaid payment rate in effect on the date of service\",\n",
+ " 'Medicare payment rate'),\n",
+ " (\"Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service\",\n",
+ " 'Medicare payment rate')]}}"
+ ]
+ },
+ "execution_count": 9,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "evaluate_one_to_n_fields_fuzzy_matching_field_by_field(labels_df, predictions_df, \"CONTRACT_FILE_NAME\", ['CONTRACT_REIMBURSEMENT_METHOD', 'CONTRACT_FEE_SCHEDULE_DESC'])"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "{'precision': 0.8333333333333334,\n",
+ " 'recall': 0.8333333333333334,\n",
+ " 'f1_score': 0.8333333333333334,\n",
+ " 'true_positives': 10,\n",
+ " 'false_positives': 2,\n",
+ " 'false_negatives': 2,\n",
+ " 'matched_labels': {'00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt': [('laboratory Covered Services',\n",
+ " \"the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicaid fee schedule.\"),\n",
+ " ('laboratory Covered Services',\n",
+ " \"the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicaid fee schedule.\"),\n",
+ " ('Covered Services that are Medicare Covered Services and Medicaid Covered Services',\n",
+ " \"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on one hundred percent (100%) of the Medicare payment rate in effect on the date of service, plus the amount payable by Medicaid as a secondary coverage based on the Medicaid payment rate in effect on the date of service\"),\n",
+ " ('Covered Services that are Medicare Covered Services and Medicaid Covered Services',\n",
+ " \"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on one hundred percent (100%) of the Medicare payment rate in effect on the date of service, plus the amount payable by Medicaid as a secondary coverage based on the Medicaid payment rate in effect on the date of service\"),\n",
+ " ('Covered Services that are Medicare Covered Services and are not Medicaid Covered Services',\n",
+ " \"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable based on the Medicare payment rate in effect on the date of service, not including Cost-Sharing Amounts\"),\n",
+ " ('Covered Services that are Medicare Covered Services and are not Medicaid Covered Services',\n",
+ " \"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable based on the Medicare payment rate in effect on the date of service, not including Cost-Sharing Amounts\"),\n",
+ " ('Covered Services that are Medicaid Covered Services and are not Medicare Covered Services',\n",
+ " \"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable by Medicaid, not including any Cost-Sharing Amounts that would have been applied by Medicaid, based on the Medicaid payment rate in effect on the date of service\"),\n",
+ " ('Covered Services that are Medicaid Covered Services and are not Medicare Covered Services',\n",
+ " \"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be one hundred percent (100%) of the amount payable by Medicaid, not including any Cost-Sharing Amounts that would have been applied by Medicaid, based on the Medicaid payment rate in effect on the date of service\"),\n",
+ " ('laboratory Covered Services',\n",
+ " \"the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicare fee schedule.\"),\n",
+ " ('laboratory Covered Services',\n",
+ " \"the lesser of: (i) Allowable Charges; or (ii) one hundred percent (100%) of the Payor's Medicare fee schedule.\")]},\n",
+ " 'unmatched_labels': {'00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt': [('Covered Services where Payor is the only Payor for Medicare Covered Services',\n",
+ " \"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service\"),\n",
+ " ('Covered Services where Payor is the only Payor for Medicare Covered Services',\n",
+ " \"The Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service\")]},\n",
+ " 'unmatched_predictions': {'00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt': [('Covered Services rendered to Covered Person who are eligible for Medicare and enrolled in a Medicare Plan that may include coverage for both Medicare and Medicaid Covered Services',\n",
+ " \"Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service\"),\n",
+ " ('Covered Services rendered to Covered Person who are eligible for Medicare and enrolled in a Medicare Plan that may include coverage for both Medicare and Medicaid Covered Services',\n",
+ " \"Allowed Amount is the lesser of: (i) Allowable Charges; or (ii) Payor's maximum reimbursement schedule, which shall be the amount payable by Medicare, not including Cost-Sharing Amounts, as primary coverage based on the Medicare payment rate in effect on the date of service\")]}}"
+ ]
+ },
+ "execution_count": 10,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "# just reimbursement primary <- This is the big one! We derive everything methodology-related from this.\n",
+ "evaluate_one_to_n_fields_fuzzy_matching_field_by_field(labels_df, predictions_df, \"CONTRACT_FILE_NAME\", ['CONTRACT_SERVICE_CD_OR_DESC', 'CONTRACT_REIMBURSEMENT_METHOD'])"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "{'precision': 0.9166666666666666,\n",
+ " 'recall': 0.9166666666666666,\n",
+ " 'f1_score': 0.9166666666666666,\n",
+ " 'true_positives': 11,\n",
+ " 'false_positives': 1,\n",
+ " 'false_negatives': 1,\n",
+ " 'matched_labels': {'00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt': [('Y',\n",
+ " 'N',\n",
+ " 'Billed Charges',\n",
+ " ,\n",
+ " 100),\n",
+ " ('Y', 'N', 'Fee Schedule', , 100),\n",
+ " ('Y', 'N', 'Billed Charges', , 100),\n",
+ " ('Y', 'N', 'Fee Schedule', , 100),\n",
+ " ('Y', 'N', 'Billed Charges', , 100),\n",
+ " ('Y', 'N', 'Fee Schedule', , 100),\n",
+ " ('Y', 'N', 'Billed Charges', , 100),\n",
+ " ('Y', 'N', 'Fee Schedule', , 100),\n",
+ " ('Y', 'N', 'Billed Charges', , 100),\n",
+ " ('Y', 'N', 'Fee Schedule', , 100),\n",
+ " ('Y', 'N', 'Fee Schedule', , 100)]},\n",
+ " 'unmatched_labels': {'00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt': [('Y',\n",
+ " 'N',\n",
+ " 'Billed Charges',\n",
+ " ,\n",
+ " 100)]},\n",
+ " 'unmatched_predictions': {'00-125434-Central MS Diagnostic, LLC-ICMProviderAgreement_78285.txt': [('Y',\n",
+ " 'N',\n",
+ " 'Billed Charges',\n",
+ " ,\n",
+ " )]}}"
+ ]
+ },
+ "execution_count": 11,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "# Just breakout\n",
+ "evaluate_one_to_n_fields_fuzzy_matching_field_by_field(labels_df, predictions_df, \"CONTRACT_FILE_NAME\", ['CONTRACT_LESSER_OF_IND', 'CONTRACT_GREATER_OF_IND', 'AARETE_DERIVED_REIMBURSEMENT_METHOD', 'CONTRACT_REIMBURSEMENT_FEE_RATE', 'CONTRACT_REIMBURSEMENT_PERCENT_RATE'])"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": []
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "doczy-smart-chunking-rwS2SHM0-py3.12",
+ "language": "python",
+ "name": "python3"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 3
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython3",
+ "version": "3.12.7"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 2
+}