# \donttest{
library(omock)
# Create a mock CDM reference and add death records
cdm <- mockCdmReference() |>
mockPerson() |>
mockObservationPeriod() |>
mockDeath(recordPerson = 1)
# View the generated death data
print(cdm$death)
# }
Run the code above in your browser using DataLab