Hospital ABDM India: ABHA, Consent Manager, Care Contexts, NRCeS FHIR (HIP and HIU)
by Viyug Infotech https://viyuginfotech.com$ 130.39
Hospital ABDM India: ABHA, consent manager, care contexts, NRCeS FHIR (HIP and HIU)
Connect the hospital to the Ayushman Bharat Digital Mission: create and verify ABHA, register patients with Scan & Share, link visits as care contexts, answer consent requests as HIP with NRCeS FHIR document bundles, and request records from other facilities as HIU. You need your own NHA registration; we tested against a mock of the ABDM APIs.
ABHA create and verify Scan & Share Care contexts Consents HIP and HIU NRCeS FHIR
2
ABHA flows: Aadhaar OTP creation and OTP verification
4
NRCeS record types: OP consultation, prescription, diagnostic report, discharge
3
environments: mock, sandbox, production
0
Aadhaar numbers stored in Odoo
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Try it live
One demo hospital runs the whole Viyug hospital family with demo data in every department. No sign-up needed.
Opens directly as the hospital manager of a demo hospital on Odoo 20 Enterprise: hospital dashboard, front desk and OPD, emergency, wards and ICU, theatres, lab, radiology, pharmacy, blood bank, billing and every specialty of the family.
Click Live Preview at the top of this page, or open:
hospital-demo.viyuginfotech.com/try-demo
The demo is shared with other visitors, so please do not enter real data.
What it does
ABHA creation
Aadhaar OTP enrolment with the patient's consent; the Aadhaar number is encrypted for ABDM and never stored.
ABHA verification
OTP on the ABHA mobile or Aadhaar; the name on ABHA is compared with the record before linking.
Scan & Share
Patients scan the facility QR in their ABHA app: the record is created or matched and they get a checked-in visit with a token.
Care contexts
Completed visits become care contexts with their record types and are linked to the ABHA.
HIP consents
Consent artefacts from the consent manager are stored; health information requests are answered with encrypted bundles of the consented care contexts only.
NRCeS FHIR bundles
Document bundles with Composition (SNOMED type), Patient with ABHA, Practitioner with HPR, Organization with HFR, encounter, allergies, diagnoses, medications, vitals and lab reports, built on the interoperability app.
HIU requests
Ask for a patient's records from other facilities with purpose, record types and date range; received bundles are kept as patient documents.
HFR and HPR
Facility ID on the company, professional ID on each physician.
Callbacks checked
Gateway callbacks are verified against the gateway signing keys and logged with their answer.
Settings
Mock, NHA sandbox or production, client credentials, facility IDs and endpoints with a connection test.
Mock mode
Every flow works locally without an NHA account, for training and demos.
Dashboard
ABHA coverage, consents granted and care contexts still to link.
User guide
A step-by-step PDF guide with real screenshots: one guide for the whole Hospital Management family, with every menu, the setup and each screen in the order you use them.
What is inside
- The apps, what each does and the menus
- Install, hospital apps and roles
- Front desk: patients, booking, queue
- OPD: consultation and prescriptions
- Dashboards, privacy and AI
- Emergency and ambulance
- Wards, nursing, ICU and diet
- Laboratory, radiology, blood bank
- Pharmacy and pharmacy POS
- Operation theatre
- Billing, insurance and claims
- Specialities: 12 clinical apps
- Patient portal and telemedicine
- WhatsApp, FHIR / HL7 and ABDM
Open it in your browser:
viyuginfotech.com/guide/viyug_hms_abdm
Scan to open the guide
PDF with screenshots, opens on your phone
Workflow walkthrough
In mock mode, from the settings to records shared and received.
1Settings
Environment, client credentials, HFR facility ID and endpoints.

2Create ABHA
Aadhaar number, mobile and the patient's consent.

3OTP
The OTP sent by Aadhaar (mock: 123456).

4ABHA created
ABHA number and address with the name check, then linked to the patient.

5Patient ABDM tab
ABHA, verification and the care contexts with their record types.

6Consent artefacts
Consents we answered as HIP and requested as HIU, with their state.

7Records received
A granted HIU consent with the records received and kept as documents.

8NRCeS bundle
The document bundle of a care context: profiles and Composition sections (real output).

9ABDM log
Every request and callback with its status.

10Dashboard
ABHA coverage and care contexts to link at the front desk.

