The-Strategy-Unit / nhp_data

Databricks scripts for processing data required for the New Hospitals Programe model
https://connect.strategyunitwm.nhs.uk/nhp/project_information/
MIT License
0 stars 0 forks source link

implement the day procedures code list logic in databricks #25

Open tomjemmett opened 1 week ago

tomjemmett commented 1 week ago

our day procedures code list is currently in an R script and needs to be re-implemented in databricks

tomjemmett commented 1 week ago

can get roughly the same numbers as before, hard to replicate as some of the base definitions of things like last episode in spell have changed.

however, the list of codes to include should probably now match the code list for has_procedure, which does change the counts of procedures somewhat.