The short version

The FHIR bundle is the documented part. Three other things decide the schedule. The exchange is asynchronous — every message is a sealed envelope that gets a receipt, and the actual answer arrives later on a callback you host, sometimes more than once. Production onboarding is human-gated: the registry entry, the certificate and the callback URL are confirmed step by step with passcodes, using credentials issued only after sandbox certification. And the authoritative values are spread across sources that disagree on fields the gateway validates. Budget for a conversation, a queue, and an afternoon of reconciling documentation.

India's National Health Claims Exchange has been carrying live cashless claims since June 2024, and IRDAI has pushed insurers, TPAs and hospitals to onboard. Most teams meeting it for the first time scope the work as "build the FHIR bundles". That is the part with an implementation guide.

The exchange sits between a treating hospital's system and a payer — an insurer, a TPA, or a State Health Agency — and carries the claim conversation between them. The ten traditional stages of a cashless claim map onto it directly: intimation, policy verification by the hospital, beneficiary and tie-up verification by the payer, treatment plan intimation, preauthorisation, enhancement during treatment, discharge and document submission, payer query and resolution, adjudication, and payment. Each is a message on the exchange rather than a phone call and a PDF, which is the entire point of the thing.

Worth knowing before anything is scoped: the published scope is cashless. Reimbursement — where the patient settles the bill and claims it back afterwards — is described as outside the current scope. A requirement written as "handle claims through NHCX" has quietly assumed a flow that is not there.

Nothing is request and response

This is the structural fact everything else follows from, and it is the one most often missed in an estimate.

ONE CLAIM, TWO CALLS, FOUR HOPS PROVIDER APP hosts /claim/on_submit keeps the correlation NHCX routes by participant code; reads the header cannot read the bundle PAYER hosts /claim/submit answers later, twice submit routed on_submit delivered Provider to payer → POST /v1/claim/submit Payer to provider → POST /v1/claim/on_submit 202 Accepted is a receipt, not an answer. The answer arrives on a callback you host.
Each leg is a separate HTTP call in its own direction. The conversation is held together by a correlation id, not by a connection.

A provider submits a claim by posting it to the exchange. The exchange acknowledges receipt and routes the message onward. The payer's answer comes back as a separate inbound call, from the exchange to a callback endpoint that you registered and that you host. Both parties therefore host the other side's path: the payer hosts the submit webhook, the provider hosts the response webhook, and each acknowledges an inbound delivery before doing anything with it.

Three consequences follow immediately.

A receipt is not an outcome. The immediate response to a submission is an acknowledgement that the message was accepted for routing. Any system that reports "claim submitted successfully" to a billing clerk on the strength of that response is reporting the wrong fact, and the clerk will learn the difference when the claim is queried three days later.

One claim can draw more than one answer. Interim and final claim responses are distinct messages. A design that stores "the response" against a claim will either overwrite the interim answer with the final one, losing the audit trail, or treat the interim one as terminal.

You need durable correlation, not an HTTP client. The conversation is tied together by identifiers in the message header: a fresh identifier per call, one per request, and a correlation identifier that is reused across the whole conversation and echoed on the answer. A separate workflow identifier says which of the ten stages this particular message is. That is state belonging to a conversation that may run for days across preauthorisation, enhancement, discharge, query and adjudication — so it belongs in a table with a status machine, not in a request scope.

The envelope, and what is inside it

Each message is a JSON Web Encryption token: a readable protected header carrying the routing fields, and a body — the FHIR bundle — encrypted to the recipient. The header is bound into the encryption as authenticated data, and the whole thing travels as a single string inside a one-field JSON body.

Two details catch people out. The x-hcx- routing fields are not HTTP headers; they live inside the sealed protected header, so inspecting the request in a proxy tells you almost nothing. And because the bundle is encrypted to the recipient's public key, the exchange itself reads only the header — it routes on participant codes and cannot see the clinical content. That is good design, and it means an empty but structurally valid bundle will sail through the exchange and be rejected by the payer, which is a useful way to test the plumbing before the FHIR is finished.

The spec is not in one place

This is the part no estimate accounts for. The authoritative values for a message are distributed across a protocol specification, an implementation handbook, an FAQ, published sample collections and the gateway's own error responses — and on several validated fields these sources contradict one another. The developer portal is admirably candid about it, which is the only reason any of this is knowable in advance.

  • The encryption algorithm name. One source names the algorithm family, the handbook, the code samples and the sample request bodies all name the 256 variant. Send the one the samples send.
  • The timestamp's time zone. The handbook says Indian Standard Time and warns that UTC will fail validation; the FAQ says UTC with a trailing Z; the sample bundles carry the +05:30 offset. This is a validated field, so the disagreement is not academic.
  • The beneficiary identifier's format. Inside the bundle the ABHA identifier is fourteen digits with no separators, and the published header sample sends the same. The gateway's own rejection for a malformed value asks for a hyphenated form. The workable pattern is to store the digits once and format at the point where the header is built, so that a format change is one function rather than a migration.

