The questionnaire-renderer is a component developed to render FHIR questionnaires. It was developed by the MOLIT Insitut gGmbH using the Stencil framework
Using npm:
npm i @molit/questionnaire-renderer
Using npm:
Import the component in the main.js of your project.
import { applyPolyfills, defineCustomElements as initQuestionnaireRenderer } from "@molit/questionnaire-renderer/loader";
applyPolyfills().then(() => {
//Surrounding defineCustomElemnts() with applyPolyfills() is only needed if older browsers are targeted
initQuestionnaireRenderer()
});
You can find more documentation here: https://github.com/molit-institute/questionnaire-renderer/blob/master/src/components/questionnaire-renderer/readme.md
You can find a demo project using vue.js here: https://github.com/molit-institute/questionnaire-renderer-example-vue