@reasonhealth/fhirpath
v0.2.6
Published
Typed TypeScript wrappers for the Reason Health FHIRPath WebAssembly package.
Readme
@reasonhealth/fhirpath
Typed TypeScript wrapper for the Reason Health FHIRPath WebAssembly build.
import { evaluateExpression } from "@reasonhealth/fhirpath/node";
const result = evaluateExpression("name.given", {
resourceType: "Patient",
name: [{ given: ["Ada"] }]
});Exports:
@reasonhealth/fhirpath/nodefor Node.js.@reasonhealth/fhirpath/webfor direct browser loading. CallinitFhirPath()before invoking wrapper functions.@reasonhealth/fhirpath/bundlerfor Vite, webpack, Rollup, and similar bundlers.
