Plasma Portal
Patient Portal built with Plasma FHIR.

Description
Standalone patient portal utilizing FHIR and the PlasmaFHIR framework.
Select your health system, login using your MyChart credentials, and view your health data!
Note: Currently only Epic-based health systems are available
To Run Locally
Update
config/config.tsto setmode = "LOCAL"It will probably launch at
/portalbecause thepackage.jsonhas that set as the homepage. In this case, just remove the/portalRun in https
Windows:
($env:HTTPS = "true") -and (npm start)Mac:
HTTPS=true npm start
Instructions for Deploying to https://plasmafhir.com/portal
Update
config/config.tsto setmode = "PRODUCTION"Instructions found here: https://github.com/rafgraph/spa-github-pages
Add the
404.htmlpage in the root directory and setpathSegmentsToKeep = 1since we will be using/portalAdd the script from the instructions into
index.htmlSet
<BrowserRouter basename="/portal">(this is already handled byconfig.ts)Set the
redirectUritohttps://plasmafhir.com/portal/app
Build the site with
yarn buildCopy files into the
/portaldirectory, but DO NOT copy404.html. Keep404.htmlat the root level
Technical Notes
Libraries/Packages Being Used
Plasma Portal
Install SASS
TailwindCSS
React Table
fhirclient
Last updated