This is a utility library to handle FHIR resources.
Install like a normal npm dependency.
npm i @molit/fhir-util
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);
See full documentation here: https://docs.molit.eu/fhir-util/