Skip to content
Vestcodes
All insights

Integration

NRCeS FHIR Implementation Guide for ABDM: A Practical Guide

A practical guide to the NRCeS FHIR implementation guide for ABDM: the record profiles, document bundles, SNOMED CT and LOINC coding, and how to map your data.

Author
Vestcodes team
Published
On this page

If you are building ABDM integration, the data model is where the calendar time goes. Patients and consent are a matter of API calls, but every record your system shares has to be a FHIR bundle that matches the NRCeS FHIR implementation guide for ABDM. This article explains what that guide contains, walks through its main profiles (OPConsultRecord, DischargeSummaryRecord, DiagnosticReportRecord and PrescriptionRecord), and gives practical advice on mapping a hospital or lab database onto them.

The guide is published by the National Resource Centre for EHR Standards (NRCeS) as the FHIR Implementation Guide for ABDM. The details below come from version 6.5.0, which its home page lists as the current published version when we read it. The guide is versioned, so pin the version you test against and check the version directory before each release.

What the guide covers

The guide says it defines minimum conformance requirements for exchanging health data in India, using FHIR R4. It sets out profiles (constraints on standard FHIR resources), extensions, value sets and examples. ABDM's provider guidelines tie it to the milestones: a Health Information Provider (HIP) must share records in these formats, and a Health Information User (HIU) must be able to read them. For the milestones themselves, see ABDM integration: M1, M2 and M3.

Its profiles fall into three groups:

  • Clinical records, each based on the FHIR Composition resource: DiagnosticReportRecord, DischargeSummaryRecord, HealthDocumentRecord, ImmunizationRecord, OPConsultRecord, PrescriptionRecord and WellnessRecord.
  • A billing record, InvoiceRecord.
  • Supporting profiles: DocumentBundle, plus profiles for Patient, Practitioner, Organization, Encounter, Condition, Observation (with vital signs, body measurement and other variants), MedicationRequest, AllergyIntolerance, DiagnosticReportLab, DiagnosticReportImaging and many more.

ABDM's guidelines describe three ways to share a record: simple text, a simple structure with attachments such as PDF or JPEG, and fully structured data with standard code sets. HIPs may begin with the first two but must start sharing fully structured data within one year of obtaining ABDM certification. So the sensible plan is to build the structured profile from the start and use attachments as a supplement.

One more convention from the guide's home page: for MUST SUPPORT elements, a receiver must be able to read the element, but a sender may leave it empty if it has nothing to send. That is why HIU code must tolerate missing optional data.

The document bundle

Every record travels as a FHIR document bundle. The DocumentBundle profile fixes the bundle type to "document", and requires a meta version ID, an identifier with a system and a value, and a timestamp. Base FHIR adds one more rule that trips people up: the first entry must be the Composition. The Composition then references everything else.

HL7's documents page explains the idea: a document bundle contains the Composition and the resources it references, directly or indirectly, and once assembled it is immutable. If something changes, you issue a new document rather than editing the old one. Build your "generate record" step around that: the bundle is a snapshot taken at one moment, not a view of live data.

The guide's OPConsultRecord example shows the shape: a Bundle of type document, with a profile pointing at DocumentBundle, a confidentiality security label, an identifier and a timestamp in IST (+05:30), then the Composition, Practitioner, Organization, Patient, Encounter and the clinical resources.

The four profiles most software needs

All four are Composition profiles. Each fixes the Composition's type to a SNOMED CT code (or, for diagnostic reports, prefers one from the guide's own value set) and defines sections that point to specific resource types.

ProfileComposition typeWhat it carries
OPConsultRecordSNOMED CT 371530004, Clinical consultation reportChief complaints, physical examination, allergies, medical history, family history, investigation advice, medications, follow-up, procedure, referral, other observations, attached documents
DischargeSummaryRecordSNOMED CT 373942005, Discharge summaryChief complaints, physical examination, allergies, medical history, family history, investigations, medications, procedures, care plan, attached documents
DiagnosticReportRecordPreferred from the guide's Diagnostic Report Type value setOne section holding a lab or imaging report, and optionally a document such as a PDF
PrescriptionRecordSNOMED CT 440545006, Prescription recordOne section holding MedicationRequest resources, and optionally a Binary for a scanned slip

OPConsultRecord and DischargeSummaryRecord

Each section has its own fixed SNOMED CT code and display. For the OP consult, "Chief complaint section" is 422843007 and holds Condition resources, "Physical exam section" is 425044008 and holds Observations, and "Allergy record" is 722446000 and holds AllergyIntolerance resources. Medications go in a section of MedicationStatement or MedicationRequest, and investigation advice is ServiceRequest. The discharge summary reuses several of these and adds an investigations section for lab and imaging reports, a past-medical-history section with its own code and a care plan section.

Sections are optional individually (0..1), but a Composition needs at least one. FHIR also forbids an empty section: a section must carry text, entries or sub-sections. Do not send empty placeholders.

DiagnosticReportRecord

The record has a single section whose entries are one or two references: a DiagnosticReportLab or DiagnosticReportImaging, and a DocumentReference for the PDF or image of the report. The lab profile prefers LOINC for the report code and uses SNOMED CT for conclusion codes, so a lab system needs a LOINC mapping for its test catalogue. The guide's note on diagnostics says LOINC codes can be used for the measurements, tests, panels and interpretations.

PrescriptionRecord

One section, with MedicationRequest entries and an optional Binary for the scanned or PDF prescription. The medication in a request is bound to the guide's Medicine Codes value set, which covers clinical drugs in SNOMED CT's international edition and the clinical and branded drugs in the Common Drug Codes for India national extension. The binding strength is "example", so the drug code is guidance rather than a hard gate, but coded medicines are what make a prescription useful to the next system.

Coding: SNOMED CT, LOINC and the rest

The guide uses a mix of terminologies, and the binding strength tells you how much freedom you have. Here is how it plays out in the profiles we read:

  • Fixed SNOMED CT codes for the Composition type and each section. You do not choose these; you copy the code and display the profile specifies.
  • LOINC for lab report codes (preferred) and for value sets covering vital signs, body measurements, physical activity and women's health.
  • SNOMED CT for conditions, specimen types, encounter types, routes of administration and more. For Condition.code the binding is a plain FHIR example binding, so coding is encouraged but not enforced by the profile.
  • ICD-10 appears as a diagnostic code value set in the guide's terminology, and ABDM's guidelines also name ICD-11 among the standard code sets.

NRCeS also maintains national terminology releases that fill gaps, including a SNOMED CT national drug extension and Common Lab Codes for India (national releases).

Always include a coding and a readable text for a concept. A system that cannot map a local code yet should still send the text rather than invent a code.

Practical mapping advice

These are our suggestions for teams doing this work, not rules from the guide.

  1. Start from the documents you already produce. Hospitals print OP notes, discharge summaries, lab reports and prescriptions. Build those four first, in that order of how often you print them.
  2. Write a section map before any code. For each profile, list each section and name the table or screen that feeds it. Gaps show up here, not in production.
  3. Map terminology by frequency. Take the conditions, drugs and tests your hospital uses most and map those carefully, with a clinician reviewing. Leave the long tail as text until you have capacity.
  4. Keep one mapping table per code system with an owner, a version and a review date, so new local codes get a mapping before they reach a bundle.
  5. Take identifiers from the registries. The Patient identifier carries the ABHA, the Practitioner an identifier from the professionals registry, and the Organization one from the facility registry. See ABHA number vs ABHA address and HFR and HPR.
  6. Generate the bundle at one moment. Assemble, validate, store and then share. Never rebuild a stored record when someone asks for it later.
  7. Attach the PDF as well. The profiles let you add a DocumentReference or Binary of the printed report, which gives a human-readable fallback while structured coverage grows.
  8. Pin the guide version. The guide is a living document. Record which version each bundle was validated against.

Pitfalls we would plan for

The example does not always match the profile. In the guide's OPConsultRecord example bundle, the "Follow Up" section uses SNOMED CT 736271009, "Outpatient care plan". The OPConsultRecord profile fixes that section to 390906007, "Follow-up encounter". Build from the profile and validate against it, rather than copying the example. The guide itself notes that the example systems are temporary placeholders.

Binding strength varies. Required, extensible, preferred and example bindings behave differently in a validator. Read the Terminology Bindings table on each profile page so a green validator result does not give false comfort, or a surprise failure.

IST and timestamps. The example uses a +05:30 offset. Be consistent about time zones in every dateTime.

References inside a bundle. Every entry the Composition points to must be in the same bundle, with matching full URLs.

How to check your work

Validate the bundle against the guide's package with a FHIR validator, read the errors against the profile page, and then run the bundle through the sandbox flow. Our HL7 v2 vs FHIR comparison covers how this fits with older interfaces in the same hospital, and HMIS, LIS and EMR integration is where we do the terminology mapping. For the ABDM side, see the ABDM integration service, the ABDM page, or contact us.

Sources

Questions

What is the NRCeS FHIR implementation guide for ABDM?

It is the FHIR R4 implementation guide published by the National Resource Centre for EHR Standards (NRCeS) that defines the minimum health record formats exchanged under ABDM: record profiles such as OPConsultRecord and DischargeSummaryRecord, supporting resource profiles, extensions and value sets.

Which FHIR version does ABDM use?

The guide is based on FHIR R4 (version 4.0.1). ABDM's guidelines say all shared health records use FHIR R4 resource bundles profiled for India.

Do I have to use SNOMED CT and LOINC?

Most document and section types are fixed SNOMED CT codes, and the lab report code prefers LOINC. For many other elements the binding is only an example or a preference. ABDM's guidelines also allow simpler formats at first, but expect fully structured data within a year of certification.

How do I know my bundle is valid?

Validate it with a FHIR validator against the implementation guide package, then run it through the ABDM sandbox. The guide's own example bundles are useful references, but they can differ from the profiles, so the profiles win.

Building something in healthcare?

Tell us what you need and which systems it has to work with.

Let's talk