National Health Authority

Command Palette

Search for a command to run...

AMRIT Pharmacy

Use UHI search and on_search to discover AMRIT Pharmacy records.

AMRIT Pharmacy discovery lets an EUA find AMRIT Pharmacy stores through UHI. HLL Lifecare Limited operates the HSPA for this service. Use this page for Phase 1 discovery-only flows.

ParameterValue
ServiceAMRIT Pharmacy Discovery
HSPA operatorHLL Lifecare Limited
Domain codenic2025:477201
Core version0.7.1
Phase 1 scopesearch and on_search only
Fulfillment typeAMRIT
Item descriptor codeAMRIT_PHARMACY
Item descriptor nameAMRIT_PHARMACY

Participant model

UHI uses 3 participants for this service. Read the shared protocol details at /docs/uhi/v1/network-and-protocol.

ParticipantOperatorRole
EUAA health appSend search and show pharmacy records.
GatewayNHARoute each request and callback.
HSPAHLL Lifecare LimitedReturn AMRIT Pharmacy records.

Discovery flow

sequenceDiagram
  participant EUA
  participant Gateway
  participant HSPA as AMRIT HSPA
  EUA->>Gateway: search
  Gateway-->>EUA: ACK
  Gateway->>HSPA: search
  HSPA-->>Gateway: ACK
  HSPA->>Gateway: on_search
  Gateway-->>HSPA: ACK
  Gateway->>EUA: on_search
  EUA-->>Gateway: ACK

Service identity

Use these values in each AMRIT Pharmacy payload.

FieldValueUse
context.domainnic2025:477201Identify the service domain.
message.intent.fulfillment.typeAMRITSearch for pharmacy records.
message.intent.item.descriptor.codeAMRIT_PHARMACYIdentify the pharmacy item.
message.intent.item.descriptor.nameAMRIT_PHARMACYIdentify the pharmacy item.
provider_id-Register this value with NHA.
provider_uri-Register this URL with NHA.
HSPA public key ID-Register this value with NHA.
Sandbox Gateway URLhttps://uhigatewaysandbox.abdm.gov.in/api/v1/uhi/searchUse the sandbox Gateway.
Production Gateway URLhttps://uhigateway.abdm.gov.in/api/v1/uhi/searchUse the production Gateway.

Authentication

Sign each search and on_search payload with an Ed25519 signature. Complete shared onboarding at /docs/uhi/v1/onboarding, then read signature details at /docs/uhi/v1/network-and-protocol.

Search variants

Use one search variant per user intent. Combine state, district, pincode, and GPS only when the user gives those filters.

Use this payload when the user knows an AMRIT Pharmacy code.

search — by pharmacy code
{
  "context": {
    "domain": "nic2025:477201",
    "country": "IND",
    "city": "std:011",
    "action": "search",
    "core_version": "0.7.1",
    "consumer_id": "eua-nha",
    "consumer_uri": "https://uhieuasandbox.abdm.gov.in/api/v1/euaService",
    "message_id": "e9a19230-f951-11ec-b135-53aea776f66b",
    "timestamp": "2026-06-09T18:24:35",
    "transaction_id": "e9a19230-f951-11ec-b135-53aea776f66b"
  },
  "message": {
    "intent": {
      "category": {
        "descriptor": {
          "code": "Pharmacy Code",
          "name": "Pharmacy Code"
        }
      },
      "fulfillment": {
        "type": "AMRIT",
        "start": {
          "time": {
            "timestamp": "2026-06-09T00:00:00"
          }
        },
        "end": {
          "time": {
            "timestamp": "2026-06-09T23:59:59"
          }
        }
      },
      "item": {
        "descriptor": {
          "code": "AMRIT_PHARMACY",
          "name": "AMRIT_PHARMACY"
        }
      }
    }
  }
}

Representative on_search response

The AMRIT HSPA sends on_search to the EUA consumer_uri through the Gateway. This sample keeps 1 provider record and trims the longer array.

Source note

The source marks the AMRIT on_search payload as invalid JSON. The sample below keeps the same fields and fixes syntax.

