simulate_ehr_patients: Generate a dataframe of simulated patients with exit dates...

View source: R/ehr_simulation.R

simulate_ehr_patientsR Documentation

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

Details

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

Value

a dataframe of simulated patients


rOpenHealth/rEHR documentation built on Sept. 25, 2024, 5:32 p.m.