How to convert FHIR Questionnaire to Aidbox Forms and back
Last updated
Was this helpful?
Last updated
Was this helpful?
You can use Aidbox to convert
FHIR Questionnaires to Aidbox Forms
Aidbox Forms to FHIR Questionnaires (with some limitations)
SDCDocument to FHIR QuestionnaireResponse resource.
You can use
- converts SDCDocument to FHIR QuestionnaireResponse
- converts FHIR Questionnaire to Aidbox SDC Form
- converts Form to FHIR Questionnaire
- converts all Forms to Questionnaire and save them in Aidbox
Aidbox Forms supports
automatic Form convertion to Questionnaire resource on Aidbox startup.
automatic SDCDocument convertion to QuestionnaireResponse resource on SDCDocument save.
These features can be configure via in zen-project.
You need to configure your aidbox/system
with sdc-service
and it's configuration.
Example:
Your zen-project entrypoint namespace (box.edn for example)
For forms conversion you should set [:conversion :convert-forms-on-start]
property to true
Example:
You need to restart aidbox to take effect of changed configuration
For Document conversion you should set [:conversion :convert-doc-on-save]
property to true
Example:
You need to restart aidbox to take effect of changed configuration
After that - every document changes will be reflected in QuestionnaireResponse resources.
NOTE:
id
of convertedQuestionnaireResponse
will be the same asid
ofSDCDocument
.