simulate_ehr_consultations: Generates simulated GP consultation tables.

Description Usage Arguments Value Examples

Description

This function generates simulated GP consultations based on an EHR_definition object and a patient table, as generated by simulate_ehr_patients. Multicore functionality is implemented via mclapply

Usage

1
simulate_ehr_consultations(ehr_def, patient_table, cores = 1)

Arguments

ehr_def

an object of class link{EHR_definition}

patient_table

a dataframe of simulated patient EHR data

cores

number of processor cores to use to run the analysis

Value

data frame of simulated GP consultations

Examples

1
2
3
## Not run:  patient <- simulate_ehr_patients(ehr_definition) cons <-
  simulate_ehr_consultations(ehr_def, patient_table = patient, cores = 4) 
## End(Not run)

rosap/test documentation built on May 27, 2019, 11:30 p.m.