gether_all_inpatient_dx_keys: Gather all visit keys associated with a set of visits

View source: R/pull_tables_gether.R

gether_all_inpatient_dx_keysR Documentation

Gather all visit keys associated with a set of visits

Description

This function return a tibble of

Usage

gether_all_inpatient_dx_keys(
  collect_tab = collect_table(),
  dx_num = TRUE,
  db_con,
  keys,
  primary = FALSE
)

Arguments

collect_tab

A collection table

dx_num

a logical indicator of whether to collect diagnosis number. Default is TRUE.

db_con

A connection to the database

primary

whether or not to only return primary diagnoses, if TRUE forces dx_num to TRUE


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