View source: R/phoenix_neurologic.R
phoenix_neurologic | R Documentation |
Assessment of neurologic dysfunction based on Glasgow Coma Scale (GCS) and pupil reactivity. This score is part of the diagnostic Phoenix Sepsis criteria and Phoenix 8 Sepsis criteria.
phoenix_neurologic(
gcs = NA_integer_,
fixed_pupils = NA_real_,
data = parent.frame(),
...
)
gcs |
integer vector; total Glasgow Comma Score |
fixed_pupils |
integer vector; 1 = bilaterally fixed pupil, 0 = otherwise |
data |
a |
... |
pass through |
Missing values will map to a value of 0 as was done when developing the Phoenix criteria. Note that this is done on a input by input basis. That is, if pupil reactivity is missing but GCS (total) is 9, then the neurologic dysfunction score is 1.
GCS total is the sum of a score based on eyes, motor control, and verbal responsiveness.
Eye response:
no eye opening,
eye opening to pain,
eye opening to sound,
eyes open spontaneously.
Verbal response:
no verbal response,
incomprehensible sounds,
inappropriate words,
confused,
orientated
Motor response:
no motor response,
abnormal extension to pain,
abnormal flexion to pain,
withdrawal from pain,
localized pain,
obeys commands
an integer vector with values 0, 1, or 2. As with all Phoenix organ dysfunction scores, missing input values map to scores of zero.
Bilaterally fixed pupil | 2 points |
Glasgow Coma Score (total) less or equal 10 | 1 point |
Reactive pupils and GCS > 10 | 0 point |
See reference details in phoenix-package
or by calling
citation('phoenix')
.
phoenix
for generating the diagnostic Phoenix
Sepsis score based on the four organ systems:
phoenix_cardiovascular
,
phoenix_coagulation
,
phoenix_neurologic
,
phoenix_respiratory
,
phoenix8
for generating the diagnostic Phoenix 8
Sepsis criteria based on the four organ systems noted above and
phoenix_endocrine
,
phoenix_immunologic
,
phoenix_renal
,
phoenix_hepatic
,
vignette('phoenix')
for more details and examples.
# using the example sepsis data set
# Expected units:
# GCS integer values from 3, 4, 5, ..., 15
# fixed_pupils: 1 if bilaterially fixed pupils, 0 otherwise
phoenix_neurologic(
gcs = gcs_total,
fixed_pupils = as.integer(pupil == "both-fixed"),
data = sepsis
)
# build an example data set with all possible neurologic scores
DF <- expand.grid(gcs = c(3:15, NA), pupils = c(0, 1, NA))
DF$target <- 0L
DF$target[DF$gcs <= 10] <- 1L
DF$target[DF$pupils == 1] <- 2L
DF$current <- phoenix_neurologic(gcs, pupils, DF)
stopifnot(identical(DF$target, DF$current))
DF
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.