The practical consequence: confirm every contested field against a live sandbox call, not against the documentation. Reading more documentation does not resolve a contradiction between documents. One afternoon spent making the gateway tell you which form it accepts is worth more than a week of reconciling PDFs, and the answer should be written down in your own repository where the next engineer will find it.

The same path, two different workflows

The claim submission endpoint carries different things depending on who the payer is. On the general network, a discharge submission goes first and the final claim follows. Under the government scheme, the two are combined into one submission and no separate discharge step exists at all.

Nothing in the message envelope names the scheme. The sending system has to know which payer it is addressing and select the sequence itself — which means the scheme is a first-class attribute of a claim in your own data model, resolved before the first message is built, rather than a branch somewhere in the submission code.

The first blocker is not code

Nothing moves on the exchange until both the sender and the recipient exist in the participant registry, each with a certificate and a callback URL on record. The registry is the source of truth for who may exchange claims data at all.

And the two environments do not behave alike. The sandbox creates a participant in a single call, which makes this feel like a solved problem during development. Production registers a participant in a sequence of steps, each confirmed with a passcode sent to a registered mobile number, using credentials issued only after sandbox certification. Updating the certificate or the callback URL is the same shape: submit, then confirm with a passcode.

So the critical path contains a certification gate, a mobile number somebody has to be holding, and a certificate with an owner and an expiry. None of it is engineering, all of it blocks the first production message, and it is the same pattern we have written about before in the test environment is the schedule. The questions worth asking in week one are dull and decisive: who holds the phone, who owns the certificate renewal, and is the callback endpoint reachable from the gateway through whatever sits in front of it.

What this means for an insurer's own app

For a payer, NHCX changes where the hard problem sits. The claims interface stops being bespoke per hospital and becomes a standards problem, which is a genuine simplification. What arrives instead is a volume of asynchronous, correlated conversations that your adjudication systems and your policyholder app both have to reflect — including the awkward middle states, where a claim is submitted, partially answered, queried, and not yet settled. A member-facing screen that offers only "approved" and "rejected" will be wrong for most of the life of most claims.

That is the familiar problem from the other direction: a value on a screen is meaningless without the date and the state it belongs to, which is the same argument as what a policy administration system will and will not give you.

Questions we get asked

Is NHCX integration mainly a FHIR exercise?

No, and teams that scope it that way are surprised. The bundle has to be right, but the published implementation guides tell you how to build it. What decides the schedule is that the exchange is asynchronous, that production onboarding is a sequence of human-confirmed steps behind a sandbox certification, and that the field values you must send are distributed across a protocol page, a handbook, an FAQ, sample collections and the gateway's own error codes, which do not always agree.

Why is NHCX not request and response?

Because the exchange routes rather than answers. A claim submission is posted to the exchange, which acknowledges it with a receipt and forwards it to the payer. The payer's answer arrives later as a separate inbound call to a callback endpoint you registered and host, and a single claim can produce more than one answer because interim and final responses are distinct messages. So the integration needs durable correlation state for a conversation that spans days, not an HTTP client that waits for a reply.

Does NHCX cover reimbursement claims?

The published scope is cashless settlement between a treating hospital and a payer. Reimbursement, where the patient pays the hospital and later claims the money back from the insurer, is described as outside the current scope. That matters for planning, because a product requirement written as "handle claims through NHCX" quietly assumes a flow the exchange does not currently carry.

Why can the same endpoint mean two different things?

Because the scheme governing the claim changes the workflow while the envelope stays the same. On the general network a discharge submission is followed by a final claim; under the government scheme the two are combined into a single submission and there is no separate discharge step. Nothing in the message header names the scheme, so the sending system has to know which payer it is addressing and choose the sequence itself.

What is the first real blocker on an NHCX project?

Being in the participant registry. Nothing moves until both sender and recipient exist in it with a certificate and a callback URL on record. The sandbox creates a participant in a single call, which makes the problem invisible during development, while production registers in steps, each confirmed with a passcode sent to a registered mobile number, using credentials issued only after sandbox certification. None of that is code, and all of it is on the critical path.

What should a team check before estimating NHCX work?

Who holds the registered mobile number for the passcode steps, who owns the certificate and its renewal, where the callback endpoint will be hosted and whether it is reachable from the gateway, which schemes the product must support, and whether the requirement includes reimbursement. Then confirm the contested field values against a live sandbox call rather than against the documentation, because the documentation is where the disagreements are.

Related service Insurance app development Health claims, policy systems and takaful

We treat an exchange integration as a conversation with durable state rather than a set of endpoints, because that is what it is. It is part of how we scope insurance app development and health claims work.