The following are the Loops that are most commonly transmitted in the EDI 837 P message.
1. Interchange Control Header (ISA)
2. Functional Group Header (GS)
3. Transaction Set Header (ST)
4. Beginning of Transaction (BHT)
5. Loop 1000A - Submitter Name
6. Loop 1000B - Receiver Name
7. Loop 2000A - Billing Provider Specialty Information.
8. Loop 2010AA - Billing Provider Information
9. Loop 2010AA - Billing Provider Tax Identification.
10. Loop 2010AA - Billing Provider License Information
11. Loop 1010AB - Billing Provider Pay to Address.
12. Loop 2000B - SBR Subscriber Information.
13. Loop 2010BA - Subscriber Name Information
14. Loop 2010BB - Payer Name
15. Loop 2000C - Patient Hierarchical Level
16. Loop 2010CA - Patient Name
17. Loop 2300 - Claim Information
18. Loop 2310A - Referring Provider Name
19. Loop 2310B - Rendering Provider Name
20. Loop 2310C - Service Facility
21. Loop 2320 - Other Subscriber Information
22. Loop 2330A - Other Subscriber Name
23. Loop 2330B - Other Payer Name
24. Loop 2400 - Service Line
25. Transaction Set Trailer (SE)
26. Functional Group Trailer (GE)
27. Interchange Controller Trailer (IEA)
EDI RESTful Web Service API
JSON to EDI 837 Professional Claims
Parse EDI 837p Message into JSON
Parse EDI 835 Message into JSON
Please follow the below link to understand EDI Loops, Segments, Elements.
http://emrpms.blogspot.com/2020/02/understanding-x12-edi-structure.html
Segments in Loop 2000B Subscriber Information
Segment Name | Subscriber Information |
Segment Identifier | SBR |
Segment Description | Provide to which insurance carrier we are sending claims and patient relationship with the insurer |
Segment Example | SBR*P*18*K34532*GFAMPLAN*****BL |
Detail specification | Loop 2000B Subscriber Information |
Segments in Loop 2010BA Subscriber Name
Segment Name | Full Name of the Entity |
Segment Identifier | NM1 |
Segment Description | To Supply Full Name of the Subscriber (Insurer) |
Segment Example | NM1*IL*1*Simmons*Foster****MI*Y333RF3333 |
Detail specification | Loop 2010BA Subscriber Name |
Segment Name | Location |
Segment Identifier | N3 |
Segment Description | Optional. Subscriber Address |
Segment Example | N3*8367 ALIQUAM ROAD*AP #117-8770 |
Detail specification | Loop 2010BA Subscriber Name |
Segment Name | Geographic Location |
Segment Identifier | N4 |
Segment Description | Subscriber City, State and Zip code |
Segment Example | N4*Sugar land*CA*743434232 |
Detail specification | Loop 2010BA Subscriber Name |
Complete Example:
NM1*IL*1*Simmons*Foster****MI*Y333RF3333~N3*8367 ALIQUAM ROAD*AP #117-8770~N4*Sugar land*CA*743434232
Segments in Loop 2010BB Payer Name
Segment Name | Full Name of the Entity |
Segment Identifier | NM1 |
Segment Description | To Supply Full Name of the Payer Name |
Segment Example | NM1*PR*2*Blue Choice*****PI*9393 |
Detail specification | Loop 2010BB Payer Name |
Segment Name | Location |
Segment Identifier | N3 |
Segment Description | Optional. Payer Address |
Segment Example | N3*4787 BLUFF STREET |
Detail specification | Loop 2010BB Payer Name |
Segment Name | Geographic Location |
Segment Identifier | N4 |
Segment Description | Payer City, State and Zip code |
Segment Example | N4*Blue bell*TX*74102 |
Detail specification | Loop 2010BB Payer Name |
Complete Example:
NM1*PR*2*Blue Choice*****PI*9393~N3*4787 BLUFF STREET~N4*Blue bell*TX*74102
Segments in Loop 2310A Referring Provider
Segment Name | Full Name of the Entity |
Segment Identifier | NM1 |
Segment Description | To Supply Full Name of the Referring Provider Provider |
Segment Example | NM1*DN*1*Paul*James*E***XX*1275532041 |
Detail specification | Loop 2310A Referring Provider |
Segment Name | Referring Provider Secondary Information |
Segment Identifier | REF |
Segment Description | To Supply State License and UPIN Number of the Referring Provider |
Segment Example | REF*0B*0B12853W23 |
Detail specification | Loop 2310A Referring Provider |
Segments in Loop 2310B Rendering Provider
Segment Name | Full Name of the Entity |
Segment Identifier | NM1 |
Segment Description | To Supply Full Name of the Rendering Provider |
Segment Example | NM1*82*1*Sean*Smith****XX*6565656565 |
Detail specification | Loop 2310B Rendering Provider |
Segment Name | Rendering Provider Specialty Information |
Segment Identifier | PRV |
Segment Description | To Supply Taxonomy Code of the Rendering Provider |
Segment Example | PRV*PE*PXC*1223G0001X |
Detail specification | Loop 2310B Rendering Provider |
Segment Name | Rendering Provider Secondary Information |
Segment Identifier | REF |
Segment Description | To Supply State License and UPIN Number of the Rendering Provider |
Segment Example | REF*0B*0B12853W23 |
Detail specification | Loop 2310B Rendering Provider |