Description Usage Arguments Value Examples
Batches a keyword/CUI search for a cohort of patients. Useful to speed up the process by end users, since search results will be pre-populated. Locks each record before proceeding with search on existing NLP annotations. Patient records with no matching sentences or a known event date at or before the earliest matching sentence will be marked as reviewed. The latter assumes the query orders to skip sentences after events.
1 | pre_search(patient_vect = NA, uri_fun, user, password, host, port, database)
|
patient_vect |
Vector of patient ID's. Default is NA, in which case all unlocked records will be searched. |
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. |
No return value, called to execute a query in the database.
1 2 3 4 5 | ## Not run:
pre_search(patient_vect = NA, uri_fun = mongo_uri_standard, user = 'John',
password = 'db_password_1234', host = 'server1234', database = 'TEST_PROJECT')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.