← Reference system

How the model works

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.

5,000,000people in the country
183,000people whose care is modeled
130medicines and supplies, each with its own yearly rate of use
21stores in the chain

1. Where demand comes from

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.

2. The happy path

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.

From the supplier to the patient Read top to bottom: each level of the chain, its stores and the rule they order by. Click any card for the detail. Outside suppliers · 22 suppliers details › sell only to the two national stores UNICEF: the United Nations Children's Fund; GFATM: the Global Fund to Fight AIDS, Tuberculosis and Malaria; PEPFAR: the US President's Emergency Plan for AIDS Relief; UNFPA: the United Nations Population Fundfunded items come from UNICEF, GFATM, PEPFAR or UNFPA National · two stores details › Central Medical orders every 4 months, holds up to 12 Central Vaccine orders every 3 months, holds up to 8.5 Regional · four stores details › orders every 2 months, holds up to 5 two medical and two vaccine stores District · four stores details › orders every month, holds up to 2.5 two medical and two vaccine stores Facilities · three stores details › orders every month, holds up to 2 Marenga Main Store · Kesolo · Lemuna Units · eight units details › orders every month, holds up to 2 six medical and two vaccine units Patients · 80,136 registered details › prescriptions and vaccine doses, every day and 18,726 children on vaccination cards Follow one item down details › Amoxicillin 250mg tablets, from Entrepôt Central Pharma to a patient at Kesolo Health Post Entrepôt Central Southern Otembe Kesolo patients THE HAPPY PATH Every order is filled in full, and every delivery lands on time. “Holds up to” is in months of what the store’s customers use.

Coming next

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:

3. When stock runs short
Stockouts (a few store and item pairs stop ordering for a month or two), missed order cycles, slow deliveries and part-filled orders, and thin ordering: about one pair in eight ordered below its cover.
4. When stock is lost
Overstock (about one pair in twenty ordered at 4-10 times cover), expiry and its write-offs on the 1st, and VVM (vaccine vial monitor) discard.
5. The last day
Orders still open on the last day of the history, a couple of empty shelves at each facility and unit, open stocktakes where about one count in three disagrees, and open temperature breaches.

The drawings in detail

Each overview's cards open these drawings.

← Back to the overviewClick the drawing to zoom in
The people Where the demand starts: the people of the country, the few whose care is modeled one by one, and the patients on their register. THE COUNTRY 5,000,000 people The one population the model gives the country; every region, district and catchment is a share of it. 183,000 of them (3.7%) live in the catchments of the three facilities that treat patients: the orange sliver. IN THE CATCHMENTS 183,000 people Marenga Hospital 120,000 Lemuna Health Center 45,000 Kesolo Health Post 18,000 4,758 births a year (2.6%) 42,090 women 15-45 (23%) 0.18 outpatient visits a person a year ON THE REGISTER 80,136 patients Generated: 61% of the women 15-45 in the catchments and 40% of everyone else over 1. 18,726 children under 5 on vaccination cards EPI: Expanded Programme on Immunization: the vaccination serviceat Marenga and Lemuna, which have EPI units for vaccination 40 more, written in by hand EVERYONE ELSE 4,817,000 people Not modeled one by one. They are the people served by the stores the chain supplies but does not hold - other districts and their facilities - and they reach it only as those stores' orders, which swell the warehouses' own (layer 2).

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.

