unlock_records: Unlock Old Locked Records Occasionally a CEDARS end user will...

Description Usage Arguments

View source: R/data_io.R

Description

Unlock Old Locked Records Occasionally a CEDARS end user will lock a patient record but not complete the annotation task. The end user lock will be respected for 24 hours after entry, however after this time period running this function will unlock the record. Called when another user sends a GET request and the server looks for a new patient to annotate. Prevents permanent locking of records by end users.

Usage

1
unlock_records(uri_fun, user, password, host, 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.

port

MongoDB port.

database

MongoDB database name.


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