Skip to content

Add risk calculators#93

Merged
simonwhatley merged 3 commits into
mainfrom
risk-calculators
Jun 12, 2026
Merged

Add risk calculators#93
simonwhatley merged 3 commits into
mainfrom
risk-calculators

Conversation

@simonwhatley

@simonwhatley simonwhatley commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator
  • Added shared LLPv2 and PLCOm2012 calculator modules under app/lib/risk-calculators.
  • Implemented calculator calculate() functions without wiring them into prototype journeys.
  • Added shared input validation, standard result formatting, and calculator error types.
  • Added JSDoc for the calculator APIs, inputs, errors and helper functions.
  • Documented the implementation in docs/risk-calculators.md using NHS style guidance.

Important notes

  • Calculator outputs are for prototype use only.
  • They are not clinically signed off and must not be used for clinical decisions.
  • Eligibility thresholds are not applied inside the calculators. Prototype-specific adapter or journey code should own threshold rules and routing.

@simonwhatley simonwhatley temporarily deployed to lung-health-check-pr-93 June 10, 2026 21:14 Inactive
@simonwhatley simonwhatley merged commit b1d83fc into main Jun 12, 2026
1 check passed
@simonwhatley simonwhatley deleted the risk-calculators branch June 12, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant