What the reference system models, a layer at a time: where the demand comes from, then a supply chain that meets it perfectly.
The three years of history in the reference system were not typed in. They were generated from a model of a country: its people, what they need, the programs that treat them, and the stores that keep the medicines moving. This page builds that model up a layer at a time, so you can see what each part of the history is standing on.
Every number in the drawings comes from the model's source data, or is worked out from it the way the model works it out. Where the model is simpler than the real world, the drawing says so rather than showing something the model does not have.
Demand starts with people: the 183,000 in the catchments of the three facilities that treat patients, out of the country's 5,000,000. What they need is made six ways, each sized differently and each in its own colour; click any card to open the drawing behind it.
Open a detail: The people Everyday illness Malaria HIV and TB Nutrition and maternal health Immunization Consumables Marenga Hospital Lemuna Health Center Kesolo Health Post Dispensed to patients Given as vaccine doses Used in the clinic
Now supply that demand perfectly: stock enters at Central Vaccine Store and Central Medical Store, the only stores that buy from outside, and moves down the chain a level at a time. Each store orders on its own interval, up to a target sized from what its customers use, so the quantities add up the chain; click a level for the month, or follow one item down.
Open a detail: Outside suppliers The national stores The regional stores The district stores The facilities The units Patients One item all the way down
The happy path is the backbone. The model then adds what goes wrong in a real supply chain, each on purpose and in a known amount, and ends the history mid-cycle. These are the next layers:
Each overview's cards open these drawings.
Of the country's 5,000,000 people, only the 183,000 in the catchments of the three facilities that treat patients are modeled one by one: from them come a register of 80,136 patients and 18,726 children on vaccination cards, who are enrolled, vaccinated (at Marenga and Lemuna) and dispensed to. Everyone else reaches the chain only through the orders of the stores it supplies but does not hold.
Most of the demand is everyday illness: 79 medicines, each with its own rate - how many times 1,000 people are dispensed it in a year. A facility's month of each is its people times the rate, scaled to how often people here visit a clinic. The groups are only for reading.
Malaria has no enrollment in the model: its medicines are sized per 1,000 people like everyday illness, and the four malaria medicines follow the rains. Stores do not - they order on the flat year-round rate - so in the rains their shelves run lower.
HIV and TB are sized from the patients in care rather than per 1,000 people, averaged over the history, so a store's monthly quantity is the same every month while the number in care grows.
Nutrition and RMNCH (reproductive, maternal and child health) enroll patients, but their medicines are sized per 1,000 people like everyday illness, not from the patients enrolled.
Immunization is Open mSupply's own forecast, from the people each EPI unit serves and the nine-course schedule; Kesolo Health Post has no EPI unit, so it gives no vaccines.
The 20 consumables are sized per 1,000 people like a medicine, and recorded each month as clinic use rather than dispensed.
Marenga Hospital serves 120,000 people. Each figure is its own share of the needs: its people times the rates of the items its stores carry, the people it has in care, and the doses its EPI unit gives.
Lemuna Health Center serves 45,000 people. Each figure is its own share of the needs: its people times the rates of the items its stores carry, the people it has in care, and the doses its EPI unit gives.
Kesolo Health Post serves 18,000 people. Each figure is its own share of the needs: its people times the rates of the items its stores carry, the people it has in care.
Four of the six needs leave the shelf dispensed to patients: each line one course, on a dispensing record for a patient on the register.
Vaccines leave the shelf one dose at a time, each recorded on a vaccination card.
Consumables are not handed to a patient: each store that uses them records its month's use as one dispensing record to a stand-in patient called clinic use.
Only Central Vaccine Store and Central Medical Store buy from outside the chain. A funded item comes from its funder; every other item from whichever company offers it cheapest.
On the 1st of each month the model reads what every store holds, and a store due to order orders up to its target - its supply interval, plus its buffer, plus its lead time - sized from what its customers use, so the quantities add up the chain. Each step ships five days after the one above it.
On the 1st of each month the model reads what every store holds, and a store due to order orders up to its target - its supply interval, plus its buffer, plus its lead time - sized from what its customers use, so the quantities add up the chain. Each step ships five days after the one above it.
On the 1st of each month the model reads what every store holds, and a store due to order orders up to its target - its supply interval, plus its buffer, plus its lead time - sized from what its customers use, so the quantities add up the chain. Each step ships five days after the one above it.
On the 1st of each month the model reads what every store holds, and a store due to order orders up to its target - its supply interval, plus its buffer, plus its lead time - sized from what its customers use, so the quantities add up the chain. Each step ships five days after the one above it.
On the 1st of each month the model reads what every store holds, and a store due to order orders up to its target - its supply interval, plus its buffer, plus its lead time - sized from what its customers use, so the quantities add up the chain. Each step ships five days after the one above it.
Patients are served every day by the stores that hand out medicines and vaccines. How much they need is layer 1.
One item, amoxicillin 250mg, from its supplier to a patient at Kesolo Health Post. Stock moves left to right; the arithmetic runs the other way: each store's month is the sum of its customers', multiplied up at a warehouse for the stores outside the database it also supplies. Each store then orders up to its target once every supply interval.