Form DSL
Form DSL used just to bind all DSLs to one item.
Property | Description | Type/Struct | required? |
---|---|---|---|
title | Title of the form | string | no |
properties | Form metadata. Usable for several scenarious (search/convestion) | map | no |
version | Form version (managed automatically by aidbox-forms) | string | no |
document | Symbolic reference to Document | symbol | yes |
layout | Symbolic reference to Layout | symbol | no |
launch | Symbolic reference to Launch | symbol | no |
finalize | Symbolic reference to Finalize | symbol | no |
Only
document
layer is required.Other layers you add only if you need special logic there.
properties
can be used forforms search with
include/exclude
filter viaaidbox.sdc/get-forms
form conversion to Questionnaire via
aidbox.sdc/convert-form
andaidbox.sdc/convert-forms
Form DSL example:
Properties for Conversion
You can convert Form to Questionnaire, and for that you are able to add some metadata for for your form.
There are some predifined properties for that:
Property | Description | Type/Struct |
---|---|---|
| Questionnaire resource id used to store to DB |
|
| Name of the publisher (organization or individual) |
|
| Questionnaire status |
|
| Contact details for the publisher |
|
| Why this questionnaire is defined |
|
| Use and/or publishing restrictions |
|
| When the questionnaire was approved by publisher |
|
| When the questionnaire was last reviewed |
|
| When the questionnaire is expected to be used |
|
------------------------- | ---------------------------------------------------- | ------------------------------------------------ |
All these properties correspodents FHIR Questionnaire's root level fields
All properties are optional - but, if you want to save converted Questionnaire to it's resource table you should specify :fhir/id
property
Last updated