get_respiratory_status: Set respiratory status to TRUE/FALSE

View source: R/get_respiratory_support.R

get_respiratory_statusR Documentation

Set respiratory status to TRUE/FALSE

Description

Sets the respiratory status based on the oxygenation or vent settings device present

  • Instances of mean airway pressure or vent map under vent settings flowsheet indicate on respiratory support

  • Instances of bipap or cpap under oxygenation flowsheet indicate on respiratory support

  • Devices in categorized_respiratory_devices under oxygenation flowsheet indicate not on respiratory support

Usage

get_respiratory_status(read_flowsheets, categorized_respiratory_devices)

Arguments

read_flowsheets

the raw flowsheets csv file obtained from the IDR

categorized_respiratory_devices

an excel file containing the categorized respiratory devices

Value

A dataframe containing the respiratory status


ctsit/psofa documentation built on April 19, 2022, 1:32 a.m.