problems.first_procedure: Get the date of the first procedure

Description Usage Arguments Value

Description

Get the date of the first procedure

Usage

1
2
problems.first_procedure(df.disease, xml_disease_file, procedures, any = TRUE,
  where_icd9 = c("pp", paste0("ps", 1:7)))

Arguments

df.disease

data.frame containing the registry

xml_disease_file

xml file containing the disease definition

any

logical indicating whether to calculate the overall minimum (TRUE) or the separated by disease (FALSE)

where_icd9

character indicating where to find the information inside column field

diseases

name of diseases of interest (must be contained in the xml file definition)

Value

returns a data.frame with the date of the first procedure


mcomas/rnova documentation built on May 22, 2019, 3:17 p.m.