...
Element | Type | Description |
---|---|---|
| string | The name of the form. This is required and should be unique within the system. |
| string | The unique form identifier |
| string | The encounter type |
| single-line / multi-line / automatic | The inline rendering mode |
| Array<Section> | A collection of pages that make the form. Each page contains sections and questions. |
| Array<Intent> | A list of intents supported by this form. Intents define specific actions associated with the form. |
Pages
A page is a collection of related sections. A typical page definition consists of a label
, inlineRendering
(optional) and a list of section
s. The engine uses the page
’s label to identify it from other pages; that being said, it’s mandatory to keep the page’s label unique. Below is an example of a form with one page
and section
. The section
has 4 questions labelled:
...