on_search — AMRIT Pharmacy results, trimmed
{
  "context": {
    "domain": "nic2025:477201",
    "country": "IND",
    "city": "std:011",
    "action": "on_search",
    "core_version": "0.7.1",
    "consumer_id": "eua-nha",
    "consumer_uri": "https://uhieuasandbox.abdm.gov.in/api/v1/euaService",
    "provider_id": "amrit-hspa",
    "provider_uri": "https://amritpharmacy.gov.in/api/v1/admin/store/",
    "message_id": "e9a19230-f951-11ec-b135-53aea776f66b",
    "timestamp": "2026-06-09T18:24:35",
    "transaction_id": "e9a19230-f951-11ec-b135-53aea776f66b"
  },
  "message": {
    "catalog": {
      "descriptor": {
        "name": "AMRIT PHARMACY SERVICE",
        "images": "<AMRIT PHARMACY HSPA logo image URL>",
        "short_desc": "Short description of AMRIT PHARMACY HSPA",
        "long_desc": "Long description if available"
      },
      "providers": [
        {
          "id": "AMRITST01460",
          "descriptor": {
            "name": "ESIS NAGPUR",
            "code": "",
            "symbol": "",
            "short_desc": "AMRIT – ESIS NAGPUR",
            "long_desc": ""
          },
          "fulfillments": [
            {
              "id": "0",
              "type": "AMRIT",
              "agent": {
                "name": "<Contact Person Name>"
              },
              "start": {
                "time": {
                  "timestamp": "<storeOpeningTime>"
                }
              },
              "end": {
                "time": {
                  "timestamp": "<storeClosingTime>"
                }
              },
              "tags": {
                "@abdm/gov.in/hfr_id": "<hfrId>"
              }
            }
          ],
          "location": {
            "id": "1",
            "descriptor": {
              "name": "ESIS NAGPUR"
            },
            "city": {
              "name": "",
              "code": ""
            },
            "district": {
              "name": "NAGPUR",
              "code": "466"
            },
            "state": {
              "name": "Maharashtra",
              "code": "27"
            },
            "country": {
              "name": "INDIA",
              "code": "+91"
            },
            "gps": "19.7126974,74.4833288",
            "address": "AMRIT PHARMACY, ESIS HOSPITAL, SOMWARI ROAD, OPP. NURSES HOSTEL, KRIDA CHOWK, SOMWARIPETH, NAGPUR, MAHARASHTRA - 440009",
            "radius": {
              "type": "CONSTANT",
              "value": "12",
              "unit": "km"
            }
          },
          "contact": {
            "phone": "<pharmacyContactNumber>",
            "email": "<pharmacyContactEmail>"
          }
        }
      ]
    }
  }
}

Field reference

search context fields

FieldTypeDescription
domainstringUse nic2025:477201.
countrystringUse IND.
citystringUse an STD code, such as std:011.
actionstringUse search.
core_versionstringUse 0.7.1.
consumer_idstringUse the registered EUA ID.
consumer_uristringUse the EUA HTTPS callback URL.
message_idUUIDUse a new value for each call.
transaction_idUUIDUse one value for one search session.
timestampISO 8601Use the request time.

intent filter fields

Field pathTypeRequiredDescription
fulfillment.typestringYesUse AMRIT.
fulfillment.start.time.timestampdatetimeYesSet the start time.
fulfillment.end.time.timestampdatetimeYesSet the end time.
item.descriptor.codestringYesUse AMRIT_PHARMACY.
item.descriptor.namestringYesUse AMRIT_PHARMACY.
category.descriptor.codestringConditionalSet a pharmacy code search value.
category.descriptor.namestringConditionalSet a pharmacy code search value.
location.state.namestringNoSet the state name.
location.state.codestringNoSet the state code.
location.district.namestringNoSet the district name.
location.district.codestringNoSet the district code.
location.gpsstringNoSet latitude and longitude.
location.radius.typestringNoUse CONSTANT for GPS.
location.radius.valuestring or floatNoSet the radius value.
location.radius.unitstringNoUse km.
address.area_codestringNoSet the 6-digit pincode.

on_search provider record fields

Field pathTypeDescription
catalog.providers[].idstringShows the AMRIT store code.
catalog.providers[].descriptor.namestringShows the hospital name.
catalog.providers[].descriptor.codestringThe source leaves this value empty.
catalog.providers[].descriptor.symbolstringThe source leaves this value empty.
catalog.providers[].descriptor.short_descstringShows the pharmacy label.
catalog.providers[].fulfillments[].typestringShows the pharmacy type.
catalog.providers[].fulfillments[].agent.namestringShows the contact person.
catalog.providers[].fulfillments[].start.time.timestampdatetimeShows the store open time.
catalog.providers[].fulfillments[].end.time.timestampdatetimeShows the store close time.
catalog.providers[].fulfillments[].tags.@abdm/gov.in/hfr_idstringShows the HFR ID.
catalog.providers[].location.gpsstringShows the pharmacy GPS point.
catalog.providers[].location.addressstringShows the pharmacy address.
catalog.providers[].location.districtobjectShows the district name and code.
catalog.providers[].location.stateobjectShows the state name and code.
catalog.providers[].location.countryobjectShows INDIA and +91.
catalog.providers[].contact.phonestringShows the pharmacy phone number.
catalog.providers[].contact.emailstringShows the pharmacy email.

Contact and support

Use your NHA point of contact for onboarding, technical support, or interest forms.

ItemValue
OrganisationNational Health Authority, Ayushman Bharat Digital Mission
ServiceUnified Health Interface - AMRIT Pharmacy Discovery
Primary contactabdm.iosdev1@nha.gov.in
Other contactsabdm.pa1@nha.gov.in, abdm.cons11@nha.gov.in

Resources

Sources

  • UHI_AMRIT_Pharmacy_OnboardingDoc_v1.0.docx, v1.0