A production-ready hospital information system for Nigeria, featuring multi-facility support, FHIR interoperability, and enterprise-grade security. Built with Spring Boot, React, PostgreSQL, and deployed on AWS.
# Osun State Teaching Hospital - Health Information System (HIS)
## π₯ Production-Grade Hospital Information System
A comprehensive, multi-module monorepo for managing clinical workflows, patient data, billing, staff scheduling, and operational analytics in a Nigerian healthcare setting.
---
## π Features
### Clinical Workflows
- β
Patient Master with PHI encryption
- β
Appointment booking with smart queue
- β
NEWS2-like triage scoring
- β
Lab & Radiology order workflows
- β
FEFO medication dispensing
- β
Ward & Bed management
### Business Operations
- β
Auto-invoice generation
- β
Multi-payment method support
- β
NHIA/HMO claim lifecycle
- β
Rota auto-generation with conflict detection
- β
Safe discharge handover checklists
- β
Referral & transfer tracking
### Interoperability
- β
FHIR R4-style read APIs
- β
ETag caching support
- β
Delta-based offline sync
- β
Version vectors for consistency
- β
Tombstone support for deletions
### Production Features
- β
Rate limiting per role
- β
IP allowlist for admin
- β
WAF security headers
- β
TLS enforcement
- β
SLO monitoring (99.9% uptime)
- β
Prometheus metrics & Grafana dashboards
- β
OpenTelemetry distributed tracing
- β
Immutable audit trail
- β
Data retention policies
- β
Consent management
---
## ποΈ Architecture
**Clean Architecture** with 12 modules:
- `platform-lib` - Core utilities, security, audit
- `identity` - Keycloak OIDC integration
- `gateway` - API Gateway with routing
- `core-emr` - Patient master and clinical data
- `appointments` - Booking, triage, queue
- `orders-lab-rad` - Lab & radiology orders
- `pharmacy` - Medications and dispensing
- `billing` - Invoices, payments, claims
- `staff-rota` - Rota and handover management
- `notifications` - SMS/WhatsApp integration
- `ops-analytics` - Metrics and analytics
- `interop` - FHIR APIs and sync
---
## π Quick Start
### Prerequisites
- Java 11+
- Docker & Docker Compose
- Maven 3.8+
### Start Infrastructure
```bash
make up
```
### Build Proje β¦