Replies: 3 comments
-
Rename LateVisitDocument
{:type aidbox.sdc/form
:questions [...]}} Pros:
Cons:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Rename LateVisitDocument
{:type aidbox.sdc/form
:fields [...]} Pros:
Cons:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Rename LateVisitDocument
{:type aidbox.sdc/form
:items [...]} Pros:
Cons:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Form exists as a visual representation of questions, images, free text
and other visual elements(widgets) that help to capture information from the end user.
Form DSL
should describe questions and their visual representation in one place - to simplify form creation by removing duplication.It also should provide a way to describe other visual elements (widgets).
Form DSL
should contain a place where to put question/widget definitions.In current
Aidbox SDC
DSL we define questions data model in one place (Document DSL
),but question's visual definition and widget's definition in another place (
Layout DSL
).In current
Aidbox SDC
Document DSL
ZEN language built-in schemas are used to describeForm's data-model. That gives a data constraints definition and
zen/validation
for free.zen/map schema
is used as form data-model definition, and:keys
property(keys in a map)contains question's definitions, where key is a question id, and value is a question definition.
Example:
FHIR Questionnaire has
item
property that holds questions and other visual elements,and FHIR has only one place to define that.
Problem
Approach
Use Cases
User wants a good structured DSL in which every property is logical, intuitive and simple to remember.
Strategy
3 approaches of how to name property:
Form
problem domainDecision matrix
Design
name property
questions
oritems
Beta Was this translation helpful? Give feedback.
All reactions