ed_data: Simulated ED data in standardised format.

ed_dataR Documentation

Simulated ED data in standardised format.

Description

A dataset containing simulated, standardised ED data.

Usage

ed_data

Format

A data frame with 15 variables. Each observation corresponds to a single attendance to ED.

pseudo_id

Unique ID number of the patient. Original mapping back to hospital number should be destroyed or adequately protected according to all relevant data governance legislation and protocols

gender

The recorded gender of the patient coded using the NHS data dictionary coding system (e.g. "Male","Female","Not Known","Not Specified") https://www.datadictionary.nhs.uk/data_dictionary/attributes/p/person/person_gender_code_de.asp?shownav=1?query=gender&rank=80&shownav=1

age_band_start

The age band that the patient was in at time of attendance (e.g. "0 yrs", "1-4 yrs", ... , "95+")

ethnic_category

The ethnicity of the patient recorded using the NHS data dictionary coding system (e.g. "British", "Irish", "Bangladeshi", ...) http://www.datadictionary.nhs.uk/data_dictionary/attributes/e/end/ethnic_category_code_de.asp

attendance_category

The attendance category coded using the NHS data dictionary coding system (e.g. "First Attendance", "Planned Follow-up Attendance", "Unplanned Follow-up Attendance") https://www.datadictionary.nhs.uk/data_dictionary/attributes/a/a_and_e_attendance_category_de.asp?shownav=1?query=attendance&rank=25&shownav=1

arrival_mode

The arrival mode coded using the NHS data dictionary coding system (e.g. "Brought in by Emergency Ambulance", "Other") https://www.datadictionary.nhs.uk/data_dictionary/attributes/a/acc/accident_and_emergency_arrival_mode_de.asp?shownav=1?query=arrival+mode&rank=100&shownav=1

attendance_disposal

The attendance disposal coded using the NHS data dictionary coding system (e.g. "A&E Clininc referral", "Admitted", "Discharged", ...) https://www.datadictionary.nhs.uk/data_dictionary/attributes/a/acc/accident_and_emergency_attendance_disposal_de.asp?shownav=1?query=attendance+disposal&rank=100&shownav=1

referral_source

The referral source coded using the NHS data dictionary coding system (e.g. "General Medical Practitioner", "Self referral", "Emergency Services", ...) https://www.datadictionary.nhs.uk/data_dictionary/attributes/s/smo/source_of_referral_for_community_de.asp?shownav=1?query=referral+source&rank=29.45948&shownav=1

start_datetime

The datetime at which this attendance began, as a POSIXct datetime

end_datetime

The datetime at which this attendance ended, as a POSIXct datetime

triage_category

The triage category coded using the NHS data dictionary coding system (e.g. "Non-urgent","Standard","Urgent", ...) https://www.datadictionary.nhs.uk/data_dictionary/attributes/a/a_and_e_initial_assessment_triage_category_de.asp?shownav=1?query=triage+category&rank=100&shownav=1

initial_assess_datetime

The datetime at which the initial assessment was performed, as a POSIXct datetime

treatment_datetime

The datetime at which the treatment was performed, as a POSIXct datetime

hrg_code

Healthcare Resource Group code. Standard groupings of clinically similar treatments which use common levels of healthcare resource, and which are currently used as a means of determining fair and equitable reimbursement for care services

episode_id

Distinct ID number for each episode


HorridTom/hospitalflow documentation built on June 14, 2022, noon