plasma-fhir-react-client-context
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

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.
  • FHIRClientLauncher handles redirecting for OAUTH2
  • Wrap your screens in a <FHIRClientContextWrapper> to access fhirclient
  • In your screen: const context = useContext(FHIRClientContext);

Development

Build

  • yarn build
    • Or maybe vite build

Deploy

  • Increment version
  • npm publish (Make sure you install json via npm install -g json)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    1
    • latest

Version History

Package Sidebar

Install

npm i plasma-fhir-react-client-context

Weekly Downloads

5

Version

0.0.6

License

none

Unpacked Size

230 kB

Total Files

13

Last publish

Collaborators

  • plasmafhir