plasma-fhir-app-utils
Utility functions and APIs to help with building apps.
Installation
yarn add plasma-fhir-app-utils
Util Functions
Calculate an age from a DOB
Convert units
FHIR Client APIs
APIs for querying for resources with type info
Development
Build
yarn buildor
tscif that doesn't work
Unit Tests
yarn test
Publish/Deploy
yarn buildyarn testWindows:
npx mocha -r ts-node/register tests/**/*.spec.ts
Login as
plasmafhirIncrement version
npm publishYou also need to update/publish
packages/plasma-fhir-backend-utilsUpdate the version of
plasma-fhir-app-utilsthat it's using.The reason is because it returns a PlasmaFHIRApi
TODO: Need to separate these dependencies or have the backend utils export the api
Last updated