HMIS — Hospital Management Platform

Exarth built the Hospital Management Information System for the Government of Khyber Pakhtunkhwa — one secure platform connecting multiple hospitals and every role: super admins, medical-unit admins, doctors, pharmacists, lab technicians, receptionists and linked external pharmacies.

  • Multi-hospital, multi-role access
  • e-Prescriptions & pharmacy
  • Lab tests & results
  • Linked external pharmacies
  • HealthTech
  • UI/UX + Dev
  • RBAC
AdminPharmacyLabRx
hmis.kpessi.gov.pk
HMIS platform screens — admin, pharmacy, lab and prescriptions

Built for the Government of Khyber Pakhtunkhwa — Employees Social Security Institution (ESSI).

30Medical units
73Doctors
25.8KPrescriptions
7User roles

Overview/ 01

One platform for every hospital & role

HMIS is a unified Hospital Management Information System for the KPK ESSI — connecting multiple medical units and every role into one secure platform: super admins, unit admins, doctors, pharmacists, lab technicians, receptionists and linked external pharmacies.

Exarth designed and built the platform end to end — from information architecture and a role-based design system to a performant web application that runs prescriptions, pharmacy, lab and distribution across many hospitals at once.

  • Multi-unit super-admin control
  • Role-based doctor, pharmacist & lab
  • e-Prescriptions & distribution
  • Linked external pharmacies
Role
UI/UX + Development
Sector
GovTech · HealthTech
Timeline
9 months
Platform
Web App
Roles
7 user types
Year
2025
HMIS super-admin dashboard

Scope & deliverables

Discovery & Strategy

System architecture, role matrix and workflows across every hospital module.

UX / UI Design

A role-based design system tuned for doctors, pharmacists and lab staff.

Frontend Engineering

A fast, responsive portal with real-time dashboards and dense clinical tables.

Backend & Integrations

Secure APIs, role-based access, pharmacy, lab and linked-pharmacy flows.

Challenge & solution

Disconnected hospitals, or one connected system

Each hospital ran its own disconnected system with shared logins — no central control, no role separation and no visibility across units.

  • Standalone hospitals
  • Shared logins
  • Paper prescriptions

Medical Units · Multi-hospital

Standalone systemsEach hospital ran its own standalone records, so the institution had no central view of units, staff or activity across the province.

Roles & Users · 7 user types

Shared loginsStaff shared generic logins with no separation of duties, leaving clinical and pharmacy data exposed and impossible to audit.

Prescriptions · e-Prescribing

Paper scriptsPrescriptions were handwritten and lost between doctor, pharmacy and patient, with no tracking, history or order trail.

Pharmacy · Inventory

Manual stockMedicine stock was counted by hand per hospital, so expiries, low stock and shortages went unnoticed until it was too late.

No core

No shared platform

Fragmented systems

Disconnected units · No shared data
0Central controlPaperPrescriptions

Lab Tests · Diagnostics

Detached labsLab orders and results lived in separate registers, so clinicians chased paper reports and patients waited for results.

Distribution · Medicine flow

UntrackedMedicine moving between the main inventory and units was untracked, causing losses, disputes and no accountability.

Linked Pharmacies · External

Off-systemExternal pharmacies operated entirely off-system, so referrals and dispensing outside the hospital were invisible to ESSI.

Reports · Analytics

No insightWith data scattered across hospitals there was no way to report on activity, stock or performance institution-wide.

Measurable impact on the live platform

30Medical units
73Doctors
25.8KPrescriptions
7User roles
Key features

Every hospital role, in one platform

From the super admin overseeing every hospital to the pharmacist filling a prescription — each role gets a focused workspace inside the same secure system.

01/05 features

Auto-playing — hover to pause

hmis.kpessi.gov.pk/multi-unit-super-admin Live
Multi-Unit Super Admin
Feature 01Multi-Unit Super AdminA super admin oversees all hospitals — users, medicines, lab items and orders across every unit in real time.

Engineering

Technology & Development

Engineered to run many hospitals on one platform — prescriptions, pharmacy, lab, distribution and linked pharmacies, all role-based and secure.