← Back to the overviewClick the drawing to zoom in
1 Everyday illness Every medicine sized per 1,000 people that is not on the malaria, nutrition or maternal health lists: 79 of them, each with its own rate - how many times 1,000 people are dispensed it in a year. There is no table of diseases in the model; the groups are this drawing's, by what each medicine is for. 79 medicines, by what they are for per 1,000 people a year the largest items, with their rates per 1,000 a year, as measured at 1.8 visits courses a year here Infections 1,539 28,164 Amoxicillin 250mg 300 · Ciprofloxacin 500mg 253 · Cotrimoxazole 480mg 180 + 21 more Fever and pain 1,314 24,046 (a symptom) Paracetamol 500mg 620 · Paracetamol 24mg/ml 210 + 18 more Diarrhea 260 4,758 Oral Rehydration Salts 20.5g 260 Hypertension and heart 255 4,666 Amlodipine Besylate 5mg 70 · Acetylsalicylic Acid 100mg 45 · Furosemide 40mg 40 + 5 more Worms 160 2,928 Albendazole 400mg 120 · Mebendazole 100mg 40 Asthma 155 2,836 Salbutamol Pressurised Inhaler 100mcg/dose 55 · Prednisolone 5mg 45 + 3 more Diabetes 122 2,233 Metformin 500mg 60 · Glibenclamide 5mg 25 · Glipizide 5mg 15 + 2 more Skin 110 2,013 Clotrimazole Cream 1% 45 · Potassium Permanganate 1:10,000 35 + 1 more Drips and injection fluids 81 1,482 (fluids, not a condition) Sodium Chloride 0.9% 1000ml 55 · Glucose 50% 20 + 1 more Epilepsy and mental health 81 1,482 Carbamazepine 200mg 22 · Diazepam 5mg/ml 20 · Phenobarbital 60mg 18 + 2 more Everything else 92 1,608 (a mix) Omeprazole 20mg 70 · Lidocaine 2% + Adrenaline 1:80000 12 + 1 more 76,217 courses a year across the 183,000 people, before whole-pack rounding How a rate becomes a quantity a facility's month = its people × rate ÷ 1,000 × 0.1 ÷ 12 courses Then × the units in one course, in whole packs - never less than one pack a month. A hospital's people are shared among the units that carry the item. Amoxicillin 250mg at Kesolo: 18,000 × 300 ÷ 1,000 × 0.1 ÷ 12 = 45 courses a month. Why × 0.1 The rates were measured where people visit a clinic about 1.8 times a year. This country visits 0.18 times (Ethiopia's rural rate of 0.16, rounded up), so the mix is real and the volume is a tenth.

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.

← Back to the overviewClick the drawing to zoom in
2 Malaria The five medicines on the malaria programme's list. Malaria has no enrollment: they are sized per 1,000 people like everyday illness, and the malaria medicines among them follow the rains. Item by item per 1,000 people a year per 1,000 a year courses a year here Artemether/Lumefantrine 20/120mg 190 follows the rains 3,477 Artesunate 60mg 25 follows the rains 458 Permethrin 5% 25 458 Quinine Sulfate 300mg 20 follows the rains 366 Quinine Dihydrochloride 300mg/ml 10 follows the rains 183 4,941 courses a year across the 183,000 people, before whole-pack rounding A facility's courses = its people × the rate ÷ 1,000 × 0.1 (the visit scale: see everyday illness). The rains dispensing only Every item's month moves up to ±15%. The four malaria medicines also follow the rains, from ×0.4 in August to ×1.6 in February. Orders do not: stores size their targets on the flat year-round rate. ×1 J F M A M J J A S O N D malaria ×1.6 malaria ×0.4 everything else ±15%

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.

← Back to the overviewClick the drawing to zoom in
3 HIV and TB Sized from the people in care, not per 1,000 people: each person in care takes a month's regimen every month, at its daily dose. Who is in care 12% of registered patients aged 16 and over are enrolled, each in one program chosen at random: HIV 30 : RMNCH: reproductive, maternal and child healthTB 20 : RMNCH 25 among those open to them (RMNCH only to women 15-49). A share of 25 for nutrition is set but not used: nutrition enrolls children, sized by severe malnutrition. Enrollment reaches back four years, so a program has patients on the first day of the history. HIV 2,820 enrolled, 112 of them children ART: antiretroviral therapy, the HIV medicinesIn care for life: 730 at the end of the first month, 2,820 on the last day. Each store's ART (the HIV medicines) is sized on the average in care over the 36 months (about 1,750) at the regimen's daily dose, so the monthly quantity is flat: more than the cohort needs early on, less at the end. The adult mix: dolutegravir/lamivudine/tenofovir 72%, lamivudine 7%, four others 21%. TB 2,048 enrolled, 245 of them children A 6-month course, so about 258 are in care in any month. The phases are not modeled: the regimens share the patient-months by set weights. What they take, and where months of treatment a year HIV 1,746 in care on average 20,955 (9 regimens; the adult mix) Dolutegravir/Lamivudine/Tenofovir 50/300/300mg 72% · five others 28% TB 258 in care on average 3,101 (8 regimens; the adult mix) RHZE 34% · Rifampicin+Isoniazid 150/150mg 25% · three others 41% In care on average, by facility HIV TB on the last day Marenga Hospital at its pharmacy 1,129 164 2,027 Lemuna Health Center 423 68 732 Kesolo Health Post 194 27 345

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.

