computePQI: PQI

Usage Arguments

Usage

1
2
3
computePQI(data = data, pqi = c(1:3, 5, 7:12, 14:16, 90:93),
  append = FALSE, diagcode = "dx", proccode = "px", agevar = "age",
  idvar = "id", mdcvar = "mdc", version = "6.0", ICD = "9")

Arguments

data

the input data with diagnosis and procedure codes, object of class data.frame.

append

logical. Should the output be appended to the original data file? Default is FALSE.

diagcode

Character string matching: 'dx' or 'dr'. Default is 'dx'.

proccode

Character string matching: 'px' or 'pr'. Default is 'px'.

agevar

Character string identifying column name of the age variable.

idvar

Character string identifying column name of the patient ID variable.

mdcvar

Character string identifying column name of the MDC variable.

version

PQI update version. Currently, only version 6.0 is supported.

ICD

Character string matching: '9' or '10' to specify the ICD-CM version.

PQI

numeric vector indicates which PQI's to calculate.


gjm112/rPQI documentation built on May 17, 2019, 6:03 a.m.