View source: R/configuration_user.R
userconfig.insert | R Documentation |
add user configuration
userconfig.insert(dMeasure_obj, description)
dMeasure_obj |
dMeasure R6 object |
description |
list $Fullname, $AuthIdentity, $Location, $Attributes $License |
if setting multiple attributes or locations, preferable to set the attribute as a list e.g.
list(Fullname = "Mrs. Diabetes Educator", Location = list(c("Jemena", "Lakeside")))
note that the list does not need to enclose with I(), since 'as_tibble' is used for translation. If attributes or location is not a list, userconfig.insert will turn them into a list
$UserConfig
## Not run:
dMeasure_obj <- dMeasure::dMeasure$new()
dMeasure_obj$open_emr_db()
dMeasure_obj$userconfig.insert(
list(
Fullname = "Mrs. Diabetes Educator",
Location = list(c("Jemena", "Lakeside")),
Attributes = list(c("UserAdmin", "ServerAdmin"))
)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.