mockCdmFromTables | Creates a mock cdm_reference from a preexisting cdm_reference object (it can be empty) and a list of tables. It makes sure that all the observations are within observation and all individuals are present in person table. |
mockCdmReference | Function to create empty cdm reference for mock database |
mockCohort | Function to generate synthetic Cohort |
mockConcepts | function to add mockconcept et to concept table |
mockConditionOccurrence | Function to generate condition occurrence table |
mockDeath | Function to creat mock death table |
mockDrugExposure | Function to generate drug exposure table |
mockMeasurement | Function to generate measurement table |
mockObservation | Function to generate observation table |
mockObservationPeriod | mockObservationPeriod |
mockPerson | mockPerson |
mockVocabularyTables | It creates a mock database with the vocabulary. |