Integrations & API

HISx connects to your existing hospital systems

HISx is built on ERPNext's API-first architecture — every record and workflow is accessible via REST API. This means HISx connects to CPOE, HIS, LIMS, payment gateways, and government portals without middleware or custom connector licensing.

Native integration
API-based integration
Planned
Clinical systems
CPOE — Computerised Physician Order Entry
Doctor prescriptions flow from CPOE to HISx dispensing queue in real time. Stock reservation and patient billing triggered automatically on dispensing.
API integration
Clinical systems
HIS — Hospital Information System
Patient admission, discharge, and transfer data synchronised with HISx. Patient billing in HISx linked to HIS patient master. Department-wise consumption reporting.
API integration
Lab systems
LIMS — Lab Information Management System
Lab test orders from LIMS trigger reagent consumption tracking in HISx lab inventory module. Cost-per-test data feeds back to LIMS for test pricing.
API integration
Government portals
GST — GSTN portal
GSTR-1, GSTR-2A, and GSTR-3B reports generated from HISx billing data. E-invoice generation for B2B transactions above the threshold. E-Way bill for high-value medicine transfers.
Native · ERPNext
Government portals
Drug controller reports — NDPS
Monthly NDPS reconciliation reports formatted for state drug controller submission, generated directly from HISx narcotics register data. No manual compilation.
Native · HISx
Payment
Payment gateways — Razorpay, PayTM, UPI
Online payment collection for OPD pharmacy billing. QR code and UPI payment at the pharmacy counter. Automatic reconciliation with HISx billing records.
API integration
Communication
WhatsApp Business API
Near-expiry stock alerts, PR approval notifications, and PO dispatch confirmations sent to pharmacy managers and purchase team via WhatsApp. Configured per notification type.
API integration
Barcode
Barcode scanners — USB & Bluetooth
Standard USB and Bluetooth barcode scanners supported at GRN, dispensing, and stock transfer checkpoints. No proprietary hardware required — works with any standard scanner.
Native · HISx
Standards
SNOMED CT & NRCeS
Clinical data standards for diagnoses, procedures, and medicines — supporting interoperability with ABDM (Ayushman Bharat Digital Mission) and national health data exchange.
Planned · 2025
API architecture

ERPNext REST API — every record accessible

HISx inherits ERPNext's complete REST API. Every document, list, and workflow is accessible via standard HTTP endpoints — authenticated via API key/secret or OAuth.

Example API endpoints
GET /api/resource/Stock Ledger Entry?filters=[["item_code","=","AMOX500"]]
Fetch current stock position for Amoxicillin 500mg across all locations, including batch and expiry details
POST /api/resource/Stock Entry
Create a stock transfer from central pharmacy to ward — triggers both location ledger updates and batch traceability record
GET /api/resource/Purchase Order?filters=[["docstatus","=",1],["status","!=","Completed"]]
Fetch all open purchase orders with outstanding GRN — for vendor follow-up automation
POST /api/method/frappe.client.submit
Submit a document (e.g. approve a PR from an external approval workflow or mobile app)

Authentication uses API key + API secret per user, with role-based access control enforced on every API call. Webhook support for event-driven integrations — trigger external workflows when a PO is approved, a GRN is processed, or a near-expiry alert fires. Full API documentation available to customers.

Have a specific integration requirement?

Tell us what system you need HISx to connect to — we'll assess the integration approach and include it in the scoping discussion.