MedicalDefinition: Constructor function for MedicalDefinition class

Description Usage Arguments Details Examples

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)

rEHR documentation built on Jan. 23, 2017, 1 p.m.

Related to MedicalDefinition in rEHR...