EMR Login
Patients
NameMobileABHAGenderRecords
Loading…
Patient
Patient Info
Care Contexts
Pending OTPs

No pending OTPs
Health Information Requests
Transaction IDConsent IDStatusTime
Loading…
Consent Management (EMR as HIU)
Consent Requests
Request IDPatient ABHAHIPPurposeStatusSourceCreatedAction
No consent requests yet
Health Records Received (via M3 Data Exchange)
Patient / RecordCare ContextReceivedAction
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 IDPatient ABHAPurposeStatusRecordsAction
No granted consents
Loading…
ABHA QR Registration
Scan patient's ABHA QR code to auto-populate and register.
Step 1 — Scan ABHA QR
or paste raw QR JSON below
Step 2 — Verify Patient Details
Existing patient found — will update

Step 3 — Create Encounter (optional)
Patient Registered Successfully!
Patient Check-In (QR Walk-in)
Patients who scanned your facility QR code in the ABHA app appear here.
Auto-refreshes every 10s
When a patient scans your facility QR, they are automatically checked in — no manual action needed. The token number is sent to their ABHA app instantly.
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
  1. Add a patient here with the same mobile/ABHA as your PHR app account
  2. Add some care contexts (OPConsultation, Prescription, etc.)
  3. In the PHR Flutter app → ABDM → Link Records → Discover Records
  4. Enter the HIP ID registered with ABDM
  5. Your patient's care contexts will appear in the app
  6. Select and tap Link — this page will show the OTP
  7. Enter the OTP in the Flutter app
  8. Records are now linked!
Step 5 — Test M3 Health Data Exchange
  1. In PHR app → Consents → Create consent request (use your HIP ID as HIU ID)
  2. ABDM will call your HIU notification endpoint when granted
  3. Your PHR app will automatically request and display the FHIR data