Skip to contents

Mock CDM Initialization

This group includes functions that initialize the foundational structures required for the mock CDM environment.

mockCdmFromTables()
Generates a mock CDM (Common Data Model) object based on existing CDM structures and additional tables.
mockCdmReference()
Creates an empty CDM (Common Data Model) reference for a mock database.

Mock Table Creation

These functions are focused on adding mock data tables based on the initialized CDM structure.

mockConditionOccurrence()
Generates a mock condition occurrence table and integrates it into an existing CDM object.
mockDeath()
Generates a mock death table and integrates it into an existing CDM object.
mockDrugExposure()
Generates a mock drug exposure table and integrates it into an existing CDM object.
mockMeasurement()
Generates a mock measurement table and integrates it into an existing CDM object.
mockObservation()
Generates a mock observation table and integrates it into an existing CDM object.
mockObservationPeriod()
Generates a mock observation period table and integrates it into an existing CDM object.
mockPerson()
Generates a mock person table and integrates it into an existing CDM object.

Vocabulary Tables Creation

This group includes functions that set up vocabulary tables.

mockConcepts()
Adds mock concept data to a concept table within a Common Data Model (CDM) object.
mockVocabularyTables()
Creates a mock CDM database populated with various vocabulary tables.

Cohort Tables Creation

These functions are focused on adding mock cohort tables based on the initialized CDM structure.

mockCohort()
Generate Synthetic Cohort