Description Usage Arguments Examples
View source: R/query_latest_plans.r
This function provides a standardized method for querying each patient's latest treatment plan status from TBdb, including plan type, plan author, start date, end date (if completed), reason stopped, plan author, and number of treatments completed
1 | query_latest_plans(start_date, stop_date = Sys.Date())
|
start_date |
The start date of the earliest treatment plans to query |
stop_date |
The start date of the latest treatment plans to query |
1 2 3 | # Query all treatment plans started in the last week
query_latest_plans(start_date = Sys.Date() - 7,
stop_date = Sys.Date())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.