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

SNOMED codes for edattendsource are incomplete/incorrect #10

Closed vvcb closed 1 year ago

vvcb commented 1 year ago

The following codes have been listed in the Sheffield data specification. However, LTH have a large number of rows where our codes do not match the ones in this list (see counts below this table).

SNOMED CODE | ECDS Description | Categories -- | -- | -- 507291000000100 | Self-referral to accident and emergency department | Personal 1065391000000104 | Referred by carer | Personal 315261000000101 | Advised to attend accident and emergency department | Personal 276491000 | Referred by member of Primary Health Care Team | Primary Care 166941000000106 | Out of hours GP service | Primary Care 879591000000102 | NHS telephone / internet advice e.g. NHS 111 | Primary Care 1066431000000102 | Emergency department | Hospital 1066441000000106 | Urgent care service | Hospital 835091000000109 | Outpatient service inc. ambulatory care | Hospital 835101000000101 | Inpatient | Hospital 1079521000000104 | Private specialist | Hospital 1077191000000103 | Community nurse (not practice nurse) | Community 1052681000000105 | Health visitor | Community 185363009 | Midwife | Community 1065401000000101 | School nurse | Community 1077201000000101 | Community mental health nurse | Community 1065991000000100 | Mental health assessment team | Community 877171000000103 | Social services | Community 1077761000000105 | Older persons day care centre | Community 1077211000000104 | Homeless persons drop in centre | Community 1066011000000104 | Custodial services : prison | Community 1066001000000101 | Custodial services : detention centre | Community 185369008 | Pharmacist (including community pharmacist) | Community 185366001 | Dentist (including community dentist) | Community 185368000 | Optician / optometrist | Community 1066021000000105 | Advanced care practitioner | Emergency Services 198261000000104 | Ambulance service - patient in transit | Emergency Services 889801000000100 | Police service / forensic medical officer | Emergency Services 1066031000000107 | Fire service | Emergency Services 1066061000000102 | Search and rescue | Emergency Services 1066041000000103 | Coastguard | Emergency Services 1066051000000100 | Mountain rescue | Emergency Services

LTH counts that don't match with codes in specification.

1991000124105                42560
108161000000109               2180
1082331000000106                16
185360007                       13
198251000000102                 12
1052681000000100                 3
vvcb commented 1 year ago

Close and track #27 instead.