A single API gateway serves the clinician app and the admin console. Node.js services behind it handle authentication and audit logging.
- REST endpoints for patient search, chart summary, medication list, allergy list, lab results and imaging reports
- JSON schema validation at the gateway with a uniform error envelope and machine-readable error codes
- Per-service timeouts and circuit breakers on every call to the hospital information system, lab system and radiology archive
- Rate limiting per user and per device
- Every endpoint is read-only, so the app cannot change a clinical record
