populate_notes: Prepare Database for Patient Notes

View source: R/database.R

populate_notesR Documentation

Prepare Database for Patient Notes

Description

Sets up the 'NOTES' collection which will hold original EHR documents. Those notes can exist as complete documents (one doc per note) or in atomized form (several docs, each a subsection of one note).

Usage

populate_notes(uri_fun, user, password, host, replica_set, port, database)

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.


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