getEpisodePeriod: Get the length of stay based on the first and the last data...

getEpisodePeriodR Documentation

Get the length of stay based on the first and the last data point.

Description

Get the length of stay based on the first and the last data point.

Usage

getEpisodePeriod(e, unit = "hours")

Arguments

e

ccEpisode object.

unit

character string. Units in which the results are desired. Can be abbreviated.

Value

length of stay


ropensci/cleanEHR documentation built on Aug. 28, 2022, 8:31 p.m.