Compared
| Feature | This app | Typical alternatives |
|---|---|---|
| ABHA creation and verification | Yes | Not available |
| Care-context linking and HIP consents | Yes | Not available |
| NRCeS FHIR document bundles | Yes | Not available |
| HIU consent requests and records | Yes | Not available |
| Light and dark mode | Yes | Light only |
Setup
1. Register your facility in the Health Facility Registry (HFR) and apply for ABDM integration with the NHA; you receive sandbox client credentials.
2. Install the app; it starts in mock mode so staff can practise.
3. Settings > Hospital > ABDM: choose Sandbox, enter the client ID and secret, the HFR ID as HIP and HIU ID, and test the connection.
4. Give the NHA your callback base URL (https://your-odoo/abdm/...) and pass the NHA functional tests in the sandbox.
5. After NHA certification, switch to Production with the production credentials.
Your own NHA registration
ABDM is run by the National Health Authority (NHA) of India. Using it needs your own HFR registration, NHA integration approval and certification; we cannot provide them. We tested the module against a mock of the ABDM APIs only, because we have no NHA sandbox account. Paths, payloads and the data encryption follow the public ABDM documentation and must be validated during your sandbox certification; tell us about any change and we update the module.
What you need
This app installs on top of the apps below. They are added automatically when you install it.
Hospital Interoperability (viyug_hms_interop)
- FHIR R4 API for 10 resource types with OAuth2 or API key and scopes
- FHIR bundle per visit, CapabilityStatement, Patient create
- HL7 v2 lab results in and lab orders out
- DICOM modality worklist files for Orthanc
- CSV import and export of patients and history
- Every call logged; patient reads in the access log




Hospital Management (base) (viyug_hms_base)
- Patient registration with MRN, duplicate check, allergies, problems and medication history
- Appointments and OPD queue with tokens, QR self check-in and waiting-room TV screen
- Consultation with vitals, NEWS2, ICD-10 diagnoses, prescriptions with allergy checks
- Procedures, certificates, consents with signature and body charts
- Running bill per visit and invoices in Odoo Accounting
- Role dashboards for reception, nurses, doctors and management
- Sensitive records with break-the-glass and a patient access log




Questions
Is this a medical device?
No. It is administrative and documentation software. Clinical features such as interaction checks, critical-value alerts and reference-range flags are decision support for qualified professionals. It is not intended to diagnose, treat or prevent disease, and the clinician stays responsible for every clinical decision. Every alert shows its basis (rule, table row and source). Clinical-support features are off by default and switched on by an administrator.
How is patient health data protected?
Health data is special-category personal data (GDPR Art. 9) and protected health information under HIPAA. You, the hospital or clinic, are the data controller; patient data stays in your own Odoo database. The app uses the hospital roles, branch and department rules, the sensitive-record flag and the access log of the hospital base. No data leaves Odoo except to a service you configure yourself. Use fictional data, never real patients, on test and demo databases.
Is the module certified by the NHA?
No. Certification is per facility software deployment and is done by you with the NHA. We tested against a mock, not the NHA sandbox.
Do you store Aadhaar numbers?
No. The Aadhaar number is encrypted for ABDM when the OTP is requested and only the last four digits stay in the wizard.
Does it work in Community and Enterprise?
Yes. It needs only Community apps. In Enterprise it follows the dark mode.
Works with the Viyug hospital family
Every module shares one patient and one visit record, so they connect without bridge modules. Search the store for these technical names.
Hospital base
Patients, doctors, appointments, visits, vitals, prescriptions, consents, dashboards.
viyug_hms_base
In-patient (IPD)
Admissions, beds, nursing, ICU, discharge.
viyug_hms_ipd
Laboratory
Test catalogue, samples, results, reference ranges, sign-off, QC.
viyug_hms_lab
Radiology
Imaging orders, scheduling, structured reports, PACS link.
viyug_hms_radiology
Pharmacy
Dispensing, lots and expiry, interaction and allergy checks.
viyug_hms_pharmacy
Pharmacy point of sale
Counter sales of prescriptions, lab and imaging bookings at the POS.
viyug_hms_pos
Billing and insurance
One invoice per visit, insurance claims, cashier.
viyug_hms_billing
Patient portal
Online booking, reports and invoices for patients.
viyug_hms_portal
AI assistant
Drafts for notes, discharge summaries and coding, signed by a doctor.
viyug_hms_ai
Need a hand?
Questions before you buy, help with setup or a feature your hospital needs: write to us.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to open the live demo, chat on WhatsApp or write us an email:

Live demo
hospital-demo.viyuginfotech.com
/try-demo

+91 83207 42187

Send us an email
Release notes
2026-11 First release.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Employees (hr) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 12717 |
| Technical Name |
viyug_hms_abdm |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module