This is an api library to handle FHIR resources.
Install like a normal npm dependency.
npm i @molit/fhir-api
Import the library and use the functions of the library.
import * as fhirApi from "@molit/fhir-api";
let List = fhirApi.fetchQuestionnaires(fhirBaseUrl);
Tree shaking is also supported. 🌲
import { fetchQuestionnaires } from "@molit/fhir-api";
let name = fetchQuestionnaires(fhirBaseUrl);
An example for browser usage can be seen here: https://jsfiddle.net/molitinstitut/nzwd917L/latest/
See full documentation here: https://docs.molit.eu/fhir-api/