Adherence Economics Calculator
Try: Change the illustrative inputs, then restore the Chapter case.
Observe: Watch the results update immediately.
Explain: Explain how the assumptions affect the financial result.
Technical boundaries. The model assumes a purchased prescription and constant monthly rates across patients. Waste reduction is not proven clinical benefit; intervention efficacy and costs require evidence. Avoided hospitalizations and other costs are excluded.
All inputs are illustrative. Results update as you change them.
viewof price = Inputs. range ([0 , 1000 ], {label : "Prescription cost (USD per patient-month)" , step : 10 , value : 200 })
viewof baseline = Inputs. range ([0 , 100 ], {label : "Baseline discarded doses (%)" , step : 1 , value : 50 })
viewof after = Inputs. range ([0 , 100 ], {label : "Discarded doses with intervention (%)" , step : 1 , value : 15 })
viewof patients = Inputs. range ([0 , 100000 ], {label : "Patients" , step : 100 , value : 10000 })
viewof cost = Inputs. range ([0 , 500 ], {label : "Intervention cost (USD per patient-month)" , step : 1 , value : 0 })
{
const button = html `<button type="button">Chapter case</button>`
button. addEventListener ("click" , () => {
(viewof price). value = 200 ;
(viewof price). dispatchEvent (new Event ("input" , {bubbles : true }));
(viewof baseline). value = 50 ;
(viewof baseline). dispatchEvent (new Event ("input" , {bubbles : true }));
(viewof after). value = 15 ;
(viewof after). dispatchEvent (new Event ("input" , {bubbles : true }));
(viewof patients). value = 10000 ;
(viewof patients). dispatchEvent (new Event ("input" , {bubbles : true }));
(viewof cost). value = 0 ;
(viewof cost). dispatchEvent (new Event ("input" , {bubbles : true }));
})
return button
}
baselineWaste = price * baseline / 100
interventionWaste = price * after / 100
reduction = (baselineWaste - interventionWaste) * patients * 12
annualCost = cost * patients * 12
annualMoney = n => Math . abs (n) < 100000 ? n. toLocaleString ("en-US" , {minimumFractionDigits : 2 , maximumFractionDigits : 2 }) : ` ${ (n / 1e6 ). toFixed (2 )} M`
html `<div aria-live="polite"><p>Baseline waste: USD ${ baselineWaste. toFixed (2 )} per patient-month; waste with intervention: USD ${ interventionWaste. toFixed (2 )} per patient-month.</p><p>Waste reduction: USD ${ (baselineWaste - interventionWaste). toFixed (2 )} per patient-month; USD ${ annualMoney (reduction)} /year across ${ patients. toLocaleString ()} patients.</p><p>Intervention cost: USD ${ annualMoney (annualCost)} /year; net savings after intervention cost: USD ${ annualMoney (reduction - annualCost)} /year.</p></div>`
Back to the chapter