db_download: Obtain Patient Notes

Description Usage Arguments Value

View source: R/database.R

Description

Downloads the notes for one patient. If there are missing fields, those are created with NA values inserted.

Usage

1
db_download(uri_fun, user, password, host, port, database, patient_id)

Arguments

uri_fun

Uniform resource identifier (URI) string generating function for MongoDB credentials.

user

MongoDB user name.

password

MongoDB user password.

host

MongoDB host server.

port

MongoDB port.

database

MongoDB database name.

patient_id

Patient ID for which notes are being requested.

Value

Dataframe of full notes and/or note parts with associated metadata.


CEDARS documentation built on Feb. 7, 2021, 5:06 p.m.