Introduction

View as Markdown

NMS API Platform

The NMS API Platform provides a comprehensive set of endpoints for managing the end-to-end medical supply chain for National Medical Stores (NMS) in Uganda — from order creation and procurement planning through delivery tracking, patient statistics, and analytics reporting.

Base URL

EnvironmentURL
API Gatewayhttps://testapi.nms.go.ug

All requests should be routed through the API Gateway unless you are performing direct health checks on individual microservices.

API Modules

The API is organized into the following functional modules:

ModuleDescription
AuthenticationLogin and user profile management
Program OrdersCreate, review, approve, and track standard program orders
EMHS OrdersEssential Medicines and Health Supplies orders
Procurement PlansFacility procurement plan management
Vaccine OrdersVaccine order tracking (UNEPI)
Special OrdersEmergency and ad-hoc requisitions
Supplementary OrdersTop-up orders between cycles
Master DataFacilities, products, and order cycles
DeliveriesDelivery trip tracking and history
Patient StatisticsHIV testing and ARV regimen data
Reports & AnalyticsFill rates, delivery performance, stock levels
Health ChecksService health monitoring

Key Concepts

All orders, deliveries, and statistics are scoped by a financial year (e.g., 2023/2024) and a cycle number (e.g., 1). These are the primary filters across all endpoints.

Each health facility in Uganda has a unique facility code (e.g., HF0124 for BUBULO HCIV) assigned by the NMS. This code is used to scope all facility-level operations.

Program orders are identified by a template code that encodes the facility, financial year, cycle, and order type (e.g., HF0124-2023/24Cycle1-LAB). This is the primary identifier for order lifecycle operations.

Authentication

This API uses JWT Bearer Token authentication. See the Authentication Guide for details.

Next Steps