Skip to content

molit-institute/questionnaire-renderer

Repository files navigation

Questionnaire-Renderer

build publish npm version npm license

About

The questionnaire-renderer is a component developed to render FHIR questionnaires. It was developed by the MOLIT Insitut gGmbH using the Stencil framework

Installation

Using npm:

npm i @molit/questionnaire-renderer

Usage

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()
});

Documentation

You can find more documentation here: https://github.com/molit-institute/questionnaire-renderer/blob/master/src/components/questionnaire-renderer/readme.md

Example project

You can find a demo project using vue.js here: https://github.com/molit-institute/questionnaire-renderer-example-vue