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

Check KPI 3 calculation #1161

Closed
nikyraja opened this issue Jan 13, 2025 · 0 comments · Fixed by #1168
Closed

Check KPI 3 calculation #1161

nikyraja opened this issue Jan 13, 2025 · 0 comments · Fixed by #1168
Assignees
Labels
priority: highest Highest Priority Work - Max 1 Item

Comments

@nikyraja
Copy link
Contributor

Related to #1139 / #1156.

The pass criteria for KPI 3a seems to only check for the presence of a neurologist input date or whether CESS referral has been made:
image

However, we need to check that the neurologist input or CESS referral were within 1 year from first assessment. I ad a go at updating the pass criteria based on other KPIs (may be completely wrong!)

(isinstance(assessment.paediatric_neurologist_input_date <= registration_instance.first_paedaitric_assessment_date + relativedelta(years=1))),
(assessment.childrens_epilepsy_surgical_service_referral_date <= registration_instance.first_paedaitric_assessment_date + relativedelta(years=1)),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: highest Highest Priority Work - Max 1 Item
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants