getEncounters: Retrieves patient clinical encounter data

Description Usage Arguments Value Examples

View source: R/getEncounters.R

Description

Compiles encounter data for a given patient list. Concepts are mapped through the created data ontology. Encounter data are retrieved from visit_occurence table and include: visit_type, encounter_type, etc.

Usage

1
getEncounters(patient_list, declare = FALSE)

Arguments

patient_list

Comma-separated string of patient ids

declare

TRUE/FALSE will output status and data information during the process

Value

table of mapped encounter concepts for specific patients contained in a provided csv formmated string of ids.

Examples

1
ptEncs <- getEncounters("1,2,3,4",declare=TRUE)

BenGlicksberg/ROMOP documentation built on March 6, 2020, 8:15 p.m.