← Back to the overviewClick the drawing to zoom in
4 Nutrition and maternal health RMNCH: reproductive, maternal and child healthThe 26 medicines on the nutrition and RMNCH (reproductive, maternal and child health) programmes' lists, sized per 1,000 people, and the patients the two programs enroll. 26 medicines, by what they are for per 1,000 people a year the largest items, with their rates per 1,000 a year, as measured at 1.8 visits courses a year here Anemia and micronutrients 575 10,522 Ferrous Sulfate 60mg + Folic Acid 0.4mg 180 · Vitamin A 200,000 IU 90 + 10 more Family planning and childbirth 203 3,715 (services, not diseases) Medroxyprogesterone Acetate 150mg/ml 60 + 9 more Diarrhea 200 3,660 Zinc Sulphate Dispersible 20mg 200 Severe malnutrition 65 1,190 Ready-to-Use Therapeutic Food 92g 45 · F-100 10 · F-75 10 19,087 courses a year across the 183,000 people, before whole-pack rounding Who enrolls Two programs enroll patients, but their medicines are sized per 1,000 people like everyday illness, not from the patients. Nutrition 3,674 children 6-59 months (plus 5 adult enrolees written in by hand) 3% of the register's under-fives a year, treated for RUTF: ready-to-use therapeutic foodsevere acute malnutrition. Their RUTF (ready-to-use therapeutic food) is sized per 1,000 people with the rest of the list, not from the children - a simplification. RMNCH: reproductive, maternal and child healthRMNCH 1,019 women 15-49 (plus 3 written in by hand) Reproductive, maternal and child health: enrolled for a pregnancy. 10 of its 13 items go only to women 15-49; none is kept for the enrolled. 15-49 is the model's rule and the contraceptives'; the population figures count women 15-45.

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.

← Back to the overviewClick the drawing to zoom in
5 Immunization EPI: Expanded Programme on Immunization: the vaccination serviceOpen mSupply's own forecast, from the people each EPI unit serves and the schedule: target × doses in the course × coverage ÷ (1 - the unit's open-vial wastage) ÷ doses in a vial. Every course targets Td: tetanus-diphtheria vaccine, given in pregnancychildren under 1 year except Td, which targets pregnant women. The schedule, course by course doses a year EPI: Expanded Programme on Immunization: the vaccination serviceMarenga EPI unit EPI: Expanded Programme on Immunization: the vaccination serviceLemuna EPI unit course doses · coverage births a year 3,120 1,170 BCG: Bacille Calmette-Guerin, the tuberculosis vaccineBCG 1 dose · 97% 3,026 1,135 bOPV: bivalent oral polio vaccinebOPV 5 doses · 81% 12,636 4,738 HepB: hepatitis B vaccineHepB 1 dose · 62% 1,934 725 IPV: inactivated polio vaccineIPV 2 doses · 75% 4,680 1,755 Measles 2 doses · 67% 4,181 1,568 PCV13: 13-valent pneumococcal conjugate vaccinePCV13 3 doses · 86% 8,050 3,019 Penta: pentavalent vaccine: diphtheria, tetanus, pertussis, hepatitis B and HibPenta 3 doses · 86% 8,050 3,019 Rota: rotavirus vaccineRota 2 doses · 83% 5,179 1,942 pregnant women a year 3,432 1,287 Td: tetanus-diphtheria vaccine, given in pregnancyTd 5 doses · 80% 13,728 5,148 doses a year 61,464 23,049 On cards: 18,726 children - born in the history or up to 18 months before it, while their schedule still Td: tetanus-diphtheria vaccine, given in pregnancyruns - and 22,396 women on the Td course. Each visit is a dose given from a vial on the shelf. Syringes, safety boxes, diluents and droppers follow the vials they are used with. EPI: Expanded Programme on Immunization: the vaccination serviceKesolo Health Post has no EPI unit, so its 18,000 people make no vaccine demand.

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.