System architecture

Roles → secure portal → services → hospital data

Live
UI
Client LayerRole-based portals · super admin, unit admin, doctor, pharmacist & lab
SSR · responsive
API
Service LayerMulti-tenant APIs across units, prescriptions, pharmacy & lab
REST · 8 modules
INT
Integration Layere-Prescriptions · lab results · linked pharmacies · reporting
e-Rx · Lab
SEC
Data & SecurityEncrypted records · role-based access · full audit logging
RBAC · audit

How we built it

6-phase delivery

  1. 01

    Discovery & Architecture

    Phase 1

    Mapped every hospital role and workflow into one multi-tenant system blueprint.

  2. 02

    UX / UI Design

    Phase 2

    Built a role-based design system for doctors, pharmacists, lab staff and admins.

  3. 03

    Frontend Engineering

    Phase 3

    Developed fast, responsive role portals with real-time dashboards and dense tables.

  4. 04

    Backend & Integrations

    Phase 4

    Engineered multi-tenant services, e-prescribing, lab, distribution and RBAC APIs.

  5. 05

    QA & Security

    Phase 5

    Hardened access control and audit logging, then tested across every role and unit.

  6. 06

    Launch & Iterate

    Live

    Rolled out across hospitals with monitoring, then iterated on real clinical feedback.

Technology stack

16 technologies

Frontend4

  • Reactv18
  • Next.jsApp Router
  • TypeScriptv5
  • Tailwindv4

Backend4

  • Node.jsv20
  • REST APIs
  • Multi-tenantUnits
  • RBAC7 roles

Data & Cloud4

  • PostgreSQL
  • RedisCache
  • Cloud Hosting
  • Docker

Integrations4

  • e-PrescribeOrders
  • LabResults
  • Linked Pharmacy
  • ReportsPDF/Excel

Product Screens

Every role, one platform

Glide through the live HMIS platform — from the super-admin console to pharmacy, lab, prescriptions and linked pharmacies.

Drag to explore01 / 24
hmis.kpessi.gov.pk/admin
Super admin dashboard

Philosophy

Design Approach

A user-centered design philosophy focused on clarity, accessibility and safe clinical workflows for doctors, pharmacists, lab staff and administrators.

ClarityAccessibilityTrustResponsive
Design pillars
04
Accessibility
AA
Secure access
RBAC
Audience
Clinical & admin staff
Platform
Responsive web app
Design system
30+ shared tokens
Accessibility
WCAG AA

Every screen is shaped around real clinical workflows — clarity first, trust at every step, and role-based safety built into each interaction.

  1. Pillar 01

    Responsive Web Design

    100%Responsive screens

    Fluid layouts and dense clinical tables that stay legible from ward laptops to large displays.

    Crisp from compact laptops to wide monitors.

  2. Pillar 02

    Role-Based Clarity

    7Role workspaces

    Each of the seven roles sees a focused workspace with only the actions they need.

    Every role reaches its task without clutter.

  3. Pillar 03

    Accessible Typography

    AAWCAG contrast

    Accessibility-friendly typography with strong contrast for dense medical data.

    Legible for every user, in any light.

  4. Pillar 04

    Security-First Design

    RBACAccess control

    Role-based interaction patterns that protect patient and clinical data at every step.

    Sensitive data protected at every touchpoint.

Tokens

Design System

A cohesive visual language that keeps every clinical screen consistent, accessible and trustworthy.

5Colors
6Type sizes
5Spacing
8Icons
4Breakpoints

Color palette5

Typography6

Heading

Space Grotesk 800 · 32px

Subheading

Inter 500 · 20px

Body text for product listings, collections, and guides.

Inter 400 · 16px

Caption labels

Inter 400 · 14px

Small helper text

Inter 400 · 12px

Bold heading

Space Grotesk 700 · 18px

Components4

Add to cart Wishlist
Organic In stockHeirloom
DefaultHoverActiveOff

Spacing scale5

XS4px
SM8px
MD16px
LG24px
XL32px