Skip to content

SMARTMarkers/practitioner-ehr-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clinic PGHD Requester App

A SMART on FHIR app to dispatch patient generated health data (PGHD) requests to the patient. An array of instruments is compiled from FHIR ValueSets stored in the clinic's FHIR server.

This is a companion app for the SMART Markers framework and its apps. As the FHIR ServiceRequest is generated, the downstream SMART Markers apps can fulfill those requests by generated or aggregating data and submitting back to the health system's FHIR server.

This app is fully SMART on FHIR compliant and represents the concept of sending PGHD requests with emphasis on interoperability.

Installation

  1. Clone this repository:
  2. Install modules fhirclient, Flask, jwt
  3. Upload all ValueSets in /fhirresources into your FHIR Server to simulate a PGHD Instrument Metadata Repository
  4. Edit app.py with the settings for the SMART on FHIR endpoints and SMART credentails
  5. run app.py
$ git clone https://github.com/SMARTMarkers/practitioner-ehr-app.git
$ cd practitioner-ehr-app
$ pip3 install fhirclient // make sure its FHIR R4
$ pip3 install pyjwt
$ pip3 install Flask
$ chmod +x app.py

//Edit app.py with settings for the SMART on FHIR endpoints
$ ./app.py

Notice

  1. PROMIS API service providers AssessmentCenter is undergoing migration. This repo will be updated to fetch PROMIS instruments directly from AC after the migration is completed. Please contact AC to more info and access to their FHIR endpoints.
  2. This work is under further development and eventually will become a framework to support multiple SMART EHR apps.

License

This work is Apache 2 licensed.