← Back to the overviewClick the drawing to zoom in
6 Consumables The 20 supplies used in care - gloves, masks, gauze and the like - sized per 1,000 people like a medicine, then recorded as clinic use rather than dispensed to a patient. Item by item per 1,000 people a year Examination Gloves Nitrile Medium 3,600 · Surgical Face Mask 900 · Gauze Swabs Non-Sterile 10x10cm 350 Examination Gloves Nitrile Small 240 · Adhesive Wound Dressing 10x8cm 140 Sterile Gauze Swabs 10x10cm 120 · IV Cannula 20G 110 · Sodium Chloride 0.9% 2ml 90 Sterile Water 0.5ml 70 · Surgical Gloves 7.5 60 · Sodium Chloride 0.9% 5ml 60 · Crepe Bandage 10cm 45 Dental Amalgam Capsules 1-Spill 30 · Bandage Wool/Cotton 15cm 30 Hydrocolloid Wound Dressing 10x10cm 12 · Urinary Catheter 2-Way 10 · Eugenol Oil 10ml 6 + 3 more 105,825 uses a year across the 183,000 people Who records them uses a year Marenga Hospital MCH: maternal and child healthonce a month from each of its Inpatient, MCH, Emergency and Dental 70,552 Lemuna Health Center once a month 25,195 Kesolo Health Post once a month 10,078

The 20 consumables are sized per 1,000 people like a medicine, and recorded each month as clinic use rather than dispensed.

← Back to the overviewClick the drawing to zoom in
Marenga Hospital 120,000 people in its catchment: its stores, and what each of the six needs comes to here. ITS STORES Pharmacy Inpatient MCH: maternal and child healthMCH Emergency Dental EPI: Expanded Programme on Immunization: the vaccination serviceEPI unit Main Consumables MCH: maternal and child healthThe Pharmacy, Inpatient, MCH, Emergency, Dental EPI: Expanded Programme on Immunization: the vaccination serviceand its EPI unit hand out medicines and vaccines to patients. The Main Store and the Consumables Unit hold and ship stock; they dispense nothing. ITS PEOPLE 120,000 people 3,120 births a year (2.6%) 27,600 women 15-45 (23%) 21,600 outpatient visits a year What each need comes to here a year 1 Everyday illness 50,028 courses = 120,000 people × 4,169 per 1,000 × 0.1 2 Malaria 3,240 courses = 120,000 people × 270 per 1,000 × 0.1 3 HIV and TB 1,293 in care on average: 1,129 HIV and 164 TB; 2,027 on the last day; at the Pharmacy 4 Nutrition and maternal health 12,516 courses = 120,000 people × 1,043 per 1,000 × 0.1 5 Immunization 61,464 doses EPI: Expanded Programme on Immunization: the vaccination servicegiven at its EPI unit 6 Consumables 70,552 uses recorded as clinic use, four a month: one from each store that uses them 1, 2 and 4 together: 120,000 × 5,482 per 1,000 × 0.1 = 65,784 courses a year

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.

← Back to the overviewClick the drawing to zoom in
Lemuna Health Center 45,000 people in its catchment: its stores, and what each of the six needs comes to here. ITS STORES Lemuna EPI: Expanded Programme on Immunization: the vaccination serviceEPI unit EPI: Expanded Programme on Immunization: the vaccination serviceThe health center and its EPI unit hand out medicines and vaccines to patients. ITS PEOPLE 45,000 people 1,170 births a year (2.6%) 10,350 women 15-45 (23%) 8,100 outpatient visits a year What each need comes to here a year 1 Everyday illness 18,706 courses = 45,000 people × 4,157 per 1,000 × 0.1 2 Malaria 1,215 courses = 45,000 people × 270 per 1,000 × 0.1 3 HIV and TB 491 in care on average: 423 HIV and 68 TB; 732 on the last day 4 Nutrition and maternal health 4,694 courses = 45,000 people × 1,043 per 1,000 × 0.1 5 Immunization 23,049 doses EPI: Expanded Programme on Immunization: the vaccination servicegiven at its EPI unit 6 Consumables 25,195 uses recorded as clinic use, one a month 1, 2 and 4 together: 45,000 × 5,470 per 1,000 × 0.1 = 24,615 courses a year

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.

