Skip to content

questionBankModules

Fetch generic custom modules for use in the form builder

Arguments

category · String · The question bank category to fetch. One of `default`, `user`, `agreement`, `HIPAA`, `charting`, `video`, `custom`, or `all` (the union of every built-in category, excluding custom).
keywords · String · Terms used for searching question bank modules. Only has effect when category is `custom` or `all`

Returns

[CustomModule!]

Example

query questionBankModules($category: String, $keywords: String) {
questionBankModules(category: $category, keywords: $keywords) {
controls_conditional_modules
copied_from_form_name
custom_module_condition
custom_module_form
custom_module_form_id
custom_module_form_section_id
exclude_from_scribe
external_id
external_id_type
file_attachment
hipaa_name
id
is_custom
label
metadata
mod_type
options
options_array
other_module_ids_to_autoscore_on
parent_custom_module_id
position
position_integer
required
sublabel
}
}