Objective
By the end of this lesson, participants will be able to:
Receive the EDI 837 file from the client securely and validate it.
Convert the EDI file to JSON.
Securely transmit the JSON file to Adva for pricing and confirm receipt.
Once Adva returns the priced JSON, validate it. Convert the JSON back to EDI format and merge the pricing data with the original EDI file.
Finally, securely transmit the merged EDI file back to the client and confirm receipt.
Overview
The Bridge Network Partner Framework encompasses multiple processes to handle the end-to-end journey of health claim bills from receipt to final processing. The framework's design involves converting EDI 837 files to JSON, updating file level metadata and bill level information in the database and leveraging Azure Service Bus to send and receive json message
Design Diagram
Please refer to the diagram below for the low-level design document. This document offers a detailed overview of each component and their interactions within the system.
Description of the Design Diagram
This diagram provides a detailed view of each component and its interactions within the system. Here's a breakdown of the process flow:
Start:
The process begins with the iFileQueue [File level information] and the FileQueueDetail [EDI file in xml format]
Inbound EDI File Processing:
Inbound EDI files are processed, and an intermediate JSON is created.
Archiving Inbound File:
The inbound file is archived in a file share.
Insert into
BillDetail
Table:The intermediate JSON is processed to insert details into the
BillDetail
table.Bill Processing:
Bill JSONs from the inbound intermediate JSON file are placed in the
LCN Location
.Error handling occurs during this phase.
Add Price Details in
BillDetail
:Additional price details are added to the
BillDetail
table, updating pricing information and status.
ADVA Process:
Includes steps such as send and receive json message
Aggregation Process:
The Stored EDI xml file in the FileQueueDetail table gets merged with pricing recieved from adva and create an intermediate xml file.
Outbound EDI Generation:
The Intermediate EDI file gets created with .temp extension. Once the processing will get completed this .temp ext file gets converted into EDI file with required extension (e.g. .837 , .001 etc)
Updating EDI Outbound XML File:
Updating Outbound file in XML format to OutboundXMLRecords table.
Generating EDI Outbound File:
Override the extension to remove the .temp extension
Archival of Outbound File:
The outbound file is archived, and metrics are updated.
LAN File Target (Azure):
The final EDI XML file is transferred to the LAN file target on Azure.
End:
The process ends here.
This diagram illustrates the comprehensive flow and intricate interactions among different components in processing inbound and outbound EDI files within the system.
Use Case: Key Process
The use case involves several key processes:
Inbound Process:
Trigger: Health claim bills are received in EDI 837 format from the client.
Action: The received EDI files are converted to JSON format and stored with metadata in the solution database.
Database Updates: File-level information is stored in the FileQueue table and EDI XML data is stored in the FileQueueDetail table, with the status set to "File Sent".
Bill Submission Process:
Trigger: A file event based on the partner initiates this process.
Action: The intermediate JSON file is split per bill and sent to ASB (Adva Pro). Bill-level information is updated in the BillDetails table with the status set to "Bill Sent".
Consume Adva Pro Response Process:
Trigger: A calendar event based on the partner triggers this process.
Action: Pricing data is fetched from ASB and inserted into the BillDetails table. The status for these bills is updated to "Price Received".
Aggregation Process:
Trigger: A calendar event based on the partner triggers this process.
Action: Data with status "Price Received" is fetched from the BillDetails table. Source file XML is merged with pricing data to create an intermediate XML. The status is updated to "Aggregate Ready".
Outbound Process:
Action: Intermediate XML files are processed to create an intermediate EDI file. This file is then picked up and sent to the Azure LAN Location, updating the necessary fields and ensuring the processed data is correctly formatted and sent.