Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kpi-3-fix #1168

Merged
merged 7 commits into from
Jan 15, 2025
Merged

kpi-3-fix #1168

merged 7 commits into from
Jan 15, 2025

Conversation

eatyourpeas
Copy link
Member

Overview

There previous KPI 3 calculations did not take into account, if all criteria were met:

  1. if a child was seen by a neurologist within a year
  2. was referred to an epilepsy surgery service within a year
    It also calculated age at first paediatric assessment in years without additional months, meaning children >3y would be accepted as 3 years which is a critical cut off for this measure.
    This has been changed to calculate an age in decimal years instead.

To meet these items the tests for KPI 3 have all been rewritten and currently are all passing.

@nikyraja

closes #1161

@eatyourpeas eatyourpeas requested a review from nikyraja January 15, 2025 09:56
@eatyourpeas eatyourpeas self-assigned this Jan 15, 2025
Copy link
Contributor

@nikyraja nikyraja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much Simon! The code and the tests for KPI 3 all look correct, and I agree with what you've written. Happy for this to be made live.

Co-authored-by: Niky Raja <[email protected]>
@eatyourpeas
Copy link
Member Author

@nikyraja included here as a co-author 🥇

@eatyourpeas eatyourpeas merged commit c8a5c59 into live Jan 15, 2025
1 check passed
@eatyourpeas eatyourpeas deleted the eatyourpeas/issue1161 branch January 15, 2025 20:10
@mbarton
Copy link
Member

mbarton commented Jan 15, 2025

Seen on STAGING (merged by @eatyourpeas 29 minutes and 14 seconds ago) Please check your changes!

@mbarton
Copy link
Member

mbarton commented Jan 15, 2025

Seen on LIVE (merged by @eatyourpeas 29 minutes and 21 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check KPI 3 calculation
3 participants