X12 837 claims intake to 835 remittance
Take in X12 837 claims, acknowledge them, and carry the 835 remittance back. Claims intake with a 999 works today; the 835 half is in progress.
In progressThis page describes what's coming, not working steps.
A claims workflow has two halves. Claims arrive as X12 837 files and are acknowledged with a 999; later the payer's 835 remittance advice says what was paid and why. This recipe covers the whole loop, so a billing system sees both the claim and its remittance.
Source and destination
Claims come in from an SFTP folder, a webhook or an upload. Each claim goes to a claims system as JSON, and a 999 goes back to the sender. The 835 comes back the other way.
flowchart LR
A[Submitter] -->|837 file| B[MedHook engine]
B -->|999| A
B -->|claim as JSON| C[Claims system]
D[Payer] -.->|835| B
B -.->|remittance as JSON| C- Source: X12 837 (professional, institutional or dental) files; later, 835 files from the payer.
- Destination: a claims or billing system's HTTP API.
What works today
| Part | Today |
|---|---|
| 837 intake from SFTP, webhook or upload | Works. The X12 trigger picks up files, and the guide X12 claims from an SFTP folder builds it end to end. |
| 999 and TA1 acknowledgments | Works. The engine writes a 999 per functional group, and a TA1 when asked for or when the envelope is broken. |
| Read an 835 | Works as a flat segment list with the X12 parse transform. There is no loop-aware tree, so mapping claim payments needs JavaScript. |
| 835 template or guide | We build the 835 workflow with you during onboarding, on the X12 parse transform above. |
| Implementation-guide (SNIP level 3 and up) validation | The 999 checks the envelope: matching control numbers, segment and set counts, and a transaction set a workflow takes. Implementation-guide rules run in your clearinghouse or claims system. |
Adapters involved: x12, sftp and generic-rest.
What's coming
- A loop-aware tree for 837 and 835 (2000A, 2300 and 2100 loops and the like), so claims and payments map with the visual mapper.
- A built-in template and a guide for 835 remittance to JSON.
- Implementation-guide validation, reported in the 999.
Status
In progress. The 837 intake half is available today through the X12 claims guide. The rest needs implementation-guide loop parsing and validation for X12, which the engine does not have yet.