Form DSL used just to bind all DSLs to one item.

PropertyDescriptionType/Structrequired?
titleTitle of the formstringno
propertiesForm metadata. Usable for several scenarious (search/convestion)mapno
versionForm version (managed automatically by aidbox-forms)stringno
documentSymbolic reference to Documentsymbolyes
layoutSymbolic reference to Layoutsymbolno
launchSymbolic reference to Launchsymbolno
finalizeSymbolic reference to Finalizesymbolno

Form DSL example:

 VitalsForm
 {:zen/tags   #{aidbox.sdc/Form}
  :title      "Vitals Signs"
  :properties {:teams #{"physician" "surgery"}}
  :document   VitalsDocument
  :layout     VitalsLayout
  :launch     VitalsLaunch
  :finalize   VitalsFinalize}

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:

PropertyDescriptionType/Struct
:fhir/idQuestionnaire resource id used to store to DBstring
:fhir/publisherName of the publisher (organization or individual)string
:fhir/statusQuestionnaire statusdraft/active/retired/unknown
:fhir/contactContact details for the publisher[{name: string, telecom: [{system, value}]}]
:fhir/purposeWhy this questionnaire is definedstring
:fhir/copyrightUse and/or publishing restrictionsstring
:fhir/approvalDateWhen the questionnaire was approved by publisherdate
:fhir/lastReviewDateWhen the questionnaire was last revieweddate
:fhir/effectivePeriodWhen the questionnaire is expected to be used{start: date, end: date}
-----------------------------------------------------------------------------------------------------------------------------

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