validateCdmArgument: validateCdmArgument

View source: R/validate.R

validateCdmArgumentR Documentation

validateCdmArgument

Description

validateCdmArgument

Usage

validateCdmArgument(
  cdm,
  checkOverlapObservation = FALSE,
  checkStartBeforeEndObservation = FALSE,
  checkPlausibleObservationDates = FALSE,
  checkPerson = FALSE,
  validation = "error",
  call = parent.frame()
)

Arguments

cdm

A cdm_reference object

checkOverlapObservation

TRUE to perform check on no overlap observation period

checkStartBeforeEndObservation

TRUE to perform check on correct observational start and end date

checkPlausibleObservationDates

TRUE to perform check that there are no implausible observation period start dates (before 1800-01-01) or end dates (after the current date)

checkPerson

TRUE to perform check on person id in all clincial table are in person table

validation

How to perform validation: "error", "warning".

call

A call argument to pass to cli functions.

Value

A cdm_reference object


omopgenerics documentation built on Sept. 30, 2024, 9:16 a.m.