About
The book
Health Economics Metrics is a comprehensive introduction to health economics math, examples, and reasoning, written for software engineers building for national health service organizations worldwide. It runs to 76 topics across 8 parts. Each topic covers one metric or concept: definition, why it matters, the math, a worked example, the software engineering connection, pitfalls, and sources.
Start with the contents for reading order, the A–Z index to look one thing up, or search.
Benchmark freshness
Many quoted figures refresh annually — NHS unit costs, payment scheme prices, DORA clusters, DiGA counts, LLM prices. Each topic dates its benchmarks in-line. Re-verify before using any number in a live business case.
This website
This site is a SvelteKit application built with adapter-static, configured per its GitHub Pages guidance: every page is prerendered to plain HTML at build time, so GitHub Pages serves files and nothing else. There is no server, no database, and no tracking.
The book's Markdown is vendored into this repository under content/ rather than referenced across repositories, so the site builds standalone from a fresh clone. npm run sync re-copies it from the book. The book's own README is the table of
contents: its section headings become the parts of the book, and the order of its links
becomes reading order, previous/next, and the sidebar.
Design system
The interface is built from the Lily Design System — its headless Svelte components for structure and accessibility, and its helper components for the theme and text size pickers in the header. Headless means the components ship markup, ARIA, and keyboard behaviour but no styling, so the look here comes from a Lily theme plus this site's own stylesheet. 20 themes are available from the header, including the UK Government Digital Service, NHS England, NHS Scotland, NHS Wales, and US Web Design System palettes. Both pickers remember your choice in this browser.
Licence and source
The book and this site are open source. See the book repository and this site's repository.