gether_dx_keys_delay_large_DB: Gather all visit keys containing specific diagnosis codes for...

gether_dx_keys_delay_large_DBR Documentation

Gather all visit keys containing specific diagnosis codes for large databases

Description

Gather all visit keys containing specific diagnosis codes for large databases

Arguments

collect_tab

A tibble with the specific setting (i.e. inpatient or outpatient), source (i.e. ccae or mdcr), and year to access. Default is all possible combinations of setting, source, and year

dx_list

A list of specific diagnosis codes that are of interest. The diagnosis codes need to be seperated into into ICD 9 and ICD 10 specific codes. The list elements need to be labled as icd9_codes and icd10_codes

db_path

Path to the database

Value

A tibble with all the specified diagnosis codes and the corresponding visit key where the diagnosis codes appeared


aarmiller/smallDB documentation built on March 29, 2024, 9:37 a.m.