plasma-fhir-react-client-context
A React component that provides access to the fhirclient in a React app.
Installation
Make sure to install
fhirclient.yarn add plasma-fhir-react-client-context
Usage In Application
See sample applications for usage and examples.
FHIRClientLauncherhandles redirecting for OAUTH2Wrap your screens in a
<FHIRClientContextWrapper>to accessfhirclientIn your screen:
const context = useContext(FHIRClientContext);
Development
Build
yarn buildOr maybe
vite build
Deploy
Increment version
npm publish(Make sure you installjsonvianpm install -g json)
Last updated