-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from The-Strategy-Unit/44_data_log
data log added and 2.0 information added
- Loading branch information
Showing
1 changed file
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
--- | ||
title: Data log | ||
order: 250 | ||
--- | ||
|
||
This page contains information about changes to the data underpinning the NHP model. If there are no changes logged for a particular version (such as 1.0) then the changes were only to the model code, and not to the underlying data. | ||
|
||
## Version 2.0 | ||
|
||
Date updated: 04/07/2024 | ||
|
||
### Inpatients | ||
|
||
A bug was identified in the data where the Virtual Wards efficiency mitigators were wrongly flagged as activity avoidance mitigators. This meant that if any Virtual Wards efficiency mitigators were set, these were not having any impact on the model results. This error was corrected and the data re-extracted. | ||
|
||
A bug was identified in the way that "main ICB" was calculated for providers that succeeded other providers after 2019. The activity that was selected for calculating the main ICB only used the recorded provider code in HES data, but if that provider didn't exist prior to 2019 no data could be selected. We now use the "succeeded" provider codes in this calculation. | ||
|
||
## Version 1.2 | ||
|
||
Date updated: 06/06/2024 | ||
|
||
### A&E | ||
|
||
The A&E Patients Left Before Being Treated mitigators now utilise the SNOMED codes "1066301000000103", "1066311000000101" and "1066321000000107". Previously, they only used the SNOMED code "1066321000000107". | ||
|
||
### Outpatients | ||
|
||
In the inputs app, the Outpatients mitigators were showing all attendances, not just those without procedures. This has been corrected. There were no changes required in the actual model data. | ||
|
||
### Inpatients | ||
|
||
Bedday rows removed; these were previously used for capacity conversion. Since this functionality was taken out, the bedday rows were no longer required. This may impact on random sampling, meaning that the same scenario run on v1.1 and v1.2 could have different results due to the absence of these rows. However on the whole the impact should be minimal. | ||
|
||
## Version 1.1 | ||
|
||
Date updated: 23/04/2024 | ||
|
||
### A&E | ||
|
||
Moved to ECDS data. | ||
|
||
### Inpatients | ||
|
||
- Virtual Ward and Day Procedures mitigators added. | ||
|
||
- Data was re-extracted and there were two missing specialties from the RTT specialties list in the model but not inputs. In the model to date, these specialties were mapped to one of the three other groups. | ||
|
||
- Changes to the way in which Well Babies are flagged and excluded, new logic given below: | ||
|
||
|
||
``` | ||
-- remove well babies babies | ||
NOT ( | ||
-- neonatal level of care is 0 | ||
i.WELL_BABY_IND = 'Y' | ||
OR | ||
-- healthy baby HRG | ||
i.SUSHRG = 'PB03Z' | ||
OR | ||
( | ||
-- well baby specialty on a birth episode | ||
i.TRETSPEF = '424' | ||
AND | ||
i.EPITYPE = '3' | ||
) | ||
); | ||
``` | ||
|
||
Previously, we just had WELL_BABY_IND = 'N' (note the converse logic in this group). | ||
|
||
The issue with the Well Baby indicator is it requires the provider to have a single birth episode (`epiorder` = 1 & is last episode in spell), as well as a neonatal level of care of 0. | ||
|
||
A large amount of trusts incorrectly complete the neonatal level of care field, so we have altered the logic to include more potential cases, including the healthy baby HRG, and episodes where the treatment specialty is 424 (Well Baby service) and it is a birth episode (`epitype` = 3). | ||
|
||
## Version 0.6.3 | ||
|
||
Date updated: 31/01/2024 | ||
|
||
### Inpatients | ||
|
||
General Length of Stay mitigator added. |