Skip to content

symptomatic/hgraph-on-fhir

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 

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