Skip to content

hGraph React with Fast Healthcare Interoperability Resources

Notifications You must be signed in to change notification settings

symptomatic/hgraph-on-fhir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

symptomatic:hgraph-on-fhir

This is an example plugin for Meteor on FHIR (and Symptomatic) that illustrates how to create a REST endpoint, database collection, server side publication, client side subscription, and a reactive user interface. When implemented, you can ping the REST endpoint, and it will automatically update the user interface.

Clone the Example Plugin

cd webapp/packages
git clone https://github.com/symptomatic/accreditation-utility  

Customize the Plugin

# Step 1 - Rename package folder
packages/accreditation-utility

# Step 2 - Update package name, description
packages/accreditation-utility/package.js

# Step 3 - Customize the HelloWorld Page
packages/accreditation-utility/client/HelloWorldPage.jsx

# Step 4 - Update your routes if you wish
packages/accreditation-utility/index.jsx

# Step 5 - Edit the settings file; add custom route, etc.
packages/accreditation-utility/configs/settings.example.jsx

Run Meteor on FHIR with your plugin

# add your package
meteor add symptomatic:healthgraph
meteor npm install

# run with a custom settings file
meteor --settings packages/accreditation-utility/configs/settings.example.json

Example: Body Mass Index - Data Pipeline

The BodyMassIndex calculator relies on SMART on FHIR to fetch FHIR Patient and FHIR Observation resources. We then create a FHIR RiskAssessment for obesity. When fetching from an upstream FHIR Server, the overall data architecture and sequence diagram looks like the following.

BodyMassIndex Data Pipeline

Bypassing CORS

open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security

About

hGraph React with Fast Healthcare Interoperability Resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published