Get Form
Forms
Get Form
Returns one cached form with its full definition.
GET
Get Form
Returns a single cached form by its Cobalt id, including the full
definition — the nested tree of categories, questions, and selectable answers. Use this to discover the question ids you supply in the answers object of POST /v1/services.
The id path parameter is the Cobalt form id (UUID) from GET /v1/forms.
Forms are currently supported for Credible.
The definition structure
definition.categories is an ordered tree. A category holds child categories and questions; a question holds selectable answers.
- Each question carries an
emrQuestionId. That id is the key you use in the serviceanswersobject. - Each answer carries a
value— the option a question can be scored/set to (for a scored questionnaire this is the numeric score, e.g."0".."3"). isRequired/isFormRequiredtell you which questions must be answered; omitting a required answer fails the service withMissing required answers.
The form metadata fields (
emr_form_id, synced_at, …) are snake_case. The nested definition is passed through as the EMR structures it and keeps its own field names (e.g. emrQuestionId, emrCategoryId). Treat the definition as an opaque tree — read the ids and values out of it rather than depending on its exact field casing.