Skip to contents

this function executes the desired checks "overview","annualOverview","missing", "unknown","gestationalAge","datesAgeDist","outcomeMode", "fetusesLiveborn","fetusid","weightDist","bitSet"

Usage

executeChecks(
  mothertable = NULL,
  babytable = NULL,
  checks = c("overview", "annualOverview", "missing", "unknown", "gestationalAge",
    "datesAgeDist", "outcomeMode", "fetusesLiveborn", "fetusid", "weightDist", "bitSet"),
  minCellCount = 5,
  minGestAge_Days = 21,
  verbose = FALSE
)

Arguments

mothertable

input a table according to the mothertable of the pregnancy extension Table in OHDSI, can be NULL

babytable

input a table according to the mothertable of the pregnancy extension Table in OHDSI, can be NULL

checks

chose the checks you want to perform, not all checks are possible depending on which tables are available

minCellCount

chose a number below you want to obscure counts, 0 is not obscured

minGestAge_Days

chose a number below you think that the pregnancy entries were wrong / should not be there

verbose

will give you the information the package is performing at that moment

Value

all the individual result tables with data obscured if need be

Examples

# \donttest{
cdm <- mockPregnancy()
executeChecks(cdm$mothertable,cdm$babytable)
# }