Patients
| Name | Mobile | ABHA | Gender | Records | |
|---|---|---|---|---|---|
| Loading… | |||||
Patient
Patient Info
Care Contexts
Pending OTPs
No pending OTPs
Health Information Requests
| Transaction ID | Consent ID | Status | Time |
|---|---|---|---|
| Loading… | |||
Consent Management (EMR as HIU)
Request Patient Consent
Consent Requests
| Request ID | Patient ABHA | HIP | Purpose | Status | Source | Created | Action |
|---|---|---|---|---|---|---|---|
| No consent requests yet | |||||||
Health Records Received (via M3 Data Exchange)
| Patient / Record | Care Context | Received | Action |
|---|---|---|---|
| No health records yet | |||
M3 Health Data Exchange (EMR as HIU)
1
Create Consent
Consent Mgmt → New
→
2
Patient Grants
Flutter app → Consents
→
3
Fetch Data
Click "Fetch" below
→
4
View FHIR Data
Records appear below
Granted Consents — Ready to Fetch
| Request ID | Patient ABHA | Purpose | Status | Records | Action |
|---|---|---|---|---|---|
| No granted consents | |||||
Loading…
Patient Check-In (QR Walk-in)
Patients who scanned your facility QR code in the ABHA app appear here.
ABDM calls
POST /v3/hip/patient/share/profile on your registered HIP URL when a patient scans your QR.
Staff can then register the patient or link them to an existing record.
No walk-in profiles yet
Activity Log
Loading…
HIP Setup Guide
Step 1 — Register HIP at ABDM Sandbox
Go to sandbox.abdm.gov.in → Developer Console → Register as HIP.
Set the HIP callback base URL to your backend URL and ABDM will call:
Loading backend URL…
Step 2 — Add ABDM_HIP_ID to .env
ABDM_HIP_ID=your-registered-hip-id
Step 3 — Run DB migration
npm run migrate
Step 4 — Test M2 End-to-End
- Add a patient here with the same mobile/ABHA as your PHR app account
- Add some care contexts (OPConsultation, Prescription, etc.)
- In the PHR Flutter app → ABDM → Link Records → Discover Records
- Enter the HIP ID registered with ABDM
- Your patient's care contexts will appear in the app
- Select and tap Link — this page will show the OTP
- Enter the OTP in the Flutter app
- Records are now linked!
Step 5 — Test M3 Health Data Exchange
- In PHR app → Consents → Create consent request (use your HIP ID as HIU ID)
- ABDM will call your HIU notification endpoint when granted
- Your PHR app will automatically request and display the FHIR data