psi_simple: Calculate the PSI score

View source: R/psi_simple.R

psi_simpleR Documentation

Calculate the PSI score

Description

Calculate the PSI score

Usage

psi_simple(
  age,
  verwirrt,
  hfrq.max,
  afrq.max,
  sysbp.min,
  temp.min,
  temp.max,
  tumor,
  herz,
  cerebro,
  renal,
  liver,
  gender,
  nurse.home,
  art.ph.min,
  bun,
  snat,
  gluk,
  haemkrt,
  apo2.min,
  pleu_erg
)

Arguments

age

Age

verwirrt

Altered mental status (confusion), yes 1, no 0

hfrq.max

Pulse in beats/min

afrq.max

Respiratory rate in breaths/min

sysbp.min

Systolic blood pressure in mmHg

temp.min

Minimal temperature in Celsius

temp.max

Maximal temperature in Celsius

tumor

Neoplastic disease, yes 1, no 0

herz

Congestive heart failure history, yes 1, no 0

cerebro

Cerebrovascular disease history

renal

Renal disease history

liver

Liver disease history

gender

sex, male 0, female 1

nurse.home

Nursing home resident, yes 1, no 0

art.ph.min

pH

bun

BUN in mmol/L

snat

Snat (Sodium) in mmol/L

gluk

Glucose in mmol/L

haemkrt

Hematocrit in percent

apo2.min

Partial pressure of oxygen in mmHg

pleu_erg

Pleural effusion on x-ray

Value

The value of the PSI score (positive integer).

Examples

psi <- psi_simple(
  age = 68,
  verwirrt = 1,
  hfrq.max = 130,
  afrq.max = 35,
  sysbp.min = 80,
  temp.min = 34,
  temp.max = 35,
  tumor = 1,
  herz = 1,
  cerebro = 1,
  renal = 1,
  liver = 1,
  gender = 1,
  nurse.home = 1,
  art.ph.min = 7.2,
  bun = 10,
  snat = 120,
  gluk = 16,
  haemkrt = 0.2,
  apo2.min = 50,
  pleu_erg = 1)
  psi

maciejrosolowski/progressdatenbankderivate documentation built on Nov. 29, 2024, 3:39 a.m.