-
Notifications
You must be signed in to change notification settings - Fork 2
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 list of measures #88
Comments
Had quick call with @mbarton re implementation design. Next step is just to make the most naive implementation for kpi aggs with a single query, no table, for a given PDU. This will include: 2 fields for the 'totals' fields
4 fields for the remaining bulk of kpi measures
From there, we can iterate and optimise performance if required. Had query re my proposal for changing up organisation / pdu structure and the purpose of the ERDs: |
See lucid chart link for details^ Questions / queries about the current setup1. Normalising PDUsHighlighted in red, the data regarding This would make it easier to create KPI queries - there is a single place table where we calculate KPI aggregations 2. Purpose of
|
This is very thoughtful and lots to digest here @anchit-chandran, thank you. Site model pz code & ods code AuditCohort An extra complicating factor is that NPDA will be moving to quarterly reporting this year or next. This means that although the annual submission is the most important, submissions still need to be made every quarter, with the totals of all the quarters equalling the end of year results. It also means that we can store multiple submissions for each quarter (with only one being active and each new one replacing the previous active one resetting the flag to false) - this had been an expressed requirement that we store all uploads for governance/paper-trail reasons, so that is the implementation we currently have. However, if we now are redesigning the submission process to allow only a single upload with subsequent edits occuring through the platform, maybe we don't need this complexity. Again, I think a conversation with @AmaniKrayemRCPCH and @cillian-rcpch would be good. Either way, the point therefore of this model is to track the submissions. KPIs The audit range therefore would be the quarter in question, or potentially that cohort (which would be a sum of all the quarters). The start and end dates of the audit range would be the start and end dates of each quarter (see Also, although we have not been asked for this, I think it would still be good to be able to look at KPIs at organisation level as well as PDU. This would mean the class instantiation might also accept an ods code. I will drop this if Justin, @AmaniKrayemRCPCH and @cillian-rcpch tell me to, but my guess is that this is a helpful thing for some PDUs for no extra work. |
wrt Audit Cohort, I've written up my thoughts in the forum here (RCPCH internal): https://forum.rcpch.tech/t/submission-design/154. I'm wondering if we split it out into two models: |
Sprint meeting - 22/08/24: @eatyourpeas to stub out all the KPI calculation methods, @mbarton to implement them and write tests |
Hi all, Adding comments on the parts I'm tagged in. We can discuss some of this in tomorrow's sprint meeting but, for reference: Site model - During analysis, we will identify those CYP who have transferred (based on the 'leaving service reason'), assign them to their most recent PDU (based on visit date). Those CYP are not included in health checks analysis, as they haven't had a full year of care in either PDU. For the platform, this means that we allow the same patient can be entered under different PDUs. For each unit's KPIs, exclude CYP with a date of leaving in the audit year from health check analyses. We may choose to do things differently from above, but our analysis methodology can handle the current process. AuditCohort - Our preference is continue with one file gets overwritten throughout the year. This means that, at the end of the audit year, the units have only one file with data. There's no confusion where a person may submit Q2 data under Q1 and then it's not included. KPIs - |
Thanks @AmaniKrayemRCPCH |
@AmaniKrayemRCPCH @cillian-rcpch Can I ask about measure 10 (coeliac)? So we are saying that any child that had an additional dietetic appointment in the year has coeliac disease? That does not sound right - I figure there is something missing in the calculation that I have misunderstood. Could you explain? If you have the SQL queries you use I would find those super helpful. If not would it be ok to ask for the measures to be in the same format as E12? That is
|
@eatyourpeas item 37 is gluten free diet |
Sorry I misunderstood the numbering. Thank you @AmaniKrayemRCPCH |
@anchit-chandran KPI queries for numerators 1-49 now in. I will leave the rest to you if are happy |
Closing as resolved |
Possibly more an issue for @AmaniKrayemRCPCH and the rest of the NPDA team but putting here as a placeholder.
The text was updated successfully, but these errors were encountered: