characterise_spells: Characterise Spells

Description Usage Arguments Details Value

View source: R/characterise_episodes.R

Description

Some sites have patients check out of one ICU and into another (for example ICU stepdown to HDU). This checks to see if patients are discharged from one unit and admitted to another wihtin a pre-defined time period, specified in the minutes argument.

Usage

1
characterise_spells(df = NULL, minutes = 30)

Arguments

df

episode length table

minutes

numeric scalar to define transition period

Details

This only evaluates episodes that have already been flagged as valid by the characterise_episodes function.

Value

a table with episodes reconciled as spells


CC-HIC/inspectEHR documentation built on Jan. 16, 2020, 11:24 p.m.