← Back to the overviewClick the drawing to zoom in
Kesolo Health Post 18,000 people in its catchment: its stores, and what each of the six needs comes to here. ITS STORES Kesolo It hands out medicines to patients. ITS PEOPLE 18,000 people 468 births a year (2.6%) 4,140 women 15-45 (23%) 3,240 outpatient visits a year What each need comes to here a year 1 Everyday illness 7,483 courses = 18,000 people × 4,157 per 1,000 × 0.1 2 Malaria 486 courses = 18,000 people × 270 per 1,000 × 0.1 3 HIV and TB 221 in care on average: 194 HIV and 27 TB; 345 on the last day 4 Nutrition and maternal health 1,877 courses = 18,000 people × 1,043 per 1,000 × 0.1 5 Immunization EPI: Expanded Programme on Immunization: the vaccination serviceno EPI unit, so no vaccines 6 Consumables 10,078 uses recorded as clinic use, one a month 1, 2 and 4 together: 18,000 × 5,470 per 1,000 × 0.1 = 9,846 courses a year

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.

← Back to the overviewClick the drawing to zoom in
Dispensed to patients What a patient takes home: up to two items on a dispensing record, one course on each line, for a patient on the register - 80,136 of them. What feeds them a year 1 Everyday illness a rate per 1,000 people 76,217 courses a year 2 Malaria a rate per 1,000 people; follows the rains 4,941 courses a year 3 HIV and TB from the people in care 2,004 people in care 4 Nutrition and maternal health a rate per 1,000 people 19,087 courses a year Who dispenses them Marenga Hospital MCH: maternal and child healthPharmacy, Inpatient, MCH, Emergency and Dental Lemuna Health Center Kesolo Health Post

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.

← Back to the overviewClick the drawing to zoom in
Given as vaccine doses One dose at a time, given from a vial on the shelf and recorded on a vaccination card: 18,726 Td: tetanus-diphtheria vaccine, given in pregnancychildren under 5 and 22,396 women on the Td course carry one. What feeds it a year 5 Immunization from births, pregnancies and the schedule 84,513 doses a year Who gives them Marenga Hospital EPI: Expanded Programme on Immunization: the vaccination serviceEPI unit 61,464 doses Lemuna Health Center EPI: Expanded Programme on Immunization: the vaccination serviceEPI unit 23,049 doses Kesolo Health Post EPI: Expanded Programme on Immunization: the vaccination serviceno EPI unit, so none

Vaccines leave the shelf one dose at a time, each recorded on a vaccination card.

← Back to the overviewClick the drawing to zoom in
Used in the clinic What is used up in care rather than handed to a patient: each month, each store that uses consumables records the month's as one dispensing record to a stand-in patient called clinic use at its facility - six records a month in all. What feeds it a year 6 Consumables a rate per 1,000 people 105,825 uses a year Who records it Marenga Hospital MCH: maternal and child healthInpatient, MCH, Emergency and Dental four a month Lemuna Health Center one a month Kesolo Health Post one a month

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.

← Back to the overviewClick the drawing to zoom in
Outside suppliers The 22 companies and agencies the chain buys from. They sell only to Central Vaccine Store and Central Medical Store, the stores that buy; every other store is supplied from inside the chain. A 31-day month 1 5 10 15 20 25 31 FUNDERS items they pay for UNICEF: the United Nations Children's FundUNICEF · 25 items GFATM: the Global Fund to Fight AIDS, Tuberculosis and MalariaGFATM · 12 items PEPFAR: the US President's Emergency Plan for AIDS ReliefPEPFAR · 6 items UNFPA: the United Nations Population FundUNFPA · 6 items A funded item comes from its funder, every other item from whichever company offers it cheapest. Only the central stores buy: Central Vaccine 22 items from 1 supplier; Central Medical 148 items from 22 suppliers. the 5th: in a buying month, purchases land at 08:00 In this ideal a purchase lands in the month it was ordered. The lead time (2 and 3 months) is still there twice: the target holds that much extra stock, and the purchase order is dated that long before the goods land (14 days at least). COMPANIES items they sell Lupin Limited 19 Silverfern Medical Supplies 16 MediImport BV 12 Viatris India Pvt Ltd 10 Cipla Limited 9 Mission Pharma A/S 9 Entrepôt Central Pharma 7 Medical Export Group BV 7 Pfizer Hospital Supply ΠANZ 5 Lakewood Pharmaceutical Wholesalers 5 Aspen Pharmacare 4 Banner Life Sciences Ltd 4 Pharma International SARL 4 Pharmos Medical India Pvt Ltd 4 Intas Pharmaceuticals Ltd 3 Apex Medical Supplies Ltd 1 Bio Farma 1 Pfizer Inc. 1

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.

