Concept Architecture
Clinical Algorithms as Decision Rules for Care, from Paper Flowcharts to Software, and How Health Economics Values Them
A clinical algorithm fixes in advance which question is asked next about a patient and what is done with each answer. For health economics the algorithm, more than any single test or drug inside it, is what a health system adopts. Its cut-offs and branches decide who receives which resource. Building an algorithm falls under clinical algorithm development, and HTA appraisal rules under decision algorithm.
The forms a clinical algorithm takes, from flowchart to software
Feinstein, writing in 1974 on the construction of clinical algorithms, noted that the word refers to the plan of strategy for solving a problem. He set out the flow chart as its usual picture. A decision box holds a question, an execution box holds a procedure, and each decision box has at least two exits, commonly YES and NO.
The same logic now runs in software. Chin and colleagues, for a US federal expert panel, define health care algorithms as mathematical models used to inform decision-making, applied in diagnosis, treatment, prognosis, risk stratification, triage and resource allocation. Kawamoto and colleagues, reviewing trials of clinical decision support, counted electronic and non-electronic systems alike, although computer-based generation of decision support was one of the four features that independently predicted improved practice.
| Form | What the decision point uses | Typical economic question |
|---|---|---|
| Paper flowchart in a guideline | Symptoms, signs, test results | Which ordering of steps gives most health for the budget |
| Scoring rule with a cut-off | A risk score | Where to set the cut-off |
| Computerised decision support | Patient record data, prompts | Whether the effect on practice justifies purchase and implementation |
| Machine-learning prediction tool | A trained model, locked or adaptive | Also performance drift and version changes |
Why the algorithm, not the test, is the option compared
In an economic evaluation, each option is a complete algorithm applied to the same population. A step is valued only through the algorithm that contains it.
Tillekeratne and colleagues compared four models of care for outpatients with influenza-like illness in Sri Lanka in a decision tree. These were standard care, a clinical prediction tool, rapid influenza testing targeted at patients the tool rated as having a high pretest probability, and universal rapid testing. The outcome was the incremental cost per antibiotic prescription avoided over one treatment episode. Against standard care, the prediction tool cost USD 3.0 per prescription avoided, below the base-case estimate of the cost of antimicrobial resistance per prescription (USD 12.5), while targeted and universal testing cost USD 49.1 and USD 138.3. Targeted testing fell below USD 12.5 only if the test price was below USD 2.6. The prediction tool, which added no new test, had the lowest ratio, but its effect on prescribing was assumed, not measured.
Choices that decide the value of an algorithm
Several design and evaluation choices can reverse a conclusion about the same algorithm. Each is a candidate for sensitivity analysis.
The cut-off. Where a decision point uses a predicted probability, the cut-off sets the trade between false positives and false negatives. Vickers and Elkin, introducing decision curve analysis, show that the threshold probability at which a patient would opt for treatment encodes how the harm of a false-positive result is weighed against a false-negative one. They define the net benefit of a model at threshold as follows.
where and are the numbers of true-positive and false-positive results, is the number of patients and is the threshold probability. In their prostate cancer example, with , 65 true positives, 225 false positives and 902 patients, . This net benefit is counted in true positives and has no cost term, so a cost-effectiveness analysis still has to carry the cut-off through to costs and QALYs.
Adherence and autonomy. A modelled algorithm is assumed to be followed. CHEERS-AI, the reporting extension for economic evaluations of artificial intelligence interventions, asks whether the intervention is directive or the user keeps autonomy over the decision. Kawamoto and colleagues found that 48 of 71 decision support systems (68%) significantly improved clinical practice, and that automatic provision of decision support as part of clinician workflow was one of four independent predictors of success.
Costs of the algorithm itself. CHEERS-AI asks for the purchase cost, what it is made up of, and implementation and maintenance costs; its authors note that the predictive algorithms behind such interventions are unlikely to be free to use, and that how often adaptive algorithms are updated, and whether the purchase cost covers updates, should be reported.
The evidence base. Bright and colleagues reviewed 148 randomised trials of clinical decision support systems. Of these, 128 (86%) assessed process measures, 29 (20%) clinical outcomes and 22 (15%) costs, and the review concluded that evidence for economic outcomes remained sparse. Models therefore often link process changes to outcomes by assumption.
Algorithms delivered as software and the NICE evidence standards framework
When an algorithm is deployed as a digital product, the NICE Evidence standards framework for digital health technologies (ECD7, 2018, updated August 2022) sets out the evidence expected in the UK. The 2022 update added requirements for artificial intelligence and adaptive algorithms.
The framework places prediction tools, such as software to assess the risk of developing a condition or of disease progression, and triaging systems that use individual patient health data in tier C. Standard 17 asks for a budget impact analysis in every tier, which for tier C covers population size, uptake and all direct costs of the technology and its implementation, from purchase and maintenance to staff training and IT. Standard 18 asks for a cost-utility or cost-consequences analysis where financial risk is higher, meaning commissioning, purchase or implementation costs are substantial within the relevant budget.
Worked example of setting the treatment threshold in a risk algorithm
All numbers are illustrative and come from no study. An algorithm flags adults for preventive treatment when predicted risk exceeds a cut-off. A high cut-off flags 1,500 people, among whom 320 events would occur untreated; a low cut-off flags 3,000 with 520 expected events, so the extra 1,500 are at lower average risk. Treatment costs GBP 1,000 per person flagged and cuts the risk of an event by a relative 25%. Each event avoided saves GBP 5,000 and gains 1 QALY. Installing the algorithm costs GBP 100,000. Results are undiscounted, against no algorithm and no treatment.
The cost of each option is set out below.
where is the total cost of option , is the fixed cost of installing the algorithm (GBP 100,000), is the treatment cost per person (GBP 1,000), is the number flagged, is the cost of an event (GBP 5,000), is the relative risk reduction (0.25) and is the number of events expected among those flagged without treatment. Events avoided, and so QALYs gained, equal .
| Cut-off | Flagged | Events avoided | Total cost (GBP) | QALYs gained | Cost per QALY against no algorithm (GBP) |
|---|---|---|---|---|---|
| High | 1,500 | 80 | 1,200,000 | 80 | 15,000 |
| Low | 3,000 | 130 | 2,450,000 | 130 | 18,846 |
Events avoided are 0.25 x 320 = 80 and 0.25 x 520 = 130. The high cut-off costs 100,000 + 1,500,000 minus 400,000, or GBP 1,200,000; the low cut-off costs 100,000 + 3,000,000 minus 650,000, or GBP 2,450,000. The comparison of the low cut-off with the high one follows.
where the numerator is the difference in total cost (GBP) and the denominator the difference in QALYs. The low cut-off's average ratio (GBP 18,846 per QALY) hides an ICER of GBP 25,000 against the high cut-off. At an illustrative willingness to pay of GBP 20,000 per QALY, the high cut-off has the larger net monetary benefit (GBP 400,000 against GBP 150,000); at GBP 30,000, the low cut-off does (GBP 1,450,000 against GBP 1,200,000).
If clinicians follow the algorithm for a random 70% of flagged people, the high cut-off treats 1,050, avoids 56 events and costs GBP 870,000, about GBP 15,536 per QALY, as the fixed cost is spread over fewer events. The ICER between cut-offs stays at GBP 25,000, because both differences shrink by 30%. Adherence that depends on patient risk would change that comparison, so its pattern belongs in the model.
When the algorithm predicts the wrong quantity
An algorithm can be accurate on its own target and still allocate care unfairly if the target is a poor stand-in for need. Health economists meet this problem whenever spending is used as the target.
Obermeyer and colleagues studied a widely used commercial algorithm that picks patients with complex needs for extra help. At a given risk score, Black patients were considerably sicker than White patients. The bias arose because the algorithm predicted health care costs rather than illness, and unequal access to care meant less money was spent caring for Black patients. Remedying the disparity would raise the share of Black patients receiving additional help from 17.7% to 46.5%. An algorithm trained on spending therefore carries unequal access forward.
Race used as an input raises a separate question. Basu, starting from the kidney function (eGFR) equation, in which a race term gave Black patients a higher estimate than otherwise identical patients, uses an equality of opportunity framework and concludes that the answer differs between diagnostic and prognostic models and with the allocation principle served. Chin and colleagues add that different technical definitions of algorithmic fairness are mutually incompatible, so the trade-offs must be made explicit. In an evaluation these points belong with health equity analysis, such as a distributional cost-effectiveness analysis of who gains under each algorithm.
How a clinical algorithm differs from nearby ideas
Several neighbouring terms overlap with this one. Each names a different object.
- Decision tree. Feinstein noted that the name decision tree was sometimes used for a flow chart. A clinical algorithm prescribes what to do; a decision-analytic tree adds probabilities and values to compare algorithms, each one a branch from the decision node.
- Risk score. A score is an input. The algorithm adds the cut-off and the action taken on each side of it.
- Clinical guideline and care pathway. A clinical guideline issues recommendations, and a care pathway organises the sequence of care; the algorithm is the decision logic either may contain.
Common misreadings of algorithm evidence
Several errors recur when algorithms are evaluated or bought. Each is paired with its flaw.
- "A more accurate algorithm is more valuable." Accuracy measures ignore consequences; value depends on the cut-off, the action and its costs.
- "Software is free once written." Purchase, implementation, maintenance and updates are real costs.
- "The trial effect transfers." CHEERS-AI asks authors to describe important differences between the data used to develop an algorithm and the studies used to measure its effect on outcomes.
- "Dropping a sensitive variable removes bias." Bias can enter through the outcome the algorithm predicts, as with cost used for need, and Basu cites work finding that excluding race from the original eGFR equations could lead to larger biases within each race group.
Sources
- Basu A. Use of race in clinical algorithms. Science Advances. 2023;9(21):eadd2704. https://doi.org/10.1126/sciadv.add2704
- Bright TJ, Wong A, Dhurjati R, et al. Effect of clinical decision-support systems: a systematic review. Annals of Internal Medicine. 2012;157(1):29-43. https://doi.org/10.7326/0003-4819-157-1-201207030-00450
- Chin MH, Afsar-Manesh N, Bierman AS, et al. Guiding principles to address the impact of algorithm bias on racial and ethnic disparities in health and health care. JAMA Network Open. 2023;6(12):e2345050. https://doi.org/10.1001/jamanetworkopen.2023.45050
- Elvidge J, Hawksworth C, Avşar TS, et al. Consolidated Health Economic Evaluation Reporting Standards for interventions that use artificial intelligence (CHEERS-AI). Value in Health. 2024;27(9):1196-1205. https://doi.org/10.1016/j.jval.2024.05.006
- Feinstein AR. An analysis of diagnostic reasoning. 3. The construction of clinical algorithms. Yale Journal of Biology and Medicine. 1974;47(1):5-32. https://pmc.ncbi.nlm.nih.gov/articles/PMC2595155/
- Kawamoto K, Houlihan CA, Balas EA, Lobach DF. Improving clinical practice using clinical decision support systems: a systematic review of trials to identify features critical to success. BMJ. 2005;330(7494):765. https://doi.org/10.1136/bmj.38398.500764.8F
- National Institute for Health and Care Excellence. Evidence standards framework for digital health technologies (ECD7). London: NICE; published 10 December 2018, last updated 9 August 2022. https://www.nice.org.uk/corporate/ecd7
- Obermeyer Z, Powers B, Vogeli C, Mullainathan S. Dissecting racial bias in an algorithm used to manage the health of populations. Science. 2019;366(6464):447-453. https://doi.org/10.1126/science.aax2342
- Tillekeratne LG, Bodinayake C, Nagahawatte A, et al. Use of clinical algorithms and rapid influenza testing to manage influenza-like illness: a cost-effectiveness analysis in Sri Lanka. BMJ Global Health. 2019;4(2):e001291. https://doi.org/10.1136/bmjgh-2018-001291
- Vickers AJ, Elkin EB. Decision curve analysis: a novel method for evaluating prediction models. Medical Decision Making. 2006;26(6):565-574. https://doi.org/10.1177/0272989X06295361
Related Concepts (3)
Library
Publications
6
Improving clinical practice using clinical decision support systems: a systematic review of trials to identify features critical to success — Kawamoto K, Houlihan CA, Balas EA, Lobach DF, Vol. 330, No. 7494, p. 765 ed., 2005 (BMJ)
Systematic review of 70 trials of clinical decision support, cited for systems improving clinical practice in 68% of trials (48 of 71 systems), for counting electronic and non-electronic systems alike, for four features that independently predicted success, led by automatic provision of support within clinician workflow, and for 30 of 32 systems with all four features (94%) improving practice.
Journal ArticleView source →An analysis of diagnostic reasoning. 3. The construction of clinical algorithms — Feinstein AR, Vol. 47, No. 1, pp. 5-32 ed., 1974 (Yale Journal of Biology and Medicine)
Paper on the construction of clinical algorithms, cited for the word algorithm meaning the plan of strategy for solving a problem, for flow charts in which decision boxes hold questions and execution boxes hold procedures, with at least two exits such as YES and NO from each decision box, and for the occasional use of the name decision tree for a flow chart.
Journal ArticleView source →Effect of clinical decision-support systems: a systematic review — Bright TJ, Wong A, Dhurjati R, Bristow E, Bastian L, Coeytaux RR, et al., Vol. 157, No. 1, pp. 29-43 ed., 2012 (Annals of Internal Medicine)
Systematic review of 148 randomised controlled trials of clinical decision support systems, cited for 128 (86%) assessing care process measures, 29 (20%) assessing clinical outcomes and 22 (15%) measuring costs, and for evidence on clinical, economic, workload and efficiency outcomes remaining sparse.
Journal ArticleView source →Guiding principles to address the impact of algorithm bias on racial and ethnic disparities in health and health care — Chin MH, Afsar-Manesh N, Bierman AS, Chang C, Colón-Rodríguez CJ, Dullabh P, et al., Vol. 6, No. 12, Article e2345050 ed., 2023 (JAMA Network Open)
Principles from an expert panel convened by AHRQ and NIMHD, cited for defining health care algorithms as mathematical models used to inform decision-making in diagnosis, treatment, prognosis, risk stratification, triage and resource allocation, for technical definitions of algorithmic fairness being mutually incompatible, and for making fairness trade-offs explicit, transparent and explainable.
Journal ArticleView source →Use of clinical algorithms and rapid influenza testing to manage influenza-like illness: a cost-effectiveness analysis in Sri Lanka — Tillekeratne LG, Bodinayake C, Nagahawatte A, Kurukulasooriya R, Orlando LA, Simmons RA, et al., Vol. 4, No. 2, Article e001291 ed., 2019 (BMJ Global Health)
Cost-effectiveness analysis of strategies for influenza-like illness in Sri Lanka, cited for a decision tree comparing standard care, a clinical prediction tool, targeted rapid testing and universal testing over one treatment episode, for costs per antibiotic prescription avoided of USD 3.0, USD 49.1 and USD 138.3 against an antimicrobial resistance cost of USD 12.5, for targeted testing needing a test price below USD 2.6, and for the tool's effect being assumed.
Journal ArticleView source →Use of race in clinical algorithms — Basu A, Vol. 9, No. 21, Article eadd2704 ed., 2023 (Science Advances)
Analysis of race in clinical algorithms under an ex ante equality of opportunity framework, cited for the eGFR race term giving Black patients higher estimates than otherwise identical patients, for removing race from the original equations leading to larger biases within each race group, and for the answer differing between diagnostic models and prognostic models used for resource allocation under compensation or reward principles.
Journal ArticleView source →
Frequently Asked Questions (6)
What is a clinical algorithm?
A clinical algorithm is a set of explicit step-by-step rules, drawn as a flowchart or run in software, that sets the next test or treatment for a patient.
Source: Feinstein 1974
What step-by-step decision pathway is a clinical algorithm?
A clinical algorithm is a structured, step-by-step clinical decision pathway. It outlines the recommended diagnostic or treatment steps for a condition, laying out what to do at each stage. It takes the form of a defined sequence, a route through the decisions a clinician faces. It is increasingly built into decision support systems, so the pathway can guide clinicians directly within the record. It is a form of decision support, structuring care so that the recommended steps are followed. A defined route through clinical decisions is what it names. NICE sets out such algorithms.
Source: NICE
What does a clinical algorithm outline?
A clinical algorithm outlines recommended diagnostic or treatment steps for a condition, so as a structured, step-by-step clinical decision pathway it sets out the recommended steps for diagnosing or treating a condition, increasingly built into decision support systems. This outlining of recommended steps defines it. So a clinical algorithm is a structured, step-by-step clinical decision pathway outlining recommended diagnostic or treatment steps for a condition, increasingly built into decision support systems.
Source: NICE, Health Technology Evaluations: The Manual
What form does a clinical algorithm take?
A clinical algorithm takes the form of a structured, step-by-step clinical decision pathway, so it is an ordered pathway of recommended diagnostic or treatment steps for a condition, increasingly built into decision support systems. This structured, step-by-step form defines it. So a clinical algorithm is a structured, step-by-step clinical decision pathway outlining recommended diagnostic or treatment steps for a condition, increasingly built into decision support systems.
Source: NICE, Health Technology Evaluations: The Manual
Where is a clinical algorithm increasingly built?
A clinical algorithm is increasingly built into decision support systems, so the structured, step-by-step pathway of recommended diagnostic or treatment steps for a condition is more and more embedded in such systems. This building into decision support systems defines a feature. So a clinical algorithm is a structured, step-by-step clinical decision pathway outlining recommended diagnostic or treatment steps for a condition, increasingly built into decision support systems.
Source: NICE, Health Technology Evaluations: The Manual
How does a clinical algorithm relate to decision support?
A clinical algorithm relates to decision support as content built into it: decision support is a computerised system providing providers or patients with relevant information to enhance decision-making, and a clinical algorithm is a structured, step-by-step clinical decision pathway increasingly built into decision support systems. So a clinical algorithm can drive decision support, connected in that the pathway supplies the recommended steps a decision support system presents.
Source: NICE, Health Technology Evaluations: The Manual
Trust Record
Not verified for this version
This concept changed after its last verification. Re-verify to stamp this version.
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/clinical-algorithm
- Term code
- HS-SS_DH-003
Stable URI · Machine-readable · Resolvable · CC BY 4.0
