get_neurologic: Calculate neurologic score

View source: R/get_neurologic.R

get_neurologicR Documentation

Calculate neurologic score

Description

Ingests the glasgow data and calculates the neurologic score.

Usage

get_neurologic(read_glasgow)

Arguments

read_glasgow

the raw glasgow csv file obtained from the IDR

Details

  • When there are both glasgow_coma_adult_score and glasgow_comma_peds_score recorded for a given patient on the same encounter the lower score is used to avoid underestimating the severity

  • neurologic scores are carried forward until a new neurologic score is recorded

  • When multiple neurologic scores recorded within an hour the lowest neurologic score is used

Value

A data frame with the neurologic scores


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