extractEncounters: Extract clinical encounters

Description Usage Arguments Value

Description

Extracts clinical encounters from the Caisis database and returns a data frame.

Usage

1
extractEncounters(connection, patients = NULL, n = -1)

Arguments

connection

ODBC connection object returned by dbConnect.

patients

A character vector of patient medical record numbers. If no limit is desired then set as NULL.

n

Number of records to retrieve. Use n = -1 to retrieve all records.

Value

Returns a data frame of clinical encounters from the Caisis database.


davidcoffey/Diamonds documentation built on May 14, 2019, 11:08 p.m.