Add vocabulary concept
add_vocabulary_concept.Rd
Add a new concept in the database concept table
Arguments
- output
Shiny output variable
- m
A shiny::reactiveValues object, used to communicate between modules
- vocabulary_id
Value of vocabulary_id where the concept will be added (character)
- concept_name
Value of concept_name (character)
- domain_id
Value of domain_id, must be present in database (character)
- concept_class_id
Value of concept_class_id, must be present in database (character)
- concept_code
Value of concept_code (character)
- i18n
Translator object from shiny.i18n library
- ns
Shiny namespace
Details
See OMOP concept table for more details.
Vocabulary_id must be present in the database when you add a new concept.
Not null values are required for concept_name, domain_id, concept_class_id and concept_code.
The value you provide for domain_id & concept_class_id must be present in the database.