Learn R Programming

rEHR (version 1.0)

simulate_ehr_patients: Generate a dataframe of simulated patients with exit dates based on presented comorbidities.

Description

The definitions of the patient file are all in the ehr_def object

Usage

simulate_ehr_patients(ehr_def)

Arguments

ehr_def
an object of class EHR_definition

Value

a dataframe of simulated patients

Details

Patients must have transferred out after the ealiest possible collection date ehr_def$practice$uts_limit