Skip to contents

A sample version of an PCORnet compliant input file for the Quantitative Variable Distribution data quality module. This exact file is also included as a CSV in the package if the user wishes to use it, or the structure can be copied to produce a custom list of checks.

Usage

qvd_input_pcornet

Format

qvd_input_pcornet

check_id

A short string "code" used to identify the specific check (ex: de, de_rx)

check_description

A longer description of the check (ex: full drug_exposure table, prescribed drugs based on drug_type_concept_id)

schema

The schema where the data is kept. Use cdm to use the pre-configured cdm_schema, result to use the preconfigured results_schema, or input the exact name of the schema.

table

The name of the CDM or pre-computed results table where the relevant data is kept

value_field

The field in the table that contains the quantitative variable

concept_field

The field with the concept codes that make up the valueset (ex: lab_loinc)

vocabulary_field

Typically only relevant for diagnoses and procedures, the field where the code vocabulary is kept (i.e. dx_type, px_type)

conceptset_name

OPTIONAL The string name of the concept set that will identify the concepts of interest, as it appears in the predefined file_subdirectory

filter_logic

OPTIONAL The logic that should be applied to the provided table in order to tailor the tables to the desired check assessment (ex: if you only want to assess prescription drugs)