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.ts
to setmode = "LOCAL"
It will probably launch at
/portal
because thepackage.json
has that set as the homepage. In this case, just remove the/portal
Run 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.ts
to setmode = "PRODUCTION"
Instructions found here: https://github.com/rafgraph/spa-github-pages
Add the
404.html
page in the root directory and setpathSegmentsToKeep = 1
since we will be using/portal
Add the script from the instructions into
index.html
Set
<BrowserRouter basename="/portal">
(this is already handled byconfig.ts
)Set the
redirectUri
tohttps://plasmafhir.com/portal/app
Build the site with
yarn build
Copy files into the
/portal
directory, but DO NOT copy404.html
. Keep404.html
at the root level
Technical Notes
Libraries/Packages Being Used
Plasma Portal
Install SASS
TailwindCSS
React Table
fhirclient
Last updated