diff --git a/README.md b/README.md index 4227acb..9f7c6d7 100644 --- a/README.md +++ b/README.md @@ -42,37 +42,47 @@ claims.createOrReplaceTempView("edi") ### Creating claim header and line tables from EDI ``` SQL ---flatten EDI format -CREATE TABLE stg_claims to a claim view +--flatten EDI +drop table if exists stg_claims; +CREATE TABLE stg_claims as -select clms, filename, tax_id, sender, transaction_type +select * from ( select *, explode(trnx.Claims) as clms from ( -select filename, tax_id, - fg.`FunctionalGroup.sender` as sender, - fg.`FunctionalGroup.transaction_type` as transaction_type, - explode(fg.`Transactions`) as trnx +select filename, edi_control_number, edi_date, edi_time, +edi_recipient_qualifier_id, edi_sender_qualifier_id, edi_standard_version, +fgs.fg.`FunctionalGroup.control_number` as fg_control_number, +fgs.fg.`FunctionalGroup.date` as fg_date, +fgs.fg.`FunctionalGroup.time` as fg_time, +fgs.fg.`FunctionalGroup.receiver` as fg_receiver, +fgs.fg.`FunctionalGroup.sender` as fg_sender, +fgs.fg.`FunctionalGroup.standard_version` as fg_standard_version, +fgs.fg.`FunctionalGroup.transaction_type` as fg_transaction_type, + explode(fgs.fg.`Transactions`) as trnx from ( select -`edi.sender_tax_id` as tax_id, +`edi.control_number` as edi_control_number, +`edi.date` as edi_date, +`edi.time` as edi_time, +`EDI.recipient_qualifier_id` as edi_recipient_qualifier_id, +`EDI.sender_qualifier_id` as edi_sender_qualifier_id, +`EDI.standard_version` as edi_standard_version, explode(`FuncitonalGroup`) as fg, filename from edi ) fgs ) trnx -) clms; +) clms; ---Create a "Claims Header" table drop table if exists claim_header; create table claim_header as -select filename, -tax_id, -sender, -transaction_type, +select +filename, edi_control_number, edi_date, edi_time, edi_recipient_qualifier_id, edi_sender_qualifier_id, edi_standard_version, +fg_control_number, fg_date, fg_time, fg_receiver, fg_sender, fg_standard_version, fg_transaction_type, clms.claim_header.*, clms.diagnosis.*, clms.payer.*, @@ -96,7 +106,6 @@ clms.providers.*, clms.subscriber.gender_cd as subscriber_gender_cd from stg_claims; ---Create a "Claim Line" table create table claim_line as select filename, claim_id, cl.* from ( @@ -104,7 +113,7 @@ select filename, clms.claim_header.claim_id, explode(clms.claim_lines) as cl from stg_claims -) foo +) foo; ``` @@ -128,7 +137,49 @@ rdd = ( claims = spark.read.json(rdd) #Create Claims tables from the EDI transactions -#... +%sql +--flatten EDI +drop table if exists stg_remittance; +CREATE TABLE stg_remittance +as +select * +from +( +select *, explode(trnx.Claims) as clms +from +( +select filename, edi_control_number, edi_date, edi_time, +edi_recipient_qualifier_id, edi_sender_qualifier_id, edi_standard_version, +fgs.fg.`FunctionalGroup.control_number` as fg_control_number, +fgs.fg.`FunctionalGroup.date` as fg_date, +fgs.fg.`FunctionalGroup.time` as fg_time, +fgs.fg.`FunctionalGroup.receiver` as fg_receiver, +fgs.fg.`FunctionalGroup.sender` as fg_sender, +fgs.fg.`FunctionalGroup.standard_version` as fg_standard_version, +fgs.fg.`FunctionalGroup.transaction_type` as fg_transaction_type, + explode(fgs.fg.`Transactions`) as trnx +from +( +select +`edi.control_number` as edi_control_number, +`edi.date` as edi_date, +`edi.time` as edi_time, +`EDI.recipient_qualifier_id` as edi_recipient_qualifier_id, +`EDI.sender_qualifier_id` as edi_sender_qualifier_id, +`EDI.standard_version` as edi_standard_version, +explode(`FuncitonalGroup`) as fg, +filename +from edi +) fgs +) trnx +) clms ; + +drop table if exists remittance; +create table remittance as +select filename, edi_control_number, edi_date, edi_time, edi_recipient_qualifier_id, edi_sender_qualifier_id, edi_standard_version, +fg_control_number, fg_date, fg_time, fg_receiver, fg_sender, fg_standard_version, fg_transaction_type, +clms.* +from stg_remittance; ``` ![image](images/remittance.png?raw=true) diff --git a/notebooks/ClaimBuilder.ipynb b/notebooks/ClaimBuilder.ipynb deleted file mode 100644 index bca5852..0000000 --- a/notebooks/ClaimBuilder.ipynb +++ /dev/null @@ -1,11938 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "inputWidgets": {}, - "nuid": "bb3b295d-7680-486b-aa6b-62724ec33a44", - "showTitle": false, - "title": "" - } - }, - "outputs": [], - "source": [ - "from databricksx12 import *\n", - "from databricksx12.hls import *\n", - "import json, os\n", - "from pyspark.sql.functions import input_file_name\n" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "inputWidgets": {}, - "nuid": "5a6f5155-d9d2-4681-8406-7948627dddbf", - "showTitle": false, - "title": "" - } - }, - "outputs": [], - "source": [ - "# Initialize HealthcareManager\n", - "hm = HealthcareManager()\n", - "df = spark.read.text(\"/Volumes/raven_catalog/x12_edi_parser/sampledata/837/*.txt\", wholetext = True)\n", - "\n", - "# Process the DataFrame and convert to RDD\n", - "rdd = (\n", - " df.withColumn(\"filename\", input_file_name()).rdd\n", - " .map(lambda x: (x.asDict().get(\"filename\"),x.asDict().get(\"value\")))\n", - " .map(lambda x: (x[0], EDI(x[1])))\n", - " .map(lambda x: { **{'filename': x[0]}, **hm.to_json(x[1])} )\n", - " .map(lambda x: json.dumps(x))\n", - ")\n", - "\n", - "edi_data = spark.read.json(rdd)" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "inputWidgets": {}, - "nuid": "78dab3e9-abef-4c2e-9792-2bdce1c87781", - "showTitle": false, - "title": "" - } - }, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/html": [ - "
EDI.sender_tax_idFuncitonalGroupfilename
ZZList(List(123456789, CLEARINGHOUSE, 20180508:0833, 222, List(List(List(List(List(, , 20, 1805080AV3648339, , , 57:B:1, , ), List(List(1, 1, 20, , , H0003, HC, null, 20180428, D8, 472, 1, UN)), List(, , , F1120, ), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER JAMES , 1112223338, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001))), 222), List(List(List(List(, , 50.1, 1805080AV3648347, , , 57:B:1, , ), List(List(1, 1:2, 50.1, HF, , 96153, HC, null, 20180426, D8, 472, 6, UN)), List(, , , F1520, ), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002))), 222), List(List(List(List(, , 11.64, 1805080AV3648340, , , 57:B:1, , ), List(List(1, 1:2, 11.64, HF, , T1017, HC, null, 20180427, D8, 472, 1, UN)), List(, , , F1020, ), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001))), 222), List(List(List(List(, , 234, 1805080AV3648353, , , 53:B:1, , ), List(List(1, 1, 234, , , 90853, HC, null, 20180427, D8, 472, 120, UN)), List(, , , F251, ), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 251S00000X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002))), 222), List(List(List(List(, , 20, 1805080AV3648355, , , 57:B:1, , ), List(List(1, 1:2, 20, , , H0003, HC, null, 20180427, D8, 472, 1, UN)), List(, , , F1020, ), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER JAMES , 1112223338, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001))), 222))))dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/CHPW_Claimdata.txt
ZZList(List(OO000011111, 000000005D, 20180710:214339, 222, List(List(List(List(List(, , 1800, ABC11111, D8, , 22:B:1, 20180123, 454), List(List(1, 1, 1800, QZ, , 01710, HC, null, 20180123-20180123, RD8, 472, 88, MJ), List(1, 1, 984, AA,P3, , 00731, HC, null, 20180713-20180713, RD8, 472, 24, MJ), List(1, 1, 1353, AA, , 00840, HC, null, 20180713-20180713, RD8, 472, 62, MJ), List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , G5621, ), List(FAKE CITY, 19650101, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS3, 18, 908021112), List(2, ABCMMPIO, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 123456789, EI, Organization, YYYY HEALTHCARE ABC, 1222222220, , NY, 123 ADDRESS1, , 908021112), null, null, null, List(, , , Individual, ABCD STUVW , 1234567890, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334460, , , , , ), List(, , , Individual, TUVWX MNOPQR , 1234567891, PE, , , 367500000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 19650101, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS3, 18, 908021112)), List(List(, , 984, ABC111112, D8, , 22:B:1, 20180713, 454), List(List(1, 1, 984, AA,P3, , 00731, HC, null, 20180713-20180713, RD8, 472, 24, MJ), List(1, 1, 1353, AA, , 00840, HC, null, 20180713-20180713, RD8, 472, 62, MJ), List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , K219, ), List(FAKE CITY, 19760101, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS7, 18, 908021117), List(2, ABCMMPIO, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 543211234, EI, Organization, ABCDE EFGHIJ GROUP PC, 1222222223, , CA, 123 ADDRESS5, , 908021115), null, null, null, List(, , , Individual, ABCDEFG OPQRST A, 1122334460, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334450, , , , , ), List(, , , Individual, STUVW KLMNOP H, 1122334461, PE, , , 207L00000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 19760101, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS7, 18, 908021117)), List(List(, , 1353, ABC111113, D8, , 22:B:1, 20180713, 454), List(List(1, 1, 1353, AA, , 00840, HC, null, 20180713-20180713, RD8, 472, 62, MJ), List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , K4090, ), List(FAKE CITY, 20180409, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS11, 18, 908021111), List(2, YTHF281123456, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 931013923, EI, Organization, ABCDE EFGHIJ GROUP PC, 1477527786, , CA, 123 ADDRESS9, , 908021119), null, null, null, List(, , , Individual, ABCDEFGH OPQRSTU A, 1122334456, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334458, , , , , ), List(, , , Individual, STUVWX KLMNOPQ H, 1122334457, PE, , , 207L00000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 20180409, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS11, 18, 908021111)), List(List(, , 1968, ABC111114, D8, , 22:B:1, 20180713, 454), List(List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , Q423, ), List(FAKE CITY, 20180504, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS13, 18, 908021113), List(2, YTHF281123456, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 931013923, EI, Organization, ABCDE EFGHIJ GROUP PC, 1477527786, , CA, 123 ADDRESS9, , 908021119), null, null, null, List(, , , Individual, ABCDEFGHI OPQRSTUV A, 1122334455, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334457, , , , , ), List(, , , Individual, STUVWXY KLMNOPQR H, 1122334456, PE, , , 207L00000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 20180504, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS13, 18, 908021113))), 222))))dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/Molina_Mock_UP_837P_File.txt
ZZList(List(421406317, 133052274, 20180807:12022761, 223, List(List(List(List(List(1, 1, 17166.7, TD-R192ICE00087, TM, 01, 11:A:1, 0900, 096), List(List(1, null, 9148, , null, , , 0124, 20180628-20180702, RD8, 472, 4, UN), List(2, null, 48.1, , null, , , 0250, 20180628-20180702, RD8, 472, 28, UN), List(3, null, 133, , null, , , 0260, 20180628-20180702, RD8, 472, 1, UN), List(4, null, 32.9, , null, , , 0300, 20180628-20180702, RD8, 472, 1, UN), List(5, null, 798.5, , null, , , 0301, 20180628-20180702, RD8, 472, 4, UN), List(6, null, 200.6, , null, , , 0305, 20180628-20180702, RD8, 472, 2, UN), List(7, null, 175, , null, , , 0306, 20180628-20180702, RD8, 472, 1, UN), List(8, null, 113.6, , null, , , 0307, 20180628-20180702, RD8, 472, 2, UN), List(9, null, 6517, , null, , , 0351, 20180628-20180702, RD8, 472, 2, UN)), List(F39, , F1319, F39, ), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001), List(2, 421406317, PI, CENTENE), List(List(, TD-R192ICE00087, D9, Individual, , , , , , , ), List(WOODSTOCK, 999999999, EI, Organization, Test Provider, 9999999999, , IL, 123 MAIN STREET, , 600980000), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), null, null, null), List(CENTENE CORP, Organization), List(TALEND, SAMBIT, List(List(TE, 3143202264), List(EX, 8099264)), Organization), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001))), 223))))dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/CC_837I_EDI.txt
ZZList(List(XXXXX, XXXXXXX, 20170617:1741, 222, List(List(List(List(List(, , 140, 1000A, , , 19:B:1, , ), List(List(1, 1, 140, , , 99213, HC, null, 20151124, D8, 472, 1, UN), List(1, 1, 140, , , 99213, HC, null, 20151124, D8, 472, 1, UN)), List(, , , I10, ), List(CHICAGO, 19570111, D8, M, BLOGGS JOE , , IL, 1 SOME BLVD, 18, 606129998), List(2, 12345, PI, PAYER), List(null, List(CHICAGO, 999999999, EI, Organization, BILLING PROVIDER, 1122334455, , IL, 1234 SOME ROAD, , 606739999), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , )), List(RECEIVER, Organization), List(SUBMITTER, BOB SMITH, List(List(TE, 4805551212), List(, )), Organization), List(CHICAGO, 19570111, D8, M, BLOGGS JOE , , IL, 1 SOME BLVD, 18, 606129998)), List(List(, , 140, 1001A, , , 19:B:1, , ), List(List(1, 1, 140, , , 99213, HC, null, 20151124, D8, 472, 1, UN)), List(, , , I10, ), List(CHICAGO, 19700601, D8, M, BLOGGS FRED , , IL, 1 ANOTHER STR, 18, 606129998), List(2, 12345, PI, PAYER), List(null, List(CHICAGO, 999999999, EI, Organization, BILLING PROVIDER, 1122334455, , IL, 1234 SOME ROAD, , 606739999), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , )), List(RECEIVER, Organization), List(SUBMITTER, BOB SMITH, List(List(TE, 4805551212), List(, )), Organization), List(CHICAGO, 19700601, D8, M, BLOGGS FRED , , IL, 1 ANOTHER STR, 18, 606129998))), 222))))dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/837p.txt
30List(List(421406317, 030240928, 20180807:12022605, 222, List(List(List(List(List(, , 600, TD-R192ICE00094, D8, , 11:B:1, 20180625, 435), List(List(1, 1:2, 300, HO,HQ, 11, H0004, HC, null, 20180625-20180625, RD8, 472, 12, UN), List(2, 1:2, 300, HO,HQ, 11, H0004, HC, null, 20180629-20180629, RD8, 472, 12, UN)), List(, , , F341, ), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001), List(2, 421406317, PI, CENTENE), List(null, List(WOODSTOCK, 999999999, EI, Organization, Test Provider, 9999999999, , IL, 123 MAIN STREET, , 600980000), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , )), List(Centene Corporation, Organization), List(Centene Corporation, Sambit, List(List(TE, 3143202264), List(EX, 8099264)), Organization), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001))), 222))))dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/CC_837P_EDI.txt
" - ] - }, - "metadata": { - "application/vnd.databricks.v1+output": { - "addedWidgets": {}, - "aggData": [], - "aggError": "", - "aggOverflow": false, - "aggSchema": [], - "aggSeriesLimitReached": false, - "aggType": "", - "arguments": {}, - "columnCustomDisplayInfos": {}, - "data": [ - [ - "ZZ", - [ - [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - [ - [ - [ - "", - "", - "20", - "1805080AV3648339", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "20", - "", - "", - "H0003", - "HC", - null, - "20180428", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "F1120", - "" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER JAMES ", - "1112223338", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ] - ] - ], - "222" - ], - [ - [ - [ - [ - "", - "", - "50.1", - "1805080AV3648347", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1:2", - "50.1", - "HF", - "", - "96153", - "HC", - null, - "20180426", - "D8", - "472", - "6", - "UN" - ] - ], - [ - "", - "", - "", - "F1520", - "" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ] - ] - ], - "222" - ], - [ - [ - [ - [ - "", - "", - "11.64", - "1805080AV3648340", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1:2", - "11.64", - "HF", - "", - "T1017", - "HC", - null, - "20180427", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "F1020", - "" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ] - ] - ], - "222" - ], - [ - [ - [ - [ - "", - "", - "234", - "1805080AV3648353", - "", - "", - "53:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "234", - "", - "", - "90853", - "HC", - null, - "20180427", - "D8", - "472", - "120", - "UN" - ] - ], - [ - "", - "", - "", - "F251", - "" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "251S00000X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ] - ] - ], - "222" - ], - [ - [ - [ - [ - "", - "", - "20", - "1805080AV3648355", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1:2", - "20", - "", - "", - "H0003", - "HC", - null, - "20180427", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "F1020", - "" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER JAMES ", - "1112223338", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ] - ] - ], - "222" - ] - ] - ] - ], - "dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/CHPW_Claimdata.txt" - ], - [ - "ZZ", - [ - [ - "OO000011111", - "000000005D", - "20180710:214339", - "222", - [ - [ - [ - [ - [ - "", - "", - "1800", - "ABC11111", - "D8", - "", - "22:B:1", - "20180123", - "454" - ], - [ - [ - "1", - "1", - "1800", - "QZ", - "", - "01710", - "HC", - null, - "20180123-20180123", - "RD8", - "472", - "88", - "MJ" - ], - [ - "1", - "1", - "984", - "AA,P3", - "", - "00731", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "24", - "MJ" - ], - [ - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "G5621", - "" - ], - [ - "FAKE CITY", - "19650101", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS3", - "18", - "908021112" - ], - [ - "2", - "ABCMMPIO", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "123456789", - "EI", - "Organization", - "YYYY HEALTHCARE ABC", - "1222222220", - "", - "NY", - "123 ADDRESS1", - "", - "908021112" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCD STUVW ", - "1234567890", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334460", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "TUVWX MNOPQR ", - "1234567891", - "PE", - "", - "", - "367500000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "19650101", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS3", - "18", - "908021112" - ] - ], - [ - [ - "", - "", - "984", - "ABC111112", - "D8", - "", - "22:B:1", - "20180713", - "454" - ], - [ - [ - "1", - "1", - "984", - "AA,P3", - "", - "00731", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "24", - "MJ" - ], - [ - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "K219", - "" - ], - [ - "FAKE CITY", - "19760101", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS7", - "18", - "908021117" - ], - [ - "2", - "ABCMMPIO", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "543211234", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1222222223", - "", - "CA", - "123 ADDRESS5", - "", - "908021115" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFG OPQRST A", - "1122334460", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334450", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVW KLMNOP H", - "1122334461", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "19760101", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS7", - "18", - "908021117" - ] - ], - [ - [ - "", - "", - "1353", - "ABC111113", - "D8", - "", - "22:B:1", - "20180713", - "454" - ], - [ - [ - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "K4090", - "" - ], - [ - "FAKE CITY", - "20180409", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS11", - "18", - "908021111" - ], - [ - "2", - "YTHF281123456", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "931013923", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1477527786", - "", - "CA", - "123 ADDRESS9", - "", - "908021119" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFGH OPQRSTU A", - "1122334456", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334458", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVWX KLMNOPQ H", - "1122334457", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "20180409", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS11", - "18", - "908021111" - ] - ], - [ - [ - "", - "", - "1968", - "ABC111114", - "D8", - "", - "22:B:1", - "20180713", - "454" - ], - [ - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "Q423", - "" - ], - [ - "FAKE CITY", - "20180504", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS13", - "18", - "908021113" - ], - [ - "2", - "YTHF281123456", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "931013923", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1477527786", - "", - "CA", - "123 ADDRESS9", - "", - "908021119" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFGHI OPQRSTUV A", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334457", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVWXY KLMNOPQR H", - "1122334456", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "20180504", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS13", - "18", - "908021113" - ] - ] - ], - "222" - ] - ] - ] - ], - "dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/Molina_Mock_UP_837P_File.txt" - ], - [ - "ZZ", - [ - [ - "421406317", - "133052274", - "20180807:12022761", - "223", - [ - [ - [ - [ - [ - "1", - "1", - "17166.7", - "TD-R192ICE00087", - "TM", - "01", - "11:A:1", - "0900", - "096" - ], - [ - [ - "1", - null, - "9148", - "", - null, - "", - "", - "0124", - "20180628-20180702", - "RD8", - "472", - "4", - "UN" - ], - [ - "2", - null, - "48.1", - "", - null, - "", - "", - "0250", - "20180628-20180702", - "RD8", - "472", - "28", - "UN" - ], - [ - "3", - null, - "133", - "", - null, - "", - "", - "0260", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "4", - null, - "32.9", - "", - null, - "", - "", - "0300", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "5", - null, - "798.5", - "", - null, - "", - "", - "0301", - "20180628-20180702", - "RD8", - "472", - "4", - "UN" - ], - [ - "6", - null, - "200.6", - "", - null, - "", - "", - "0305", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ], - [ - "7", - null, - "175", - "", - null, - "", - "", - "0306", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "8", - null, - "113.6", - "", - null, - "", - "", - "0307", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ], - [ - "9", - null, - "6517", - "", - null, - "", - "", - "0351", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ] - ], - [ - "F39", - "", - "F1319", - "F39", - "" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ], - [ - "2", - "421406317", - "PI", - "CENTENE" - ], - [ - [ - "", - "TD-R192ICE00087", - "D9", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "WOODSTOCK", - "999999999", - "EI", - "Organization", - "Test Provider", - "9999999999", - "", - "IL", - "123 MAIN STREET", - "", - "600980000" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - null, - null, - null - ], - [ - "CENTENE CORP", - "Organization" - ], - [ - "TALEND", - "SAMBIT", - [ - [ - "TE", - "3143202264" - ], - [ - "EX", - "8099264" - ] - ], - "Organization" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ] - ] - ], - "223" - ] - ] - ] - ], - "dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/CC_837I_EDI.txt" - ], - [ - "ZZ", - [ - [ - "XXXXX", - "XXXXXXX", - "20170617:1741", - "222", - [ - [ - [ - [ - [ - "", - "", - "140", - "1000A", - "", - "", - "19:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ], - [ - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "I10", - "" - ], - [ - "CHICAGO", - "19570111", - "D8", - "M", - "BLOGGS JOE ", - "", - "IL", - "1 SOME BLVD", - "18", - "606129998" - ], - [ - "2", - "12345", - "PI", - "PAYER" - ], - [ - null, - [ - "CHICAGO", - "999999999", - "EI", - "Organization", - "BILLING PROVIDER", - "1122334455", - "", - "IL", - "1234 SOME ROAD", - "", - "606739999" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "RECEIVER", - "Organization" - ], - [ - "SUBMITTER", - "BOB SMITH", - [ - [ - "TE", - "4805551212" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "CHICAGO", - "19570111", - "D8", - "M", - "BLOGGS JOE ", - "", - "IL", - "1 SOME BLVD", - "18", - "606129998" - ] - ], - [ - [ - "", - "", - "140", - "1001A", - "", - "", - "19:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "I10", - "" - ], - [ - "CHICAGO", - "19700601", - "D8", - "M", - "BLOGGS FRED ", - "", - "IL", - "1 ANOTHER STR", - "18", - "606129998" - ], - [ - "2", - "12345", - "PI", - "PAYER" - ], - [ - null, - [ - "CHICAGO", - "999999999", - "EI", - "Organization", - "BILLING PROVIDER", - "1122334455", - "", - "IL", - "1234 SOME ROAD", - "", - "606739999" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "RECEIVER", - "Organization" - ], - [ - "SUBMITTER", - "BOB SMITH", - [ - [ - "TE", - "4805551212" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "CHICAGO", - "19700601", - "D8", - "M", - "BLOGGS FRED ", - "", - "IL", - "1 ANOTHER STR", - "18", - "606129998" - ] - ] - ], - "222" - ] - ] - ] - ], - "dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/837p.txt" - ], - [ - "30", - [ - [ - "421406317", - "030240928", - "20180807:12022605", - "222", - [ - [ - [ - [ - [ - "", - "", - "600", - "TD-R192ICE00094", - "D8", - "", - "11:B:1", - "20180625", - "435" - ], - [ - [ - "1", - "1:2", - "300", - "HO,HQ", - "11", - "H0004", - "HC", - null, - "20180625-20180625", - "RD8", - "472", - "12", - "UN" - ], - [ - "2", - "1:2", - "300", - "HO,HQ", - "11", - "H0004", - "HC", - null, - "20180629-20180629", - "RD8", - "472", - "12", - "UN" - ] - ], - [ - "", - "", - "", - "F341", - "" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ], - [ - "2", - "421406317", - "PI", - "CENTENE" - ], - [ - null, - [ - "WOODSTOCK", - "999999999", - "EI", - "Organization", - "Test Provider", - "9999999999", - "", - "IL", - "123 MAIN STREET", - "", - "600980000" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "Centene Corporation", - "Organization" - ], - [ - "Centene Corporation", - "Sambit", - [ - [ - "TE", - "3143202264" - ], - [ - "EX", - "8099264" - ] - ], - "Organization" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ] - ] - ], - "222" - ] - ] - ] - ], - "dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/CC_837P_EDI.txt" - ] - ], - "datasetInfos": [], - "dbfsResultPath": null, - "isJsonSchema": true, - "metadata": {}, - "overflow": false, - "plotOptions": { - "customPlotOptions": {}, - "displayType": "table", - "pivotAggregation": null, - "pivotColumns": null, - "xColumns": null, - "yColumns": null - }, - "removedWidgets": [], - "schema": [ - { - "metadata": "{}", - "name": "EDI.sender_tax_id", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "FuncitonalGroup", - "type": "{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"FunctionalGroup.receiver\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"FunctionalGroup.sender\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"FunctionalGroup.transaction_datetime\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"FunctionalGroup.transaction_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"Transactions\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"Claims\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"claim_header\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"admission_src_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"admission_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_amount\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"date_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"discharge_status_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"facility_type_code\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_date\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_time\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_lines\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"claim_line_number\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dg_cd_pntr\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"line_chrg_amt\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"modifier_cds\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"place_of_service\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"prcdr_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"prcdr_cd_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"revenue_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_date\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_date_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_time\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"units\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"units_measurement\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"diagnosis\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"admitting_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"external_injury_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"other_dx_cds\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"principal_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"reason_visit_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"patient\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"gender_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"patient_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"subscriber_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"payer\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"business_entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"payer_identifier\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"payer_identifier_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"payer_name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"providers\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"attending\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"billing\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"facility\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"operating\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"other\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"referring\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"service_facility\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"servicing\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"receiver\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"submitter\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"sbmtter_contact_name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"sbmtter_contacts\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"array\",\"elementType\":\"string\",\"containsNull\":true},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"subscriber\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"gender_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"patient_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"subscriber_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Transaction.transaction_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true}" - }, - { - "metadata": "{}", - "name": "filename", - "type": "\"string\"" - } - ], - "type": "table" - } - }, - "output_type": "display_data" - } - ], - "source": [ - "display(edi_data)" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "inputWidgets": {}, - "nuid": "d020959d-5e02-48ec-a19d-2cb2ec330f13", - "showTitle": false, - "title": "" - } - }, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/html": [ - "
tax_idFunctionalGroup
ZZList(123456789, CLEARINGHOUSE, 20180508:0833, 222, List(List(List(List(List(, , 20, 1805080AV3648339, , , 57:B:1, , ), List(List(1, 1, 20, , , H0003, HC, null, 20180428, D8, 472, 1, UN)), List(, , , F1120, ), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER JAMES , 1112223338, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001))), 222), List(List(List(List(, , 50.1, 1805080AV3648347, , , 57:B:1, , ), List(List(1, 1:2, 50.1, HF, , 96153, HC, null, 20180426, D8, 472, 6, UN)), List(, , , F1520, ), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002))), 222), List(List(List(List(, , 11.64, 1805080AV3648340, , , 57:B:1, , ), List(List(1, 1:2, 11.64, HF, , T1017, HC, null, 20180427, D8, 472, 1, UN)), List(, , , F1020, ), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001))), 222), List(List(List(List(, , 234, 1805080AV3648353, , , 53:B:1, , ), List(List(1, 1, 234, , , 90853, HC, null, 20180427, D8, 472, 120, UN)), List(, , , F251, ), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 251S00000X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002))), 222), List(List(List(List(, , 20, 1805080AV3648355, , , 57:B:1, , ), List(List(1, 1:2, 20, , , H0003, HC, null, 20180427, D8, 472, 1, UN)), List(, , , F1020, ), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER JAMES , 1112223338, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001))), 222)))
ZZList(OO000011111, 000000005D, 20180710:214339, 222, List(List(List(List(List(, , 1800, ABC11111, D8, , 22:B:1, 20180123, 454), List(List(1, 1, 1800, QZ, , 01710, HC, null, 20180123-20180123, RD8, 472, 88, MJ), List(1, 1, 984, AA,P3, , 00731, HC, null, 20180713-20180713, RD8, 472, 24, MJ), List(1, 1, 1353, AA, , 00840, HC, null, 20180713-20180713, RD8, 472, 62, MJ), List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , G5621, ), List(FAKE CITY, 19650101, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS3, 18, 908021112), List(2, ABCMMPIO, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 123456789, EI, Organization, YYYY HEALTHCARE ABC, 1222222220, , NY, 123 ADDRESS1, , 908021112), null, null, null, List(, , , Individual, ABCD STUVW , 1234567890, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334460, , , , , ), List(, , , Individual, TUVWX MNOPQR , 1234567891, PE, , , 367500000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 19650101, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS3, 18, 908021112)), List(List(, , 984, ABC111112, D8, , 22:B:1, 20180713, 454), List(List(1, 1, 984, AA,P3, , 00731, HC, null, 20180713-20180713, RD8, 472, 24, MJ), List(1, 1, 1353, AA, , 00840, HC, null, 20180713-20180713, RD8, 472, 62, MJ), List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , K219, ), List(FAKE CITY, 19760101, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS7, 18, 908021117), List(2, ABCMMPIO, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 543211234, EI, Organization, ABCDE EFGHIJ GROUP PC, 1222222223, , CA, 123 ADDRESS5, , 908021115), null, null, null, List(, , , Individual, ABCDEFG OPQRST A, 1122334460, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334450, , , , , ), List(, , , Individual, STUVW KLMNOP H, 1122334461, PE, , , 207L00000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 19760101, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS7, 18, 908021117)), List(List(, , 1353, ABC111113, D8, , 22:B:1, 20180713, 454), List(List(1, 1, 1353, AA, , 00840, HC, null, 20180713-20180713, RD8, 472, 62, MJ), List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , K4090, ), List(FAKE CITY, 20180409, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS11, 18, 908021111), List(2, YTHF281123456, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 931013923, EI, Organization, ABCDE EFGHIJ GROUP PC, 1477527786, , CA, 123 ADDRESS9, , 908021119), null, null, null, List(, , , Individual, ABCDEFGH OPQRSTU A, 1122334456, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334458, , , , , ), List(, , , Individual, STUVWX KLMNOPQ H, 1122334457, PE, , , 207L00000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 20180409, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS11, 18, 908021111)), List(List(, , 1968, ABC111114, D8, , 22:B:1, 20180713, 454), List(List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , Q423, ), List(FAKE CITY, 20180504, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS13, 18, 908021113), List(2, YTHF281123456, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 931013923, EI, Organization, ABCDE EFGHIJ GROUP PC, 1477527786, , CA, 123 ADDRESS9, , 908021119), null, null, null, List(, , , Individual, ABCDEFGHI OPQRSTUV A, 1122334455, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334457, , , , , ), List(, , , Individual, STUVWXY KLMNOPQR H, 1122334456, PE, , , 207L00000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 20180504, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS13, 18, 908021113))), 222)))
ZZList(421406317, 133052274, 20180807:12022761, 223, List(List(List(List(List(1, 1, 17166.7, TD-R192ICE00087, TM, 01, 11:A:1, 0900, 096), List(List(1, null, 9148, , null, , , 0124, 20180628-20180702, RD8, 472, 4, UN), List(2, null, 48.1, , null, , , 0250, 20180628-20180702, RD8, 472, 28, UN), List(3, null, 133, , null, , , 0260, 20180628-20180702, RD8, 472, 1, UN), List(4, null, 32.9, , null, , , 0300, 20180628-20180702, RD8, 472, 1, UN), List(5, null, 798.5, , null, , , 0301, 20180628-20180702, RD8, 472, 4, UN), List(6, null, 200.6, , null, , , 0305, 20180628-20180702, RD8, 472, 2, UN), List(7, null, 175, , null, , , 0306, 20180628-20180702, RD8, 472, 1, UN), List(8, null, 113.6, , null, , , 0307, 20180628-20180702, RD8, 472, 2, UN), List(9, null, 6517, , null, , , 0351, 20180628-20180702, RD8, 472, 2, UN)), List(F39, , F1319, F39, ), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001), List(2, 421406317, PI, CENTENE), List(List(, TD-R192ICE00087, D9, Individual, , , , , , , ), List(WOODSTOCK, 999999999, EI, Organization, Test Provider, 9999999999, , IL, 123 MAIN STREET, , 600980000), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), null, null, null), List(CENTENE CORP, Organization), List(TALEND, SAMBIT, List(List(TE, 3143202264), List(EX, 8099264)), Organization), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001))), 223)))
ZZList(XXXXX, XXXXXXX, 20170617:1741, 222, List(List(List(List(List(, , 140, 1000A, , , 19:B:1, , ), List(List(1, 1, 140, , , 99213, HC, null, 20151124, D8, 472, 1, UN), List(1, 1, 140, , , 99213, HC, null, 20151124, D8, 472, 1, UN)), List(, , , I10, ), List(CHICAGO, 19570111, D8, M, BLOGGS JOE , , IL, 1 SOME BLVD, 18, 606129998), List(2, 12345, PI, PAYER), List(null, List(CHICAGO, 999999999, EI, Organization, BILLING PROVIDER, 1122334455, , IL, 1234 SOME ROAD, , 606739999), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , )), List(RECEIVER, Organization), List(SUBMITTER, BOB SMITH, List(List(TE, 4805551212), List(, )), Organization), List(CHICAGO, 19570111, D8, M, BLOGGS JOE , , IL, 1 SOME BLVD, 18, 606129998)), List(List(, , 140, 1001A, , , 19:B:1, , ), List(List(1, 1, 140, , , 99213, HC, null, 20151124, D8, 472, 1, UN)), List(, , , I10, ), List(CHICAGO, 19700601, D8, M, BLOGGS FRED , , IL, 1 ANOTHER STR, 18, 606129998), List(2, 12345, PI, PAYER), List(null, List(CHICAGO, 999999999, EI, Organization, BILLING PROVIDER, 1122334455, , IL, 1234 SOME ROAD, , 606739999), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , )), List(RECEIVER, Organization), List(SUBMITTER, BOB SMITH, List(List(TE, 4805551212), List(, )), Organization), List(CHICAGO, 19700601, D8, M, BLOGGS FRED , , IL, 1 ANOTHER STR, 18, 606129998))), 222)))
30List(421406317, 030240928, 20180807:12022605, 222, List(List(List(List(List(, , 600, TD-R192ICE00094, D8, , 11:B:1, 20180625, 435), List(List(1, 1:2, 300, HO,HQ, 11, H0004, HC, null, 20180625-20180625, RD8, 472, 12, UN), List(2, 1:2, 300, HO,HQ, 11, H0004, HC, null, 20180629-20180629, RD8, 472, 12, UN)), List(, , , F341, ), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001), List(2, 421406317, PI, CENTENE), List(null, List(WOODSTOCK, 999999999, EI, Organization, Test Provider, 9999999999, , IL, 123 MAIN STREET, , 600980000), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , )), List(Centene Corporation, Organization), List(Centene Corporation, Sambit, List(List(TE, 3143202264), List(EX, 8099264)), Organization), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001))), 222)))
" - ] - }, - "metadata": { - "application/vnd.databricks.v1+output": { - "addedWidgets": {}, - "aggData": [], - "aggError": "", - "aggOverflow": false, - "aggSchema": [], - "aggSeriesLimitReached": false, - "aggType": "", - "arguments": {}, - "columnCustomDisplayInfos": {}, - "data": [ - [ - "ZZ", - [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - [ - [ - [ - "", - "", - "20", - "1805080AV3648339", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "20", - "", - "", - "H0003", - "HC", - null, - "20180428", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "F1120", - "" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER JAMES ", - "1112223338", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ] - ] - ], - "222" - ], - [ - [ - [ - [ - "", - "", - "50.1", - "1805080AV3648347", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1:2", - "50.1", - "HF", - "", - "96153", - "HC", - null, - "20180426", - "D8", - "472", - "6", - "UN" - ] - ], - [ - "", - "", - "", - "F1520", - "" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ] - ] - ], - "222" - ], - [ - [ - [ - [ - "", - "", - "11.64", - "1805080AV3648340", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1:2", - "11.64", - "HF", - "", - "T1017", - "HC", - null, - "20180427", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "F1020", - "" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ] - ] - ], - "222" - ], - [ - [ - [ - [ - "", - "", - "234", - "1805080AV3648353", - "", - "", - "53:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "234", - "", - "", - "90853", - "HC", - null, - "20180427", - "D8", - "472", - "120", - "UN" - ] - ], - [ - "", - "", - "", - "F251", - "" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "251S00000X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ] - ] - ], - "222" - ], - [ - [ - [ - [ - "", - "", - "20", - "1805080AV3648355", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1:2", - "20", - "", - "", - "H0003", - "HC", - null, - "20180427", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "F1020", - "" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER JAMES ", - "1112223338", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ] - ] - ], - "222" - ] - ] - ] - ], - [ - "ZZ", - [ - "OO000011111", - "000000005D", - "20180710:214339", - "222", - [ - [ - [ - [ - [ - "", - "", - "1800", - "ABC11111", - "D8", - "", - "22:B:1", - "20180123", - "454" - ], - [ - [ - "1", - "1", - "1800", - "QZ", - "", - "01710", - "HC", - null, - "20180123-20180123", - "RD8", - "472", - "88", - "MJ" - ], - [ - "1", - "1", - "984", - "AA,P3", - "", - "00731", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "24", - "MJ" - ], - [ - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "G5621", - "" - ], - [ - "FAKE CITY", - "19650101", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS3", - "18", - "908021112" - ], - [ - "2", - "ABCMMPIO", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "123456789", - "EI", - "Organization", - "YYYY HEALTHCARE ABC", - "1222222220", - "", - "NY", - "123 ADDRESS1", - "", - "908021112" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCD STUVW ", - "1234567890", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334460", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "TUVWX MNOPQR ", - "1234567891", - "PE", - "", - "", - "367500000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "19650101", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS3", - "18", - "908021112" - ] - ], - [ - [ - "", - "", - "984", - "ABC111112", - "D8", - "", - "22:B:1", - "20180713", - "454" - ], - [ - [ - "1", - "1", - "984", - "AA,P3", - "", - "00731", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "24", - "MJ" - ], - [ - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "K219", - "" - ], - [ - "FAKE CITY", - "19760101", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS7", - "18", - "908021117" - ], - [ - "2", - "ABCMMPIO", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "543211234", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1222222223", - "", - "CA", - "123 ADDRESS5", - "", - "908021115" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFG OPQRST A", - "1122334460", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334450", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVW KLMNOP H", - "1122334461", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "19760101", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS7", - "18", - "908021117" - ] - ], - [ - [ - "", - "", - "1353", - "ABC111113", - "D8", - "", - "22:B:1", - "20180713", - "454" - ], - [ - [ - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "K4090", - "" - ], - [ - "FAKE CITY", - "20180409", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS11", - "18", - "908021111" - ], - [ - "2", - "YTHF281123456", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "931013923", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1477527786", - "", - "CA", - "123 ADDRESS9", - "", - "908021119" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFGH OPQRSTU A", - "1122334456", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334458", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVWX KLMNOPQ H", - "1122334457", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "20180409", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS11", - "18", - "908021111" - ] - ], - [ - [ - "", - "", - "1968", - "ABC111114", - "D8", - "", - "22:B:1", - "20180713", - "454" - ], - [ - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "Q423", - "" - ], - [ - "FAKE CITY", - "20180504", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS13", - "18", - "908021113" - ], - [ - "2", - "YTHF281123456", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "931013923", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1477527786", - "", - "CA", - "123 ADDRESS9", - "", - "908021119" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFGHI OPQRSTUV A", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334457", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVWXY KLMNOPQR H", - "1122334456", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "20180504", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS13", - "18", - "908021113" - ] - ] - ], - "222" - ] - ] - ] - ], - [ - "ZZ", - [ - "421406317", - "133052274", - "20180807:12022761", - "223", - [ - [ - [ - [ - [ - "1", - "1", - "17166.7", - "TD-R192ICE00087", - "TM", - "01", - "11:A:1", - "0900", - "096" - ], - [ - [ - "1", - null, - "9148", - "", - null, - "", - "", - "0124", - "20180628-20180702", - "RD8", - "472", - "4", - "UN" - ], - [ - "2", - null, - "48.1", - "", - null, - "", - "", - "0250", - "20180628-20180702", - "RD8", - "472", - "28", - "UN" - ], - [ - "3", - null, - "133", - "", - null, - "", - "", - "0260", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "4", - null, - "32.9", - "", - null, - "", - "", - "0300", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "5", - null, - "798.5", - "", - null, - "", - "", - "0301", - "20180628-20180702", - "RD8", - "472", - "4", - "UN" - ], - [ - "6", - null, - "200.6", - "", - null, - "", - "", - "0305", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ], - [ - "7", - null, - "175", - "", - null, - "", - "", - "0306", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "8", - null, - "113.6", - "", - null, - "", - "", - "0307", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ], - [ - "9", - null, - "6517", - "", - null, - "", - "", - "0351", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ] - ], - [ - "F39", - "", - "F1319", - "F39", - "" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ], - [ - "2", - "421406317", - "PI", - "CENTENE" - ], - [ - [ - "", - "TD-R192ICE00087", - "D9", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "WOODSTOCK", - "999999999", - "EI", - "Organization", - "Test Provider", - "9999999999", - "", - "IL", - "123 MAIN STREET", - "", - "600980000" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - null, - null, - null - ], - [ - "CENTENE CORP", - "Organization" - ], - [ - "TALEND", - "SAMBIT", - [ - [ - "TE", - "3143202264" - ], - [ - "EX", - "8099264" - ] - ], - "Organization" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ] - ] - ], - "223" - ] - ] - ] - ], - [ - "ZZ", - [ - "XXXXX", - "XXXXXXX", - "20170617:1741", - "222", - [ - [ - [ - [ - [ - "", - "", - "140", - "1000A", - "", - "", - "19:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ], - [ - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "I10", - "" - ], - [ - "CHICAGO", - "19570111", - "D8", - "M", - "BLOGGS JOE ", - "", - "IL", - "1 SOME BLVD", - "18", - "606129998" - ], - [ - "2", - "12345", - "PI", - "PAYER" - ], - [ - null, - [ - "CHICAGO", - "999999999", - "EI", - "Organization", - "BILLING PROVIDER", - "1122334455", - "", - "IL", - "1234 SOME ROAD", - "", - "606739999" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "RECEIVER", - "Organization" - ], - [ - "SUBMITTER", - "BOB SMITH", - [ - [ - "TE", - "4805551212" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "CHICAGO", - "19570111", - "D8", - "M", - "BLOGGS JOE ", - "", - "IL", - "1 SOME BLVD", - "18", - "606129998" - ] - ], - [ - [ - "", - "", - "140", - "1001A", - "", - "", - "19:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "I10", - "" - ], - [ - "CHICAGO", - "19700601", - "D8", - "M", - "BLOGGS FRED ", - "", - "IL", - "1 ANOTHER STR", - "18", - "606129998" - ], - [ - "2", - "12345", - "PI", - "PAYER" - ], - [ - null, - [ - "CHICAGO", - "999999999", - "EI", - "Organization", - "BILLING PROVIDER", - "1122334455", - "", - "IL", - "1234 SOME ROAD", - "", - "606739999" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "RECEIVER", - "Organization" - ], - [ - "SUBMITTER", - "BOB SMITH", - [ - [ - "TE", - "4805551212" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "CHICAGO", - "19700601", - "D8", - "M", - "BLOGGS FRED ", - "", - "IL", - "1 ANOTHER STR", - "18", - "606129998" - ] - ] - ], - "222" - ] - ] - ] - ], - [ - "30", - [ - "421406317", - "030240928", - "20180807:12022605", - "222", - [ - [ - [ - [ - [ - "", - "", - "600", - "TD-R192ICE00094", - "D8", - "", - "11:B:1", - "20180625", - "435" - ], - [ - [ - "1", - "1:2", - "300", - "HO,HQ", - "11", - "H0004", - "HC", - null, - "20180625-20180625", - "RD8", - "472", - "12", - "UN" - ], - [ - "2", - "1:2", - "300", - "HO,HQ", - "11", - "H0004", - "HC", - null, - "20180629-20180629", - "RD8", - "472", - "12", - "UN" - ] - ], - [ - "", - "", - "", - "F341", - "" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ], - [ - "2", - "421406317", - "PI", - "CENTENE" - ], - [ - null, - [ - "WOODSTOCK", - "999999999", - "EI", - "Organization", - "Test Provider", - "9999999999", - "", - "IL", - "123 MAIN STREET", - "", - "600980000" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "Centene Corporation", - "Organization" - ], - [ - "Centene Corporation", - "Sambit", - [ - [ - "TE", - "3143202264" - ], - [ - "EX", - "8099264" - ] - ], - "Organization" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ] - ] - ], - "222" - ] - ] - ] - ] - ], - "datasetInfos": [], - "dbfsResultPath": null, - "isJsonSchema": true, - "metadata": {}, - "overflow": false, - "plotOptions": { - "customPlotOptions": {}, - "displayType": "table", - "pivotAggregation": null, - "pivotColumns": null, - "xColumns": null, - "yColumns": null - }, - "removedWidgets": [], - "schema": [ - { - "metadata": "{}", - "name": "tax_id", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "FunctionalGroup", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"FunctionalGroup.receiver\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"FunctionalGroup.sender\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"FunctionalGroup.transaction_datetime\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"FunctionalGroup.transaction_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"Transactions\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"Claims\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"claim_header\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"admission_src_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"admission_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_amount\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"date_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"discharge_status_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"facility_type_code\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_date\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_time\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_lines\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"claim_line_number\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dg_cd_pntr\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"line_chrg_amt\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"modifier_cds\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"place_of_service\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"prcdr_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"prcdr_cd_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"revenue_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_date\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_date_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_time\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"units\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"units_measurement\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"diagnosis\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"admitting_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"external_injury_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"other_dx_cds\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"principal_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"reason_visit_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"patient\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"gender_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"patient_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"subscriber_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"payer\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"business_entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"payer_identifier\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"payer_identifier_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"payer_name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"providers\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"attending\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"billing\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"facility\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"operating\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"other\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"referring\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"service_facility\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"servicing\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"receiver\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"submitter\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"sbmtter_contact_name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"sbmtter_contacts\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"array\",\"elementType\":\"string\",\"containsNull\":true},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"subscriber\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"gender_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"patient_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"subscriber_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Transaction.transaction_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]}" - } - ], - "type": "table" - } - }, - "output_type": "display_data" - } - ], - "source": [ - "from pyspark.sql.functions import explode, col\n", - "from pyspark.sql.types import StructType, ArrayType\n", - "\n", - "# Extract FunctionalGroups and Transactions\n", - "functional_groups_df = edi_data.select(\n", - " col(\"`EDI.sender_tax_id`\").alias(\"tax_id\"),\n", - " explode(col(\"FuncitonalGroup\")).alias(\"FunctionalGroup\"))\n", - "\n", - "display(functional_groups_df)" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "inputWidgets": {}, - "nuid": "73764ca9-3d9b-4ce9-9557-02bee86be8f0", - "showTitle": false, - "title": "" - } - }, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/html": [ - "
tax_idreceiversendertransaction_datetimetransaction_typeTransaction
ZZ123456789CLEARINGHOUSE20180508:0833222List(List(List(List(, , 20, 1805080AV3648339, , , 57:B:1, , ), List(List(1, 1, 20, , , H0003, HC, null, 20180428, D8, 472, 1, UN)), List(, , , F1120, ), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER JAMES , 1112223338, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001))), 222)
ZZ123456789CLEARINGHOUSE20180508:0833222List(List(List(List(, , 50.1, 1805080AV3648347, , , 57:B:1, , ), List(List(1, 1:2, 50.1, HF, , 96153, HC, null, 20180426, D8, 472, 6, UN)), List(, , , F1520, ), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002))), 222)
ZZ123456789CLEARINGHOUSE20180508:0833222List(List(List(List(, , 11.64, 1805080AV3648340, , , 57:B:1, , ), List(List(1, 1:2, 11.64, HF, , T1017, HC, null, 20180427, D8, 472, 1, UN)), List(, , , F1020, ), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001))), 222)
ZZ123456789CLEARINGHOUSE20180508:0833222List(List(List(List(, , 234, 1805080AV3648353, , , 53:B:1, , ), List(List(1, 1, 234, , , 90853, HC, null, 20180427, D8, 472, 120, UN)), List(, , , F251, ), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 251S00000X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002))), 222)
ZZ123456789CLEARINGHOUSE20180508:0833222List(List(List(List(, , 20, 1805080AV3648355, , , 57:B:1, , ), List(List(1, 1:2, 20, , , H0003, HC, null, 20180427, D8, 472, 1, UN)), List(, , , F1020, ), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER JAMES , 1112223338, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001))), 222)
ZZOO000011111000000005D20180710:214339222List(List(List(List(, , 1800, ABC11111, D8, , 22:B:1, 20180123, 454), List(List(1, 1, 1800, QZ, , 01710, HC, null, 20180123-20180123, RD8, 472, 88, MJ), List(1, 1, 984, AA,P3, , 00731, HC, null, 20180713-20180713, RD8, 472, 24, MJ), List(1, 1, 1353, AA, , 00840, HC, null, 20180713-20180713, RD8, 472, 62, MJ), List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , G5621, ), List(FAKE CITY, 19650101, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS3, 18, 908021112), List(2, ABCMMPIO, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 123456789, EI, Organization, YYYY HEALTHCARE ABC, 1222222220, , NY, 123 ADDRESS1, , 908021112), null, null, null, List(, , , Individual, ABCD STUVW , 1234567890, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334460, , , , , ), List(, , , Individual, TUVWX MNOPQR , 1234567891, PE, , , 367500000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 19650101, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS3, 18, 908021112)), List(List(, , 984, ABC111112, D8, , 22:B:1, 20180713, 454), List(List(1, 1, 984, AA,P3, , 00731, HC, null, 20180713-20180713, RD8, 472, 24, MJ), List(1, 1, 1353, AA, , 00840, HC, null, 20180713-20180713, RD8, 472, 62, MJ), List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , K219, ), List(FAKE CITY, 19760101, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS7, 18, 908021117), List(2, ABCMMPIO, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 543211234, EI, Organization, ABCDE EFGHIJ GROUP PC, 1222222223, , CA, 123 ADDRESS5, , 908021115), null, null, null, List(, , , Individual, ABCDEFG OPQRST A, 1122334460, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334450, , , , , ), List(, , , Individual, STUVW KLMNOP H, 1122334461, PE, , , 207L00000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 19760101, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS7, 18, 908021117)), List(List(, , 1353, ABC111113, D8, , 22:B:1, 20180713, 454), List(List(1, 1, 1353, AA, , 00840, HC, null, 20180713-20180713, RD8, 472, 62, MJ), List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , K4090, ), List(FAKE CITY, 20180409, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS11, 18, 908021111), List(2, YTHF281123456, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 931013923, EI, Organization, ABCDE EFGHIJ GROUP PC, 1477527786, , CA, 123 ADDRESS9, , 908021119), null, null, null, List(, , , Individual, ABCDEFGH OPQRSTU A, 1122334456, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334458, , , , , ), List(, , , Individual, STUVWX KLMNOPQ H, 1122334457, PE, , , 207L00000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 20180409, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS11, 18, 908021111)), List(List(, , 1968, ABC111114, D8, , 22:B:1, 20180713, 454), List(List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , Q423, ), List(FAKE CITY, 20180504, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS13, 18, 908021113), List(2, YTHF281123456, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 931013923, EI, Organization, ABCDE EFGHIJ GROUP PC, 1477527786, , CA, 123 ADDRESS9, , 908021119), null, null, null, List(, , , Individual, ABCDEFGHI OPQRSTUV A, 1122334455, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334457, , , , , ), List(, , , Individual, STUVWXY KLMNOPQR H, 1122334456, PE, , , 207L00000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 20180504, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS13, 18, 908021113))), 222)
ZZ42140631713305227420180807:12022761223List(List(List(List(1, 1, 17166.7, TD-R192ICE00087, TM, 01, 11:A:1, 0900, 096), List(List(1, null, 9148, , null, , , 0124, 20180628-20180702, RD8, 472, 4, UN), List(2, null, 48.1, , null, , , 0250, 20180628-20180702, RD8, 472, 28, UN), List(3, null, 133, , null, , , 0260, 20180628-20180702, RD8, 472, 1, UN), List(4, null, 32.9, , null, , , 0300, 20180628-20180702, RD8, 472, 1, UN), List(5, null, 798.5, , null, , , 0301, 20180628-20180702, RD8, 472, 4, UN), List(6, null, 200.6, , null, , , 0305, 20180628-20180702, RD8, 472, 2, UN), List(7, null, 175, , null, , , 0306, 20180628-20180702, RD8, 472, 1, UN), List(8, null, 113.6, , null, , , 0307, 20180628-20180702, RD8, 472, 2, UN), List(9, null, 6517, , null, , , 0351, 20180628-20180702, RD8, 472, 2, UN)), List(F39, , F1319, F39, ), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001), List(2, 421406317, PI, CENTENE), List(List(, TD-R192ICE00087, D9, Individual, , , , , , , ), List(WOODSTOCK, 999999999, EI, Organization, Test Provider, 9999999999, , IL, 123 MAIN STREET, , 600980000), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), null, null, null), List(CENTENE CORP, Organization), List(TALEND, SAMBIT, List(List(TE, 3143202264), List(EX, 8099264)), Organization), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001))), 223)
ZZXXXXXXXXXXXX20170617:1741222List(List(List(List(, , 140, 1000A, , , 19:B:1, , ), List(List(1, 1, 140, , , 99213, HC, null, 20151124, D8, 472, 1, UN), List(1, 1, 140, , , 99213, HC, null, 20151124, D8, 472, 1, UN)), List(, , , I10, ), List(CHICAGO, 19570111, D8, M, BLOGGS JOE , , IL, 1 SOME BLVD, 18, 606129998), List(2, 12345, PI, PAYER), List(null, List(CHICAGO, 999999999, EI, Organization, BILLING PROVIDER, 1122334455, , IL, 1234 SOME ROAD, , 606739999), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , )), List(RECEIVER, Organization), List(SUBMITTER, BOB SMITH, List(List(TE, 4805551212), List(, )), Organization), List(CHICAGO, 19570111, D8, M, BLOGGS JOE , , IL, 1 SOME BLVD, 18, 606129998)), List(List(, , 140, 1001A, , , 19:B:1, , ), List(List(1, 1, 140, , , 99213, HC, null, 20151124, D8, 472, 1, UN)), List(, , , I10, ), List(CHICAGO, 19700601, D8, M, BLOGGS FRED , , IL, 1 ANOTHER STR, 18, 606129998), List(2, 12345, PI, PAYER), List(null, List(CHICAGO, 999999999, EI, Organization, BILLING PROVIDER, 1122334455, , IL, 1234 SOME ROAD, , 606739999), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , )), List(RECEIVER, Organization), List(SUBMITTER, BOB SMITH, List(List(TE, 4805551212), List(, )), Organization), List(CHICAGO, 19700601, D8, M, BLOGGS FRED , , IL, 1 ANOTHER STR, 18, 606129998))), 222)
3042140631703024092820180807:12022605222List(List(List(List(, , 600, TD-R192ICE00094, D8, , 11:B:1, 20180625, 435), List(List(1, 1:2, 300, HO,HQ, 11, H0004, HC, null, 20180625-20180625, RD8, 472, 12, UN), List(2, 1:2, 300, HO,HQ, 11, H0004, HC, null, 20180629-20180629, RD8, 472, 12, UN)), List(, , , F341, ), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001), List(2, 421406317, PI, CENTENE), List(null, List(WOODSTOCK, 999999999, EI, Organization, Test Provider, 9999999999, , IL, 123 MAIN STREET, , 600980000), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , )), List(Centene Corporation, Organization), List(Centene Corporation, Sambit, List(List(TE, 3143202264), List(EX, 8099264)), Organization), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001))), 222)
" - ] - }, - "metadata": { - "application/vnd.databricks.v1+output": { - "addedWidgets": {}, - "aggData": [], - "aggError": "", - "aggOverflow": false, - "aggSchema": [], - "aggSeriesLimitReached": false, - "aggType": "", - "arguments": {}, - "columnCustomDisplayInfos": {}, - "data": [ - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - [ - [ - "", - "", - "20", - "1805080AV3648339", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "20", - "", - "", - "H0003", - "HC", - null, - "20180428", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "F1120", - "" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER JAMES ", - "1112223338", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ] - ] - ], - "222" - ] - ], - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - [ - [ - "", - "", - "50.1", - "1805080AV3648347", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1:2", - "50.1", - "HF", - "", - "96153", - "HC", - null, - "20180426", - "D8", - "472", - "6", - "UN" - ] - ], - [ - "", - "", - "", - "F1520", - "" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ] - ] - ], - "222" - ] - ], - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - [ - [ - "", - "", - "11.64", - "1805080AV3648340", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1:2", - "11.64", - "HF", - "", - "T1017", - "HC", - null, - "20180427", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "F1020", - "" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ] - ] - ], - "222" - ] - ], - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - [ - [ - "", - "", - "234", - "1805080AV3648353", - "", - "", - "53:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "234", - "", - "", - "90853", - "HC", - null, - "20180427", - "D8", - "472", - "120", - "UN" - ] - ], - [ - "", - "", - "", - "F251", - "" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "251S00000X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ] - ] - ], - "222" - ] - ], - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - [ - [ - "", - "", - "20", - "1805080AV3648355", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1:2", - "20", - "", - "", - "H0003", - "HC", - null, - "20180427", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "F1020", - "" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER JAMES ", - "1112223338", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ] - ] - ], - "222" - ] - ], - [ - "ZZ", - "OO000011111", - "000000005D", - "20180710:214339", - "222", - [ - [ - [ - [ - "", - "", - "1800", - "ABC11111", - "D8", - "", - "22:B:1", - "20180123", - "454" - ], - [ - [ - "1", - "1", - "1800", - "QZ", - "", - "01710", - "HC", - null, - "20180123-20180123", - "RD8", - "472", - "88", - "MJ" - ], - [ - "1", - "1", - "984", - "AA,P3", - "", - "00731", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "24", - "MJ" - ], - [ - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "G5621", - "" - ], - [ - "FAKE CITY", - "19650101", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS3", - "18", - "908021112" - ], - [ - "2", - "ABCMMPIO", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "123456789", - "EI", - "Organization", - "YYYY HEALTHCARE ABC", - "1222222220", - "", - "NY", - "123 ADDRESS1", - "", - "908021112" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCD STUVW ", - "1234567890", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334460", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "TUVWX MNOPQR ", - "1234567891", - "PE", - "", - "", - "367500000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "19650101", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS3", - "18", - "908021112" - ] - ], - [ - [ - "", - "", - "984", - "ABC111112", - "D8", - "", - "22:B:1", - "20180713", - "454" - ], - [ - [ - "1", - "1", - "984", - "AA,P3", - "", - "00731", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "24", - "MJ" - ], - [ - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "K219", - "" - ], - [ - "FAKE CITY", - "19760101", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS7", - "18", - "908021117" - ], - [ - "2", - "ABCMMPIO", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "543211234", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1222222223", - "", - "CA", - "123 ADDRESS5", - "", - "908021115" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFG OPQRST A", - "1122334460", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334450", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVW KLMNOP H", - "1122334461", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "19760101", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS7", - "18", - "908021117" - ] - ], - [ - [ - "", - "", - "1353", - "ABC111113", - "D8", - "", - "22:B:1", - "20180713", - "454" - ], - [ - [ - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "K4090", - "" - ], - [ - "FAKE CITY", - "20180409", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS11", - "18", - "908021111" - ], - [ - "2", - "YTHF281123456", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "931013923", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1477527786", - "", - "CA", - "123 ADDRESS9", - "", - "908021119" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFGH OPQRSTU A", - "1122334456", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334458", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVWX KLMNOPQ H", - "1122334457", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "20180409", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS11", - "18", - "908021111" - ] - ], - [ - [ - "", - "", - "1968", - "ABC111114", - "D8", - "", - "22:B:1", - "20180713", - "454" - ], - [ - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "Q423", - "" - ], - [ - "FAKE CITY", - "20180504", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS13", - "18", - "908021113" - ], - [ - "2", - "YTHF281123456", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "931013923", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1477527786", - "", - "CA", - "123 ADDRESS9", - "", - "908021119" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFGHI OPQRSTUV A", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334457", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVWXY KLMNOPQR H", - "1122334456", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "20180504", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS13", - "18", - "908021113" - ] - ] - ], - "222" - ] - ], - [ - "ZZ", - "421406317", - "133052274", - "20180807:12022761", - "223", - [ - [ - [ - [ - "1", - "1", - "17166.7", - "TD-R192ICE00087", - "TM", - "01", - "11:A:1", - "0900", - "096" - ], - [ - [ - "1", - null, - "9148", - "", - null, - "", - "", - "0124", - "20180628-20180702", - "RD8", - "472", - "4", - "UN" - ], - [ - "2", - null, - "48.1", - "", - null, - "", - "", - "0250", - "20180628-20180702", - "RD8", - "472", - "28", - "UN" - ], - [ - "3", - null, - "133", - "", - null, - "", - "", - "0260", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "4", - null, - "32.9", - "", - null, - "", - "", - "0300", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "5", - null, - "798.5", - "", - null, - "", - "", - "0301", - "20180628-20180702", - "RD8", - "472", - "4", - "UN" - ], - [ - "6", - null, - "200.6", - "", - null, - "", - "", - "0305", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ], - [ - "7", - null, - "175", - "", - null, - "", - "", - "0306", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "8", - null, - "113.6", - "", - null, - "", - "", - "0307", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ], - [ - "9", - null, - "6517", - "", - null, - "", - "", - "0351", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ] - ], - [ - "F39", - "", - "F1319", - "F39", - "" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ], - [ - "2", - "421406317", - "PI", - "CENTENE" - ], - [ - [ - "", - "TD-R192ICE00087", - "D9", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "WOODSTOCK", - "999999999", - "EI", - "Organization", - "Test Provider", - "9999999999", - "", - "IL", - "123 MAIN STREET", - "", - "600980000" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - null, - null, - null - ], - [ - "CENTENE CORP", - "Organization" - ], - [ - "TALEND", - "SAMBIT", - [ - [ - "TE", - "3143202264" - ], - [ - "EX", - "8099264" - ] - ], - "Organization" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ] - ] - ], - "223" - ] - ], - [ - "ZZ", - "XXXXX", - "XXXXXXX", - "20170617:1741", - "222", - [ - [ - [ - [ - "", - "", - "140", - "1000A", - "", - "", - "19:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ], - [ - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "I10", - "" - ], - [ - "CHICAGO", - "19570111", - "D8", - "M", - "BLOGGS JOE ", - "", - "IL", - "1 SOME BLVD", - "18", - "606129998" - ], - [ - "2", - "12345", - "PI", - "PAYER" - ], - [ - null, - [ - "CHICAGO", - "999999999", - "EI", - "Organization", - "BILLING PROVIDER", - "1122334455", - "", - "IL", - "1234 SOME ROAD", - "", - "606739999" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "RECEIVER", - "Organization" - ], - [ - "SUBMITTER", - "BOB SMITH", - [ - [ - "TE", - "4805551212" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "CHICAGO", - "19570111", - "D8", - "M", - "BLOGGS JOE ", - "", - "IL", - "1 SOME BLVD", - "18", - "606129998" - ] - ], - [ - [ - "", - "", - "140", - "1001A", - "", - "", - "19:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "I10", - "" - ], - [ - "CHICAGO", - "19700601", - "D8", - "M", - "BLOGGS FRED ", - "", - "IL", - "1 ANOTHER STR", - "18", - "606129998" - ], - [ - "2", - "12345", - "PI", - "PAYER" - ], - [ - null, - [ - "CHICAGO", - "999999999", - "EI", - "Organization", - "BILLING PROVIDER", - "1122334455", - "", - "IL", - "1234 SOME ROAD", - "", - "606739999" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "RECEIVER", - "Organization" - ], - [ - "SUBMITTER", - "BOB SMITH", - [ - [ - "TE", - "4805551212" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "CHICAGO", - "19700601", - "D8", - "M", - "BLOGGS FRED ", - "", - "IL", - "1 ANOTHER STR", - "18", - "606129998" - ] - ] - ], - "222" - ] - ], - [ - "30", - "421406317", - "030240928", - "20180807:12022605", - "222", - [ - [ - [ - [ - "", - "", - "600", - "TD-R192ICE00094", - "D8", - "", - "11:B:1", - "20180625", - "435" - ], - [ - [ - "1", - "1:2", - "300", - "HO,HQ", - "11", - "H0004", - "HC", - null, - "20180625-20180625", - "RD8", - "472", - "12", - "UN" - ], - [ - "2", - "1:2", - "300", - "HO,HQ", - "11", - "H0004", - "HC", - null, - "20180629-20180629", - "RD8", - "472", - "12", - "UN" - ] - ], - [ - "", - "", - "", - "F341", - "" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ], - [ - "2", - "421406317", - "PI", - "CENTENE" - ], - [ - null, - [ - "WOODSTOCK", - "999999999", - "EI", - "Organization", - "Test Provider", - "9999999999", - "", - "IL", - "123 MAIN STREET", - "", - "600980000" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "Centene Corporation", - "Organization" - ], - [ - "Centene Corporation", - "Sambit", - [ - [ - "TE", - "3143202264" - ], - [ - "EX", - "8099264" - ] - ], - "Organization" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ] - ] - ], - "222" - ] - ] - ], - "datasetInfos": [], - "dbfsResultPath": null, - "isJsonSchema": true, - "metadata": {}, - "overflow": false, - "plotOptions": { - "customPlotOptions": {}, - "displayType": "table", - "pivotAggregation": null, - "pivotColumns": null, - "xColumns": null, - "yColumns": null - }, - "removedWidgets": [], - "schema": [ - { - "metadata": "{}", - "name": "tax_id", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "receiver", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "sender", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "transaction_datetime", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "transaction_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Transaction", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"Claims\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"claim_header\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"admission_src_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"admission_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_amount\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"date_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"discharge_status_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"facility_type_code\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_date\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_time\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_lines\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"claim_line_number\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dg_cd_pntr\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"line_chrg_amt\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"modifier_cds\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"place_of_service\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"prcdr_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"prcdr_cd_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"revenue_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_date\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_date_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_time\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"units\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"units_measurement\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"diagnosis\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"admitting_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"external_injury_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"other_dx_cds\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"principal_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"reason_visit_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"patient\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"gender_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"patient_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"subscriber_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"payer\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"business_entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"payer_identifier\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"payer_identifier_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"payer_name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"providers\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"attending\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"billing\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"facility\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"operating\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"other\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"referring\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"service_facility\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"servicing\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"receiver\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"submitter\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"sbmtter_contact_name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"sbmtter_contacts\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"array\",\"elementType\":\"string\",\"containsNull\":true},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"subscriber\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"gender_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"patient_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"subscriber_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Transaction.transaction_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - } - ], - "type": "table" - } - }, - "output_type": "display_data" - } - ], - "source": [ - "functional_groups_flat = functional_groups_df.select(\n", - " col(\"tax_id\"),\n", - " col(\"FunctionalGroup.`FunctionalGroup.receiver`\").alias(\"receiver\"),\n", - " col(\"FunctionalGroup.`FunctionalGroup.sender`\").alias(\"sender\"),\n", - " col(\"FunctionalGroup.`FunctionalGroup.transaction_datetime`\").alias(\"transaction_datetime\"),\n", - " col(\"FunctionalGroup.`FunctionalGroup.transaction_type`\").alias(\"transaction_type\"),\n", - " explode(col(\"FunctionalGroup.Transactions\")).alias(\"Transaction\")\n", - ")\n", - "\n", - "display(functional_groups_flat)" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "inputWidgets": {}, - "nuid": "a69bd0f0-25be-48d6-9d7c-243c5b3bc425", - "showTitle": false, - "title": "" - } - }, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/html": [ - "
tax_idreceiversendertransaction_datetimetransaction_typeClaim
ZZ123456789CLEARINGHOUSE20180508:0833222List(List(, , 20, 1805080AV3648339, , , 57:B:1, , ), List(List(1, 1, 20, , , H0003, HC, null, 20180428, D8, 472, 1, UN)), List(, , , F1120, ), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER JAMES , 1112223338, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001))
ZZ123456789CLEARINGHOUSE20180508:0833222List(List(, , 50.1, 1805080AV3648347, , , 57:B:1, , ), List(List(1, 1:2, 50.1, HF, , 96153, HC, null, 20180426, D8, 472, 6, UN)), List(, , , F1520, ), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002))
ZZ123456789CLEARINGHOUSE20180508:0833222List(List(, , 11.64, 1805080AV3648340, , , 57:B:1, , ), List(List(1, 1:2, 11.64, HF, , T1017, HC, null, 20180427, D8, 472, 1, UN)), List(, , , F1020, ), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001))
ZZ123456789CLEARINGHOUSE20180508:0833222List(List(, , 234, 1805080AV3648353, , , 53:B:1, , ), List(List(1, 1, 234, , , 90853, HC, null, 20180427, D8, 472, 120, UN)), List(, , , F251, ), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 251S00000X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881031, D8, F, PATIENT SUSAN E, , WA, 765 43RD ST, 18, 986640002))
ZZ123456789CLEARINGHOUSE20180508:0833222List(List(, , 20, 1805080AV3648355, , , 57:B:1, , ), List(List(1, 1:2, 20, , , H0003, HC, null, 20180427, D8, 472, 1, UN)), List(, , , F1020, ), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001), List(2, CHPWA, PI, COMMUNITY HEALTH PLAN OF WASHINGTON), List(null, List(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , ), List(, , , Individual, PROVIDER JAMES , 1112223338, PE, , , 261QR0405X, )), List(123456789, Organization), List(CLEARINGHOUSE LLC, CLEARINGHOUSE CLIENT SERVICES, List(List(TE, 8005551212), List(FX, 8005551212)), Organization), List(VANCOUVER, 19881225, D8, M, SUBSCRIBER JOHN J, , WA, 987 65TH PL, 18, 986640001))
ZZOO000011111000000005D20180710:214339222List(List(, , 1800, ABC11111, D8, , 22:B:1, 20180123, 454), List(List(1, 1, 1800, QZ, , 01710, HC, null, 20180123-20180123, RD8, 472, 88, MJ), List(1, 1, 984, AA,P3, , 00731, HC, null, 20180713-20180713, RD8, 472, 24, MJ), List(1, 1, 1353, AA, , 00840, HC, null, 20180713-20180713, RD8, 472, 62, MJ), List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , G5621, ), List(FAKE CITY, 19650101, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS3, 18, 908021112), List(2, ABCMMPIO, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 123456789, EI, Organization, YYYY HEALTHCARE ABC, 1222222220, , NY, 123 ADDRESS1, , 908021112), null, null, null, List(, , , Individual, ABCD STUVW , 1234567890, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334460, , , , , ), List(, , , Individual, TUVWX MNOPQR , 1234567891, PE, , , 367500000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 19650101, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS3, 18, 908021112))
ZZOO000011111000000005D20180710:214339222List(List(, , 984, ABC111112, D8, , 22:B:1, 20180713, 454), List(List(1, 1, 984, AA,P3, , 00731, HC, null, 20180713-20180713, RD8, 472, 24, MJ), List(1, 1, 1353, AA, , 00840, HC, null, 20180713-20180713, RD8, 472, 62, MJ), List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , K219, ), List(FAKE CITY, 19760101, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS7, 18, 908021117), List(2, ABCMMPIO, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 543211234, EI, Organization, ABCDE EFGHIJ GROUP PC, 1222222223, , CA, 123 ADDRESS5, , 908021115), null, null, null, List(, , , Individual, ABCDEFG OPQRST A, 1122334460, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334450, , , , , ), List(, , , Individual, STUVW KLMNOP H, 1122334461, PE, , , 207L00000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 19760101, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS7, 18, 908021117))
ZZOO000011111000000005D20180710:214339222List(List(, , 1353, ABC111113, D8, , 22:B:1, 20180713, 454), List(List(1, 1, 1353, AA, , 00840, HC, null, 20180713-20180713, RD8, 472, 62, MJ), List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , K4090, ), List(FAKE CITY, 20180409, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS11, 18, 908021111), List(2, YTHF281123456, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 931013923, EI, Organization, ABCDE EFGHIJ GROUP PC, 1477527786, , CA, 123 ADDRESS9, , 908021119), null, null, null, List(, , , Individual, ABCDEFGH OPQRSTU A, 1122334456, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334458, , , , , ), List(, , , Individual, STUVWX KLMNOPQ H, 1122334457, PE, , , 207L00000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 20180409, D8, M, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS11, 18, 908021111))
ZZOO000011111000000005D20180710:214339222List(List(, , 1968, ABC111114, D8, , 22:B:1, 20180713, 454), List(List(1, 1, 1230, AA, , 00902, HC, null, 20180713-20180713, RD8, 472, 65, MJ), List(2, 2, 738, 59, , 62322, HC, null, 20180713-20180713, RD8, 472, 1, UN)), List(, , , Q423, ), List(FAKE CITY, 20180504, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS13, 18, 908021113), List(2, YTHF281123456, PI, ABCHYI OL POI), List(null, List(FAKE CITY, 931013923, EI, Organization, ABCDE EFGHIJ GROUP PC, 1477527786, , CA, 123 ADDRESS9, , 908021119), null, null, null, List(, , , Individual, ABCDEFGHI OPQRSTUV A, 1122334455, , , , , ), List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334457, , , , , ), List(, , , Individual, STUVWXY KLMNOPQR H, 1122334456, PE, , , 207L00000X, )), List(ABCHYI OL POI, Organization), List(ABCDEF, ABCDEF CUSTOMER SOLUTIONS, List(List(TE, 9999999999), List(, )), Organization), List(FAKE CITY, 20180504, D8, F, ABCDEFGH IJKLMNOP B, , CA, 123 ADDRESS13, 18, 908021113))
ZZ42140631713305227420180807:12022761223List(List(1, 1, 17166.7, TD-R192ICE00087, TM, 01, 11:A:1, 0900, 096), List(List(1, null, 9148, , null, , , 0124, 20180628-20180702, RD8, 472, 4, UN), List(2, null, 48.1, , null, , , 0250, 20180628-20180702, RD8, 472, 28, UN), List(3, null, 133, , null, , , 0260, 20180628-20180702, RD8, 472, 1, UN), List(4, null, 32.9, , null, , , 0300, 20180628-20180702, RD8, 472, 1, UN), List(5, null, 798.5, , null, , , 0301, 20180628-20180702, RD8, 472, 4, UN), List(6, null, 200.6, , null, , , 0305, 20180628-20180702, RD8, 472, 2, UN), List(7, null, 175, , null, , , 0306, 20180628-20180702, RD8, 472, 1, UN), List(8, null, 113.6, , null, , , 0307, 20180628-20180702, RD8, 472, 2, UN), List(9, null, 6517, , null, , , 0351, 20180628-20180702, RD8, 472, 2, UN)), List(F39, , F1319, F39, ), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001), List(2, 421406317, PI, CENTENE), List(List(, TD-R192ICE00087, D9, Individual, , , , , , , ), List(WOODSTOCK, 999999999, EI, Organization, Test Provider, 9999999999, , IL, 123 MAIN STREET, , 600980000), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), null, null, null), List(CENTENE CORP, Organization), List(TALEND, SAMBIT, List(List(TE, 3143202264), List(EX, 8099264)), Organization), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001))
ZZXXXXXXXXXXXX20170617:1741222List(List(, , 140, 1000A, , , 19:B:1, , ), List(List(1, 1, 140, , , 99213, HC, null, 20151124, D8, 472, 1, UN), List(1, 1, 140, , , 99213, HC, null, 20151124, D8, 472, 1, UN)), List(, , , I10, ), List(CHICAGO, 19570111, D8, M, BLOGGS JOE , , IL, 1 SOME BLVD, 18, 606129998), List(2, 12345, PI, PAYER), List(null, List(CHICAGO, 999999999, EI, Organization, BILLING PROVIDER, 1122334455, , IL, 1234 SOME ROAD, , 606739999), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , )), List(RECEIVER, Organization), List(SUBMITTER, BOB SMITH, List(List(TE, 4805551212), List(, )), Organization), List(CHICAGO, 19570111, D8, M, BLOGGS JOE , , IL, 1 SOME BLVD, 18, 606129998))
ZZXXXXXXXXXXXX20170617:1741222List(List(, , 140, 1001A, , , 19:B:1, , ), List(List(1, 1, 140, , , 99213, HC, null, 20151124, D8, 472, 1, UN)), List(, , , I10, ), List(CHICAGO, 19700601, D8, M, BLOGGS FRED , , IL, 1 ANOTHER STR, 18, 606129998), List(2, 12345, PI, PAYER), List(null, List(CHICAGO, 999999999, EI, Organization, BILLING PROVIDER, 1122334455, , IL, 1234 SOME ROAD, , 606739999), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , )), List(RECEIVER, Organization), List(SUBMITTER, BOB SMITH, List(List(TE, 4805551212), List(, )), Organization), List(CHICAGO, 19700601, D8, M, BLOGGS FRED , , IL, 1 ANOTHER STR, 18, 606129998))
3042140631703024092820180807:12022605222List(List(, , 600, TD-R192ICE00094, D8, , 11:B:1, 20180625, 435), List(List(1, 1:2, 300, HO,HQ, 11, H0004, HC, null, 20180625-20180625, RD8, 472, 12, UN), List(2, 1:2, 300, HO,HQ, 11, H0004, HC, null, 20180629-20180629, RD8, 472, 12, UN)), List(, , , F341, ), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001), List(2, 421406317, PI, CENTENE), List(null, List(WOODSTOCK, 999999999, EI, Organization, Test Provider, 9999999999, , IL, 123 MAIN STREET, , 600980000), null, null, null, List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , ), List(, , , Individual, , , , , , , )), List(Centene Corporation, Organization), List(Centene Corporation, Sambit, List(List(TE, 3143202264), List(EX, 8099264)), Organization), List(Elgin, 19960215, D8, F, TEST MEMBER , , IL, 123 MAIN STREET, 18, 601200001))
" - ] - }, - "metadata": { - "application/vnd.databricks.v1+output": { - "addedWidgets": {}, - "aggData": [], - "aggError": "", - "aggOverflow": false, - "aggSchema": [], - "aggSeriesLimitReached": false, - "aggType": "", - "arguments": {}, - "columnCustomDisplayInfos": {}, - "data": [ - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - "", - "", - "20", - "1805080AV3648339", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "20", - "", - "", - "H0003", - "HC", - null, - "20180428", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "F1120", - "" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER JAMES ", - "1112223338", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ] - ] - ], - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - "", - "", - "50.1", - "1805080AV3648347", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1:2", - "50.1", - "HF", - "", - "96153", - "HC", - null, - "20180426", - "D8", - "472", - "6", - "UN" - ] - ], - [ - "", - "", - "", - "F1520", - "" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ] - ] - ], - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - "", - "", - "11.64", - "1805080AV3648340", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1:2", - "11.64", - "HF", - "", - "T1017", - "HC", - null, - "20180427", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "F1020", - "" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ] - ] - ], - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - "", - "", - "234", - "1805080AV3648353", - "", - "", - "53:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "234", - "", - "", - "90853", - "HC", - null, - "20180427", - "D8", - "472", - "120", - "UN" - ] - ], - [ - "", - "", - "", - "F251", - "" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "251S00000X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002" - ] - ] - ], - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - "", - "", - "20", - "1805080AV3648355", - "", - "", - "57:B:1", - "", - "" - ], - [ - [ - "1", - "1:2", - "20", - "", - "", - "H0003", - "HC", - null, - "20180427", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "F1020", - "" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ], - [ - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON" - ], - [ - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER JAMES ", - "1112223338", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE LLC", - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - "TE", - "8005551212" - ], - [ - "FX", - "8005551212" - ] - ], - "Organization" - ], - [ - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001" - ] - ] - ], - [ - "ZZ", - "OO000011111", - "000000005D", - "20180710:214339", - "222", - [ - [ - "", - "", - "1800", - "ABC11111", - "D8", - "", - "22:B:1", - "20180123", - "454" - ], - [ - [ - "1", - "1", - "1800", - "QZ", - "", - "01710", - "HC", - null, - "20180123-20180123", - "RD8", - "472", - "88", - "MJ" - ], - [ - "1", - "1", - "984", - "AA,P3", - "", - "00731", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "24", - "MJ" - ], - [ - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "G5621", - "" - ], - [ - "FAKE CITY", - "19650101", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS3", - "18", - "908021112" - ], - [ - "2", - "ABCMMPIO", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "123456789", - "EI", - "Organization", - "YYYY HEALTHCARE ABC", - "1222222220", - "", - "NY", - "123 ADDRESS1", - "", - "908021112" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCD STUVW ", - "1234567890", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334460", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "TUVWX MNOPQR ", - "1234567891", - "PE", - "", - "", - "367500000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "19650101", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS3", - "18", - "908021112" - ] - ] - ], - [ - "ZZ", - "OO000011111", - "000000005D", - "20180710:214339", - "222", - [ - [ - "", - "", - "984", - "ABC111112", - "D8", - "", - "22:B:1", - "20180713", - "454" - ], - [ - [ - "1", - "1", - "984", - "AA,P3", - "", - "00731", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "24", - "MJ" - ], - [ - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "K219", - "" - ], - [ - "FAKE CITY", - "19760101", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS7", - "18", - "908021117" - ], - [ - "2", - "ABCMMPIO", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "543211234", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1222222223", - "", - "CA", - "123 ADDRESS5", - "", - "908021115" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFG OPQRST A", - "1122334460", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334450", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVW KLMNOP H", - "1122334461", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "19760101", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS7", - "18", - "908021117" - ] - ] - ], - [ - "ZZ", - "OO000011111", - "000000005D", - "20180710:214339", - "222", - [ - [ - "", - "", - "1353", - "ABC111113", - "D8", - "", - "22:B:1", - "20180713", - "454" - ], - [ - [ - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "K4090", - "" - ], - [ - "FAKE CITY", - "20180409", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS11", - "18", - "908021111" - ], - [ - "2", - "YTHF281123456", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "931013923", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1477527786", - "", - "CA", - "123 ADDRESS9", - "", - "908021119" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFGH OPQRSTU A", - "1122334456", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334458", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVWX KLMNOPQ H", - "1122334457", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "20180409", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS11", - "18", - "908021111" - ] - ] - ], - [ - "ZZ", - "OO000011111", - "000000005D", - "20180710:214339", - "222", - [ - [ - "", - "", - "1968", - "ABC111114", - "D8", - "", - "22:B:1", - "20180713", - "454" - ], - [ - [ - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "Q423", - "" - ], - [ - "FAKE CITY", - "20180504", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS13", - "18", - "908021113" - ], - [ - "2", - "YTHF281123456", - "PI", - "ABCHYI OL POI" - ], - [ - null, - [ - "FAKE CITY", - "931013923", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1477527786", - "", - "CA", - "123 ADDRESS9", - "", - "908021119" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFGHI OPQRSTUV A", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334457", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVWXY KLMNOPQR H", - "1122334456", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ABCHYI OL POI", - "Organization" - ], - [ - "ABCDEF", - "ABCDEF CUSTOMER SOLUTIONS", - [ - [ - "TE", - "9999999999" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "FAKE CITY", - "20180504", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS13", - "18", - "908021113" - ] - ] - ], - [ - "ZZ", - "421406317", - "133052274", - "20180807:12022761", - "223", - [ - [ - "1", - "1", - "17166.7", - "TD-R192ICE00087", - "TM", - "01", - "11:A:1", - "0900", - "096" - ], - [ - [ - "1", - null, - "9148", - "", - null, - "", - "", - "0124", - "20180628-20180702", - "RD8", - "472", - "4", - "UN" - ], - [ - "2", - null, - "48.1", - "", - null, - "", - "", - "0250", - "20180628-20180702", - "RD8", - "472", - "28", - "UN" - ], - [ - "3", - null, - "133", - "", - null, - "", - "", - "0260", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "4", - null, - "32.9", - "", - null, - "", - "", - "0300", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "5", - null, - "798.5", - "", - null, - "", - "", - "0301", - "20180628-20180702", - "RD8", - "472", - "4", - "UN" - ], - [ - "6", - null, - "200.6", - "", - null, - "", - "", - "0305", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ], - [ - "7", - null, - "175", - "", - null, - "", - "", - "0306", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "8", - null, - "113.6", - "", - null, - "", - "", - "0307", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ], - [ - "9", - null, - "6517", - "", - null, - "", - "", - "0351", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ] - ], - [ - "F39", - "", - "F1319", - "F39", - "" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ], - [ - "2", - "421406317", - "PI", - "CENTENE" - ], - [ - [ - "", - "TD-R192ICE00087", - "D9", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "WOODSTOCK", - "999999999", - "EI", - "Organization", - "Test Provider", - "9999999999", - "", - "IL", - "123 MAIN STREET", - "", - "600980000" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - null, - null, - null - ], - [ - "CENTENE CORP", - "Organization" - ], - [ - "TALEND", - "SAMBIT", - [ - [ - "TE", - "3143202264" - ], - [ - "EX", - "8099264" - ] - ], - "Organization" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ] - ] - ], - [ - "ZZ", - "XXXXX", - "XXXXXXX", - "20170617:1741", - "222", - [ - [ - "", - "", - "140", - "1000A", - "", - "", - "19:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ], - [ - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "I10", - "" - ], - [ - "CHICAGO", - "19570111", - "D8", - "M", - "BLOGGS JOE ", - "", - "IL", - "1 SOME BLVD", - "18", - "606129998" - ], - [ - "2", - "12345", - "PI", - "PAYER" - ], - [ - null, - [ - "CHICAGO", - "999999999", - "EI", - "Organization", - "BILLING PROVIDER", - "1122334455", - "", - "IL", - "1234 SOME ROAD", - "", - "606739999" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "RECEIVER", - "Organization" - ], - [ - "SUBMITTER", - "BOB SMITH", - [ - [ - "TE", - "4805551212" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "CHICAGO", - "19570111", - "D8", - "M", - "BLOGGS JOE ", - "", - "IL", - "1 SOME BLVD", - "18", - "606129998" - ] - ] - ], - [ - "ZZ", - "XXXXX", - "XXXXXXX", - "20170617:1741", - "222", - [ - [ - "", - "", - "140", - "1001A", - "", - "", - "19:B:1", - "", - "" - ], - [ - [ - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ] - ], - [ - "", - "", - "", - "I10", - "" - ], - [ - "CHICAGO", - "19700601", - "D8", - "M", - "BLOGGS FRED ", - "", - "IL", - "1 ANOTHER STR", - "18", - "606129998" - ], - [ - "2", - "12345", - "PI", - "PAYER" - ], - [ - null, - [ - "CHICAGO", - "999999999", - "EI", - "Organization", - "BILLING PROVIDER", - "1122334455", - "", - "IL", - "1234 SOME ROAD", - "", - "606739999" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "RECEIVER", - "Organization" - ], - [ - "SUBMITTER", - "BOB SMITH", - [ - [ - "TE", - "4805551212" - ], - [ - "", - "" - ] - ], - "Organization" - ], - [ - "CHICAGO", - "19700601", - "D8", - "M", - "BLOGGS FRED ", - "", - "IL", - "1 ANOTHER STR", - "18", - "606129998" - ] - ] - ], - [ - "30", - "421406317", - "030240928", - "20180807:12022605", - "222", - [ - [ - "", - "", - "600", - "TD-R192ICE00094", - "D8", - "", - "11:B:1", - "20180625", - "435" - ], - [ - [ - "1", - "1:2", - "300", - "HO,HQ", - "11", - "H0004", - "HC", - null, - "20180625-20180625", - "RD8", - "472", - "12", - "UN" - ], - [ - "2", - "1:2", - "300", - "HO,HQ", - "11", - "H0004", - "HC", - null, - "20180629-20180629", - "RD8", - "472", - "12", - "UN" - ] - ], - [ - "", - "", - "", - "F341", - "" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ], - [ - "2", - "421406317", - "PI", - "CENTENE" - ], - [ - null, - [ - "WOODSTOCK", - "999999999", - "EI", - "Organization", - "Test Provider", - "9999999999", - "", - "IL", - "123 MAIN STREET", - "", - "600980000" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "Centene Corporation", - "Organization" - ], - [ - "Centene Corporation", - "Sambit", - [ - [ - "TE", - "3143202264" - ], - [ - "EX", - "8099264" - ] - ], - "Organization" - ], - [ - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001" - ] - ] - ] - ], - "datasetInfos": [], - "dbfsResultPath": null, - "isJsonSchema": true, - "metadata": {}, - "overflow": false, - "plotOptions": { - "customPlotOptions": {}, - "displayType": "table", - "pivotAggregation": null, - "pivotColumns": null, - "xColumns": null, - "yColumns": null - }, - "removedWidgets": [], - "schema": [ - { - "metadata": "{}", - "name": "tax_id", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "receiver", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "sender", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "transaction_datetime", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "transaction_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"claim_header\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"admission_src_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"admission_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_amount\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"date_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"discharge_status_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"facility_type_code\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_date\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_time\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_lines\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"claim_line_number\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dg_cd_pntr\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"line_chrg_amt\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"modifier_cds\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"place_of_service\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"prcdr_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"prcdr_cd_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"revenue_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_date\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_date_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"service_time\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"units\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"units_measurement\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"diagnosis\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"admitting_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"external_injury_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"other_dx_cds\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"principal_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"reason_visit_dx_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"patient\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"gender_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"patient_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"subscriber_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"payer\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"business_entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"payer_identifier\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"payer_identifier_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"payer_name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"providers\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"attending\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"billing\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"facility\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"operating\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"other\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"referring\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"service_facility\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"servicing\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"receiver\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"submitter\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"sbmtter_contact_name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"sbmtter_contacts\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"array\",\"elementType\":\"string\",\"containsNull\":true},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"subscriber\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"dob_format\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"gender_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"patient_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"subscriber_relationship_cd\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}}]}" - } - ], - "type": "table" - } - }, - "output_type": "display_data" - } - ], - "source": [ - "claims_flat = functional_groups_flat.select(\n", - " col(\"tax_id\"),\n", - " col(\"receiver\"),\n", - " col(\"sender\"),\n", - " col(\"transaction_datetime\"),\n", - " col(\"transaction_type\"),\n", - " explode(col(\"Transaction.Claims\")).alias(\"Claim\")\n", - ")\n", - "\n", - "display(claims_flat)" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "inputWidgets": {}, - "nuid": "50ab1076-e9cf-4abd-b9aa-4fc3219aed36", - "showTitle": false, - "title": "" - } - }, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/html": [ - "
tax_idreceiversendertransaction_datetimetransaction_typeadmission_src_cdadmission_typeclaim_amountclaim_iddate_formatdischarge_status_cdfacility_type_codeservice_dateservice_timeadmitting_dx_cdexternal_injury_dx_cdother_dx_cdsprincipal_dx_cdreason_visit_dx_cdcitydobdob_formatgender_cdnamepatient_relationship_cdstatestreetsubscriber_relationship_cdzipbusiness_entity_typepayer_identifierpayer_identifier_cdpayer_nameattendingbillingfacilityoperatingotherreferringservice_facilityservicing
ZZ123456789CLEARINGHOUSE20180508:0833222201805080AV364833957:B:1F1120VANCOUVER19881225D8MSUBSCRIBER JOHN JWA987 65TH PL189866400012CHPWAPICOMMUNITY HEALTH PLAN OF WASHINGTONnullList(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662)nullnullnullList(, , , Individual, , , , , , , )List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , )List(, , , Individual, PROVIDER JAMES , 1112223338, PE, , , 261QR0405X, )
ZZ123456789CLEARINGHOUSE20180508:083322250.11805080AV364834757:B:1F1520VANCOUVER19881031D8FPATIENT SUSAN EWA765 43RD ST189866400022CHPWAPICOMMUNITY HEALTH PLAN OF WASHINGTONnullList(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662)nullnullnullList(, , , Individual, , , , , , , )List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , )List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 261QR0405X, )
ZZ123456789CLEARINGHOUSE20180508:083322211.641805080AV364834057:B:1F1020VANCOUVER19881225D8MSUBSCRIBER JOHN JWA987 65TH PL189866400012CHPWAPICOMMUNITY HEALTH PLAN OF WASHINGTONnullList(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662)nullnullnullList(, , , Individual, , , , , , , )List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , )List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 261QR0405X, )
ZZ123456789CLEARINGHOUSE20180508:08332222341805080AV364835353:B:1F251VANCOUVER19881031D8FPATIENT SUSAN EWA765 43RD ST189866400022CHPWAPICOMMUNITY HEALTH PLAN OF WASHINGTONnullList(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662)nullnullnullList(, , , Individual, , , , , , , )List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , )List(, , , Individual, PROVIDER SUSAN , 1112223346, PE, , , 251S00000X, )
ZZ123456789CLEARINGHOUSE20180508:0833222201805080AV364835557:B:1F1020VANCOUVER19881225D8MSUBSCRIBER JOHN JWA987 65TH PL189866400012CHPWAPICOMMUNITY HEALTH PLAN OF WASHINGTONnullList(VANCOUVER, 720000000, EI, Organization, BH CLINIC OF VANCOUVER, 1122334455, , WA, 12345 MAIN ST, , 98662)nullnullnullList(, , , Individual, , , , , , , )List(, , , Organization, BH CLINIC OF VANCOUVER, 1122334455, , , , , )List(, , , Individual, PROVIDER JAMES , 1112223338, PE, , , 261QR0405X, )
ZZOO000011111000000005D20180710:2143392221800ABC11111D822:B:120180123454G5621FAKE CITY19650101D8MABCDEFGH IJKLMNOP BCA123 ADDRESS3189080211122ABCMMPIOPIABCHYI OL POInullList(FAKE CITY, 123456789, EI, Organization, YYYY HEALTHCARE ABC, 1222222220, , NY, 123 ADDRESS1, , 908021112)nullnullnullList(, , , Individual, ABCD STUVW , 1234567890, , , , , )List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334460, , , , , )List(, , , Individual, TUVWX MNOPQR , 1234567891, PE, , , 367500000X, )
ZZOO000011111000000005D20180710:214339222984ABC111112D822:B:120180713454K219FAKE CITY19760101D8FABCDEFGH IJKLMNOP BCA123 ADDRESS7189080211172ABCMMPIOPIABCHYI OL POInullList(FAKE CITY, 543211234, EI, Organization, ABCDE EFGHIJ GROUP PC, 1222222223, , CA, 123 ADDRESS5, , 908021115)nullnullnullList(, , , Individual, ABCDEFG OPQRST A, 1122334460, , , , , )List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334450, , , , , )List(, , , Individual, STUVW KLMNOP H, 1122334461, PE, , , 207L00000X, )
ZZOO000011111000000005D20180710:2143392221353ABC111113D822:B:120180713454K4090FAKE CITY20180409D8MABCDEFGH IJKLMNOP BCA123 ADDRESS11189080211112YTHF281123456PIABCHYI OL POInullList(FAKE CITY, 931013923, EI, Organization, ABCDE EFGHIJ GROUP PC, 1477527786, , CA, 123 ADDRESS9, , 908021119)nullnullnullList(, , , Individual, ABCDEFGH OPQRSTU A, 1122334456, , , , , )List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334458, , , , , )List(, , , Individual, STUVWX KLMNOPQ H, 1122334457, PE, , , 207L00000X, )
ZZOO000011111000000005D20180710:2143392221968ABC111114D822:B:120180713454Q423FAKE CITY20180504D8FABCDEFGH IJKLMNOP BCA123 ADDRESS13189080211132YTHF281123456PIABCHYI OL POInullList(FAKE CITY, 931013923, EI, Organization, ABCDE EFGHIJ GROUP PC, 1477527786, , CA, 123 ADDRESS9, , 908021119)nullnullnullList(, , , Individual, ABCDEFGHI OPQRSTUV A, 1122334455, , , , , )List(, , , Organization, ABCDEFG HIJKLMN HOSP, 1122334457, , , , , )List(, , , Individual, STUVWXY KLMNOPQR H, 1122334456, PE, , , 207L00000X, )
ZZ42140631713305227420180807:120227612231117166.7TD-R192ICE00087TM0111:A:10900096F39F1319F39Elgin19960215D8FTEST MEMBER IL123 MAIN STREET186012000012421406317PICENTENEList(, TD-R192ICE00087, D9, Individual, , , , , , , )List(WOODSTOCK, 999999999, EI, Organization, Test Provider, 9999999999, , IL, 123 MAIN STREET, , 600980000)List(, , , Individual, , , , , , , )List(, , , Individual, , , , , , , )List(, , , Individual, , , , , , , )nullnullnull
ZZXXXXXXXXXXXX20170617:17412221401000A19:B:1I10CHICAGO19570111D8MBLOGGS JOE IL1 SOME BLVD18606129998212345PIPAYERnullList(CHICAGO, 999999999, EI, Organization, BILLING PROVIDER, 1122334455, , IL, 1234 SOME ROAD, , 606739999)nullnullnullList(, , , Individual, , , , , , , )List(, , , Individual, , , , , , , )List(, , , Individual, , , , , , , )
ZZXXXXXXXXXXXX20170617:17412221401001A19:B:1I10CHICAGO19700601D8MBLOGGS FRED IL1 ANOTHER STR18606129998212345PIPAYERnullList(CHICAGO, 999999999, EI, Organization, BILLING PROVIDER, 1122334455, , IL, 1234 SOME ROAD, , 606739999)nullnullnullList(, , , Individual, , , , , , , )List(, , , Individual, , , , , , , )List(, , , Individual, , , , , , , )
3042140631703024092820180807:12022605222600TD-R192ICE00094D811:B:120180625435F341Elgin19960215D8FTEST MEMBER IL123 MAIN STREET186012000012421406317PICENTENEnullList(WOODSTOCK, 999999999, EI, Organization, Test Provider, 9999999999, , IL, 123 MAIN STREET, , 600980000)nullnullnullList(, , , Individual, , , , , , , )List(, , , Individual, , , , , , , )List(, , , Individual, , , , , , , )
" - ] - }, - "metadata": { - "application/vnd.databricks.v1+output": { - "addedWidgets": {}, - "aggData": [], - "aggError": "", - "aggOverflow": false, - "aggSchema": [], - "aggSeriesLimitReached": false, - "aggType": "", - "arguments": {}, - "columnCustomDisplayInfos": {}, - "data": [ - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - "", - "", - "20", - "1805080AV3648339", - "", - "", - "57:B:1", - "", - "", - "", - "", - "", - "F1120", - "", - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001", - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER JAMES ", - "1112223338", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - "", - "", - "50.1", - "1805080AV3648347", - "", - "", - "57:B:1", - "", - "", - "", - "", - "", - "F1520", - "", - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002", - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - "", - "", - "11.64", - "1805080AV3648340", - "", - "", - "57:B:1", - "", - "", - "", - "", - "", - "F1020", - "", - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001", - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - "", - "", - "234", - "1805080AV3648353", - "", - "", - "53:B:1", - "", - "", - "", - "", - "", - "F251", - "", - "VANCOUVER", - "19881031", - "D8", - "F", - "PATIENT SUSAN E", - "", - "WA", - "765 43RD ST", - "18", - "986640002", - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER SUSAN ", - "1112223346", - "PE", - "", - "", - "251S00000X", - "" - ] - ], - [ - "ZZ", - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - "", - "", - "20", - "1805080AV3648355", - "", - "", - "57:B:1", - "", - "", - "", - "", - "", - "F1020", - "", - "VANCOUVER", - "19881225", - "D8", - "M", - "SUBSCRIBER JOHN J", - "", - "WA", - "987 65TH PL", - "18", - "986640001", - "2", - "CHPWA", - "PI", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - null, - [ - "VANCOUVER", - "720000000", - "EI", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "WA", - "12345 MAIN ST", - "", - "98662" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "BH CLINIC OF VANCOUVER", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "PROVIDER JAMES ", - "1112223338", - "PE", - "", - "", - "261QR0405X", - "" - ] - ], - [ - "ZZ", - "OO000011111", - "000000005D", - "20180710:214339", - "222", - "", - "", - "1800", - "ABC11111", - "D8", - "", - "22:B:1", - "20180123", - "454", - "", - "", - "", - "G5621", - "", - "FAKE CITY", - "19650101", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS3", - "18", - "908021112", - "2", - "ABCMMPIO", - "PI", - "ABCHYI OL POI", - null, - [ - "FAKE CITY", - "123456789", - "EI", - "Organization", - "YYYY HEALTHCARE ABC", - "1222222220", - "", - "NY", - "123 ADDRESS1", - "", - "908021112" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCD STUVW ", - "1234567890", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334460", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "TUVWX MNOPQR ", - "1234567891", - "PE", - "", - "", - "367500000X", - "" - ] - ], - [ - "ZZ", - "OO000011111", - "000000005D", - "20180710:214339", - "222", - "", - "", - "984", - "ABC111112", - "D8", - "", - "22:B:1", - "20180713", - "454", - "", - "", - "", - "K219", - "", - "FAKE CITY", - "19760101", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS7", - "18", - "908021117", - "2", - "ABCMMPIO", - "PI", - "ABCHYI OL POI", - null, - [ - "FAKE CITY", - "543211234", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1222222223", - "", - "CA", - "123 ADDRESS5", - "", - "908021115" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFG OPQRST A", - "1122334460", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334450", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVW KLMNOP H", - "1122334461", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ZZ", - "OO000011111", - "000000005D", - "20180710:214339", - "222", - "", - "", - "1353", - "ABC111113", - "D8", - "", - "22:B:1", - "20180713", - "454", - "", - "", - "", - "K4090", - "", - "FAKE CITY", - "20180409", - "D8", - "M", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS11", - "18", - "908021111", - "2", - "YTHF281123456", - "PI", - "ABCHYI OL POI", - null, - [ - "FAKE CITY", - "931013923", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1477527786", - "", - "CA", - "123 ADDRESS9", - "", - "908021119" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFGH OPQRSTU A", - "1122334456", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334458", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVWX KLMNOPQ H", - "1122334457", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ZZ", - "OO000011111", - "000000005D", - "20180710:214339", - "222", - "", - "", - "1968", - "ABC111114", - "D8", - "", - "22:B:1", - "20180713", - "454", - "", - "", - "", - "Q423", - "", - "FAKE CITY", - "20180504", - "D8", - "F", - "ABCDEFGH IJKLMNOP B", - "", - "CA", - "123 ADDRESS13", - "18", - "908021113", - "2", - "YTHF281123456", - "PI", - "ABCHYI OL POI", - null, - [ - "FAKE CITY", - "931013923", - "EI", - "Organization", - "ABCDE EFGHIJ GROUP PC", - "1477527786", - "", - "CA", - "123 ADDRESS9", - "", - "908021119" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - "ABCDEFGHI OPQRSTUV A", - "1122334455", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Organization", - "ABCDEFG HIJKLMN HOSP", - "1122334457", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - "STUVWXY KLMNOPQR H", - "1122334456", - "PE", - "", - "", - "207L00000X", - "" - ] - ], - [ - "ZZ", - "421406317", - "133052274", - "20180807:12022761", - "223", - "1", - "1", - "17166.7", - "TD-R192ICE00087", - "TM", - "01", - "11:A:1", - "0900", - "096", - "F39", - "", - "F1319", - "F39", - "", - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001", - "2", - "421406317", - "PI", - "CENTENE", - [ - "", - "TD-R192ICE00087", - "D9", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "WOODSTOCK", - "999999999", - "EI", - "Organization", - "Test Provider", - "9999999999", - "", - "IL", - "123 MAIN STREET", - "", - "600980000" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - null, - null, - null - ], - [ - "ZZ", - "XXXXX", - "XXXXXXX", - "20170617:1741", - "222", - "", - "", - "140", - "1000A", - "", - "", - "19:B:1", - "", - "", - "", - "", - "", - "I10", - "", - "CHICAGO", - "19570111", - "D8", - "M", - "BLOGGS JOE ", - "", - "IL", - "1 SOME BLVD", - "18", - "606129998", - "2", - "12345", - "PI", - "PAYER", - null, - [ - "CHICAGO", - "999999999", - "EI", - "Organization", - "BILLING PROVIDER", - "1122334455", - "", - "IL", - "1234 SOME ROAD", - "", - "606739999" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "ZZ", - "XXXXX", - "XXXXXXX", - "20170617:1741", - "222", - "", - "", - "140", - "1001A", - "", - "", - "19:B:1", - "", - "", - "", - "", - "", - "I10", - "", - "CHICAGO", - "19700601", - "D8", - "M", - "BLOGGS FRED ", - "", - "IL", - "1 ANOTHER STR", - "18", - "606129998", - "2", - "12345", - "PI", - "PAYER", - null, - [ - "CHICAGO", - "999999999", - "EI", - "Organization", - "BILLING PROVIDER", - "1122334455", - "", - "IL", - "1234 SOME ROAD", - "", - "606739999" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ], - [ - "30", - "421406317", - "030240928", - "20180807:12022605", - "222", - "", - "", - "600", - "TD-R192ICE00094", - "D8", - "", - "11:B:1", - "20180625", - "435", - "", - "", - "", - "F341", - "", - "Elgin", - "19960215", - "D8", - "F", - "TEST MEMBER ", - "", - "IL", - "123 MAIN STREET", - "18", - "601200001", - "2", - "421406317", - "PI", - "CENTENE", - null, - [ - "WOODSTOCK", - "999999999", - "EI", - "Organization", - "Test Provider", - "9999999999", - "", - "IL", - "123 MAIN STREET", - "", - "600980000" - ], - null, - null, - null, - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ], - [ - "", - "", - "", - "Individual", - " ", - "", - "", - "", - "", - "", - "" - ] - ] - ], - "datasetInfos": [], - "dbfsResultPath": null, - "isJsonSchema": true, - "metadata": {}, - "overflow": false, - "plotOptions": { - "customPlotOptions": {}, - "displayType": "table", - "pivotAggregation": null, - "pivotColumns": null, - "xColumns": null, - "yColumns": null - }, - "removedWidgets": [], - "schema": [ - { - "metadata": "{}", - "name": "tax_id", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "receiver", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "sender", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "transaction_datetime", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "transaction_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "admission_src_cd", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "admission_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "claim_amount", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "claim_id", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "date_format", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "discharge_status_cd", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "facility_type_code", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "service_date", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "service_time", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "admitting_dx_cd", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "external_injury_dx_cd", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "other_dx_cds", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "principal_dx_cd", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "reason_visit_dx_cd", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "city", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "dob", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "dob_format", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "gender_cd", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "name", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "patient_relationship_cd", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "state", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "street", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "subscriber_relationship_cd", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "zip", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "business_entity_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "payer_identifier", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "payer_identifier_cd", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "payer_name", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "attending", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "billing", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "facility", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "operating", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "other", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "referring", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "service_facility", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "servicing", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"ein_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"provider_role\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"taxonomy\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - } - ], - "type": "table" - } - }, - "output_type": "display_data" - } - ], - "source": [ - "claim_header_flat = claims_flat.selectExpr(\n", - " \"tax_id\",\n", - " \"receiver\",\n", - " \"sender\",\n", - " \"transaction_datetime\",\n", - " \"transaction_type\",\n", - " \"Claim.claim_header.*\",\n", - " \"Claim.diagnosis.*\",\n", - " \"Claim.patient.*\",\n", - " \"Claim.payer.*\",\n", - " \"Claim.providers.*\"\n", - ")\n", - "\n", - "display(claim_header_flat)" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "inputWidgets": {}, - "nuid": "8872c4e3-a6e2-4867-a477-adbd237f4f89", - "showTitle": false, - "title": "" - } - }, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/html": [ - "
claim_idclaim_line_numberdg_cd_pntrline_chrg_amtmodifier_cdsplace_of_serviceprcdr_cdprcdr_cd_typerevenue_cdservice_dateservice_date_formatservice_timeunitsunits_measurement
1805080AV36483391120H0003HCnull20180428D84721UN
1805080AV364834711:250.1HF96153HCnull20180426D84726UN
1805080AV364834011:211.64HFT1017HCnull20180427D84721UN
1805080AV36483531123490853HCnull20180427D8472120UN
1805080AV364835511:220H0003HCnull20180427D84721UN
ABC11111111800QZ01710HCnull20180123-20180123RD847288MJ
ABC1111111984AA,P300731HCnull20180713-20180713RD847224MJ
ABC11111111353AA00840HCnull20180713-20180713RD847262MJ
ABC11111111230AA00902HCnull20180713-20180713RD847265MJ
ABC11111227385962322HCnull20180713-20180713RD84721UN
ABC11111211984AA,P300731HCnull20180713-20180713RD847224MJ
ABC111112111353AA00840HCnull20180713-20180713RD847262MJ
ABC111112111230AA00902HCnull20180713-20180713RD847265MJ
ABC111112227385962322HCnull20180713-20180713RD84721UN
ABC111113111353AA00840HCnull20180713-20180713RD847262MJ
ABC111113111230AA00902HCnull20180713-20180713RD847265MJ
ABC111113227385962322HCnull20180713-20180713RD84721UN
ABC111114111230AA00902HCnull20180713-20180713RD847265MJ
ABC111114227385962322HCnull20180713-20180713RD84721UN
TD-R192ICE000871null9148null012420180628-20180702RD84724UN
TD-R192ICE000872null48.1null025020180628-20180702RD847228UN
TD-R192ICE000873null133null026020180628-20180702RD84721UN
TD-R192ICE000874null32.9null030020180628-20180702RD84721UN
TD-R192ICE000875null798.5null030120180628-20180702RD84724UN
TD-R192ICE000876null200.6null030520180628-20180702RD84722UN
TD-R192ICE000877null175null030620180628-20180702RD84721UN
TD-R192ICE000878null113.6null030720180628-20180702RD84722UN
TD-R192ICE000879null6517null035120180628-20180702RD84722UN
1000A1114099213HCnull20151124D84721UN
1000A1114099213HCnull20151124D84721UN
1001A1114099213HCnull20151124D84721UN
TD-R192ICE0009411:2300HO,HQ11H0004HCnull20180625-20180625RD847212UN
TD-R192ICE0009421:2300HO,HQ11H0004HCnull20180629-20180629RD847212UN
" - ] - }, - "metadata": { - "application/vnd.databricks.v1+output": { - "addedWidgets": {}, - "aggData": [], - "aggError": "", - "aggOverflow": false, - "aggSchema": [], - "aggSeriesLimitReached": false, - "aggType": "", - "arguments": {}, - "columnCustomDisplayInfos": {}, - "data": [ - [ - "1805080AV3648339", - "1", - "1", - "20", - "", - "", - "H0003", - "HC", - null, - "20180428", - "D8", - "472", - "1", - "UN" - ], - [ - "1805080AV3648347", - "1", - "1:2", - "50.1", - "HF", - "", - "96153", - "HC", - null, - "20180426", - "D8", - "472", - "6", - "UN" - ], - [ - "1805080AV3648340", - "1", - "1:2", - "11.64", - "HF", - "", - "T1017", - "HC", - null, - "20180427", - "D8", - "472", - "1", - "UN" - ], - [ - "1805080AV3648353", - "1", - "1", - "234", - "", - "", - "90853", - "HC", - null, - "20180427", - "D8", - "472", - "120", - "UN" - ], - [ - "1805080AV3648355", - "1", - "1:2", - "20", - "", - "", - "H0003", - "HC", - null, - "20180427", - "D8", - "472", - "1", - "UN" - ], - [ - "ABC11111", - "1", - "1", - "1800", - "QZ", - "", - "01710", - "HC", - null, - "20180123-20180123", - "RD8", - "472", - "88", - "MJ" - ], - [ - "ABC11111", - "1", - "1", - "984", - "AA,P3", - "", - "00731", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "24", - "MJ" - ], - [ - "ABC11111", - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "ABC11111", - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "ABC11111", - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ], - [ - "ABC111112", - "1", - "1", - "984", - "AA,P3", - "", - "00731", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "24", - "MJ" - ], - [ - "ABC111112", - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "ABC111112", - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "ABC111112", - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ], - [ - "ABC111113", - "1", - "1", - "1353", - "AA", - "", - "00840", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "62", - "MJ" - ], - [ - "ABC111113", - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "ABC111113", - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ], - [ - "ABC111114", - "1", - "1", - "1230", - "AA", - "", - "00902", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "65", - "MJ" - ], - [ - "ABC111114", - "2", - "2", - "738", - "59", - "", - "62322", - "HC", - null, - "20180713-20180713", - "RD8", - "472", - "1", - "UN" - ], - [ - "TD-R192ICE00087", - "1", - null, - "9148", - "", - null, - "", - "", - "0124", - "20180628-20180702", - "RD8", - "472", - "4", - "UN" - ], - [ - "TD-R192ICE00087", - "2", - null, - "48.1", - "", - null, - "", - "", - "0250", - "20180628-20180702", - "RD8", - "472", - "28", - "UN" - ], - [ - "TD-R192ICE00087", - "3", - null, - "133", - "", - null, - "", - "", - "0260", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "TD-R192ICE00087", - "4", - null, - "32.9", - "", - null, - "", - "", - "0300", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "TD-R192ICE00087", - "5", - null, - "798.5", - "", - null, - "", - "", - "0301", - "20180628-20180702", - "RD8", - "472", - "4", - "UN" - ], - [ - "TD-R192ICE00087", - "6", - null, - "200.6", - "", - null, - "", - "", - "0305", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ], - [ - "TD-R192ICE00087", - "7", - null, - "175", - "", - null, - "", - "", - "0306", - "20180628-20180702", - "RD8", - "472", - "1", - "UN" - ], - [ - "TD-R192ICE00087", - "8", - null, - "113.6", - "", - null, - "", - "", - "0307", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ], - [ - "TD-R192ICE00087", - "9", - null, - "6517", - "", - null, - "", - "", - "0351", - "20180628-20180702", - "RD8", - "472", - "2", - "UN" - ], - [ - "1000A", - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ], - [ - "1000A", - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ], - [ - "1001A", - "1", - "1", - "140", - "", - "", - "99213", - "HC", - null, - "20151124", - "D8", - "472", - "1", - "UN" - ], - [ - "TD-R192ICE00094", - "1", - "1:2", - "300", - "HO,HQ", - "11", - "H0004", - "HC", - null, - "20180625-20180625", - "RD8", - "472", - "12", - "UN" - ], - [ - "TD-R192ICE00094", - "2", - "1:2", - "300", - "HO,HQ", - "11", - "H0004", - "HC", - null, - "20180629-20180629", - "RD8", - "472", - "12", - "UN" - ] - ], - "datasetInfos": [], - "dbfsResultPath": null, - "isJsonSchema": true, - "metadata": {}, - "overflow": false, - "plotOptions": { - "customPlotOptions": {}, - "displayType": "table", - "pivotAggregation": null, - "pivotColumns": null, - "xColumns": null, - "yColumns": null - }, - "removedWidgets": [], - "schema": [ - { - "metadata": "{}", - "name": "claim_id", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "claim_line_number", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "dg_cd_pntr", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "line_chrg_amt", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "modifier_cds", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "place_of_service", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "prcdr_cd", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "prcdr_cd_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "revenue_cd", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "service_date", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "service_date_format", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "service_time", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "units", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "units_measurement", - "type": "\"string\"" - } - ], - "type": "table" - } - }, - "output_type": "display_data" - } - ], - "source": [ - "claim_lines_flat = claims_flat.select(\n", - " \"Claim.claim_header.claim_id\",\n", - " explode(col(\"Claim.claim_lines\")).alias(\"claim_lines\")\n", - ")\n", - "\n", - "\n", - "claim_lines_flat = claim_lines_flat.selectExpr(\n", - " \"claim_id\",\n", - " \"claim_lines.*\"\n", - ")\n", - "\n", - "display(claim_lines_flat)\n" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": {}, - "inputWidgets": {}, - "nuid": "f4500dc5-5109-4289-a72c-c359b9bb2aa8", - "showTitle": false, - "title": "" - } - }, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": {}, - "inputWidgets": {}, - "nuid": "adbe41f7-ea16-412c-8834-940af6977db7", - "showTitle": false, - "title": "" - } - }, - "outputs": [], - "source": [] - }, - { - "cell_type": "markdown", - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": {}, - "inputWidgets": {}, - "nuid": "5e3b4e71-6796-4270-97d9-1420f9575da4", - "showTitle": false, - "title": "" - } - }, - "source": [ - "### Write table to Unity Catalog" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "inputWidgets": {}, - "nuid": "39204f11-81af-4b7e-89f6-e935ea6c30c3", - "showTitle": false, - "title": "" - } - }, - "outputs": [], - "source": [ - "# Define the catalog and schema names\n", - "catalog_name = \"raven_catalog\"\n", - "schema_name = \"x12_edi_parser\"\n", - "\n", - "# Define the path where you want to save the claims_flat DataFrame as a UC table\n", - "uc_table_name = f\"{catalog_name}.{schema_name}.claim_header\"\n", - "\n", - "# Save the claims_flat DataFrame as a Delta table in your Unity catalog\n", - "claim_header_flat.write.format(\"delta\").mode(\"overwrite\").saveAsTable(uc_table_name)" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": {}, - "inputWidgets": {}, - "nuid": "a5349d91-9e0b-487b-aeb7-badffa3baf98", - "showTitle": false, - "title": "" - } - }, - "outputs": [], - "source": [] - } - ], - "metadata": { - "application/vnd.databricks.v1+notebook": { - "dashboards": [ - { - "elements": [ - { - "dashboardResultIndex": 0, - "elementNUID": "d020959d-5e02-48ec-a19d-2cb2ec330f13", - "elementType": "command", - "guid": "0cd28592-2618-42ca-81ba-87a337e70db6", - "options": null, - "position": { - "height": 6, - "width": 12, - "x": 0, - "y": 0, - "z": null - }, - "resultIndex": null - } - ], - "globalVars": {}, - "guid": "", - "layoutOption": { - "grid": true, - "stack": true - }, - "nuid": "eb6da336-0d3c-4e9a-9da9-5946cc619472", - "origId": 732197971695990, - "title": "Untitled", - "version": "DashboardViewV1", - "width": 1024 - } - ], - "environmentMetadata": null, - "language": "python", - "notebookMetadata": { - "pythonIndentUnit": 2 - }, - "notebookName": "ClaimBuilder", - "widgets": {} - } - }, - "nbformat": 4, - "nbformat_minor": 0 -} diff --git a/notebooks/Staging Claims.py b/notebooks/Staging Claims.py index c23fc97..0a6abd9 100644 --- a/notebooks/Staging Claims.py +++ b/notebooks/Staging Claims.py @@ -10,7 +10,7 @@ hm = HealthcareManager() -df = spark.read.text("file:////Workspace/Repos/aaron.zavora@databricks.com/x12-edi-parser/sampledata/837/*txt", wholetext = True) +df = spark.read.text("file:////Workspace/Users/aaron.zavora@databricks.com/x12-edi-parser/sampledata/837/*txt", wholetext = True) rdd = ( @@ -29,11 +29,29 @@ # COMMAND ---------- # MAGIC %sql -# MAGIC +# MAGIC select filename, edi_control_number, edi_date, edi_time, +# MAGIC edi_recipient_qualifier_id, edi_sender_qualifier_id, edi_standard_version, +# MAGIC fgs.fg.`FunctionalGroup.control_number` as fg_control_number, +# MAGIC fgs.fg.`FunctionalGroup.date` as fg_date, +# MAGIC fgs.fg.`FunctionalGroup.time` as fg_time, +# MAGIC fgs.fg.`FunctionalGroup.receiver` as fg_receiver, +# MAGIC fgs.fg.`FunctionalGroup.sender` as fg_sender, +# MAGIC fgs.fg.`FunctionalGroup.standard_version` as fg_standard_version, +# MAGIC fgs.fg.`FunctionalGroup.transaction_type` as fg_transaction_type, +# MAGIC explode(fgs.fg.`Transactions`) as trnx +# MAGIC from +# MAGIC ( # MAGIC select -# MAGIC `edi.sender_tax_id` as tax_id, -# MAGIC explode(`FuncitonalGroup`) as fg +# MAGIC `edi.control_number` as edi_control_number, +# MAGIC `edi.date` as edi_date, +# MAGIC `edi.time` as edi_time, +# MAGIC `EDI.recipient_qualifier_id` as edi_recipient_qualifier_id, +# MAGIC `EDI.sender_qualifier_id` as edi_sender_qualifier_id, +# MAGIC `EDI.standard_version` as edi_standard_version, +# MAGIC explode(`FuncitonalGroup`) as fg, +# MAGIC filename # MAGIC from edi +# MAGIC ) fgs # COMMAND ---------- @@ -42,20 +60,31 @@ # MAGIC drop table if exists stg_claims; # MAGIC CREATE TABLE stg_claims # MAGIC as -# MAGIC select clms, filename, tax_id, sender, transaction_type +# MAGIC select * # MAGIC from # MAGIC ( # MAGIC select *, explode(trnx.Claims) as clms # MAGIC from # MAGIC ( -# MAGIC select filename, tax_id, -# MAGIC fg.`FunctionalGroup.sender` as sender, -# MAGIC fg.`FunctionalGroup.transaction_type` as transaction_type, -# MAGIC explode(fg.`Transactions`) as trnx +# MAGIC select filename, edi_control_number, edi_date, edi_time, +# MAGIC edi_recipient_qualifier_id, edi_sender_qualifier_id, edi_standard_version, +# MAGIC fgs.fg.`FunctionalGroup.control_number` as fg_control_number, +# MAGIC fgs.fg.`FunctionalGroup.date` as fg_date, +# MAGIC fgs.fg.`FunctionalGroup.time` as fg_time, +# MAGIC fgs.fg.`FunctionalGroup.receiver` as fg_receiver, +# MAGIC fgs.fg.`FunctionalGroup.sender` as fg_sender, +# MAGIC fgs.fg.`FunctionalGroup.standard_version` as fg_standard_version, +# MAGIC fgs.fg.`FunctionalGroup.transaction_type` as fg_transaction_type, +# MAGIC explode(fgs.fg.`Transactions`) as trnx # MAGIC from # MAGIC ( # MAGIC select -# MAGIC `edi.sender_tax_id` as tax_id, +# MAGIC `edi.control_number` as edi_control_number, +# MAGIC `edi.date` as edi_date, +# MAGIC `edi.time` as edi_time, +# MAGIC `EDI.recipient_qualifier_id` as edi_recipient_qualifier_id, +# MAGIC `EDI.sender_qualifier_id` as edi_sender_qualifier_id, +# MAGIC `EDI.standard_version` as edi_standard_version, # MAGIC explode(`FuncitonalGroup`) as fg, # MAGIC filename # MAGIC from edi @@ -79,10 +108,9 @@ # MAGIC %sql # MAGIC drop table if exists claim_header; # MAGIC create table claim_header as -# MAGIC select filename, -# MAGIC tax_id, -# MAGIC sender, -# MAGIC transaction_type, +# MAGIC select +# MAGIC filename, edi_control_number, edi_date, edi_time, edi_recipient_qualifier_id, edi_sender_qualifier_id, edi_standard_version, +# MAGIC fg_control_number, fg_date, fg_time, fg_receiver, fg_sender, fg_standard_version, fg_transaction_type, # MAGIC clms.claim_header.*, # MAGIC clms.diagnosis.*, # MAGIC clms.payer.*, @@ -131,7 +159,7 @@ # COMMAND ---------- # MAGIC %sql -# MAGIC select * from claim_line limit 10; +# MAGIC select * from claim_line # COMMAND ---------- @@ -145,7 +173,7 @@ from pyspark.sql.functions import input_file_name hm = HealthcareManager() -df = spark.read.text("file:////Workspace/Repos/aaron.zavora@databricks.com/x12-edi-parser/sampledata/835/*txt", wholetext = True) +df = spark.read.text("file:////Workspace/Users/aaron.zavora@databricks.com/x12-edi-parser/sampledata/835/*txt", wholetext = True) rdd = ( @@ -168,20 +196,31 @@ # MAGIC drop table if exists stg_remittance; # MAGIC CREATE TABLE stg_remittance # MAGIC as -# MAGIC select clms, filename, tax_id, sender, transaction_type +# MAGIC select * # MAGIC from # MAGIC ( # MAGIC select *, explode(trnx.Claims) as clms # MAGIC from # MAGIC ( -# MAGIC select filename, tax_id, -# MAGIC fg.`FunctionalGroup.sender` as sender, -# MAGIC fg.`FunctionalGroup.transaction_type` as transaction_type, -# MAGIC explode(fg.`Transactions`) as trnx +# MAGIC select filename, edi_control_number, edi_date, edi_time, +# MAGIC edi_recipient_qualifier_id, edi_sender_qualifier_id, edi_standard_version, +# MAGIC fgs.fg.`FunctionalGroup.control_number` as fg_control_number, +# MAGIC fgs.fg.`FunctionalGroup.date` as fg_date, +# MAGIC fgs.fg.`FunctionalGroup.time` as fg_time, +# MAGIC fgs.fg.`FunctionalGroup.receiver` as fg_receiver, +# MAGIC fgs.fg.`FunctionalGroup.sender` as fg_sender, +# MAGIC fgs.fg.`FunctionalGroup.standard_version` as fg_standard_version, +# MAGIC fgs.fg.`FunctionalGroup.transaction_type` as fg_transaction_type, +# MAGIC explode(fgs.fg.`Transactions`) as trnx # MAGIC from # MAGIC ( # MAGIC select -# MAGIC `edi.sender_tax_id` as tax_id, +# MAGIC `edi.control_number` as edi_control_number, +# MAGIC `edi.date` as edi_date, +# MAGIC `edi.time` as edi_time, +# MAGIC `EDI.recipient_qualifier_id` as edi_recipient_qualifier_id, +# MAGIC `EDI.sender_qualifier_id` as edi_sender_qualifier_id, +# MAGIC `EDI.standard_version` as edi_standard_version, # MAGIC explode(`FuncitonalGroup`) as fg, # MAGIC filename # MAGIC from edi @@ -200,18 +239,12 @@ # MAGIC %sql # MAGIC drop table if exists remittance; # MAGIC create table remittance as -# MAGIC select filename, -# MAGIC tax_id, -# MAGIC sender, -# MAGIC transaction_type, +# MAGIC select filename, edi_control_number, edi_date, edi_time, edi_recipient_qualifier_id, edi_sender_qualifier_id, edi_standard_version, +# MAGIC fg_control_number, fg_date, fg_time, fg_receiver, fg_sender, fg_standard_version, fg_transaction_type, # MAGIC clms.* # MAGIC from stg_remittance # COMMAND ---------- # MAGIC %sql -# MAGIC select * from remittance limit 10; - -# COMMAND ---------- - - +# MAGIC select * from remittance