occupancy_on_arrival: Emergency department occupancy on arrival

View source: R/plot_ed_4hourperf_occupancy.R

occupancy_on_arrivalR Documentation

Emergency department occupancy on arrival

Description

Computes the emergency department occupancy on arrival for each patient.

Usage

occupancy_on_arrival(data)

Arguments

data

A dataframe of with start_datetime and end_datetime representing start and end of a patient's time in the emergency department.

Value

The input data with an extra column occupancy_on_arrival.

Examples

## Not run: 
TBD

## End(Not run)


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