MedicalDefinition: Constructor function for MedicalDefinition class

Description Usage Arguments Details Examples

View source: R/codelists.R

Description

Constructor function for MedicalDefinition class

Usage

1
2
MedicalDefinition(terms = NULL, codes = NULL, tests = NULL,
  drugs = NULL, drugcodes = NULL)

Arguments

terms

list of character vectors or NULL

codes

list of character vectors or NULL

tests

list of character vectors or NULL

drugs

list of character vectors or NULL

drugcodes

list of character vectors or NULL

Details

Elements marked with a "-" are excluded. Elements marked with a "r

Examples

1
2
3
4
def <- MedicalDefinition(terms = list(c("angina", "unstable"), c("angina", "Crescendo "),
                                      c("angina", "Refractory")),
                         codes = list("G33..00", "G330.00", "%r212H", "-G617"))
class(def)

rOpenHealth/rEHR documentation built on March 19, 2018, 7:58 a.m.