LTHTR-DST / hdruk_avoidable_admissions

HDRUK Data Science Collaboration on Avoidable Admissions in the NHS.
https://lthtr-dst.github.io/hdruk_avoidable_admissions/
MIT License
6 stars 5 forks source link

Lost admission methods #19

Closed MattStammers closed 1 year ago

MattStammers commented 1 year ago

We have several patients who have no associated admission method or discharge method. We are currently losing them as a result. Could a 0 category be added for them as well?

vvcb commented 1 year ago

Both columns have defined values for 'unknown' in the NHS data model.

admimeth - https://github.com/LTHTR-DST/hdruk_avoidable_admissions/blob/dev/avoidable_admissions/data/nhsdd.py#L75

dismeth - https://github.com/LTHTR-DST/hdruk_avoidable_admissions/blob/dev/avoidable_admissions/data/nhsdd.py#L115 (although https://github.com/LTHTR-DST/hdruk_avoidable_admissions/blob/dev/avoidable_admissions/features/feature_maps.py#L364 is used for mapping which also has a value for unknown)

MattStammers commented 1 year ago

Ok, I will close this