patient_roster_update: Update Patient List

View source: R/database.R

patient_roster_updateR Documentation

Update Patient List

Description

Updates the 'PATIENTS' collection with new entries. Lists all patients who have at least one note.

Usage

patient_roster_update(
  uri_fun,
  user,
  password,
  host,
  replica_set,
  port,
  database,
  patient_vect = NA
)

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.

replica_set

MongoDB replica set, if indicated.

port

MongoDB port.

database

MongoDB database name.

patient_vect

Vector of patient ID's. Default is NA, in which case all unlocked records will be listed.


simon-hans/CEDARS documentation built on Feb. 14, 2024, 3:16 a.m.