find_qsofa | R Documentation |
Finds the current qSOFA score
find_qsofa( .data, patientid, time, period = 1, vitals = c(RR = NA, SBP = NA, GCS = NA) )
.data |
Your dataset. Must have respiratory rate (rr), systolic blood pressure (sbp). and glasgow coma scale (gcs). |
patientid |
A value indicating the unique patient id, usually an encounter number. |
time |
A POSIXct value indicating the timestamp for when vitals where taken. |
period |
A numeric value that indicates how long one vital is good for, default is one hour. Note: This will only fill in missing vitals. |
vitals |
A character vector denoting what columns represent the vitals needed to calculate qSOFA |
Returns a dataset with a new column denoting the qSOFA total
result <- find_qsofa(qsofa_data, patientid = Encounter, time = Service_Timestamp, vitals = c("RR" = "RR", "SBP" = "SBP", "GCS" = "GCS"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.