← Back to the overviewClick the drawing to zoom in
The national stores Two stores: who supplies them, the rule they order by, and their month. Every order is filled in full, and every delivery lands on time. A 31-day month the 1st: each due store's order is sized from its usable stock that morning a step's day: it ships on the road, 1-5 days Chips are coloured by level, as on the landing page; a vaccine store 1 5 10 15 20 25 31 NATIONAL step 1 orders on the 1st ships on the 6th Central Vaccine Central Medical Buy from outside: Central Vaccine 22 items from 1 supplier; Central Medical 148 items from 22 suppliers. Vaccine: orders every 3 months · keeps 5.5 to 8.5 months min 5.5 = lead 2 + buffer 3.5; max 8.5 = min + interval 3 Medical: orders every 4 months · keeps 8 to 12 months min 8 = lead 3 + buffer 5; max 12 = min + interval 4 the 6th: ships the 5th: purchases land at 08:00, in a buying month A store ships from 10:00 on its day, or an hour after its own delivery lands; most outbounds have left by 15:00, and a delivery landing after 15:00 is sent on at 09:00 the next morning. A shipment takes no batch that would land with under 30 days of shelf life left. February: the same, on the 3rd. Drawn as the ideal: in the history each order moves up to ±15% and demand moves month to month, so some shelves still run low before a delivery lands.

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.

← Back to the overviewClick the drawing to zoom in
The regional stores Four stores: who supplies them, the rule they order by, and their month. Every order is filled in full, and every delivery lands on time. A 31-day month the 1st: each due store's order is sized from its usable stock that morning a step's day: it ships on the road, 1-5 days Chips are coloured by level, as on the landing page; a vaccine store 1 5 10 15 20 25 31 REGIONAL step 2 orders on the 1st ships on the 11th Northern Vaccine Northern Regional Vaccine Store: supplied by Central Vaccine Store Northern Medical Northern Regional Medical Store: supplied by Central Medical Store Southern Medical Southern Regional Medical Store: supplied by Central Medical Store Southern Vaccine Southern Regional Vaccine Store: supplied by Central Vaccine Store Supply: Northern Vaccine, Southern Vaccine from Central Vaccine Store; Northern Medical, Southern Medical from Central Medical Store orders every 2 months · keeps 3 to 5 months min 3 = lead 1 + buffer 2; max 5 = min + interval 2 the 11th: ships its suppliers ship the 6th; on the road 1-5 days A store ships from 10:00 on its day, or an hour after its own delivery lands; most outbounds have left by 15:00, and a delivery landing after 15:00 is sent on at 09:00 the next morning. A shipment takes no batch that would land with under 30 days of shelf life left. A delivery is received into stock 0-2 days after it lands, and the paperwork is dated to fit: a requisition 3-7 days before its supplier ships. February: the same, on the 8th. Drawn as the ideal: in the history each order moves up to ±15% and demand moves month to month, so some shelves still run low before a delivery lands.

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.

← Back to the overviewClick the drawing to zoom in
The district stores Four stores: who supplies them, the rule they order by, and their month. Every order is filled in full, and every delivery lands on time. A 31-day month the 1st: each due store's order is sized from its usable stock that morning a step's day: it ships on the road, 1-5 days Chips are coloured by level, as on the landing page; a vaccine store 1 5 10 15 20 25 31 DISTRICT step 3 orders on the 1st ships on the 16th Marenga Vaccine Marenga District Vaccine Store: supplied by Northern Regional Vaccine Store Marenga Marenga District Store: supplied by Northern Regional Medical Store Otembe Otembe District Store: supplied by Southern Regional Medical Store Otembe Vaccine Otembe District Vaccine Store: supplied by Southern Regional Vaccine Store Supply: Marenga Vaccine from Northern Regional Vaccine Store; Marenga from Northern Regional Medical Store; Otembe from Southern Regional Medical Store; Otembe Vaccine from Southern Regional Vaccine Store orders every month · keeps 1.5 to 2.5 months min 1.5 = lead 0.5 + buffer 1; max 2.5 = min + interval 1 the 16th: ships its suppliers ship the 11th; on the road 1-5 days A store ships from 10:00 on its day, or an hour after its own delivery lands; most outbounds have left by 15:00, and a delivery landing after 15:00 is sent on at 09:00 the next morning. A shipment takes no batch that would land with under 30 days of shelf life left. A delivery is received into stock 0-2 days after it lands, and the paperwork is dated to fit: a requisition 3-7 days before its supplier ships. February: the same, on the 13th. Drawn as the ideal: in the history each order moves up to ±15% and demand moves month to month, so some shelves still run low before a delivery lands.

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.

