Closed dlkibbe closed 1 year ago
@emilymetcalf114 & @lzim discussed at support_workflow wk4 sept_epic
Next Steps:
User Persona
First step: @emilymetcalf114 looked at a comparison MTL blue site (Tuesdays at 11am PST) on the morning on 9/29 and witnessed the same effect, where Agg Care appt supply #'s are lower and do not add up to appt supplies of MM, CC, Psy, etc. Psy:
@emilymetcalf114 compared with another MTL blue site (Thursdays at 11am PST) on 9/30 am and witnessed the same effect, where Agg Care appt supply #'s are lower and do not add up to appt supplies of MM, CC, Psy, etc.
Psy:
Definitions for appt supply are different between CC, MM, etc. and in the Agg care model. Here are the definitions in the Data_UI: CC, MM & Psy:
Agg Care:
Documentation from mtl.how/demo:
CC (v36 2022_01_10) - time unit = weeks
MM (v36 2022_01_11) - time unit = weeks
Psy (v21 2022_02_11) - time unit = weeks
Agg Care (v15 2021_01_20) - time unit = weeks
(equation continued)
Thanks for reviewing docuementation @emilymetcalf114 💪🏽 It's very helpful to have it all in one place, and it confirms what I expected was happening. But, wanted to double-check our documentation to confirm, before confusing any learners/facilitators.
In MTL time for these variables will always be in weeks because the clinical decision-makers told us that was the most useful period of time for upgrading team care decisions.
But, for unit checking we have to review and confirm the validity of any unit conversions: unit/wk. For example, appt/wk is not hrs/wk.
From the sim
From your post above
So, the conclusion is that the documentation needs to be clearer that:
CC, MM, PSY are using appt/wk for appointment supply (75%ile, etc.) in any given week and Team (AGG) care is using hrs/wk for appointment supply (see equation from documentation above),
So, the next step would be:
@emilymetcalf114 Does that make sense to you?
FYI: @dlkibbe Does this make sense to you?
I pulled up the archived MTL 2.0 data_ui documentation for how Agg appointment supply was calculated, and the definition is identical to what we see in the current 3.0 documentation on the data_ui.
@epearman We talked about Story A2 R01 as a top research priority for oct_epic. Once we establish your access, reviewing this operations bug would be helpful!
We want to double-check the estimation procedures for appointment supply between (CC, MM, PSY) Care modules and the Team (AGG) Care module.
FYI: @emilymetcalf114
I see two different things going on.
1) CPT codes used to define the encounter type (CC, MM, and PSY) in the AGG model vs. the individual CC, MM and PSY models. See SQL code here:
In the AGG model: CPT codes 90833 and 90836 are assigned to both encounter type PSY and MM using a CASE WHEN function (line 165). CASE WHEN functions stop evaluating after the first condition is met so all CPT codes 90833 and 90836 are assigned to encounter type PSY and NOT MM. Just want to check that this is what we want.
Emily's Recommendation for next steps:
@emilymetcalf114 @lzim Thank you @epearman for the information above. @jwklocek and I shared the information in our team discussion. Questions below from QIICs:
The following are CPT codes for Psychotherapy: 90832, 90834, 90837 (90832 is included in care coordination, although we have certainly seen this used for short session psychotherapy like follow-up CBT-I sessions) 90839 (psychotherapy for crisis - It looks like this is called care coordination as well)
The couples/ family psychotherapy codes are missing (90846, 90847). Maybe this was intentional, but it could impact extent to which data reflects what is happening given some sites do a fair amount of evidence based couples psychotherapy?
The following are CPT codes for Psychotherapy (add on) when it is conducted with a Medication Management Visit. It seems that if you include these with PSY, it will muddy the waters with Medication Management. It would be helpful to understand why a decision was made to include these in PSY.
90833
90836
90838
Carla tried clicking on the SQL code link and was sent to a page with an error message indicating page not found so she is unable to assess the CPT codes for Agg Visit Details.
Can we have explanation of why 99201-99205 are assigned to Intake? Related to intake, it does appear that Intake is capturing codes 90791 and 90792 so it seems strange that data UI TeamAgg for ALX PCT team is showing only 1.25 appt supply yet dataEnc shows them using this code.
During Live MTL prep session today, @emilymetcalf114 and @epearman met with facilitators:
Why is intake true missed appt % = 0 for all teams? @epearman looked at dax/sql code and saw it was written to be set to 0 (not calculated). This is also inline with the legacy code, not sure the decision behind this.
Further Clarification: We do not upload the missed appointment rate intake parameters into the SIM UI. So this variable is set to 0 on purpose.
@lzim discussed briefly with @emilymetcalf114 @epearman wk3 oct_epic support_workflow
DECISION: wk4 oct_epic will track functional requirements on #2753 so this can be closed
- [x] DECISION this is a feature request: Cross-ref #2753 documentation issue task card where we will improve the documentation of these definitions. e.g.,
- [x] Describe Missed Appointment for Intake to 0 and provide rationale. #crossref #2773
- [x] ... [list task "functional requirements"] on documentation card #crossref #2753
DAX formula: VAR APPTSUPPLY = IF(COUNTROWS(WEEKLYUSAGE) > 0, IF(ACTUAL50THPERCENTILE <= 0, 0, PERCENTILEX.INC(WEEKLYUSAGE, [VisCount], ACTUAL50THPERCENTILE) 0.25), 0) This varies from the legacy code line 264, which follows the array documented: select 'Appointment Supply (median)' as Label, [Intake] as intake, [psy] as psy, [ebpsy] as ebpsy, [cc]0.5 as cc, [mm]0.5 as mm , [adjunct]0.25 as adjunct, ([group]*1.0/6) as 'group'
Scoping of Bug:
I have made the appropriate DAX code changes on a new personal version of Data UI - Master on power BI desktop.
Next Steps:
I cannot connect my test reports to the PTSD OHMO database through the Gateway connection in the testing pipeline. Gateway access to PTSD_OMHO must be granted Per-user through LEAF (add user to gateway).
The testing Pipeline is currently ready for Review. Crossref #2764 QA Test Card.
1st test: Monday Blue MTL live team: NEW RESULTS using NEW code in TEST Pipeline HERE (followed by updated results in PROD using OLD code below):
For easy comparison, here are the updated results in PROD using OLD code
File for sim attached: Mon_Blue_MTL_data for sim_TEST.xlsx
FYI @epearman Test #2: Thurs Blue MTL live team: NEW RESULTS using NEW code in TEST pipeline HERE (Followed by updated results in PROD using OLD code below): Appointment Supply increased across all services
For easy comparison, here are the updated results in PROD using OLD code:
@lzim File for sim attached: Thurs_Blue_MTL_data for sim_TEST.xlsx
FYI @epearman I updated the clinic selections for the second test (above). The numbers match how we would expect them to now.
For documentation:
Next Steps:
@lzim The new test data file for Thursday's MTL live session prep tomorrow has been uploaded to the sim for you.
@epearman Can you check off any functional requirement or task list boxes above that you believe are done from all the updates above? Or is this current?
It looks like we might be ready to move on to #2753 and #2509 💥
Crossref #2764 QA Test Card.
@epearman Testing in the Sim UI now and will update #2764 QA Test Card when done.
1. Add description:
Team data in Aggregate Module for blue team needs review and validation. Appointment Supply numbers in Agg module are considerably lower than in the individual modules of Care Coordination (CC), Psychotherapy (Psy) or Medication Management (MM). The team suggested the Appointment Supply (AS) showing in Agg was less than actual. Screenshots for AS for CC, MM, Psy and Agg for comparison of AS numbers. The AS definitions from the "Descriptions" and "Details" section of the Data UI are pasted below for reference: DETAILS in the Data UI indicate: Appointment Supply (median and 75th percentile) – These estimates were calculated from the weekly visit counts by the patient cohort with the team over one year. The model uses the 75th percentile. DESCRIPTIONS in the Data UI indicate: Appointment Supply (median and 75th percentile) – An estimate of the median total weekly number of medication management appointments available with this team. The estimate is calculated using the volume of medication management visits completed with he team over one year. (appt/wk)
Use of data in SIM UI will begin October 17, 2022.
<< Paste screenshots here>>