...
Code Block | ||
---|---|---|
| ||
{ "label": "Order date", "type": "obs", "questionOptions": { "rendering": "datetime", "concept": "162078AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "weeksList": "", "conceptMappings": [ { "type": "CIEL", "value": "162078" } ] }, "id": "orderDate" } |
Renders:
...
checkbox
Renders like a multi-choice select field. This kind of field lets you select more that one option.
...
Code Block | ||
---|---|---|
| ||
{ "label": "Location where it occurred (ui-select-extended illustration)", "type": "obs", "required": false, "id": "ui-select-extended-location-illustration", "questionOptions": { "rendering": "ui-select-extended", "datasource": { "name": "location_datasource", "config": { "tag": "e065fcd0-f3a5-432e-8fd6-33d24864d64f" } }, "concept": "161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } } |
Renders:
...
Under datasource, you pass the datasource name and optionally you can pass a config parameter. For the case of location, in the config, we pass the tag.
...
Code Block | ||
---|---|---|
| ||
{ "label": "Select a drug", "type": "obs", "questionOptions": { "rendering": "drug", "concept": "8d490dfc-c2cc-11de-8d13-0010c6dffd0f" }, "id": "drug_select" }, |
rendersRenders:
...
...