From 3b21f24eec7b18382959f0250a8496b77a8d1b84 Mon Sep 17 00:00:00 2001 From: Raven Date: Tue, 28 May 2024 18:25:19 -0400 Subject: [PATCH 1/5] submitter and receiver in claimbuild --- databricksx12/hls/claim.py | 5 ++-- databricksx12/hls/identities.py | 52 ++++++--------------------------- 2 files changed, 12 insertions(+), 45 deletions(-) diff --git a/databricksx12/hls/claim.py b/databricksx12/hls/claim.py index 542a969..d3916ec 100644 --- a/databricksx12/hls/claim.py +++ b/databricksx12/hls/claim.py @@ -47,10 +47,11 @@ def _populate_diagnosis(self): return DiagnosisIdentity([x for x in self.claim_loop if x.segment_name() == "HI"]) def _populate_submitter_loop(self) -> Dict[str, str]: - return SubmitterIdentity(self.sender_receiver_loop) + return SubmitterIdentity(nm1=self._first([x for x in self.sender_receiver_loop if x.element(1) == "41"],"NM1"), + per=self._first(self.sender_receiver_loop, "PER")) def _populate_receiver_loop(self) -> Dict[str, str]: - return ReceiverIdentity(self.sender_receiver_loop) + return ReceiverIdentity(nm1=self._first([x for x in self.sender_receiver_loop if x.element(1) == "40"],"NM1")) def _populate_subscriber_loop(self): l = self.subscriber_loop[0:min(filter(lambda x: x!= -1, [self.index_of_segment(self.subscriber_loop, "CLM"), len(self.subscriber_loop)]))] #subset the subscriber loop before the CLM segment diff --git a/databricksx12/hls/identities.py b/databricksx12/hls/identities.py index 1bf24fb..335dfb5 100644 --- a/databricksx12/hls/identities.py +++ b/databricksx12/hls/identities.py @@ -71,53 +71,19 @@ def __init__(self, hi_segments): self.other_dx_cds = ",".join([s.element(1,1) for s in hi_segments if s.element(1, 0) == "ABF"]) class SubmitterIdentity(Identity): - def __init__(self, submitter_segments: List[Segment]): - self.contact_name = None - self.contacts = None - #super().__init__(submitter_segments) - #self.build_submitter_lines(submitter_segments) - - def build_submitter_lines(self, submitter_loop: List[Segment]): - nm1_segments = filter(lambda segment: segment.element(0) == 'NM1' and segment.element(1) == '41', submitter_loop) - per_segments = filter(lambda segment: segment.element(0) == 'PER', submitter_loop) - - list(map(self.process_nm1_segment, nm1_segments)) - list(map(self.process_per_segment, per_segments)) - - def process_per_segment(self, segment): - self.contact_name = segment.element(2) - contact_methods = { - 'EM': 'Email', - 'TE': 'Telephone', - 'FX': 'Fax' - } - contact = { - 'contact_method': contact_methods.get(segment.element(3), 'Unknown method'), - 'contact_number': segment.element(4) - } - # Add additional contact details if present - if segment.element(5) in contact_methods: - contact['contact_method_2'] = contact_methods.get(segment.element(5), 'Unknown method') - contact['contact_number_2'] = segment.element(6) - - if segment.element(7) in contact_methods: - contact['contact_method_3'] = contact_methods.get(segment.element(7), 'Unknown method') - contact['contact_number_3'] = segment.element(8) - - self.contacts['primary'].append(contact) + def __init__(self, nm1=Segment.empty(), per= Segment.empty()): + self.sbmtter_type = 'Organization' if nm1.element(2) == '2' else 'Individual' + self.sbmtter = nm1.element(3) if self.sbmtter_type == 'Organization' else ' '.join([nm1.element(3), nm1.element(4,dne=""), nm1.element(5)]) + self.sbmtter_contact_name = per.element(2) + self.sbmtter_contacts = [] if (per.element(3), per.element(4)) == [] else [(per.element(3), per.element(4)), #telephone + (per.element(5), per.element(6))] # usually fax/email class ReceiverIdentity(Identity): - def __init__(self, receiver_segments: List[Segment]): - pass - #super().__init__(receiver_segments) - #self.build_receiver_lines(receiver_segments) - - def build_receiver_lines(self, receiver_loop: List[Segment]): - nm1_segments = filter(lambda segment: segment.element(0) == 'NM1' and segment.element(1) == '40', receiver_loop) - return list(map(self.process_nm1_segment, nm1_segments)) - + def __init__(self, nm1=Segment.empty()): + self.receiver_type = 'Organization' if nm1.element(2) == '2' else 'Individual' + self.receiver = nm1.element(3) if self.receiver_type == 'Organization' else ' '.join([nm1.element(3), nm1.element(4,dne=""), nm1.element(5)]) class ServiceLine(Identity): From ff08ea687acc26462f86ed6639e12e0d44802c63 Mon Sep 17 00:00:00 2001 From: Raven Date: Tue, 28 May 2024 18:44:12 -0400 Subject: [PATCH 2/5] submitter and receiver in claimbuild map --- databricksx12/hls/claim.py | 4 ++-- databricksx12/hls/identities.py | 20 +++++++------------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/databricksx12/hls/claim.py b/databricksx12/hls/claim.py index d3916ec..4f4c09c 100644 --- a/databricksx12/hls/claim.py +++ b/databricksx12/hls/claim.py @@ -47,11 +47,11 @@ def _populate_diagnosis(self): return DiagnosisIdentity([x for x in self.claim_loop if x.segment_name() == "HI"]) def _populate_submitter_loop(self) -> Dict[str, str]: - return SubmitterIdentity(nm1=self._first([x for x in self.sender_receiver_loop if x.element(1) == "41"],"NM1"), + return Submitter_Receiver_Identity(nm1=self._first([x for x in self.sender_receiver_loop if x.element(1) == "41"],"NM1"), per=self._first(self.sender_receiver_loop, "PER")) def _populate_receiver_loop(self) -> Dict[str, str]: - return ReceiverIdentity(nm1=self._first([x for x in self.sender_receiver_loop if x.element(1) == "40"],"NM1")) + return Submitter_Receiver_Identity(nm1=self._first([x for x in self.sender_receiver_loop if x.element(1) == "40"],"NM1")) def _populate_subscriber_loop(self): l = self.subscriber_loop[0:min(filter(lambda x: x!= -1, [self.index_of_segment(self.subscriber_loop, "CLM"), len(self.subscriber_loop)]))] #subset the subscriber loop before the CLM segment diff --git a/databricksx12/hls/identities.py b/databricksx12/hls/identities.py index 335dfb5..45f00fe 100644 --- a/databricksx12/hls/identities.py +++ b/databricksx12/hls/identities.py @@ -70,20 +70,14 @@ def __init__(self, hi_segments): self.external_injury_dx_cd = "" if [s.element(1,1) for s in hi_segments if s.element(1, 0) == "ABN"] == [] else [s.element(1,1) for s in hi_segments if s.element(1, 0) == "ABN"][0] self.other_dx_cds = ",".join([s.element(1,1) for s in hi_segments if s.element(1, 0) == "ABF"]) -class SubmitterIdentity(Identity): +class Submitter_Receiver_Identity(Identity): def __init__(self, nm1=Segment.empty(), per= Segment.empty()): - self.sbmtter_type = 'Organization' if nm1.element(2) == '2' else 'Individual' - self.sbmtter = nm1.element(3) if self.sbmtter_type == 'Organization' else ' '.join([nm1.element(3), nm1.element(4,dne=""), nm1.element(5)]) - self.sbmtter_contact_name = per.element(2) - self.sbmtter_contacts = [] if (per.element(3), per.element(4)) == [] else [(per.element(3), per.element(4)), #telephone - (per.element(5), per.element(6))] # usually fax/email - - - -class ReceiverIdentity(Identity): - def __init__(self, nm1=Segment.empty()): - self.receiver_type = 'Organization' if nm1.element(2) == '2' else 'Individual' - self.receiver = nm1.element(3) if self.receiver_type == 'Organization' else ' '.join([nm1.element(3), nm1.element(4,dne=""), nm1.element(5)]) + self.type = 'Organization' if nm1.element(2) == '2' else 'Individual' + self.name = nm1.element(3) if self.type == 'Organization' else ' '.join([nm1.element(3), nm1.element(4,dne=""), nm1.element(5)]) + if per.element(0): + self.sbmtter_contact_name = "" if per.element(2) == '' else per.element(2) + self.sbmtter_contacts = "" if (per.element(3), per.element(4)) == [] else [(per.element(3), per.element(4)), #telephone + (per.element(5), per.element(6))] # usually fax/email class ServiceLine(Identity): From 2db52daf8a0310c33740db2d2ecd705fd10c2627 Mon Sep 17 00:00:00 2001 From: Raven Date: Tue, 28 May 2024 20:08:28 -0400 Subject: [PATCH 3/5] attending operating other provider lines --- databricksx12/hls/claim.py | 40 ++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/databricksx12/hls/claim.py b/databricksx12/hls/claim.py index 4f4c09c..654f812 100644 --- a/databricksx12/hls/claim.py +++ b/databricksx12/hls/claim.py @@ -48,7 +48,7 @@ def _populate_diagnosis(self): def _populate_submitter_loop(self) -> Dict[str, str]: return Submitter_Receiver_Identity(nm1=self._first([x for x in self.sender_receiver_loop if x.element(1) == "41"],"NM1"), - per=self._first(self.sender_receiver_loop, "PER")) + per=self._first(self.sender_receiver_loop, "PER")) def _populate_receiver_loop(self) -> Dict[str, str]: return Submitter_Receiver_Identity(nm1=self._first([x for x in self.sender_receiver_loop if x.element(1) == "40"],"NM1")) @@ -65,7 +65,7 @@ def _populate_subscriber_loop(self): ) def _populate_patient_loop(self) -> Dict[str, str]: - # Note - if this doesn't exist then its the same as subscriber loop + # Note - if this doesn't exist then it's the same as subscriber loop # 01 = Spouse; 18 = Self; 19 = Child; G8 = Other return self._populate_subscriber_loop() if self._first(self.subscriber_loop, "SBR").element(1) == "18" else PatientIdentity( nm1 = self._first(self.patient_loop, "NM1"), @@ -123,19 +123,23 @@ class Claim837i(MedicalClaim): NAME = "837I" - # Format of 837P https://www.dhs.wisconsin.gov/publications/p0/p00265.pdf - + # Format for 837I https://www.dhs.wisconsin.gov/publications/p0/p00266.pdf + def _attending_provider(self): - return ProviderIdentity(Segment.empty(), Segment.empty()) #TODO + return ProviderIdentity(nm1=self._first([x for x in self.claim_loop if x.element(1) == "71"],"NM1"), + prv=self._first([x for x in self.claim_loop if x.element(1) == "AT"],"PRV"), + ref=self._first(self.claim_loop, "REF")) # only occurs once post CLM loop providers def _operating_provider(self): - return ProviderIdentity(Segment.empty(), Segment.empty()) #TODO + return ProviderIdentity(nm1=self._first([x for x in self.claim_loop if x.element(1) == "72"],"NM1"), + prv=self._first([x for x in self.claim_loop if x.element(1) == "OP"],"PRV")) def _other_provider(self): - return ProviderIdentity(Segment.empty(), Segment.empty()) #TODO + return ProviderIdentity(nm1=self._first([x for x in self.claim_loop if x.element(1) == "73"],"NM1"), + prv=self._first([x for x in self.claim_loop if x.element(1) == "OT"],"PRV")) def _facility_provider(self): - return ProviderIdentity(Segment.empty(), Segment.empty()) #TODO + return ProviderIdentity(nm1=self._first([x for x in self.claim_loop if x.element(1) == "FA"],"NM1")) # also in 837P but rare def _populate_providers(self): return {"billing": self._billing_provider(), @@ -159,23 +163,28 @@ def _populate_sl_loop(self, missing=""): dtp = self._first(s, "DTP") ),self.claim_lines())) - def __populate_patient_loop(self): - # Note - if this doesn't exist then its the same as subscriber loop - # Note to include in loop: information about subscriber/dependent relationship is marked by Element 2 - # 01 = Spouse; 18 = Self; 19 = Child; G8 = Other - pass class Claim837p(MedicalClaim): NAME = "837P" + # Format of 837P https://www.dhs.wisconsin.gov/publications/p0/p00265.pdf def _rendering_provider(self): return ProviderIdentity(nm1=self._first([x for x in self.claim_loop if x.element(1) == "82"],"NM1"), prv=self._first([x for x in self.claim_loop if x.element(1) == "PE"],"PRV")) + + def _referring_provider(self): + return ProviderIdentity(nm1=self._first([x for x in self.claim_loop if x.element(1) == "DN"],"NM1"), + prv=self._first([x for x in self.claim_loop if x.element(1) == "RF"],"PRV")) + + def _service_facility_provider(self): + return ProviderIdentity(nm1=self._first([x for x in self.claim_loop if x.element(1) == "77"],"NM1")) def _populate_providers(self): return {"billing": self._billing_provider(), - "servicing": (self._billing_provider() if self._rendering_provider() is None else self._rendering_provider()) + "referring": self._referring_provider(), + "servicing": (self._billing_provider() if self._rendering_provider() is None else self._rendering_provider()), + "service_facility": self._service_facility_provider() } @@ -189,9 +198,6 @@ def _populate_sl_loop(self, missing=""): ), self.claim_lines())) def _populate_patient_loop(self): - # Note - if this doesn't exist then its the same as subscriber loop - # Note to include in loop: information about subscriber/dependent relationship is marked by Element 2 - # 01 = Spouse; 18 = Self; 19 = Child; G8 = Other pass # # Base claim builder (transaction -> 1 or more claims) From e12e12a40fc7b4cf031b5c95380097bfc4ff3fd4 Mon Sep 17 00:00:00 2001 From: Raven Date: Thu, 30 May 2024 09:50:59 -0400 Subject: [PATCH 4/5] author list updated --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b95d690..5182ddc 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ version="0.0.1", # python_requires='>=3.9.*', python_requires='>=3.9', - author="", + author="Aaron Zavora, Raven Mukherjee", author_email="aaron.zavora@databricks.com", description= "Parser for handling x12 EDI transactions in Spark", long_description=LONG_DESCRIPTION, From c6f2c5c8fe67857f0a026d046507396ddbe12c42 Mon Sep 17 00:00:00 2001 From: Raven Date: Fri, 31 May 2024 11:27:20 -0400 Subject: [PATCH 5/5] updated solution notebook for claim header and claim lines tables in UC --- notebooks/ClaimBuilder.ipynb | 14086 ++++++++++++++++++++++++--------- 1 file changed, 10523 insertions(+), 3563 deletions(-) diff --git a/notebooks/ClaimBuilder.ipynb b/notebooks/ClaimBuilder.ipynb index 93f41c1..bca5852 100644 --- a/notebooks/ClaimBuilder.ipynb +++ b/notebooks/ClaimBuilder.ipynb @@ -1,70 +1,5 @@ { "cells": [ - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "collapsed": true, - "inputWidgets": {}, - "nuid": "f299ac87-8a47-4489-b5bf-921726382e6f", - "showTitle": false, - "title": "" - } - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001B[43mNote: you may need to restart the kernel using dbutils.library.restartPython() to use updated packages.\u001B[0m\nCollecting git+https://github.com/databricks-industry-solutions/x12-edi-parser@raven-eda-hl-segments\n Cloning https://github.com/databricks-industry-solutions/x12-edi-parser (to revision raven-eda-hl-segments) to /tmp/pip-req-build-fp797b52\n Running command git clone --filter=blob:none --quiet https://github.com/databricks-industry-solutions/x12-edi-parser /tmp/pip-req-build-fp797b52\n Running command git checkout -b raven-eda-hl-segments --track origin/raven-eda-hl-segments\n Switched to a new branch 'raven-eda-hl-segments'\n branch 'raven-eda-hl-segments' set up to track 'origin/raven-eda-hl-segments'.\n Resolved https://github.com/databricks-industry-solutions/x12-edi-parser to commit f1cea0934f28bcce22d153772d8de9a11c189052\n Preparing metadata (setup.py): started\n Preparing metadata (setup.py): finished with status 'done'\n\u001B[43mNote: you may need to restart the kernel using dbutils.library.restartPython() to use updated packages.\u001B[0m\n" - ] - } - ], - "source": [ - "%pip install git+https://github.com/databricks-industry-solutions/x12-edi-parser@raven-eda-hl-segments" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "inputWidgets": {}, - "nuid": "75898bd3-51d8-45a3-8343-b377b796247e", - "showTitle": false, - "title": "" - } - }, - "outputs": [], - "source": [ - "dbutils.library.restartPython()" - ] - }, - { - "cell_type": "markdown", - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": {}, - "inputWidgets": {}, - "nuid": "56792881-5f06-4dc3-9e7c-bb2cd4c084c3", - "showTitle": false, - "title": "" - } - }, - "source": [ - "Is the EDI data 837I or 837P transactions or neither?" - ] - }, { "cell_type": "code", "execution_count": 0, @@ -80,23 +15,12 @@ "title": "" } }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "output_type": "stream", - "text": [ - "{\n \"EDI.sender_tax_id\": \"ZZ\",\n \"list\": [\n {\n \"FunctionalGroup.receiver\": \"123456789\",\n \"FunctionalGroup.sender\": \"CLEARINGHOUSE\",\n \"FunctionalGroup.transaction_datetime\": \"20180508:0833\",\n \"FunctionalGroup.transaction_type\": \"222\",\n \"list\": [\n {\n \"Transaction.transaction_type\": \"222\"\n },\n {\n \"Transaction.transaction_type\": \"222\"\n },\n {\n \"Transaction.transaction_type\": \"222\"\n },\n {\n \"Transaction.transaction_type\": \"222\"\n },\n {\n \"Transaction.transaction_type\": \"222\"\n }\n ]\n }\n ]\n}\n" - ] - } - ], + "outputs": [], "source": [ - "from databricksx12.format import *\n", - "from databricksx12.edi import *\n", - "x = EDIManager(EDI(open(\"/Volumes/raven_catalog/x12_edi_parser/sampledata/CHPW_Claimdata.txt\", \"rb\").read().decode(\"utf-8\")))\n", - "\n", - "import json\n", - "print(json.dumps(x.flatten(x.data), indent=4))" + "from databricksx12 import *\n", + "from databricksx12.hls import *\n", + "import json, os\n", + "from pyspark.sql.functions import input_file_name\n" ] }, { @@ -116,14 +40,9 @@ }, "outputs": [], "source": [ - "from databricksx12 import *\n", - "from databricksx12.hls import *\n", - "import json\n", - "from pyspark.sql.functions import input_file_name\n", - "\n", "# Initialize HealthcareManager\n", "hm = HealthcareManager()\n", - "df = spark.read.text(\"/Volumes/raven_catalog/x12_edi_parser/sampledata/CHPW_Claimdata.txt\", wholetext = True)\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", @@ -134,8 +53,7 @@ " .map(lambda x: json.dumps(x))\n", ")\n", "\n", - "# Convert RDD to DataFrame\n", - "edi_data_df = spark.read.json(rdd)" + "edi_data = spark.read.json(rdd)" ] }, { @@ -147,7 +65,6 @@ "byteLimit": 2048000, "rowLimit": 10000 }, - "collapsed": true, "inputWidgets": {}, "nuid": "78dab3e9-abef-4c2e-9792-2bdce1c87781", "showTitle": false, @@ -174,7 +91,7 @@ " th {\n", " text-align: left;\n", " }\n", - "
EDI.sender_tax_idFuncitonalGroupfilename
ZZList(List(123456789, CLEARINGHOUSE, 20180508:0833, 222, List(List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 20, 1, 7349065509, Rendering Provider, 57, PROVIDER JAMES , 1112223338, 1805080AV3648339, List(List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001))), 222), List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 50.1, 1, 7349065730, Rendering Provider, 57, PROVIDER SUSAN , 1112223346, 1805080AV3648347, List(List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, WA, 765 43RD ST, Individual, 986640002)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002))), 222), List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 11.64, 1, 7349065492, Rendering Provider, 57, PROVIDER SUSAN , 1112223346, 1805080AV3648340, List(List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001))), 222), List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 234, 1, 7349064290, Rendering Provider, 53, PROVIDER SUSAN , 1112223346, 1805080AV3648353, List(List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, WA, 765 43RD ST, Individual, 986640002)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002))), 222), List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 20, 1, 7349064036, Rendering Provider, 57, PROVIDER JAMES , 1112223338, 1805080AV3648355, List(List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001))), 222))))dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/CHPW_Claimdata.txt
" + "
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": { @@ -202,135 +119,145 @@ [ [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", + "", + "", "20", - "1", - "7349065509", - "Rendering Provider", - "57", - "PROVIDER JAMES ", - "1112223338", "1805080AV3648339", - [ - [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] - ], - [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] - ] - ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" + "", + "", + "57:B:1", + "", + "" ], - "TODO", [ [ - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ] - ], - [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] - ], - [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] - ], - [ - [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" - ] + "1", + "1", + "20", + "", + "", + "H0003", + "HC", + null, + "20180428", + "D8", + "472", + "1", + "UN" ] ], + [ + "", + "", + "", + "F1120", + "" + ], [ "VANCOUVER", - "Insured", - "987321", + "19881225", + "D8", + "M", "SUBSCRIBER JOHN J", - "Self", + "", "WA", "987 65TH PL", - "Individual", + "18", "986640001" ], [ - "Unknown", + "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", [ [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] + "TE", + "8005551212" + ], + [ + "FX", + "8005551212" ] ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", "Organization" ], [ "VANCOUVER", - "Insured", - "987321", + "19881225", + "D8", + "M", "SUBSCRIBER JOHN J", - "Self", + "", "WA", "987 65TH PL", - "Individual", + "18", "986640001" ] ] @@ -341,135 +268,145 @@ [ [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", + "", + "", "50.1", - "1", - "7349065730", - "Rendering Provider", - "57", - "PROVIDER SUSAN ", - "1112223346", "1805080AV3648347", - [ - [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] - ], - [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] - ] - ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" + "", + "", + "57:B:1", + "", + "" ], - "TODO", [ [ - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ] - ], - [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] - ], - [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] - ], - [ - [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" - ] + "1", + "1:2", + "50.1", + "HF", + "", + "96153", + "HC", + null, + "20180426", + "D8", + "472", + "6", + "UN" ] ], + [ + "", + "", + "", + "F1520", + "" + ], [ "VANCOUVER", - "Insured", - "765123", + "19881031", + "D8", + "F", "PATIENT SUSAN E", - "Self", + "", "WA", "765 43RD ST", - "Individual", + "18", "986640002" ], [ - "Unknown", + "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", [ [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] + "TE", + "8005551212" + ], + [ + "FX", + "8005551212" ] ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", "Organization" ], [ "VANCOUVER", - "Insured", - "765123", + "19881031", + "D8", + "F", "PATIENT SUSAN E", - "Self", + "", "WA", "765 43RD ST", - "Individual", + "18", "986640002" ] ] @@ -480,135 +417,145 @@ [ [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", + "", + "", "11.64", - "1", - "7349065492", - "Rendering Provider", - "57", - "PROVIDER SUSAN ", - "1112223346", "1805080AV3648340", - [ - [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] - ], - [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] - ] - ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" + "", + "", + "57:B:1", + "", + "" ], - "TODO", [ [ - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ] - ], - [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] - ], - [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] - ], - [ - [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" - ] + "1", + "1:2", + "11.64", + "HF", + "", + "T1017", + "HC", + null, + "20180427", + "D8", + "472", + "1", + "UN" ] ], + [ + "", + "", + "", + "F1020", + "" + ], [ "VANCOUVER", - "Insured", - "987321", + "19881225", + "D8", + "M", "SUBSCRIBER JOHN J", - "Self", + "", "WA", "987 65TH PL", - "Individual", + "18", "986640001" ], [ - "Unknown", + "2", "CHPWA", - "123456789", - "Organization" + "PI", + "COMMUNITY HEALTH PLAN OF WASHINGTON" ], [ - "CLEARINGHOUSE CLIENT SERVICES", + null, [ - [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] - ] + "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" + ] ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", "Organization" ], [ "VANCOUVER", - "Insured", - "987321", + "19881225", + "D8", + "M", "SUBSCRIBER JOHN J", - "Self", + "", "WA", "987 65TH PL", - "Individual", + "18", "986640001" ] ] @@ -619,135 +566,145 @@ [ [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", + "", + "", "234", - "1", - "7349064290", - "Rendering Provider", - "53", - "PROVIDER SUSAN ", - "1112223346", "1805080AV3648353", - [ - [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] - ], - [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] - ] - ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" + "", + "", + "53:B:1", + "", + "" ], - "TODO", [ [ - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ] - ], - [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] - ], - [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] - ], - [ - [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" - ] + "1", + "1", + "234", + "", + "", + "90853", + "HC", + null, + "20180427", + "D8", + "472", + "120", + "UN" ] ], + [ + "", + "", + "", + "F251", + "" + ], [ "VANCOUVER", - "Insured", - "765123", + "19881031", + "D8", + "F", "PATIENT SUSAN E", - "Self", + "", "WA", "765 43RD ST", - "Individual", + "18", "986640002" ], [ - "Unknown", + "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", [ [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] + "TE", + "8005551212" + ], + [ + "FX", + "8005551212" ] ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", "Organization" ], [ "VANCOUVER", - "Insured", - "765123", + "19881031", + "D8", + "F", "PATIENT SUSAN E", - "Self", + "", "WA", "765 43RD ST", - "Individual", + "18", "986640002" ] ] @@ -758,135 +715,145 @@ [ [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", + "", + "", "20", - "1", - "7349064036", - "Rendering Provider", - "57", - "PROVIDER JAMES ", - "1112223338", "1805080AV3648355", - [ - [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] - ], - [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] - ] - ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" + "", + "", + "57:B:1", + "", + "" ], - "TODO", [ [ - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ] - ], - [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] - ], - [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] - ], - [ - [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" - ] + "1", + "1:2", + "20", + "", + "", + "H0003", + "HC", + null, + "20180427", + "D8", + "472", + "1", + "UN" ] ], + [ + "", + "", + "", + "F1020", + "" + ], [ "VANCOUVER", - "Insured", - "987321", + "19881225", + "D8", + "M", "SUBSCRIBER JOHN J", - "Self", + "", "WA", "987 65TH PL", - "Individual", + "18", "986640001" ], [ - "Unknown", + "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", [ [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] + "TE", + "8005551212" + ], + [ + "FX", + "8005551212" ] ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", "Organization" ], [ "VANCOUVER", - "Insured", - "987321", + "19881225", + "D8", + "M", "SUBSCRIBER JOHN J", - "Self", + "", "WA", "987 65TH PL", - "Individual", + "18", "986640001" ] ] @@ -896,805 +863,1547 @@ ] ] ], - "dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/CHPW_Claimdata.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\":\"billing_provider\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"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\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_header\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"benefits_assign_flag\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_amount\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_code_freq\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"facility_type_code\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"patient_id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"providers\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"Rendering Provider\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Service Facility\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_lines\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"grouped_subscriber_entities\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"Insured\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Payer\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Rendering Provider\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Service Facility\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"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\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"patient\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"relationship_to_insured\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"reciever\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"submitter\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"contact_name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contacts\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"primary\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"contact_method\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_method_2\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_number\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_number_2\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"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\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"relationship_to_insured\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"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_df)" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "collapsed": true, - "inputWidgets": {}, - "nuid": "d020959d-5e02-48ec-a19d-2cb2ec330f13", - "showTitle": false, - "title": "" - } - }, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/html": [ - "
FunctionalGroup
List(123456789, CLEARINGHOUSE, 20180508:0833, 222, List(List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 20, 1, 7349065509, Rendering Provider, 57, PROVIDER JAMES , 1112223338, 1805080AV3648339, List(List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001))), 222), List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 50.1, 1, 7349065730, Rendering Provider, 57, PROVIDER SUSAN , 1112223346, 1805080AV3648347, List(List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, WA, 765 43RD ST, Individual, 986640002)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002))), 222), List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 11.64, 1, 7349065492, Rendering Provider, 57, PROVIDER SUSAN , 1112223346, 1805080AV3648340, List(List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001))), 222), List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 234, 1, 7349064290, Rendering Provider, 53, PROVIDER SUSAN , 1112223346, 1805080AV3648353, List(List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, WA, 765 43RD ST, Individual, 986640002)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002))), 222), List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 20, 1, 7349064036, Rendering Provider, 57, PROVIDER JAMES , 1112223338, 1805080AV3648355, List(List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001))), 222)))
" - ] - }, - "metadata": { - "application/vnd.databricks.v1+output": { - "addedWidgets": {}, - "aggData": [], - "aggError": "", - "aggOverflow": false, - "aggSchema": [], - "aggSeriesLimitReached": false, - "aggType": "", - "arguments": {}, - "columnCustomDisplayInfos": {}, - "data": [ + "dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/CHPW_Claimdata.txt" + ], [ + "ZZ", [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", [ + "OO000011111", + "000000005D", + "20180710:214339", + "222", [ [ [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", - "20", - "1", - "7349065509", - "Rendering Provider", - "57", - "PROVIDER JAMES ", - "1112223338", - "1805080AV3648339", + [ + "", + "", + "1800", + "ABC11111", + "D8", + "", + "22:B:1", + "20180123", + "454" + ], [ [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] + "1", + "1", + "1800", + "QZ", + "", + "01710", + "HC", + null, + "20180123-20180123", + "RD8", + "472", + "88", + "MJ" ], [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] + "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" ] ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" - ], - "TODO", - [ [ - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ] + "", + "", + "", + "G5621", + "" ], [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] + "FAKE CITY", + "19650101", + "D8", + "M", + "ABCDEFGH IJKLMNOP B", + "", + "CA", + "123 ADDRESS3", + "18", + "908021112" ], [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] + "2", + "ABCMMPIO", + "PI", + "ABCHYI OL POI" ], [ + null, [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", + "FAKE CITY", + "123456789", + "EI", "Organization", - "98662" + "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", + "" ] - ] - ], - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ], - [ - "Unknown", - "CHPWA", - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE CLIENT SERVICES", + ], + [ + "ABCHYI OL POI", + "Organization" + ], [ + "ABCDEF", + "ABCDEF CUSTOMER SOLUTIONS", [ [ - "Telephone", - "Fax", - "8005551212", - "8005551212" + "TE", + "9999999999" + ], + [ + "", + "" ] - ] + ], + "Organization" ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization" - ], - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ] - ] - ], - "222" - ], - [ - [ - [ - [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" + [ + "FAKE CITY", + "19650101", + "D8", + "M", + "ABCDEFGH IJKLMNOP B", + "", + "CA", + "123 ADDRESS3", + "18", + "908021112" + ] ], [ - "Yes", - "VANCOUVER", - "50.1", - "1", - "7349065730", - "Rendering Provider", - "57", - "PROVIDER SUSAN ", - "1112223346", - "1805080AV3648347", + [ + "", + "", + "984", + "ABC111112", + "D8", + "", + "22:B:1", + "20180713", + "454" + ], [ [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] + "1", + "1", + "984", + "AA,P3", + "", + "00731", + "HC", + null, + "20180713-20180713", + "RD8", + "472", + "24", + "MJ" ], [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] + "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" ] ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" - ], - "TODO", - [ [ - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ] + "", + "", + "", + "K219", + "" ], [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] + "FAKE CITY", + "19760101", + "D8", + "F", + "ABCDEFGH IJKLMNOP B", + "", + "CA", + "123 ADDRESS7", + "18", + "908021117" ], [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] + "2", + "ABCMMPIO", + "PI", + "ABCHYI OL POI" ], [ + null, [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", + "FAKE CITY", + "543211234", + "EI", "Organization", - "98662" + "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", + "" ] - ] - ], - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ], - [ - "Unknown", - "CHPWA", - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE CLIENT SERVICES", + ], [ + "ABCHYI OL POI", + "Organization" + ], + [ + "ABCDEF", + "ABCDEF CUSTOMER SOLUTIONS", [ [ - "Telephone", - "Fax", - "8005551212", - "8005551212" + "TE", + "9999999999" + ], + [ + "", + "" ] - ] + ], + "Organization" ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization" - ], - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ] - ] - ], - "222" - ], - [ - [ - [ - [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" + [ + "FAKE CITY", + "19760101", + "D8", + "F", + "ABCDEFGH IJKLMNOP B", + "", + "CA", + "123 ADDRESS7", + "18", + "908021117" + ] ], [ - "Yes", - "VANCOUVER", - "11.64", - "1", - "7349065492", - "Rendering Provider", - "57", - "PROVIDER SUSAN ", - "1112223346", - "1805080AV3648340", + [ + "", + "", + "1353", + "ABC111113", + "D8", + "", + "22:B:1", + "20180713", + "454" + ], [ [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] + "1", + "1", + "1353", + "AA", + "", + "00840", + "HC", + null, + "20180713-20180713", + "RD8", + "472", + "62", + "MJ" ], [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] + "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" ] ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" - ], - "TODO", - [ [ + "", + "", + "", + "K4090", + "" + ], + [ + "FAKE CITY", + "20180409", + "D8", + "M", + "ABCDEFGH IJKLMNOP B", + "", + "CA", + "123 ADDRESS11", + "18", + "908021111" + ], + [ + "2", + "YTHF281123456", + "PI", + "ABCHYI OL POI" + ], + [ + null, [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", + "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", - "986640001" + "STUVWX KLMNOPQ H", + "1122334457", + "PE", + "", + "", + "207L00000X", + "" ] ], [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] + "ABCHYI OL POI", + "Organization" ], [ + "ABCDEF", + "ABCDEF CUSTOMER SOLUTIONS", [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] + [ + "TE", + "9999999999" + ], + [ + "", + "" + ] + ], + "Organization" ], [ - [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" - ] + "FAKE CITY", + "20180409", + "D8", + "M", + "ABCDEFGH IJKLMNOP B", + "", + "CA", + "123 ADDRESS11", + "18", + "908021111" ] ], [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ], - [ - "Unknown", - "CHPWA", - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE CLIENT SERVICES", [ + "", + "", + "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", [ [ - "Telephone", - "Fax", - "8005551212", - "8005551212" + "TE", + "9999999999" + ], + [ + "", + "" ] - ] + ], + "Organization" ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization" - ], - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" + [ + "FAKE CITY", + "20180504", + "D8", + "F", + "ABCDEFGH IJKLMNOP B", + "", + "CA", + "123 ADDRESS13", + "18", + "908021113" + ] ] - ] - ], - "222" - ], + ], + "222" + ] + ] + ] + ], + "dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/Molina_Mock_UP_837P_File.txt" + ], + [ + "ZZ", + [ + [ + "421406317", + "133052274", + "20180807:12022761", + "223", [ [ [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", - "234", - "1", - "7349064290", - "Rendering Provider", - "53", - "PROVIDER SUSAN ", - "1112223346", - "1805080AV3648353", + [ + "1", + "1", + "17166.7", + "TD-R192ICE00087", + "TM", + "01", + "11:A:1", + "0900", + "096" + ], [ [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] + "1", + null, + "9148", + "", + null, + "", + "", + "0124", + "20180628-20180702", + "RD8", + "472", + "4", + "UN" ], [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] + "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" ] ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" - ], - "TODO", - [ [ - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ] + "F39", + "", + "F1319", + "F39", + "" ], [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] + "Elgin", + "19960215", + "D8", + "F", + "TEST MEMBER ", + "", + "IL", + "123 MAIN STREET", + "18", + "601200001" ], [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] + "2", + "421406317", + "PI", + "CENTENE" ], [ [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", + "", + "TD-R192ICE00087", + "D9", + "Individual", + " ", + "", + "", + "", + "", + "", + "" + ], + [ + "WOODSTOCK", + "999999999", + "EI", "Organization", - "98662" - ] - ] - ], - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ], - [ - "Unknown", - "CHPWA", - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE CLIENT SERVICES", + "Test Provider", + "9999999999", + "", + "IL", + "123 MAIN STREET", + "", + "600980000" + ], + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" + ], + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" + ], + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" + ], + null, + null, + null + ], [ + "CENTENE CORP", + "Organization" + ], + [ + "TALEND", + "SAMBIT", [ [ - "Telephone", - "Fax", - "8005551212", - "8005551212" + "TE", + "3143202264" + ], + [ + "EX", + "8099264" ] - ] + ], + "Organization" ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization" - ], - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" + [ + "Elgin", + "19960215", + "D8", + "F", + "TEST MEMBER ", + "", + "IL", + "123 MAIN STREET", + "18", + "601200001" + ] ] - ] - ], - "222" - ], + ], + "223" + ] + ] + ] + ], + "dbfs:/Volumes/raven_catalog/x12_edi_parser/sampledata/837/CC_837I_EDI.txt" + ], + [ + "ZZ", + [ + [ + "XXXXX", + "XXXXXXX", + "20170617:1741", + "222", [ [ [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", - "20", - "1", - "7349064036", - "Rendering Provider", - "57", - "PROVIDER JAMES ", - "1112223338", - "1805080AV3648355", + [ + "", + "", + "140", + "1000A", + "", + "", + "19:B:1", + "", + "" + ], [ [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] + "1", + "1", + "140", + "", + "", + "99213", + "HC", + null, + "20151124", + "D8", + "472", + "1", + "UN" ], [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] + "1", + "1", + "140", + "", + "", + "99213", + "HC", + null, + "20151124", + "D8", + "472", + "1", + "UN" ] ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" - ], - "TODO", - [ [ - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ] + "", + "", + "", + "I10", + "" ], [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] + "CHICAGO", + "19570111", + "D8", + "M", + "BLOGGS JOE ", + "", + "IL", + "1 SOME BLVD", + "18", + "606129998" ], [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] + "2", + "12345", + "PI", + "PAYER" ], [ + null, [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", + "CHICAGO", + "999999999", + "EI", "Organization", - "98662" + "BILLING PROVIDER", + "1122334455", + "", + "IL", + "1234 SOME ROAD", + "", + "606739999" + ], + null, + null, + null, + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" + ], + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" + ], + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ] - ] - ], - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ], - [ - "Unknown", - "CHPWA", - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE CLIENT SERVICES", + ], + [ + "RECEIVER", + "Organization" + ], [ + "SUBMITTER", + "BOB SMITH", [ [ - "Telephone", - "Fax", - "8005551212", - "8005551212" + "TE", + "4805551212" + ], + [ + "", + "" ] - ] + ], + "Organization" ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization" + [ + "CHICAGO", + "19570111", + "D8", + "M", + "BLOGGS JOE ", + "", + "IL", + "1 SOME BLVD", + "18", + "606129998" + ] ], [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" + [ + "", + "", + "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" + ], + "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": [], @@ -1714,8 +2423,18 @@ "schema": [ { "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\":\"billing_provider\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"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\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_header\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"benefits_assign_flag\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_amount\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_code_freq\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"facility_type_code\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"patient_id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"providers\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"Rendering Provider\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Service Facility\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_lines\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"grouped_subscriber_entities\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"Insured\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Payer\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Rendering Provider\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Service Facility\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"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\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"patient\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"relationship_to_insured\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"reciever\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"submitter\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"contact_name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contacts\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"primary\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"contact_method\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_method_2\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_number\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_number_2\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"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\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"relationship_to_insured\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"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\":{}}]}" + "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" @@ -1725,43 +2444,7 @@ } ], "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_df.select(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 - }, - "collapsed": true, - "inputWidgets": {}, - "nuid": "e15aa662-8cc1-48e4-942a-5eced85a6841", - "showTitle": false, - "title": "" - } - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "output_type": "stream", - "text": [ - "root\n |-- FunctionalGroup: struct (nullable = true)\n | |-- FunctionalGroup.receiver: string (nullable = true)\n | |-- FunctionalGroup.sender: string (nullable = true)\n | |-- FunctionalGroup.transaction_datetime: string (nullable = true)\n | |-- FunctionalGroup.transaction_type: string (nullable = true)\n | |-- Transactions: array (nullable = true)\n | | |-- element: struct (containsNull = true)\n | | | |-- Claims: array (nullable = true)\n | | | | |-- element: struct (containsNull = true)\n | | | | | |-- billing_provider: struct (nullable = true)\n | | | | | | |-- city: string (nullable = true)\n | | | | | | |-- entity_type: string (nullable = true)\n | | | | | | |-- name: string (nullable = true)\n | | | | | | |-- npi: string (nullable = true)\n | | | | | | |-- state: string (nullable = true)\n | | | | | | |-- street: string (nullable = true)\n | | | | | | |-- type: string (nullable = true)\n | | | | | | |-- zip: string (nullable = true)\n | | | | | |-- claim_header: struct (nullable = true)\n | | | | | | |-- benefits_assign_flag: string (nullable = true)\n | | | | | | |-- city: string (nullable = true)\n | | | | | | |-- claim_amount: string (nullable = true)\n | | | | | | |-- claim_code_freq: string (nullable = true)\n | | | | | | |-- claim_id: string (nullable = true)\n | | | | | | |-- entity_type: string (nullable = true)\n | | | | | | |-- facility_type_code: string (nullable = true)\n | | | | | | |-- name: string (nullable = true)\n | | | | | | |-- npi: string (nullable = true)\n | | | | | | |-- patient_id: string (nullable = true)\n | | | | | | |-- providers: struct (nullable = true)\n | | | | | | | |-- Rendering Provider: array (nullable = true)\n | | | | | | | | |-- element: struct (containsNull = true)\n | | | | | | | | | |-- entity_type: string (nullable = true)\n | | | | | | | | | |-- name: string (nullable = true)\n | | | | | | | | | |-- npi: string (nullable = true)\n | | | | | | | | | |-- type: string (nullable = true)\n | | | | | | | |-- Service Facility: array (nullable = true)\n | | | | | | | | |-- element: struct (containsNull = true)\n | | | | | | | | | |-- entity_type: string (nullable = true)\n | | | | | | | | | |-- name: string (nullable = true)\n | | | | | | | | | |-- npi: string (nullable = true)\n | | | | | | | | | |-- type: string (nullable = true)\n | | | | | | |-- state: string (nullable = true)\n | | | | | | |-- street: string (nullable = true)\n | | | | | | |-- type: string (nullable = true)\n | | | | | | |-- zip: string (nullable = true)\n | | | | | |-- claim_lines: string (nullable = true)\n | | | | | |-- grouped_subscriber_entities: struct (nullable = true)\n | | | | | | |-- Insured: array (nullable = true)\n | | | | | | | |-- element: struct (containsNull = true)\n | | | | | | | | |-- city: string (nullable = true)\n | | | | | | | | |-- entity_type: string (nullable = true)\n | | | | | | | | |-- id: string (nullable = true)\n | | | | | | | | |-- name: string (nullable = true)\n | | | | | | | | |-- state: string (nullable = true)\n | | | | | | | | |-- street: string (nullable = true)\n | | | | | | | | |-- type: string (nullable = true)\n | | | | | | | | |-- zip: string (nullable = true)\n | | | | | | |-- Payer: array (nullable = true)\n | | | | | | | |-- element: struct (containsNull = true)\n | | | | | | | | |-- entity_type: string (nullable = true)\n | | | | | | | | |-- id: string (nullable = true)\n | | | | | | | | |-- name: string (nullable = true)\n | | | | | | | | |-- type: string (nullable = true)\n | | | | | | |-- Rendering Provider: array (nullable = true)\n | | | | | | | |-- element: struct (containsNull = true)\n | | | | | | | | |-- entity_type: string (nullable = true)\n | | | | | | | | |-- name: string (nullable = true)\n | | | | | | | | |-- npi: string (nullable = true)\n | | | | | | | | |-- type: string (nullable = true)\n | | | | | | |-- Service Facility: array (nullable = true)\n | | | | | | | |-- element: struct (containsNull = true)\n | | | | | | | | |-- city: string (nullable = true)\n | | | | | | | | |-- entity_type: string (nullable = true)\n | | | | | | | | |-- name: string (nullable = true)\n | | | | | | | | |-- npi: string (nullable = true)\n | | | | | | | | |-- state: string (nullable = true)\n | | | | | | | | |-- street: string (nullable = true)\n | | | | | | | | |-- type: string (nullable = true)\n | | | | | | | | |-- zip: string (nullable = true)\n | | | | | |-- patient: struct (nullable = true)\n | | | | | | |-- city: string (nullable = true)\n | | | | | | |-- entity_type: string (nullable = true)\n | | | | | | |-- id: string (nullable = true)\n | | | | | | |-- name: string (nullable = true)\n | | | | | | |-- relationship_to_insured: string (nullable = true)\n | | | | | | |-- state: string (nullable = true)\n | | | | | | |-- street: string (nullable = true)\n | | | | | | |-- type: string (nullable = true)\n | | | | | | |-- zip: string (nullable = true)\n | | | | | |-- reciever: struct (nullable = true)\n | | | | | | |-- entity_type: string (nullable = true)\n | | | | | | |-- id: string (nullable = true)\n | | | | | | |-- name: string (nullable = true)\n | | | | | | |-- type: string (nullable = true)\n | | | | | |-- submitter: struct (nullable = true)\n | | | | | | |-- contact_name: string (nullable = true)\n | | | | | | |-- contacts: struct (nullable = true)\n | | | | | | | |-- primary: array (nullable = true)\n | | | | | | | | |-- element: struct (containsNull = true)\n | | | | | | | | | |-- contact_method: string (nullable = true)\n | | | | | | | | | |-- contact_method_2: string (nullable = true)\n | | | | | | | | | |-- contact_number: string (nullable = true)\n | | | | | | | | | |-- contact_number_2: string (nullable = true)\n | | | | | | |-- entity_type: string (nullable = true)\n | | | | | | |-- id: string (nullable = true)\n | | | | | | |-- name: string (nullable = true)\n | | | | | | |-- type: string (nullable = true)\n | | | | | |-- subscriber: struct (nullable = true)\n | | | | | | |-- city: string (nullable = true)\n | | | | | | |-- entity_type: string (nullable = true)\n | | | | | | |-- id: string (nullable = true)\n | | | | | | |-- name: string (nullable = true)\n | | | | | | |-- relationship_to_insured: string (nullable = true)\n | | | | | | |-- state: string (nullable = true)\n | | | | | | |-- street: string (nullable = true)\n | | | | | | |-- type: string (nullable = true)\n | | | | | | |-- zip: string (nullable = true)\n | | | |-- Transaction.transaction_type: string (nullable = true)\n\n" - ] - } - ], - "source": [ - "functional_groups_df.printSchema()" + "display(edi_data)" ] }, { @@ -1773,9 +2456,8 @@ "byteLimit": 2048000, "rowLimit": 10000 }, - "collapsed": true, "inputWidgets": {}, - "nuid": "73764ca9-3d9b-4ce9-9557-02bee86be8f0", + "nuid": "d020959d-5e02-48ec-a19d-2cb2ec330f13", "showTitle": false, "title": "" } @@ -1800,7 +2482,7 @@ " th {\n", " text-align: left;\n", " }\n", - "
receiversendertransaction_datetimetransaction_typeTransaction
123456789CLEARINGHOUSE20180508:0833222List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 20, 1, 7349065509, Rendering Provider, 57, PROVIDER JAMES , 1112223338, 1805080AV3648339, List(List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001))), 222)
123456789CLEARINGHOUSE20180508:0833222List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 50.1, 1, 7349065730, Rendering Provider, 57, PROVIDER SUSAN , 1112223346, 1805080AV3648347, List(List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, WA, 765 43RD ST, Individual, 986640002)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002))), 222)
123456789CLEARINGHOUSE20180508:0833222List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 11.64, 1, 7349065492, Rendering Provider, 57, PROVIDER SUSAN , 1112223346, 1805080AV3648340, List(List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001))), 222)
123456789CLEARINGHOUSE20180508:0833222List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 234, 1, 7349064290, Rendering Provider, 53, PROVIDER SUSAN , 1112223346, 1805080AV3648353, List(List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, WA, 765 43RD ST, Individual, 986640002)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002))), 222)
123456789CLEARINGHOUSE20180508:0833222List(List(List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 20, 1, 7349064036, Rendering Provider, 57, PROVIDER JAMES , 1112223338, 1805080AV3648355, List(List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001))), 222)
" + "
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": { @@ -1816,1537 +2498,7064 @@ "columnCustomDisplayInfos": {}, "data": [ [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", + "ZZ", [ + "123456789", + "CLEARINGHOUSE", + "20180508:0833", + "222", [ [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", - "20", - "1", - "7349065509", - "Rendering Provider", - "57", - "PROVIDER JAMES ", - "1112223338", - "1805080AV3648339", [ [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] + "", + "", + "20", + "1805080AV3648339", + "", + "", + "57:B:1", + "", + "" ], [ [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" + "1", + "1", + "20", + "", + "", + "H0003", + "HC", + null, + "20180428", + "D8", + "472", + "1", + "UN" ] - ] - ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" - ], - "TODO", - [ - [ + ], + [ + "", + "", + "", + "F1120", + "" + ], [ "VANCOUVER", - "Insured", - "987321", + "19881225", + "D8", + "M", "SUBSCRIBER JOHN J", + "", "WA", "987 65TH PL", - "Individual", + "18", "986640001" - ] - ], - [ + ], [ - "Payer", + "2", "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", + "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" - ] - ], - [ + ], [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] - ], - [ + "CLEARINGHOUSE LLC", + "CLEARINGHOUSE CLIENT SERVICES", + [ + [ + "TE", + "8005551212" + ], + [ + "FX", + "8005551212" + ] + ], + "Organization" + ], [ "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", + "19881225", + "D8", + "M", + "SUBSCRIBER JOHN J", + "", "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" + "987 65TH PL", + "18", + "986640001" ] ] ], + "222" + ], + [ [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ], - [ - "Unknown", - "CHPWA", - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE CLIENT SERVICES", [ [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] - ] - ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization" - ], - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ] - ] - ], - "222" - ] - ], - [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - [ - [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", - "50.1", - "1", - "7349065730", - "Rendering Provider", - "57", - "PROVIDER SUSAN ", - "1112223346", - "1805080AV3648347", - [ + "", + "", + "50.1", + "1805080AV3648347", + "", + "", + "57:B:1", + "", + "" + ], [ [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" + "1", + "1:2", + "50.1", + "HF", + "", + "96153", + "HC", + null, + "20180426", + "D8", + "472", + "6", + "UN" ] ], [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] - ] - ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" - ], - "TODO", - [ - [ + "", + "", + "", + "F1520", + "" + ], [ "VANCOUVER", - "Insured", - "765123", + "19881031", + "D8", + "F", "PATIENT SUSAN E", + "", "WA", "765 43RD ST", - "Individual", + "18", "986640002" - ] - ], - [ + ], [ - "Payer", + "2", "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", + "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" - ] - ], - [ + ], [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] - ], - [ + "CLEARINGHOUSE LLC", + "CLEARINGHOUSE CLIENT SERVICES", + [ + [ + "TE", + "8005551212" + ], + [ + "FX", + "8005551212" + ] + ], + "Organization" + ], [ "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", + "19881031", + "D8", + "F", + "PATIENT SUSAN E", + "", "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" + "765 43RD ST", + "18", + "986640002" ] ] ], - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ], - [ - "Unknown", - "CHPWA", - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] - ] - ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization" - ], - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ] - ] - ], - "222" - ] - ], - [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ + "222" + ], [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", - "11.64", - "1", - "7349065492", - "Rendering Provider", - "57", - "PROVIDER SUSAN ", - "1112223346", - "1805080AV3648340", [ [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] + "", + "", + "11.64", + "1805080AV3648340", + "", + "", + "57:B:1", + "", + "" ], [ [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" + "1", + "1:2", + "11.64", + "HF", + "", + "T1017", + "HC", + null, + "20180427", + "D8", + "472", + "1", + "UN" ] - ] - ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" - ], - "TODO", - [ - [ + ], + [ + "", + "", + "", + "F1020", + "" + ], [ "VANCOUVER", - "Insured", - "987321", + "19881225", + "D8", + "M", "SUBSCRIBER JOHN J", + "", "WA", "987 65TH PL", - "Individual", + "18", "986640001" - ] - ], - [ + ], [ - "Payer", + "2", "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", + "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" - ] - ], - [ + ], [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] - ], - [ + "CLEARINGHOUSE LLC", + "CLEARINGHOUSE CLIENT SERVICES", + [ + [ + "TE", + "8005551212" + ], + [ + "FX", + "8005551212" + ] + ], + "Organization" + ], [ "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", + "19881225", + "D8", + "M", + "SUBSCRIBER JOHN J", + "", "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" + "987 65TH PL", + "18", + "986640001" ] ] ], + "222" + ], + [ [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ], - [ - "Unknown", - "CHPWA", - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE CLIENT SERVICES", [ [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] - ] - ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization" - ], - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ] - ] - ], - "222" - ] - ], - [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ - [ - [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", - "234", - "1", - "7349064290", - "Rendering Provider", - "53", - "PROVIDER SUSAN ", - "1112223346", - "1805080AV3648353", - [ + "", + "", + "234", + "1805080AV3648353", + "", + "", + "53:B:1", + "", + "" + ], [ [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" + "1", + "1", + "234", + "", + "", + "90853", + "HC", + null, + "20180427", + "D8", + "472", + "120", + "UN" ] ], [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] - ] - ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" - ], - "TODO", - [ - [ + "", + "", + "", + "F251", + "" + ], [ "VANCOUVER", - "Insured", - "765123", + "19881031", + "D8", + "F", "PATIENT SUSAN E", + "", "WA", "765 43RD ST", - "Individual", + "18", "986640002" - ] - ], - [ + ], [ - "Payer", + "2", "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", + "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" - ] - ], - [ + ], [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] - ], - [ + "CLEARINGHOUSE LLC", + "CLEARINGHOUSE CLIENT SERVICES", + [ + [ + "TE", + "8005551212" + ], + [ + "FX", + "8005551212" + ] + ], + "Organization" + ], [ "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", + "19881031", + "D8", + "F", + "PATIENT SUSAN E", + "", "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" + "765 43RD ST", + "18", + "986640002" ] ] ], - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ], - [ - "Unknown", - "CHPWA", - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE CLIENT SERVICES", - [ - [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] - ] - ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization" - ], - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ] - ] - ], - "222" - ] - ], - [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", - "222", - [ - [ + "222" + ], [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" - ], - [ - "Yes", - "VANCOUVER", - "20", - "1", - "7349064036", - "Rendering Provider", - "57", - "PROVIDER JAMES ", - "1112223338", - "1805080AV3648355", [ [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] + "", + "", + "20", + "1805080AV3648355", + "", + "", + "57:B:1", + "", + "" ], [ [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" + "1", + "1:2", + "20", + "", + "", + "H0003", + "HC", + null, + "20180427", + "D8", + "472", + "1", + "UN" ] - ] - ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" - ], - "TODO", - [ - [ + ], + [ + "", + "", + "", + "F1020", + "" + ], [ "VANCOUVER", - "Insured", - "987321", + "19881225", + "D8", + "M", "SUBSCRIBER JOHN J", + "", "WA", "987 65TH PL", - "Individual", + "18", "986640001" - ] - ], - [ + ], [ - "Payer", + "2", "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", + "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" - ] - ], - [ + ], [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] - ], - [ + "CLEARINGHOUSE LLC", + "CLEARINGHOUSE CLIENT SERVICES", + [ + [ + "TE", + "8005551212" + ], + [ + "FX", + "8005551212" + ] + ], + "Organization" + ], [ "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", + "19881225", + "D8", + "M", + "SUBSCRIBER JOHN J", + "", "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" + "987 65TH PL", + "18", + "986640001" ] ] ], + "222" + ] + ] + ] + ], + [ + "ZZ", + [ + "OO000011111", + "000000005D", + "20180710:214339", + "222", + [ + [ [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ], - [ - "Unknown", - "CHPWA", - "123456789", - "Organization" - ], - [ - "CLEARINGHOUSE CLIENT SERVICES", [ + [ + "", + "", + "1800", + "ABC11111", + "D8", + "", + "22:B:1", + "20180123", + "454" + ], [ [ - "Telephone", - "Fax", - "8005551212", - "8005551212" + "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" ] ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization" + [ + [ + "", + "", + "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" ], [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" + "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" ] ], - "222" + [ + "", + "", + "", + "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" + ] ] - ] - ], - "datasetInfos": [], - "dbfsResultPath": null, - "isJsonSchema": true, - "metadata": {}, - "overflow": false, - "plotOptions": { - "customPlotOptions": {}, - "displayType": "table", - "pivotAggregation": null, - "pivotColumns": null, - "xColumns": null, - "yColumns": null - }, - "removedWidgets": [], - "schema": [ - { - "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\":\"billing_provider\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"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\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_header\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"benefits_assign_flag\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_amount\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_code_freq\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"facility_type_code\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"patient_id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"providers\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"Rendering Provider\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Service Facility\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_lines\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"grouped_subscriber_entities\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"Insured\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Payer\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Rendering Provider\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Service Facility\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"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\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"patient\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"relationship_to_insured\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"reciever\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"submitter\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"contact_name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contacts\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"primary\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"contact_method\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_method_2\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_number\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_number_2\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"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\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"relationship_to_insured\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"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(\"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": [ - "
receiversendertransaction_datetimetransaction_typeClaim
123456789CLEARINGHOUSE20180508:0833222List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 20, 1, 7349065509, Rendering Provider, 57, PROVIDER JAMES , 1112223338, 1805080AV3648339, List(List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001))
123456789CLEARINGHOUSE20180508:0833222List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 50.1, 1, 7349065730, Rendering Provider, 57, PROVIDER SUSAN , 1112223346, 1805080AV3648347, List(List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, WA, 765 43RD ST, Individual, 986640002)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002))
123456789CLEARINGHOUSE20180508:0833222List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 11.64, 1, 7349065492, Rendering Provider, 57, PROVIDER SUSAN , 1112223346, 1805080AV3648340, List(List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001))
123456789CLEARINGHOUSE20180508:0833222List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 234, 1, 7349064290, Rendering Provider, 53, PROVIDER SUSAN , 1112223346, 1805080AV3648353, List(List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, WA, 765 43RD ST, Individual, 986640002)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 765123, PATIENT SUSAN E, Self, WA, 765 43RD ST, Individual, 986640002))
123456789CLEARINGHOUSE20180508:0833222List(List(VANCOUVER, Billing Provider, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST, Organization, 98662), List(Yes, VANCOUVER, 20, 1, 7349064036, Rendering Provider, 57, PROVIDER JAMES , 1112223338, 1805080AV3648355, List(List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization))), WA, 12345 MAIN ST SUITE A1, Individual, 98662), TODO, List(List(List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)), List(List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)), List(List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)), List(List(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662))), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001), List(Unknown, CHPWA, 123456789, Organization), List(CLEARINGHOUSE CLIENT SERVICES, List(List(List(Telephone, Fax, 8005551212, 8005551212))), Unknown, 987654321, CLEARINGHOUSE LLC, Organization), List(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, Self, WA, 987 65TH PL, Individual, 986640001))
" - ] - }, - "metadata": { - "application/vnd.databricks.v1+output": { - "addedWidgets": {}, - "aggData": [], - "aggError": "", - "aggOverflow": false, - "aggSchema": [], - "aggSeriesLimitReached": false, - "aggType": "", - "arguments": {}, - "columnCustomDisplayInfos": {}, - "data": [ + ], [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", + "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", [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" + "", + "", + "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" ], [ - "Yes", - "VANCOUVER", - "20", - "1", - "7349065509", - "Rendering Provider", - "57", - "PROVIDER JAMES ", - "1112223338", - "1805080AV3648339", - [ - [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] - ], - [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] - ] - ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" + "2", + "YTHF281123456", + "PI", + "ABCHYI OL POI" ], - "TODO", [ + null, [ - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ] + "FAKE CITY", + "931013923", + "EI", + "Organization", + "ABCDE EFGHIJ GROUP PC", + "1477527786", + "", + "CA", + "123 ADDRESS9", + "", + "908021119" ], + null, + null, + null, [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] + "", + "", + "", + "Individual", + "ABCDEFGH OPQRSTU A", + "1122334456", + "", + "", + "", + "", + "" ], [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] + "", + "", + "", + "Organization", + "ABCDEFG HIJKLMN HOSP", + "1122334458", + "", + "", + "", + "", + "" ], [ - [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" - ] + "", + "", + "", + "Individual", + "STUVWX KLMNOPQ H", + "1122334457", + "PE", + "", + "", + "207L00000X", + "" ] ], [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ], - [ - "Unknown", - "CHPWA", - "123456789", + "ABCHYI OL POI", "Organization" ], [ - "CLEARINGHOUSE CLIENT SERVICES", + "ABCDEF", + "ABCDEF CUSTOMER SOLUTIONS", [ [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] + "TE", + "9999999999" + ], + [ + "", + "" ] ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", "Organization" ], [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" + "FAKE CITY", + "20180409", + "D8", + "M", + "ABCDEFGH IJKLMNOP B", + "", + "CA", + "123 ADDRESS11", + "18", + "908021111" ] ] ], [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", + "ZZ", + "OO000011111", + "000000005D", + "20180710:214339", "222", [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" + "", + "", + "1968", + "ABC111114", + "D8", + "", + "22:B:1", + "20180713", + "454" ], [ - "Yes", - "VANCOUVER", - "50.1", - "1", - "7349065730", - "Rendering Provider", - "57", - "PROVIDER SUSAN ", - "1112223346", - "1805080AV3648347", + [ + "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", [ [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] + "TE", + "9999999999" ], [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] + "", + "" ] ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" + "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" ], - "TODO", [ [ - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ] + "1", + null, + "9148", + "", + null, + "", + "", + "0124", + "20180628-20180702", + "RD8", + "472", + "4", + "UN" ], [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] + "2", + null, + "48.1", + "", + null, + "", + "", + "0250", + "20180628-20180702", + "RD8", + "472", + "28", + "UN" ], [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] + "3", + null, + "133", + "", + null, + "", + "", + "0260", + "20180628-20180702", + "RD8", + "472", + "1", + "UN" ], [ - [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" - ] + "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" ] ], [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" + "F39", + "", + "F1319", + "F39", + "" ], [ - "Unknown", - "CHPWA", - "123456789", + "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" ], [ - "CLEARINGHOUSE CLIENT SERVICES", + "TALEND", + "SAMBIT", [ [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] + "TE", + "3143202264" + ], + [ + "EX", + "8099264" ] ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", "Organization" ], [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" + "Elgin", + "19960215", + "D8", + "F", + "TEST MEMBER ", + "", + "IL", + "123 MAIN STREET", + "18", + "601200001" ] ] ], [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", + "ZZ", + "XXXXX", + "XXXXXXX", + "20170617:1741", "222", [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" + "", + "", + "140", + "1000A", + "", + "", + "19:B:1", + "", + "" ], [ - "Yes", - "VANCOUVER", - "11.64", - "1", - "7349065492", - "Rendering Provider", - "57", - "PROVIDER SUSAN ", - "1112223346", - "1805080AV3648340", [ - [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] - ], - [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] - ] + "1", + "1", + "140", + "", + "", + "99213", + "HC", + null, + "20151124", + "D8", + "472", + "1", + "UN" ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" + [ + "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" ], - "TODO", [ + null, [ - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ] + "CHICAGO", + "999999999", + "EI", + "Organization", + "BILLING PROVIDER", + "1122334455", + "", + "IL", + "1234 SOME ROAD", + "", + "606739999" ], + null, + null, + null, [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], [ - [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" - ] + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ] ], [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ], - [ - "Unknown", - "CHPWA", - "123456789", + "RECEIVER", "Organization" ], [ - "CLEARINGHOUSE CLIENT SERVICES", + "SUBMITTER", + "BOB SMITH", [ [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] + "TE", + "4805551212" + ], + [ + "", + "" ] ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", "Organization" ], [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" + "CHICAGO", + "19570111", + "D8", + "M", + "BLOGGS JOE ", + "", + "IL", + "1 SOME BLVD", + "18", + "606129998" ] ] ], [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", + "ZZ", + "XXXXX", + "XXXXXXX", + "20170617:1741", "222", [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" + "", + "", + "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" ], [ - "Yes", - "VANCOUVER", - "234", - "1", - "7349064290", - "Rendering Provider", - "53", - "PROVIDER SUSAN ", - "1112223346", - "1805080AV3648353", - [ - [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] - ], - [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] - ] - ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" + "2", + "12345", + "PI", + "PAYER" ], - "TODO", [ + null, [ - [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ] + "CHICAGO", + "999999999", + "EI", + "Organization", + "BILLING PROVIDER", + "1122334455", + "", + "IL", + "1234 SOME ROAD", + "", + "606739999" ], + null, + null, + null, [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], [ - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ] + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], [ - [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" - ] + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ] ], [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" - ], - [ - "Unknown", - "CHPWA", - "123456789", + "RECEIVER", "Organization" ], [ - "CLEARINGHOUSE CLIENT SERVICES", + "SUBMITTER", + "BOB SMITH", [ [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] + "TE", + "4805551212" + ], + [ + "", + "" ] ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", "Organization" ], [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" + "CHICAGO", + "19700601", + "D8", + "M", + "BLOGGS FRED ", + "", + "IL", + "1 ANOTHER STR", + "18", + "606129998" ] ] ], [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", + "30", + "421406317", + "030240928", + "20180807:12022605", "222", [ [ - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662" + "", + "", + "600", + "TD-R192ICE00094", + "D8", + "", + "11:B:1", + "20180625", + "435" ], [ - "Yes", - "VANCOUVER", - "20", - "1", - "7349064036", - "Rendering Provider", - "57", - "PROVIDER JAMES ", - "1112223338", - "1805080AV3648355", [ - [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] - ], - [ - [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" - ] - ] + "1", + "1:2", + "300", + "HO,HQ", + "11", + "H0004", + "HC", + null, + "20180625-20180625", + "RD8", + "472", + "12", + "UN" ], - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662" + [ + "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" ], - "TODO", [ + null, [ - [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ] + "WOODSTOCK", + "999999999", + "EI", + "Organization", + "Test Provider", + "9999999999", + "", + "IL", + "123 MAIN STREET", + "", + "600980000" ], + null, + null, + null, [ - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ] + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], [ - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ] + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], [ - [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662" - ] + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ] ], [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" - ], - [ - "Unknown", - "CHPWA", - "123456789", + "Centene Corporation", "Organization" ], [ - "CLEARINGHOUSE CLIENT SERVICES", + "Centene Corporation", + "Sambit", [ [ - [ - "Telephone", - "Fax", - "8005551212", - "8005551212" - ] + "TE", + "3143202264" + ], + [ + "EX", + "8099264" ] ], - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", "Organization" ], [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" + "Elgin", + "19960215", + "D8", + "F", + "TEST MEMBER ", + "", + "IL", + "123 MAIN STREET", + "18", + "601200001" ] ] ] @@ -3366,6 +9575,11 @@ }, "removedWidgets": [], "schema": [ + { + "metadata": "{}", + "name": "tax_id", + "type": "\"string\"" + }, { "metadata": "{}", "name": "receiver", @@ -3389,7 +9603,7 @@ { "metadata": "{}", "name": "Claim", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"billing_provider\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"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\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_header\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"benefits_assign_flag\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_amount\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_code_freq\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"facility_type_code\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"patient_id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"providers\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"Rendering Provider\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Service Facility\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"claim_lines\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"grouped_subscriber_entities\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"Insured\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Payer\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Rendering Provider\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}},{\"name\":\"Service Facility\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"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\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"patient\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"relationship_to_insured\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"reciever\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"submitter\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"contact_name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contacts\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"primary\",\"type\":{\"type\":\"array\",\"elementType\":{\"type\":\"struct\",\"fields\":[{\"name\":\"contact_method\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_method_2\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_number\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_number_2\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"containsNull\":true},\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"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\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"relationship_to_insured\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]},\"nullable\":true,\"metadata\":{}}]}" + "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" @@ -3399,7 +9613,8 @@ } ], "source": [ - "transactions_flat = functional_groups_flat.select(\n", + "claims_flat = functional_groups_flat.select(\n", + " col(\"tax_id\"),\n", " col(\"receiver\"),\n", " col(\"sender\"),\n", " col(\"transaction_datetime\"),\n", @@ -3407,127 +9622,7 @@ " explode(col(\"Transaction.Claims\")).alias(\"Claim\")\n", ")\n", "\n", - "display(transactions_flat)" - ] - }, - { - "cell_type": "markdown", - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": {}, - "inputWidgets": {}, - "nuid": "3df77ed4-1db4-4e31-9141-ec8c71792683", - "showTitle": false, - "title": "" - } - }, - "source": [ - "Parse the nested Claims data" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "collapsed": true, - "inputWidgets": {}, - "nuid": "9a1da869-0901-4c14-ba2b-076f353e77a8", - "showTitle": false, - "title": "" - } - }, - "outputs": [], - "source": [ - "\n", - "def extract_fields(schema, prefix=\"\"):\n", - " def get_field_name(field, prefix):\n", - " return f\"{prefix}.{field.name}\" if prefix else field.name\n", - "\n", - " return sum(\n", - " [\n", - " (\n", - " extract_fields(field.dataType, get_field_name(field, prefix))\n", - " if isinstance(field.dataType, StructType) else\n", - " (\n", - " [explode(col(get_field_name(field, prefix))).alias(get_field_name(field, prefix).replace(\".\", \"_\"))]\n", - " + extract_fields(field.dataType.elementType, get_field_name(field, prefix).replace(\".\", \"_\"))\n", - " if isinstance(field.dataType, ArrayType) and isinstance(field.dataType.elementType, StructType) else\n", - " [col(get_field_name(field, prefix)).alias(get_field_name(field, prefix).replace(\".\", \"_\"))]\n", - " )\n", - " )\n", - " for field in schema.fields\n", - " ],\n", - " []\n", - ")\n", - "\n", - "# Get the schema of the Claim struct\n", - "claim_schema = transactions_flat.select(\"Claim\").schema[0].dataType\n", - "\n", - "# Extract all fields from the Claim schema\n", - "claim_fields = extract_fields(claim_schema, \"Claim\")\n", - "\n", - "all_fields = [\n", - " col(\"receiver\"),\n", - " col(\"sender\"),\n", - " col(\"transaction_datetime\"),\n", - " col(\"transaction_type\"),\n", - "] + claim_fields" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "inputWidgets": {}, - "nuid": "4a862aaa-b289-461a-abc6-f23fe35db5c4", - "showTitle": false, - "title": "" - } - }, - "outputs": [], - "source": [ - "# Select all fields dynamically\n", - "claims_flat = transactions_flat.select(*all_fields)\n" - ] - }, - { - "cell_type": "code", - "execution_count": 0, - "metadata": { - "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, - "collapsed": true, - "inputWidgets": {}, - "nuid": "8ddfcb61-1e85-4d55-893d-d802ffa31c95", - "showTitle": false, - "title": "" - } - }, - "outputs": [], - "source": [ - "# Check for invalid characters in Column headers\n", - "from pyspark.sql import DataFrame\n", - "\n", - "def replace_spaces_in_column_names(df: DataFrame) -> DataFrame:\n", - " for col_name in df.columns:\n", - " if ' ' in col_name:\n", - " df = df.withColumnRenamed(col_name, col_name.replace(' ', '_'))\n", - " return df\n", - "\n", - "claims_flat = replace_spaces_in_column_names(claims_flat)" + "display(claims_flat)" ] }, { @@ -3540,7 +9635,7 @@ "rowLimit": 10000 }, "inputWidgets": {}, - "nuid": "1f2d041a-f0f1-4937-a514-c57ac02163ff", + "nuid": "50ab1076-e9cf-4abd-b9aa-4fc3219aed36", "showTitle": false, "title": "" } @@ -3565,7 +9660,7 @@ " th {\n", " text-align: left;\n", " }\n", - "
receiversendertransaction_datetimetransaction_typeClaim_billing_provider_cityClaim_billing_provider_entity_typeClaim_billing_provider_nameClaim_billing_provider_npiClaim_billing_provider_stateClaim_billing_provider_streetClaim_billing_provider_typeClaim_billing_provider_zipClaim_claim_header_benefits_assign_flagClaim_claim_header_cityClaim_claim_header_claim_amountClaim_claim_header_claim_code_freqClaim_claim_header_claim_idClaim_claim_header_entity_typeClaim_claim_header_facility_type_codeClaim_claim_header_nameClaim_claim_header_npiClaim_claim_header_patient_idClaim_claim_header_providers_Rendering_ProviderClaim_claim_header_providers_Rendering_Provider_entity_typeClaim_claim_header_providers_Rendering_Provider_nameClaim_claim_header_providers_Rendering_Provider_npiClaim_claim_header_providers_Rendering_Provider_typeClaim_claim_header_providers_Service_FacilityClaim_claim_header_providers_Service_Facility_entity_typeClaim_claim_header_providers_Service_Facility_nameClaim_claim_header_providers_Service_Facility_npiClaim_claim_header_providers_Service_Facility_typeClaim_claim_header_stateClaim_claim_header_streetClaim_claim_header_typeClaim_claim_header_zipClaim_claim_linesClaim_grouped_subscriber_entities_InsuredClaim_grouped_subscriber_entities_Insured_cityClaim_grouped_subscriber_entities_Insured_entity_typeClaim_grouped_subscriber_entities_Insured_idClaim_grouped_subscriber_entities_Insured_nameClaim_grouped_subscriber_entities_Insured_stateClaim_grouped_subscriber_entities_Insured_streetClaim_grouped_subscriber_entities_Insured_typeClaim_grouped_subscriber_entities_Insured_zipClaim_grouped_subscriber_entities_PayerClaim_grouped_subscriber_entities_Payer_entity_typeClaim_grouped_subscriber_entities_Payer_idClaim_grouped_subscriber_entities_Payer_nameClaim_grouped_subscriber_entities_Payer_typeClaim_grouped_subscriber_entities_Rendering_ProviderClaim_grouped_subscriber_entities_Rendering_Provider_entity_typeClaim_grouped_subscriber_entities_Rendering_Provider_nameClaim_grouped_subscriber_entities_Rendering_Provider_npiClaim_grouped_subscriber_entities_Rendering_Provider_typeClaim_grouped_subscriber_entities_Service_FacilityClaim_grouped_subscriber_entities_Service_Facility_cityClaim_grouped_subscriber_entities_Service_Facility_entity_typeClaim_grouped_subscriber_entities_Service_Facility_nameClaim_grouped_subscriber_entities_Service_Facility_npiClaim_grouped_subscriber_entities_Service_Facility_stateClaim_grouped_subscriber_entities_Service_Facility_streetClaim_grouped_subscriber_entities_Service_Facility_typeClaim_grouped_subscriber_entities_Service_Facility_zipClaim_patient_cityClaim_patient_entity_typeClaim_patient_idClaim_patient_nameClaim_patient_relationship_to_insuredClaim_patient_stateClaim_patient_streetClaim_patient_typeClaim_patient_zipClaim_reciever_entity_typeClaim_reciever_idClaim_reciever_nameClaim_reciever_typeClaim_submitter_contact_nameClaim_submitter_contacts_primaryClaim_submitter_contacts_primary_contact_methodClaim_submitter_contacts_primary_contact_method_2Claim_submitter_contacts_primary_contact_numberClaim_submitter_contacts_primary_contact_number_2Claim_submitter_entity_typeClaim_submitter_idClaim_submitter_nameClaim_submitter_typeClaim_subscriber_cityClaim_subscriber_entity_typeClaim_subscriber_idClaim_subscriber_nameClaim_subscriber_relationship_to_insuredClaim_subscriber_stateClaim_subscriber_streetClaim_subscriber_typeClaim_subscriber_zip
123456789CLEARINGHOUSE20180508:0833222VANCOUVERBilling ProviderBH CLINIC OF VANCOUVER1122334455WA12345 MAIN STOrganization98662YesVANCOUVER2017349065509Rendering Provider57PROVIDER JAMES 11122233381805080AV3648339List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)Rendering ProviderPROVIDER JAMES 1112223338IndividualList(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization)Service FacilityBH CLINIC OF VANCOUVER1122334455OrganizationWA12345 MAIN ST SUITE A1Individual98662TODOList(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)VANCOUVERInsured987321SUBSCRIBER JOHN JWA987 65TH PLIndividual986640001List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)PayerCHPWACOMMUNITY HEALTH PLAN OF WASHINGTONOrganizationList(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)Rendering ProviderPROVIDER JAMES 1112223338IndividualList(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662)VANCOUVERService FacilityBH CLINIC OF VANCOUVER1122334455WA12345 MAIN ST SUITE A1Organization98662VANCOUVERInsured987321SUBSCRIBER JOHN JSelfWA987 65TH PLIndividual986640001UnknownCHPWA123456789OrganizationCLEARINGHOUSE CLIENT SERVICESList(Telephone, Fax, 8005551212, 8005551212)TelephoneFax80055512128005551212Unknown987654321CLEARINGHOUSE LLCOrganizationVANCOUVERInsured987321SUBSCRIBER JOHN JSelfWA987 65TH PLIndividual986640001
123456789CLEARINGHOUSE20180508:0833222VANCOUVERBilling ProviderBH CLINIC OF VANCOUVER1122334455WA12345 MAIN STOrganization98662YesVANCOUVER50.117349065730Rendering Provider57PROVIDER SUSAN 11122233461805080AV3648347List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)Rendering ProviderPROVIDER SUSAN 1112223346IndividualList(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization)Service FacilityBH CLINIC OF VANCOUVER1122334455OrganizationWA12345 MAIN ST SUITE A1Individual98662TODOList(VANCOUVER, Insured, 765123, PATIENT SUSAN E, WA, 765 43RD ST, Individual, 986640002)VANCOUVERInsured765123PATIENT SUSAN EWA765 43RD STIndividual986640002List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)PayerCHPWACOMMUNITY HEALTH PLAN OF WASHINGTONOrganizationList(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)Rendering ProviderPROVIDER SUSAN 1112223346IndividualList(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662)VANCOUVERService FacilityBH CLINIC OF VANCOUVER1122334455WA12345 MAIN ST SUITE A1Organization98662VANCOUVERInsured765123PATIENT SUSAN ESelfWA765 43RD STIndividual986640002UnknownCHPWA123456789OrganizationCLEARINGHOUSE CLIENT SERVICESList(Telephone, Fax, 8005551212, 8005551212)TelephoneFax80055512128005551212Unknown987654321CLEARINGHOUSE LLCOrganizationVANCOUVERInsured765123PATIENT SUSAN ESelfWA765 43RD STIndividual986640002
123456789CLEARINGHOUSE20180508:0833222VANCOUVERBilling ProviderBH CLINIC OF VANCOUVER1122334455WA12345 MAIN STOrganization98662YesVANCOUVER11.6417349065492Rendering Provider57PROVIDER SUSAN 11122233461805080AV3648340List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)Rendering ProviderPROVIDER SUSAN 1112223346IndividualList(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization)Service FacilityBH CLINIC OF VANCOUVER1122334455OrganizationWA12345 MAIN ST SUITE A1Individual98662TODOList(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)VANCOUVERInsured987321SUBSCRIBER JOHN JWA987 65TH PLIndividual986640001List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)PayerCHPWACOMMUNITY HEALTH PLAN OF WASHINGTONOrganizationList(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)Rendering ProviderPROVIDER SUSAN 1112223346IndividualList(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662)VANCOUVERService FacilityBH CLINIC OF VANCOUVER1122334455WA12345 MAIN ST SUITE A1Organization98662VANCOUVERInsured987321SUBSCRIBER JOHN JSelfWA987 65TH PLIndividual986640001UnknownCHPWA123456789OrganizationCLEARINGHOUSE CLIENT SERVICESList(Telephone, Fax, 8005551212, 8005551212)TelephoneFax80055512128005551212Unknown987654321CLEARINGHOUSE LLCOrganizationVANCOUVERInsured987321SUBSCRIBER JOHN JSelfWA987 65TH PLIndividual986640001
123456789CLEARINGHOUSE20180508:0833222VANCOUVERBilling ProviderBH CLINIC OF VANCOUVER1122334455WA12345 MAIN STOrganization98662YesVANCOUVER23417349064290Rendering Provider53PROVIDER SUSAN 11122233461805080AV3648353List(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)Rendering ProviderPROVIDER SUSAN 1112223346IndividualList(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization)Service FacilityBH CLINIC OF VANCOUVER1122334455OrganizationWA12345 MAIN ST SUITE A1Individual98662TODOList(VANCOUVER, Insured, 765123, PATIENT SUSAN E, WA, 765 43RD ST, Individual, 986640002)VANCOUVERInsured765123PATIENT SUSAN EWA765 43RD STIndividual986640002List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)PayerCHPWACOMMUNITY HEALTH PLAN OF WASHINGTONOrganizationList(Rendering Provider, PROVIDER SUSAN , 1112223346, Individual)Rendering ProviderPROVIDER SUSAN 1112223346IndividualList(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662)VANCOUVERService FacilityBH CLINIC OF VANCOUVER1122334455WA12345 MAIN ST SUITE A1Organization98662VANCOUVERInsured765123PATIENT SUSAN ESelfWA765 43RD STIndividual986640002UnknownCHPWA123456789OrganizationCLEARINGHOUSE CLIENT SERVICESList(Telephone, Fax, 8005551212, 8005551212)TelephoneFax80055512128005551212Unknown987654321CLEARINGHOUSE LLCOrganizationVANCOUVERInsured765123PATIENT SUSAN ESelfWA765 43RD STIndividual986640002
123456789CLEARINGHOUSE20180508:0833222VANCOUVERBilling ProviderBH CLINIC OF VANCOUVER1122334455WA12345 MAIN STOrganization98662YesVANCOUVER2017349064036Rendering Provider57PROVIDER JAMES 11122233381805080AV3648355List(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)Rendering ProviderPROVIDER JAMES 1112223338IndividualList(Service Facility, BH CLINIC OF VANCOUVER, 1122334455, Organization)Service FacilityBH CLINIC OF VANCOUVER1122334455OrganizationWA12345 MAIN ST SUITE A1Individual98662TODOList(VANCOUVER, Insured, 987321, SUBSCRIBER JOHN J, WA, 987 65TH PL, Individual, 986640001)VANCOUVERInsured987321SUBSCRIBER JOHN JWA987 65TH PLIndividual986640001List(Payer, CHPWA, COMMUNITY HEALTH PLAN OF WASHINGTON, Organization)PayerCHPWACOMMUNITY HEALTH PLAN OF WASHINGTONOrganizationList(Rendering Provider, PROVIDER JAMES , 1112223338, Individual)Rendering ProviderPROVIDER JAMES 1112223338IndividualList(VANCOUVER, Service Facility, BH CLINIC OF VANCOUVER, 1122334455, WA, 12345 MAIN ST SUITE A1, Organization, 98662)VANCOUVERService FacilityBH CLINIC OF VANCOUVER1122334455WA12345 MAIN ST SUITE A1Organization98662VANCOUVERInsured987321SUBSCRIBER JOHN JSelfWA987 65TH PLIndividual986640001UnknownCHPWA123456789OrganizationCLEARINGHOUSE CLIENT SERVICESList(Telephone, Fax, 8005551212, 8005551212)TelephoneFax80055512128005551212Unknown987654321CLEARINGHOUSE LLCOrganizationVANCOUVERInsured987321SUBSCRIBER JOHN JSelfWA987 65TH PLIndividual986640001
" + "
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": { @@ -3581,714 +9676,1199 @@ "columnCustomDisplayInfos": {}, "data": [ [ + "ZZ", "123456789", "CLEARINGHOUSE", "20180508:0833", "222", - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662", - "Yes", - "VANCOUVER", + "", + "", "20", - "1", - "7349065509", - "Rendering Provider", - "57", - "PROVIDER JAMES ", - "1112223338", "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, [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" + "VANCOUVER", + "720000000", + "EI", + "Organization", + "BH CLINIC OF VANCOUVER", + "1122334455", + "", + "WA", + "12345 MAIN ST", + "", + "98662" + ], + null, + null, + null, + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual", [ - "Service Facility", + "", + "", + "", + "Organization", "BH CLINIC OF VANCOUVER", "1122334455", - "Organization" + "", + "", + "", + "", + "" ], - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization", - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662", - "TODO", [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", + "", + "", + "", "Individual", - "986640001" - ], + "PROVIDER JAMES ", + "1112223338", + "PE", + "", + "", + "261QR0405X", + "" + ] + ], + [ + "ZZ", + "123456789", + "CLEARINGHOUSE", + "20180508:0833", + "222", + "", + "", + "50.1", + "1805080AV3648347", + "", + "", + "57:B:1", + "", + "", + "", + "", + "", + "F1520", + "", "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", + "19881031", + "D8", + "F", + "PATIENT SUSAN E", + "", "WA", - "987 65TH PL", - "Individual", - "986640001", - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ], - "Payer", + "765 43RD ST", + "18", + "986640002", + "2", "CHPWA", + "PI", "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization", - [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" - ], - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual", + null, [ "VANCOUVER", - "Service Facility", + "720000000", + "EI", + "Organization", "BH CLINIC OF VANCOUVER", "1122334455", + "", "WA", - "12345 MAIN ST SUITE A1", - "Organization", + "12345 MAIN ST", + "", "98662" ], - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662", - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001", - "Unknown", - "CHPWA", - "123456789", - "Organization", - "CLEARINGHOUSE CLIENT SERVICES", + null, + null, + null, [ - "Telephone", - "Fax", - "8005551212", - "8005551212" + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], - "Telephone", - "Fax", - "8005551212", - "8005551212", - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization", - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" + [ + "", + "", + "", + "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", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", + "19881225", + "D8", + "M", + "SUBSCRIBER JOHN J", + "", "WA", - "12345 MAIN ST", - "Organization", - "98662", - "Yes", - "VANCOUVER", - "50.1", - "1", - "7349065730", - "Rendering Provider", - "57", - "PROVIDER SUSAN ", - "1112223346", - "1805080AV3648347", + "987 65TH PL", + "18", + "986640001", + "2", + "CHPWA", + "PI", + "COMMUNITY HEALTH PLAN OF WASHINGTON", + null, [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" + "VANCOUVER", + "720000000", + "EI", + "Organization", + "BH CLINIC OF VANCOUVER", + "1122334455", + "", + "WA", + "12345 MAIN ST", + "", + "98662" + ], + null, + null, + null, + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual", [ - "Service Facility", + "", + "", + "", + "Organization", "BH CLINIC OF VANCOUVER", "1122334455", - "Organization" + "", + "", + "", + "", + "" ], - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization", - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662", - "TODO", [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "WA", - "765 43RD ST", + "", + "", + "", "Individual", - "986640002" - ], + "PROVIDER SUSAN ", + "1112223346", + "PE", + "", + "", + "261QR0405X", + "" + ] + ], + [ + "ZZ", + "123456789", + "CLEARINGHOUSE", + "20180508:0833", + "222", + "", + "", + "234", + "1805080AV3648353", + "", + "", + "53:B:1", + "", + "", + "", + "", + "", + "F251", + "", "VANCOUVER", - "Insured", - "765123", + "19881031", + "D8", + "F", "PATIENT SUSAN E", + "", "WA", "765 43RD ST", - "Individual", + "18", "986640002", - [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" - ], - "Payer", + "2", "CHPWA", + "PI", "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization", - [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" - ], - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual", + null, [ "VANCOUVER", - "Service Facility", + "720000000", + "EI", + "Organization", "BH CLINIC OF VANCOUVER", "1122334455", + "", "WA", - "12345 MAIN ST SUITE A1", - "Organization", + "12345 MAIN ST", + "", "98662" ], - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662", - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002", - "Unknown", - "CHPWA", - "123456789", - "Organization", - "CLEARINGHOUSE CLIENT SERVICES", + null, + null, + null, [ - "Telephone", - "Fax", - "8005551212", - "8005551212" + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], - "Telephone", - "Fax", - "8005551212", - "8005551212", - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization", - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" + [ + "", + "", + "", + "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", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", + "19881225", + "D8", + "M", + "SUBSCRIBER JOHN J", + "", "WA", - "12345 MAIN ST", - "Organization", - "98662", - "Yes", - "VANCOUVER", - "11.64", - "1", - "7349065492", - "Rendering Provider", - "57", - "PROVIDER SUSAN ", - "1112223346", - "1805080AV3648340", + "987 65TH PL", + "18", + "986640001", + "2", + "CHPWA", + "PI", + "COMMUNITY HEALTH PLAN OF WASHINGTON", + null, [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" + "VANCOUVER", + "720000000", + "EI", + "Organization", + "BH CLINIC OF VANCOUVER", + "1122334455", + "", + "WA", + "12345 MAIN ST", + "", + "98662" + ], + null, + null, + null, + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual", [ - "Service Facility", + "", + "", + "", + "Organization", "BH CLINIC OF VANCOUVER", "1122334455", - "Organization" + "", + "", + "", + "", + "" ], - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization", - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662", - "TODO", [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", + "", + "", + "", "Individual", - "986640001" + "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" ], - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", - "Individual", - "986640001", + null, + null, + null, [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" + "", + "", + "", + "Individual", + "ABCD STUVW ", + "1234567890", + "", + "", + "", + "", + "" ], - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization", [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" + "", + "", + "", + "Organization", + "ABCDEFG HIJKLMN HOSP", + "1122334460", + "", + "", + "", + "", + "" ], - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual", [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", + "", + "", + "", + "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", - "98662" + "ABCDE EFGHIJ GROUP PC", + "1222222223", + "", + "CA", + "123 ADDRESS5", + "", + "908021115" ], - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662", - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001", - "Unknown", - "CHPWA", - "123456789", - "Organization", - "CLEARINGHOUSE CLIENT SERVICES", + null, + null, + null, [ - "Telephone", - "Fax", - "8005551212", - "8005551212" + "", + "", + "", + "Individual", + "ABCDEFG OPQRST A", + "1122334460", + "", + "", + "", + "", + "" ], - "Telephone", - "Fax", - "8005551212", - "8005551212", - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization", - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" + [ + "", + "", + "", + "Organization", + "ABCDEFG HIJKLMN HOSP", + "1122334450", + "", + "", + "", + "", + "" + ], + [ + "", + "", + "", + "Individual", + "STUVW KLMNOP H", + "1122334461", + "PE", + "", + "", + "207L00000X", + "" + ] ], [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", + "ZZ", + "OO000011111", + "000000005D", + "20180710:214339", "222", - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662", - "Yes", - "VANCOUVER", - "234", - "1", - "7349064290", - "Rendering Provider", - "53", - "PROVIDER SUSAN ", - "1112223346", - "1805080AV3648353", + "", + "", + "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, [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" + "FAKE CITY", + "931013923", + "EI", + "Organization", + "ABCDE EFGHIJ GROUP PC", + "1477527786", + "", + "CA", + "123 ADDRESS9", + "", + "908021119" ], - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual", + null, + null, + null, [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" + "", + "", + "", + "Individual", + "ABCDEFGH OPQRSTU A", + "1122334456", + "", + "", + "", + "", + "" ], - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization", - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662", - "TODO", [ - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "WA", - "765 43RD ST", + "", + "", + "", + "Organization", + "ABCDEFG HIJKLMN HOSP", + "1122334458", + "", + "", + "", + "", + "" + ], + [ + "", + "", + "", "Individual", - "986640002" + "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" ], - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "WA", - "765 43RD ST", - "Individual", - "986640002", + null, + null, + null, [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" + "", + "", + "", + "Individual", + "ABCDEFGHI OPQRSTUV A", + "1122334455", + "", + "", + "", + "", + "" ], - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization", [ - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual" + "", + "", + "", + "Organization", + "ABCDEFG HIJKLMN HOSP", + "1122334457", + "", + "", + "", + "", + "" ], - "Rendering Provider", - "PROVIDER SUSAN ", - "1112223346", - "Individual", [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", + "", + "", + "", + "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", - "98662" + "Test Provider", + "9999999999", + "", + "IL", + "123 MAIN STREET", + "", + "600980000" + ], + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662", - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002", - "Unknown", - "CHPWA", - "123456789", - "Organization", - "CLEARINGHOUSE CLIENT SERVICES", [ - "Telephone", - "Fax", - "8005551212", - "8005551212" + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" + ], + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], - "Telephone", - "Fax", - "8005551212", - "8005551212", - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization", - "VANCOUVER", - "Insured", - "765123", - "PATIENT SUSAN E", - "Self", - "WA", - "765 43RD ST", - "Individual", - "986640002" + null, + null, + null ], [ - "123456789", - "CLEARINGHOUSE", - "20180508:0833", + "ZZ", + "XXXXX", + "XXXXXXX", + "20170617:1741", "222", - "VANCOUVER", - "Billing Provider", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST", - "Organization", - "98662", - "Yes", - "VANCOUVER", - "20", - "1", - "7349064036", - "Rendering Provider", - "57", - "PROVIDER JAMES ", - "1112223338", - "1805080AV3648355", + "", + "", + "140", + "1000A", + "", + "", + "19:B:1", + "", + "", + "", + "", + "", + "I10", + "", + "CHICAGO", + "19570111", + "D8", + "M", + "BLOGGS JOE ", + "", + "IL", + "1 SOME BLVD", + "18", + "606129998", + "2", + "12345", + "PI", + "PAYER", + null, [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" + "CHICAGO", + "999999999", + "EI", + "Organization", + "BILLING PROVIDER", + "1122334455", + "", + "IL", + "1234 SOME ROAD", + "", + "606739999" ], - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual", + null, + null, + null, [ - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization" + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "Organization", - "WA", - "12345 MAIN ST SUITE A1", - "Individual", - "98662", - "TODO", [ - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", + "", + "", + "", "Individual", - "986640001" + " ", + "", + "", + "", + "", + "", + "" ], - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "WA", - "987 65TH PL", - "Individual", - "986640001", [ - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization" + "", + "", + "", + "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" ], - "Payer", - "CHPWA", - "COMMUNITY HEALTH PLAN OF WASHINGTON", - "Organization", + null, + null, + null, [ - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual" + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], - "Rendering Provider", - "PROVIDER JAMES ", - "1112223338", - "Individual", [ - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", + "", + "", + "", + "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", - "98662" + "Test Provider", + "9999999999", + "", + "IL", + "123 MAIN STREET", + "", + "600980000" ], - "VANCOUVER", - "Service Facility", - "BH CLINIC OF VANCOUVER", - "1122334455", - "WA", - "12345 MAIN ST SUITE A1", - "Organization", - "98662", - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001", - "Unknown", - "CHPWA", - "123456789", - "Organization", - "CLEARINGHOUSE CLIENT SERVICES", + null, + null, + null, [ - "Telephone", - "Fax", - "8005551212", - "8005551212" + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" ], - "Telephone", - "Fax", - "8005551212", - "8005551212", - "Unknown", - "987654321", - "CLEARINGHOUSE LLC", - "Organization", - "VANCOUVER", - "Insured", - "987321", - "SUBSCRIBER JOHN J", - "Self", - "WA", - "987 65TH PL", - "Individual", - "986640001" + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" + ], + [ + "", + "", + "", + "Individual", + " ", + "", + "", + "", + "", + "", + "" + ] ] ], "datasetInfos": [], @@ -4308,487 +10888,895 @@ "schema": [ { "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_billing_provider_city", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_billing_provider_entity_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_billing_provider_name", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_billing_provider_npi", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_billing_provider_state", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_billing_provider_street", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_billing_provider_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_billing_provider_zip", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_benefits_assign_flag", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_city", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_claim_amount", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_claim_code_freq", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_claim_id", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_entity_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_facility_type_code", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_name", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_npi", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_patient_id", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_providers_Rendering_Provider", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_providers_Rendering_Provider_entity_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_providers_Rendering_Provider_name", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_providers_Rendering_Provider_npi", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_providers_Rendering_Provider_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_providers_Service_Facility", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_providers_Service_Facility_entity_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_providers_Service_Facility_name", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_providers_Service_Facility_npi", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_providers_Service_Facility_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_state", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_street", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_type", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_header_zip", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_claim_lines", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Insured", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Insured_city", - "type": "\"string\"" - }, - { - "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Insured_entity_type", + "name": "tax_id", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Insured_id", + "name": "receiver", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Insured_name", + "name": "sender", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Insured_state", + "name": "transaction_datetime", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Insured_street", + "name": "transaction_type", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Insured_type", + "name": "admission_src_cd", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Insured_zip", + "name": "admission_type", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Payer", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"id\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Payer_entity_type", + "name": "claim_amount", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Payer_id", + "name": "claim_id", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Payer_name", + "name": "date_format", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Payer_type", + "name": "discharge_status_cd", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Rendering_Provider", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"entity_type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"npi\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Rendering_Provider_entity_type", + "name": "facility_type_code", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Rendering_Provider_name", + "name": "service_date", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Rendering_Provider_npi", + "name": "service_time", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Rendering_Provider_type", + "name": "admitting_dx_cd", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Service_Facility", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"city\",\"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\":\"state\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"street\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"type\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"zip\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}}]}" - }, - { - "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Service_Facility_city", + "name": "external_injury_dx_cd", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Service_Facility_entity_type", + "name": "other_dx_cds", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Service_Facility_name", + "name": "principal_dx_cd", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Service_Facility_npi", + "name": "reason_visit_dx_cd", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Service_Facility_state", + "name": "city", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Service_Facility_street", + "name": "dob", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Service_Facility_type", + "name": "dob_format", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_grouped_subscriber_entities_Service_Facility_zip", + "name": "gender_cd", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_patient_city", + "name": "name", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_patient_entity_type", + "name": "patient_relationship_cd", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_patient_id", + "name": "state", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_patient_name", + "name": "street", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_patient_relationship_to_insured", + "name": "subscriber_relationship_cd", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_patient_state", + "name": "zip", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_patient_street", + "name": "business_entity_type", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_patient_type", + "name": "payer_identifier", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_patient_zip", + "name": "payer_identifier_cd", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_reciever_entity_type", + "name": "payer_name", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_reciever_id", - "type": "\"string\"" + "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": "Claim_reciever_name", - "type": "\"string\"" + "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": "Claim_reciever_type", - "type": "\"string\"" + "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": "Claim_submitter_contact_name", - "type": "\"string\"" + "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": "Claim_submitter_contacts_primary", - "type": "{\"type\":\"struct\",\"fields\":[{\"name\":\"contact_method\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_method_2\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_number\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"contact_number_2\",\"type\":\"string\",\"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\":{}}]}" }, { "metadata": "{}", - "name": "Claim_submitter_contacts_primary_contact_method", - "type": "\"string\"" + "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": "Claim_submitter_contacts_primary_contact_method_2", - "type": "\"string\"" + "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": "Claim_submitter_contacts_primary_contact_number", - "type": "\"string\"" - }, + "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_submitter_contacts_primary_contact_number_2", + "name": "claim_id", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_submitter_entity_type", + "name": "claim_line_number", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_submitter_id", + "name": "dg_cd_pntr", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_submitter_name", + "name": "line_chrg_amt", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_submitter_type", + "name": "modifier_cds", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_subscriber_city", + "name": "place_of_service", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_subscriber_entity_type", + "name": "prcdr_cd", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_subscriber_id", + "name": "prcdr_cd_type", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_subscriber_name", + "name": "revenue_cd", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_subscriber_relationship_to_insured", + "name": "service_date", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_subscriber_state", + "name": "service_date_format", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_subscriber_street", + "name": "service_time", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_subscriber_type", + "name": "units", "type": "\"string\"" }, { "metadata": "{}", - "name": "Claim_subscriber_zip", + "name": "units_measurement", "type": "\"string\"" } ], @@ -4799,22 +11787,18 @@ } ], "source": [ - "display(claims_flat)" - ] - }, - { - "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" + "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" ] }, { @@ -4822,28 +11806,15 @@ "execution_count": 0, "metadata": { "application/vnd.databricks.v1+cell": { - "cellMetadata": { - "byteLimit": 2048000, - "rowLimit": 10000 - }, + "cellMetadata": {}, "inputWidgets": {}, - "nuid": "39204f11-81af-4b7e-89f6-e935ea6c30c3", + "nuid": "f4500dc5-5109-4289-a72c-c359b9bb2aa8", "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}.claims_flat_table\"\n", - "\n", - "# Save the claims_flat DataFrame as a Delta table in your Unity catalog\n", - "claims_flat.write.format(\"delta\").mode(\"overwrite\").saveAsTable(uc_table_name)" - ] + "source": [] }, { "cell_type": "code", @@ -4852,7 +11823,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "a5349d91-9e0b-487b-aeb7-badffa3baf98", + "nuid": "adbe41f7-ea16-412c-8834-940af6977db7", "showTitle": false, "title": "" } @@ -4866,13 +11837,13 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "228b65d0-6c0e-437b-b543-43321ce1056d", + "nuid": "5e3b4e71-6796-4270-97d9-1420f9575da4", "showTitle": false, "title": "" } }, "source": [ - "### The overall JSON data outside of Spark" + "### Write table to Unity Catalog" ] }, { @@ -4885,33 +11856,22 @@ "rowLimit": 10000 }, "inputWidgets": {}, - "nuid": "ee249b2b-21e9-4175-8102-52ba157e61c6", + "nuid": "39204f11-81af-4b7e-89f6-e935ea6c30c3", "showTitle": false, "title": "" } }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "output_type": "stream", - "text": [ - "{\n \"EDI.sender_tax_id\": \"ZZ\",\n \"FuncitonalGroup\": [\n {\n \"FunctionalGroup.receiver\": \"123456789\",\n \"FunctionalGroup.sender\": \"CLEARINGHOUSE\",\n \"FunctionalGroup.transaction_datetime\": \"20180508:0833\",\n \"FunctionalGroup.transaction_type\": \"222\",\n \"Transactions\": [\n {\n \"Transaction.transaction_type\": \"222\",\n \"Claims\": [\n {\n \"submitter\": {\n \"contact_name\": \"CLEARINGHOUSE CLIENT SERVICES\",\n \"contacts\": {\n \"primary\": [\n {\n \"contact_method\": \"Telephone\",\n \"contact_number\": \"8005551212\",\n \"contact_method_2\": \"Fax\",\n \"contact_number_2\": \"8005551212\"\n }\n ]\n },\n \"name\": \"CLEARINGHOUSE LLC\",\n \"type\": \"Organization\",\n \"id\": \"987654321\",\n \"entity_type\": \"Unknown\"\n },\n \"reciever\": {\n \"name\": \"123456789\",\n \"type\": \"Organization\",\n \"id\": \"CHPWA\",\n \"entity_type\": \"Unknown\"\n },\n \"subscriber\": {\n \"relationship_to_insured\": \"Self\",\n \"name\": \"SUBSCRIBER JOHN J\",\n \"street\": \"987 65TH PL\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640001\",\n \"id\": \"987321\",\n \"entity_type\": \"Insured\"\n },\n \"patient\": {\n \"relationship_to_insured\": \"Self\",\n \"name\": \"SUBSCRIBER JOHN J\",\n \"street\": \"987 65TH PL\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640001\",\n \"id\": \"987321\",\n \"entity_type\": \"Insured\"\n },\n \"billing_provider\": {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"street\": \"12345 MAIN ST\",\n \"type\": \"Organization\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Billing Provider\"\n },\n \"claim_header\": {\n \"patient_id\": \"1805080AV3648339\",\n \"claim_amount\": \"20\",\n \"facility_type_code\": \"57\",\n \"claim_code_freq\": \"1\",\n \"benefits_assign_flag\": \"Yes\",\n \"claim_id\": \"7349065509\",\n \"providers\": {\n \"Rendering Provider\": [\n {\n \"name\": \"PROVIDER JAMES \",\n \"type\": \"Individual\",\n \"npi\": \"1112223338\",\n \"entity_type\": \"Rendering Provider\"\n }\n ],\n \"Service Facility\": [\n {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"type\": \"Organization\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Service Facility\"\n }\n ]\n },\n \"name\": \"PROVIDER JAMES \",\n \"street\": \"12345 MAIN ST SUITE A1\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1112223338\",\n \"entity_type\": \"Rendering Provider\"\n },\n \"claim_lines\": \"TODO\",\n \"grouped_subscriber_entities\": {\n \"Insured\": [\n {\n \"name\": \"SUBSCRIBER JOHN J\",\n \"street\": \"987 65TH PL\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640001\",\n \"id\": \"987321\",\n \"entity_type\": \"Insured\"\n }\n ],\n \"Payer\": [\n {\n \"name\": \"COMMUNITY HEALTH PLAN OF WASHINGTON\",\n \"type\": \"Organization\",\n \"id\": \"CHPWA\",\n \"entity_type\": \"Payer\"\n }\n ],\n \"Rendering Provider\": [\n {\n \"name\": \"PROVIDER JAMES \",\n \"type\": \"Individual\",\n \"npi\": \"1112223338\",\n \"entity_type\": \"Rendering Provider\"\n }\n ],\n \"Service Facility\": [\n {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"street\": \"12345 MAIN ST SUITE A1\",\n \"type\": \"Organization\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Service Facility\"\n }\n ]\n }\n }\n ]\n },\n {\n \"Transaction.transaction_type\": \"222\",\n \"Claims\": [\n {\n \"submitter\": {\n \"contact_name\": \"CLEARINGHOUSE CLIENT SERVICES\",\n \"contacts\": {\n \"primary\": [\n {\n \"contact_method\": \"Telephone\",\n \"contact_number\": \"8005551212\",\n \"contact_method_2\": \"Fax\",\n \"contact_number_2\": \"8005551212\"\n }\n ]\n },\n \"name\": \"CLEARINGHOUSE LLC\",\n \"type\": \"Organization\",\n \"id\": \"987654321\",\n \"entity_type\": \"Unknown\"\n },\n \"reciever\": {\n \"name\": \"123456789\",\n \"type\": \"Organization\",\n \"id\": \"CHPWA\",\n \"entity_type\": \"Unknown\"\n },\n \"subscriber\": {\n \"relationship_to_insured\": \"Self\",\n \"name\": \"PATIENT SUSAN E\",\n \"street\": \"765 43RD ST\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640002\",\n \"id\": \"765123\",\n \"entity_type\": \"Insured\"\n },\n \"patient\": {\n \"relationship_to_insured\": \"Self\",\n \"name\": \"PATIENT SUSAN E\",\n \"street\": \"765 43RD ST\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640002\",\n \"id\": \"765123\",\n \"entity_type\": \"Insured\"\n },\n \"billing_provider\": {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"street\": \"12345 MAIN ST\",\n \"type\": \"Organization\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Billing Provider\"\n },\n \"claim_header\": {\n \"patient_id\": \"1805080AV3648347\",\n \"claim_amount\": \"50.1\",\n \"facility_type_code\": \"57\",\n \"claim_code_freq\": \"1\",\n \"benefits_assign_flag\": \"Yes\",\n \"claim_id\": \"7349065730\",\n \"providers\": {\n \"Rendering Provider\": [\n {\n \"name\": \"PROVIDER SUSAN \",\n \"type\": \"Individual\",\n \"npi\": \"1112223346\",\n \"entity_type\": \"Rendering Provider\"\n }\n ],\n \"Service Facility\": [\n {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"type\": \"Organization\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Service Facility\"\n }\n ]\n },\n \"name\": \"PROVIDER SUSAN \",\n \"street\": \"12345 MAIN ST SUITE A1\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1112223346\",\n \"entity_type\": \"Rendering Provider\"\n },\n \"claim_lines\": \"TODO\",\n \"grouped_subscriber_entities\": {\n \"Insured\": [\n {\n \"name\": \"PATIENT SUSAN E\",\n \"street\": \"765 43RD ST\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640002\",\n \"id\": \"765123\",\n \"entity_type\": \"Insured\"\n }\n ],\n \"Payer\": [\n {\n \"name\": \"COMMUNITY HEALTH PLAN OF WASHINGTON\",\n \"type\": \"Organization\",\n \"id\": \"CHPWA\",\n \"entity_type\": \"Payer\"\n }\n ],\n \"Rendering Provider\": [\n {\n \"name\": \"PROVIDER SUSAN \",\n \"type\": \"Individual\",\n \"npi\": \"1112223346\",\n \"entity_type\": \"Rendering Provider\"\n }\n ],\n \"Service Facility\": [\n {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"street\": \"12345 MAIN ST SUITE A1\",\n \"type\": \"Organization\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Service Facility\"\n }\n ]\n }\n }\n ]\n },\n {\n \"Transaction.transaction_type\": \"222\",\n \"Claims\": [\n {\n \"submitter\": {\n \"contact_name\": \"CLEARINGHOUSE CLIENT SERVICES\",\n \"contacts\": {\n \"primary\": [\n {\n \"contact_method\": \"Telephone\",\n \"contact_number\": \"8005551212\",\n \"contact_method_2\": \"Fax\",\n \"contact_number_2\": \"8005551212\"\n }\n ]\n },\n \"name\": \"CLEARINGHOUSE LLC\",\n \"type\": \"Organization\",\n \"id\": \"987654321\",\n \"entity_type\": \"Unknown\"\n },\n \"reciever\": {\n \"name\": \"123456789\",\n \"type\": \"Organization\",\n \"id\": \"CHPWA\",\n \"entity_type\": \"Unknown\"\n },\n \"subscriber\": {\n \"relationship_to_insured\": \"Self\",\n \"name\": \"SUBSCRIBER JOHN J\",\n \"street\": \"987 65TH PL\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640001\",\n \"id\": \"987321\",\n \"entity_type\": \"Insured\"\n },\n \"patient\": {\n \"relationship_to_insured\": \"Self\",\n \"name\": \"SUBSCRIBER JOHN J\",\n \"street\": \"987 65TH PL\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640001\",\n \"id\": \"987321\",\n \"entity_type\": \"Insured\"\n },\n \"billing_provider\": {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"street\": \"12345 MAIN ST\",\n \"type\": \"Organization\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Billing Provider\"\n },\n \"claim_header\": {\n \"patient_id\": \"1805080AV3648340\",\n \"claim_amount\": \"11.64\",\n \"facility_type_code\": \"57\",\n \"claim_code_freq\": \"1\",\n \"benefits_assign_flag\": \"Yes\",\n \"claim_id\": \"7349065492\",\n \"providers\": {\n \"Rendering Provider\": [\n {\n \"name\": \"PROVIDER SUSAN \",\n \"type\": \"Individual\",\n \"npi\": \"1112223346\",\n \"entity_type\": \"Rendering Provider\"\n }\n ],\n \"Service Facility\": [\n {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"type\": \"Organization\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Service Facility\"\n }\n ]\n },\n \"name\": \"PROVIDER SUSAN \",\n \"street\": \"12345 MAIN ST SUITE A1\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1112223346\",\n \"entity_type\": \"Rendering Provider\"\n },\n \"claim_lines\": \"TODO\",\n \"grouped_subscriber_entities\": {\n \"Insured\": [\n {\n \"name\": \"SUBSCRIBER JOHN J\",\n \"street\": \"987 65TH PL\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640001\",\n \"id\": \"987321\",\n \"entity_type\": \"Insured\"\n }\n ],\n \"Payer\": [\n {\n \"name\": \"COMMUNITY HEALTH PLAN OF WASHINGTON\",\n \"type\": \"Organization\",\n \"id\": \"CHPWA\",\n \"entity_type\": \"Payer\"\n }\n ],\n \"Rendering Provider\": [\n {\n \"name\": \"PROVIDER SUSAN \",\n \"type\": \"Individual\",\n \"npi\": \"1112223346\",\n \"entity_type\": \"Rendering Provider\"\n }\n ],\n \"Service Facility\": [\n {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"street\": \"12345 MAIN ST SUITE A1\",\n \"type\": \"Organization\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Service Facility\"\n }\n ]\n }\n }\n ]\n },\n {\n \"Transaction.transaction_type\": \"222\",\n \"Claims\": [\n {\n \"submitter\": {\n \"contact_name\": \"CLEARINGHOUSE CLIENT SERVICES\",\n \"contacts\": {\n \"primary\": [\n {\n \"contact_method\": \"Telephone\",\n \"contact_number\": \"8005551212\",\n \"contact_method_2\": \"Fax\",\n \"contact_number_2\": \"8005551212\"\n }\n ]\n },\n \"name\": \"CLEARINGHOUSE LLC\",\n \"type\": \"Organization\",\n \"id\": \"987654321\",\n \"entity_type\": \"Unknown\"\n },\n \"reciever\": {\n \"name\": \"123456789\",\n \"type\": \"Organization\",\n \"id\": \"CHPWA\",\n \"entity_type\": \"Unknown\"\n },\n \"subscriber\": {\n \"relationship_to_insured\": \"Self\",\n \"name\": \"PATIENT SUSAN E\",\n \"street\": \"765 43RD ST\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640002\",\n \"id\": \"765123\",\n \"entity_type\": \"Insured\"\n },\n \"patient\": {\n \"relationship_to_insured\": \"Self\",\n \"name\": \"PATIENT SUSAN E\",\n \"street\": \"765 43RD ST\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640002\",\n \"id\": \"765123\",\n \"entity_type\": \"Insured\"\n },\n \"billing_provider\": {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"street\": \"12345 MAIN ST\",\n \"type\": \"Organization\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Billing Provider\"\n },\n \"claim_header\": {\n \"patient_id\": \"1805080AV3648353\",\n \"claim_amount\": \"234\",\n \"facility_type_code\": \"53\",\n \"claim_code_freq\": \"1\",\n \"benefits_assign_flag\": \"Yes\",\n \"claim_id\": \"7349064290\",\n \"providers\": {\n \"Rendering Provider\": [\n {\n \"name\": \"PROVIDER SUSAN \",\n \"type\": \"Individual\",\n \"npi\": \"1112223346\",\n \"entity_type\": \"Rendering Provider\"\n }\n ],\n \"Service Facility\": [\n {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"type\": \"Organization\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Service Facility\"\n }\n ]\n },\n \"name\": \"PROVIDER SUSAN \",\n \"street\": \"12345 MAIN ST SUITE A1\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1112223346\",\n \"entity_type\": \"Rendering Provider\"\n },\n \"claim_lines\": \"TODO\",\n \"grouped_subscriber_entities\": {\n \"Insured\": [\n {\n \"name\": \"PATIENT SUSAN E\",\n \"street\": \"765 43RD ST\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640002\",\n \"id\": \"765123\",\n \"entity_type\": \"Insured\"\n }\n ],\n \"Payer\": [\n {\n \"name\": \"COMMUNITY HEALTH PLAN OF WASHINGTON\",\n \"type\": \"Organization\",\n \"id\": \"CHPWA\",\n \"entity_type\": \"Payer\"\n }\n ],\n \"Rendering Provider\": [\n {\n \"name\": \"PROVIDER SUSAN \",\n \"type\": \"Individual\",\n \"npi\": \"1112223346\",\n \"entity_type\": \"Rendering Provider\"\n }\n ],\n \"Service Facility\": [\n {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"street\": \"12345 MAIN ST SUITE A1\",\n \"type\": \"Organization\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Service Facility\"\n }\n ]\n }\n }\n ]\n },\n {\n \"Transaction.transaction_type\": \"222\",\n \"Claims\": [\n {\n \"submitter\": {\n \"contact_name\": \"CLEARINGHOUSE CLIENT SERVICES\",\n \"contacts\": {\n \"primary\": [\n {\n \"contact_method\": \"Telephone\",\n \"contact_number\": \"8005551212\",\n \"contact_method_2\": \"Fax\",\n \"contact_number_2\": \"8005551212\"\n }\n ]\n },\n \"name\": \"CLEARINGHOUSE LLC\",\n \"type\": \"Organization\",\n \"id\": \"987654321\",\n \"entity_type\": \"Unknown\"\n },\n \"reciever\": {\n \"name\": \"123456789\",\n \"type\": \"Organization\",\n \"id\": \"CHPWA\",\n \"entity_type\": \"Unknown\"\n },\n \"subscriber\": {\n \"relationship_to_insured\": \"Self\",\n \"name\": \"SUBSCRIBER JOHN J\",\n \"street\": \"987 65TH PL\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640001\",\n \"id\": \"987321\",\n \"entity_type\": \"Insured\"\n },\n \"patient\": {\n \"relationship_to_insured\": \"Self\",\n \"name\": \"SUBSCRIBER JOHN J\",\n \"street\": \"987 65TH PL\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640001\",\n \"id\": \"987321\",\n \"entity_type\": \"Insured\"\n },\n \"billing_provider\": {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"street\": \"12345 MAIN ST\",\n \"type\": \"Organization\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Billing Provider\"\n },\n \"claim_header\": {\n \"patient_id\": \"1805080AV3648355\",\n \"claim_amount\": \"20\",\n \"facility_type_code\": \"57\",\n \"claim_code_freq\": \"1\",\n \"benefits_assign_flag\": \"Yes\",\n \"claim_id\": \"7349064036\",\n \"providers\": {\n \"Rendering Provider\": [\n {\n \"name\": \"PROVIDER JAMES \",\n \"type\": \"Individual\",\n \"npi\": \"1112223338\",\n \"entity_type\": \"Rendering Provider\"\n }\n ],\n \"Service Facility\": [\n {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"type\": \"Organization\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Service Facility\"\n }\n ]\n },\n \"name\": \"PROVIDER JAMES \",\n \"street\": \"12345 MAIN ST SUITE A1\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1112223338\",\n \"entity_type\": \"Rendering Provider\"\n },\n \"claim_lines\": \"TODO\",\n \"grouped_subscriber_entities\": {\n \"Insured\": [\n {\n \"name\": \"SUBSCRIBER JOHN J\",\n \"street\": \"987 65TH PL\",\n \"type\": \"Individual\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"986640001\",\n \"id\": \"987321\",\n \"entity_type\": \"Insured\"\n }\n ],\n \"Payer\": [\n {\n \"name\": \"COMMUNITY HEALTH PLAN OF WASHINGTON\",\n \"type\": \"Organization\",\n \"id\": \"CHPWA\",\n \"entity_type\": \"Payer\"\n }\n ],\n \"Rendering Provider\": [\n {\n \"name\": \"PROVIDER JAMES \",\n \"type\": \"Individual\",\n \"npi\": \"1112223338\",\n \"entity_type\": \"Rendering Provider\"\n }\n ],\n \"Service Facility\": [\n {\n \"name\": \"BH CLINIC OF VANCOUVER\",\n \"street\": \"12345 MAIN ST SUITE A1\",\n \"type\": \"Organization\",\n \"city\": \"VANCOUVER\",\n \"state\": \"WA\",\n \"zip\": \"98662\",\n \"npi\": \"1122334455\",\n \"entity_type\": \"Service Facility\"\n }\n ]\n }\n }\n ]\n }\n ]\n }\n ]\n}\n" - ] - } - ], + "outputs": [], "source": [ - "from databricksx12 import EDI\n", - "from databricksx12.hls.healthcare import HealthcareManager\n", - "\n", - "hm = HealthcareManager()\n", - "edi = EDI(open(\"/Volumes/raven_catalog/x12_edi_parser/sampledata/CHPW_Claimdata.txt\", \"rb\").read().decode(\"utf-8\"))\n", + "# Define the catalog and schema names\n", + "catalog_name = \"raven_catalog\"\n", + "schema_name = \"x12_edi_parser\"\n", "\n", - "#Returns parsed claim data\n", - "hm.from_edi(edi) \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", - "#Print in json format\n", - "print(json.dumps(hm.to_json(edi), indent=4)) " + "# 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)" ] }, { @@ -4921,7 +11881,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "7fc00075-1bcf-422b-9316-bafe3a480a48", + "nuid": "a5349d91-9e0b-487b-aeb7-badffa3baf98", "showTitle": false, "title": "" } @@ -4958,7 +11918,7 @@ "stack": true }, "nuid": "eb6da336-0d3c-4e9a-9da9-5946cc619472", - "origId": 913200565655500, + "origId": 732197971695990, "title": "Untitled", "version": "DashboardViewV1", "width": 1024 @@ -4969,7 +11929,7 @@ "notebookMetadata": { "pythonIndentUnit": 2 }, - "notebookName": "MedicalClaimBuilder - test", + "notebookName": "ClaimBuilder", "widgets": {} } },