← Back to the overviewClick the drawing to zoom in
The facilities Three stores: who supplies them, the rule they order by, and their month. Every order is filled in full, and every delivery lands on time. A 31-day month the 1st: each due store's order is sized from its usable stock that morning a step's day: it ships on the road, 1-5 days Chips are coloured by level, as on the landing page; a vaccine store 1 5 10 15 20 25 31 FACILITY step 4 orders on the 1st its day: the 21st Marenga Main Store Marenga Hospital Main Store: supplied by Marenga District Store Kesolo Kesolo Health Post: supplied by Otembe District Store Lemuna Lemuna Health Center: supplied by Otembe District Store Supply: Marenga Main Store from Marenga District Store; Kesolo, Lemuna from Otembe District Store orders every month, up to 2 months (band 1 to 2) min 1 = lead 0.25 + buffer 0.75; max 2 = min + interval 1 Kesolo and Lemuna dip below it before each delivery: patients are served from its last day the 21st: Marenga Main Store ships; the rest dispense its suppliers ship the 16th; on the road 1-5 days A store ships from 10:00 on its day, or an hour after its own delivery lands; most outbounds have left by 15:00, and a delivery landing after 15:00 is sent on at 09:00 the next morning. A shipment takes no batch that would land with under 30 days of shelf life left. A delivery is received into stock 0-2 days after it lands, and the paperwork is dated to fit: a requisition 3-7 days before its supplier ships. February: the same, on the 18th. Drawn as the ideal: in the history each order moves up to ±15% and demand moves month to month, so some shelves still run low before a delivery lands.

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.

← Back to the overviewClick the drawing to zoom in
The units Eight units: who supplies them, the rule they order by, and their month. Every order is filled in full, and every delivery lands on time. A 31-day month the 1st: each due store's order is sized from its usable stock that morning a step's day: it ships on the road, 1-5 days Chips are coloured by level, as on the landing page; a vaccine store 1 5 10 15 20 25 31 UNIT step 4 orders on the 1st dispenses to the 21st EPI: Expanded Programme on Immunization: the vaccination serviceMarenga EPI Marenga Hospital EPI Unit: supplied by Marenga District Vaccine Store EPI: Expanded Programme on Immunization: the vaccination serviceLemuna EPI Lemuna Health Center EPI Unit: supplied by Otembe District Vaccine Store EPI: Expanded Programme on Immunization: the vaccination serviceSupply: Marenga EPI from Marenga District Vaccine Store; EPI: Expanded Programme on Immunization: the vaccination serviceLemuna EPI from Otembe District Vaccine Store orders every month · keeps 1 to 2 months min 1 = lead 0.25 + buffer 0.75; max 2 = min + interval 1 the 21st: the dispensing month ends its suppliers ship the 16th; on the road 1-5 days UNIT step 5 orders on the 1st its day: the 26th at Marenga Hospital Consumables Marenga Hospital Consumables Unit: supplied by Marenga Hospital Main Store Pharmacy Marenga Hospital Pharmacy Unit: supplied by Marenga Hospital Main Store Supply: from the Main Store orders every month, up to 2 months (band 1 to 2) min 1 = lead 0.25 + buffer 0.75; max 2 = min + interval 1 Pharmacy dips below it before each delivery: patients are served from its last day the 26th: Consumables ships; Pharmacy dispenses its supplier ships the 21st; on the road 1-5 days UNIT step 6 orders on the 1st dispenses to the 31st at Marenga Hospital Inpatient Marenga Hospital Inpatient Unit: supplied by Marenga Hospital Main Store; consumables from Marenga Hospital Consumables Unit MCH: maternal and child healthMCH Marenga Hospital MCH Unit: supplied by Marenga Hospital Main Store; consumables from Marenga Hospital Consumables Unit Emergency Marenga Hospital Emergency Unit: supplied by Marenga Hospital Main Store; consumables from Marenga Hospital Consumables Unit Dental Marenga Hospital Dental Unit: supplied by Marenga Hospital Main Store; consumables from Marenga Hospital Consumables Unit Supply: consumables from the Consumables Unit; everything else from the Main Store (step 4) orders every month, up to 2 months (band 1 to 2) min 1 = lead 0.25 + buffer 0.75; max 2 = min + interval 1 MCH: maternal and child healthInpatient, MCH, Emergency and Dental dip below it before each delivery: patients are served from its last day the 31st: the dispensing month ends its suppliers ship the 21st and the 26th; on the road 1-5 days A store ships from 10:00 on its day, or an hour after its own delivery lands; most outbounds have left by 15:00, and a delivery landing after 15:00 is sent on at 09:00 the next morning. A shipment takes no batch that would land with under 30 days of shelf life left. A delivery is received into stock 0-2 days after it lands, and the paperwork is dated to fit: a requisition 3-7 days before its supplier ships. February: the same, on the 18th and the 23rd and the 28th. Drawn as the ideal: in the history each order moves up to ±15% and demand moves month to month, so some shelves still run low before a delivery lands.

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.

