Utility functions and APIs to help with building apps.
yarn add plasma-fhir-app-utils
Calculate an age from a DOB
Convert units
APIs for querying for resources with type info
yarn build
or tsc if that doesn't work
tsc
yarn test
Windows: npx mocha -r ts-node/register tests/**/*.spec.ts
npx mocha -r ts-node/register tests/**/*.spec.ts
Login as plasmafhir
plasmafhir
Increment version
npm publish
You also need to update/publish packages/plasma-fhir-backend-utils
packages/plasma-fhir-backend-utils
Update the version of plasma-fhir-app-utils that it's using.
plasma-fhir-app-utils
The reason is because it returns a PlasmaFHIRApi
TODO: Need to separate these dependencies or have the backend utils export the api
Last updated 3 years ago