mockVisitOccurrence: Function to generate visit occurrence table
Description
![[Experimental]](figures/lifecycle-experimental.svg?package=omock&version=0.6.1)
Usage
mockVisitOccurrence(cdm, seed = NULL, visitDetail = FALSE)
Value
A cdm reference with the visit_occurrence tables added
Arguments
- cdm
the CDM reference into which the mock visit occurrence table will
be added
- seed
A random seed to ensure reproducibility of the generated data.
- visitDetail
TRUE/FALSE it add the corresponding visit_detail table for
the mock visit occurrence created.