stranded_data: Stranded Patient (Patients flagged as having a greater than 7...

stranded_dataR Documentation

Stranded Patient (Patients flagged as having a greater than 7 day LOS) Model

Description

This model is to be used as a machine learning classification model, for supervised learning. The binary outcome is stranded vs not stranded patients.

Usage

data(stranded_data)

Format

Tibble with nine columns (1 x outcome and 8 predictors)

stranded.label

Outcome variable - whether the patient is stranded or not

age

Patient age on admission

care.home.referral

Whether than have been referred from a care home

medicallysafe

Medically safe for discharge - means the patient is assessed as safe, but has not been discharged yet

hcop

Indicates whether they have been triaged from a Health Care for Older People specialty

mental_health_care

Flag to indicate whether they need mental health support and care

periods_of_previous_care

Count of the number of previous spells of care

admit_date

Date they were admitted to hospital

frailty_index

An initial index assessment to say if the patient is frail or not. This is needed for alignment of service provision.

Source

Synthetically generated by Gary Hutson, Mar-2021.

Examples

library(dplyr)

data(stranded_data)

stranded_data |>
  glimpse()


nhs-r-community/NHSRdatasets documentation built on Dec. 8, 2024, 10:04 p.m.