match_patients_from_num: match_patients_from_num

Description Usage Arguments Value

View source: R/queries.R

Description

For Dr.Warehouse and i2b2 Match n (n_match) patients for each patient in a cohort/patient set.

Usage

1
2
3
match_patients_from_num(num = NULL, num_type = NULL,
  birth_range = NULL, concepts_range = NULL, n_match = NULL,
  match_save = FALSE, match_save_title = NULL, config = NULL)

Arguments

num

the identifier of the cohort/num_temp

num_type

type of num: one of c('num_temp', 'cohorte')

birth_range

integer >= 0 to compute the range of authorized birth_years for matching. the range will be: [birth_year - birth_range ; birth_year + birth_range]

match_save

For Dr.Warehouse (in i2b2 patient set is automatically saved). save the matched patients in a cohort (default = 'FALSE')

match_save_title

title for the saved cohort.

config

a config environment created by the function getConfig.

concepts_range.

float > 0 to compute the range of authorized uniq_concepts for matching. the range will be: [uniq_concepts - (uniq_concepts * concepts_range) ; uniq_concepts + (uniq_concepts * concepts_range)]

n_match:

number of patients to match

Value

the identifier of the matched cohort of patients


aneuraz/DWHtools2 documentation built on Sept. 6, 2019, 8:11 p.m.