-
Notifications
You must be signed in to change notification settings - Fork 13
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
New data: waiting list (WIP) #783
Comments
What is the difference between ORTT and ONON (the labels are different, but the descriptions in parentheses are the same)? |
AIUI, non-admitted means the pathway ended for some reason other than having the procedure (e.g. no longer needs the procedure) |
Referral vs pathway IDs:
Available DATES (Open Pathways):
Some date filter options (Open pathways):
|
If a patient is present in the open pathways dataset, do we assume they are on a waiting list (RTT or otherwise)? The 4 statuses refer to RTT pathways ending, but I think that means they're still on a waiting list, just not an RTT one? With the exception (maybe) of entries that have a cancelled date? |
From the guidance, I think records with a cancellation date are still on the waiting list
|
The simplest implementation for cohort-extractor would be to look at a snapshot of patients who are on a waiting list at a specific date. For patients who are on more than one waiting list (with any other matching filters applied), we'll need to select one record; we can use Time on waiting list - this could be a filter or a return value (or both, I guess) |
Some notes from the reporting guidance:
^ we should check whether the receiving org ID is useful as an org identifier or whether only the current org ID should be used for trust-level variation |
Yes I think this is correct! |
From Chris in this thread:
This should mean that the simpler implementation we've discussed (looking at waiting list records at a particular snapshor date) is fine, but the more complex ideas (e.g. looking for patients who dropped off the waiting list during a period) will be difficult. We'll probably be able to identify pathways/referrals by start date and patient ID but we won't be able to rely on referral ID to differentiate |
@iaindillingham – as part of the data validation pipeline, we envisioned that there would be two steps to implementing new data in OpenSAFELY. Firstly, we would want to produce a schema and report data types and completeness. As examples, please see the ISARIC notebook and notes on the therapeutics data. Secondly, further checks should be done to determine the meaning of each field, whether any fields contain sensitive information that should not be used, and discover any other unexpected features or limitations of the data. This can be done using the raw data plausibility checking functions that Helen wrote (documentation here, repo here, helpful Slack thread here). |
According to Chris in this thread, the waiting list data was added over the weekend of 23/24 July. |
https://github.com/opensafely/data-exploration-notebooks/blob/main/waiting_lists/waiting_list_data_exploration.ipynb My first concern is the missing values for the |
some scratch notes from meeting the WL MDS team https://docs.google.com/document/d/1Y4keZ51WDs-DE2PyLL2XOs5ju9opphBhpYr7aczFtYc/edit |
Background: Document
Schema: Schema
Recording and reporting guidelines: Link
Data flow/structure & complications
There are two main datasets:
At a given time point a patient may be:
Data issues to consider
Potential research/monitoring questions:
*Note: in cohortextractor we can only include one wait per patient in each period (but usually we will filter to a certain specialty, set of procedures or urgency, so duplicates should be minimised)
Data elements required
ORTT
- Current RTT Non-admitted (patients whose RTT pathways ended for reasons other than admission for treatment)IRTT
- Current RTT AdmittedONON
- Not current RTT Non-admitted (patients whose RTT pathways ended for reasons other than admission for treatment)INON
- Not current RTT AdmittedIRTT
Current RTT Admitted. It may later be useful to consider patients who've been removed from the list / are in a monitoring period etc.Returning options
Note: may need to minimise options due to duplicate records per patient.
Filters
Date filters/calculations
Questions
Waiting_List_Type
,ACTIVITY_TREATMENT_FUNCTION_CODE
,PRIORITY_TYPE_CODE
change within a single pathway?REFERRAL_REQUEST_RECEIVED_DATE
vary with respect toREFERRAL_TO_TREATMENT_PERIOD_START_DATE (RTT pathways) and
Current_Pathway_Period_Start_Date` (for non-RTT pathways)Outpatient_Appointment_Date
well populated and useful? (How do these dates compare to others?)TCI_Date
(Patient To Come In date) well populated and useful?REFERRAL_TO_TREATMENT_PERIOD_END_DATE
correspond to? (should be blank for open pathways). Is it completed when a pathway ends in surgery or only if a pathway ends for another reasonThe text was updated successfully, but these errors were encountered: