Skip to content
Reference

X12 server

What MedHook does today as an X12 EDI endpoint (intake, SFTP pickup, 999 and TA1), compared with what Mirth Connect and Rhapsody users expect, and what is still in progress.

In progressThis page describes what's coming, not working steps.

On this page

An X12 server takes EDI interchanges from trading partners, such as clearinghouses and payers, checks their envelopes, acknowledges them, splits them into transactions and hands each one to the right workflow. Healthcare organizations that move off Mirth Connect or Rhapsody usually have 837 claims, 835 remittances and 270/271 eligibility running through the old engine. This page says which parts of that job MedHook does on this release, and which are still in progress.

Most of it is here. The engine takes X12 over HTTP, from a dashboard upload or from an SFTP folder it polls itself, and answers with 999 and TA1 acknowledgments. What is still in progress is implementation-guide validation, a ready-made real-time CAQH CORE step and X12 intake from an FTPS folder.

What incumbent engines offer

Teams moving from Mirth Connect or Rhapsody tend to rely on these X12 capabilities:

  • Mirth Connect has an X12 (EDI) data type that serializes an interchange to XML for mapping, File Reader and File Writer connectors over SFTP and FTP, and a Web Service Sender for SOAP. Acknowledgments and trading-partner logic are usually written as channel scripts.
  • Rhapsody has EDI message definitions with loop structure, 999 and TA1 generation, envelope validation, and Directory, SFTP and Web Service communication points.

What MedHook does today

CapabilityMedHook todayWhere
Intake over HTTPAvailable. POST /api/triggers/x12 takes raw X12 or JSON with rawData, authenticated with an engine token.X12 trigger
Intake from a dashboard uploadAvailable, with the source recorded as upload.X12 trigger
SFTP pickupAvailable. Polls a folder, filters by glob, skips files still being written, then moves, deletes or leaves each file.SFTP pickup
Error folder for files that are not X12Available on the X12 SFTP pickup.SFTP pickup
Delimiters from the ISA, split per transaction setAvailable. Each ST to SE runs once per matching trigger, re-enveloped so a later step can parse it.X12 trigger
999 per functional group, TA1 on request or on errorAvailable, syntax level. Returned in the HTTP answer, or written to ackPath on the SFTP server.X12 trigger
Rejected sets never runAvailable. A broken envelope records nothing; a group or set the 999 rejects is skipped.X12 trigger
Duplicate suppressionAvailable, on sender, receiver, ISA13, GS06 and ST02.X12 trigger
Parse, query and generateAvailable. generate builds a whole interchange with control numbers that stay the same when a step retries.X12 adapter, Transforms
Outbound files over SFTPAvailable. The SFTP adapter writes a temporary file and renames it, and checks the server's host key.SFTP adapter
End-to-end claims exampleAvailable.X12 claims from an SFTP folder
Implementation-guide (5010 TR3) validation, loop treeIn progress. Parsed output is a flat list of segments, and checks are syntax only.What's coming
Real-time 270/271 over SOAP (CAQH CORE)In progress. The SOAP adapter sends the 270 in an envelope with a WS-Security UsernameToken; there is no ready-made CORE step yet.SOAP adapter
FTPS transportPartly available. The FTP / FTPS adapter delivers files, and a file pickup trigger reads them, but that trigger does not run the X12 intake (split, 999, TA1, duplicate checks). Only the X12 SFTP pickup does.FTP / FTPS adapter, File pickup
Mutual TLS, custom CA and proxy on HTTP sendsAvailable. REST, FHIR and EHR profiles can present a client certificate, trust a CA you choose and go through a proxy.Connection options
Client certificates on HTTP intakeNot checked by the engine. Require them at your load balancer or ingress.Security

What's coming

  • Loop-aware parsing and TR3 validation. Parse 837, 835, 270 and 271 into their implementation-guide loops (such as 2000A and 2300) so a field map can address a loop instead of a segment position, and validate beyond syntax, with the result in the 999.
  • Real-time eligibility. A ready-made CAQH CORE step on the SOAP adapter, so a workflow can send a 270 and read the 271 from a payer gateway without building the CORE envelope.
  • FTPS intake. The X12 pickup, with its 999 and TA1, over an FTPS folder, for clearinghouses and payers that offer only FTPS.

Reference