← Back to the overviewClick the drawing to zoom in
Patients 80,136 patients on the register and 18,726 children on vaccination cards, served every day by the stores that hand out medicines and vaccines. A 31-day month 1 5 10 15 20 25 31 PATIENTS every day Kesolo Lemuna EPI: Expanded Programme on Immunization: the vaccination serviceLemuna EPI Marenga Dental EPI: Expanded Programme on Immunization: the vaccination serviceMarenga EPI Marenga Emergency Marenga Inpatient MCH: maternal and child healthMarenga MCH Marenga Pharmacy Prescriptions of up to 2 items, one course on each line; vaccines one dose at a time, on a vaccination card. How much: layer 1. dispensed every day, from a store's last day to this one Never before the stock it uses has landed - so a store that dispenses gives out most of a month before its delivery lands, because its prescriptions run from its last day. Kesolo and Lemuna dip to a fraction of a month just before each delivery. A Marenga unit's 1 month of stock runs out mid-cycle, and the prescriptions that wanted it are dated just after the delivery. Drawn as the ideal. Demand moves up to ±15% month to month, and the malaria items from ×0.4 in August to ×1.6 in February. Every order moves up to ±15%, while targets are sized on the flat year-round rate. So some shelves still run low before a delivery lands, the malaria ones most in the rains. The faults - stockouts, missed orders, expiry and the rest - are the next layers.

Patients are served every day by the stores that hand out medicines and vaccines. How much they need is layer 1.

← Back to the overviewClick the drawing to zoom in
One item all the way down: Amoxicillin 250mg tablets From the company that sells it to a patient at Kesolo Health Post, with what each store uses, the target it orders up to, and how much it orders. → stock flows from the supplier down to the patient each store's month is the sum of its customers' ← Entrepôt $0.36 a pack of 21 the cheapest commercial offer sells every 4 months lands on the 5th Central Medical supplies 17,867 packs a month target 239,808 packs: 12 months +12% orders ~71,467 every 4 months Southern Medical supplies 5,000 packs a month target 28,624 packs: 5 months +14% orders ~10,000 every 2 months Otembe supplies 1,286 packs a month target 3,638 packs: 2.5 months +13% orders ~1,286 every month Kesolo uses 64 packs a month target 137 packs: 2 months +7% orders ~64 every month Patients at Kesolo 45 courses a month 30 tablets each (Northern 5,720 + Southern 5,000) × 1.67 for two outside regions Otembe 1,286 × 3.89 for four outside districts (Kesolo 64 + Lemuna 161) × 5.71 for seven outside facilities 45 × 30 = 1,350 tablets → 64 packs of 21 18,000 people × 300 per 1,000 × 0.1 ÷ 12 The × is each warehouse's outside customers: stores it supplies that are not in the database, such as the Eastern Regional Medical Store (Central Medical, two regions; Southern Medical, four districts; Otembe, seven facilities). Their people join as (people served + people outside) ÷ people served. Each store's target for each item is then nudged so shelves are not identical: most are raised a fixed 0-15%, about one pair in eight is ordered thin (up to 15% under, never below one interval) and one in twenty overstocked at 4-10 times cover - both later layers. The four here are ordinary, +7% to +14%. In a steady month an order replaces what was used since the last one, so it comes to about one interval's worth.

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.

What this isWhy the reference system exists, and what it is trying not to become.Making it relevantHow the contents were decided — and why relevance is the easiest thing to fake.Making it reproducibleHow the database is built, and how two people get the same one.