FHIR Util
This is a small utility library to handle FHIR resources.
Installation
Install like a normal npm dependency.
npm i @molit/fhir-util
Usage
Import the library and use the functions of the library.
import * as fhirUtil from "@molit/fhir-util";
let name = fhirUtil.getStringFromHumanName(patient.name);
Tree shaking is also supported. 🌲
import { getStringFromHumanName } from "@molit/fhir-util";
let name = getStringFromHumanName(patient.name);
Browser Example
An example for browser usage can be seen here: https://jsfiddle.net/molitinstitut/k5edr4z3/latest/
Documentation
See full documentation here: https://docs.molit.eu/fhir-util/