Skip to content

carin-alliance/cpcds-client-ri

Repository files navigation

CPCDS Reference Implementation Client

Description

This is an open source reference implementation client for the Consumer-Directed Payer Data Exchange IG.

Features

  • Allow users to authenticate to FHIR server supporting the CARIN IG for Blue Button via SMART App Launch
  • Allow authenticated users to retrieve and view their explanation of Benefits statements.

Hosted Application

The application is hosted on Heroku and is browseable at https://cpcds-client-ri.herokuapp.com/home.

This app works with the CPCDS reference server. Use the following credentials to connect the hosted client with the CPCDS server:

Server Base URL: http://cpcds-ri.c3ib.org/cpcds-server/fhir
Client ID: 6cfecf41-e364-44ab-a06f-77f8b0c56c2b
Client Secret: XHNdbHQlOrWXQ8eeXHvZal1EDjI3n2ISlqhtP30Zc89Ad2NuzreoorWQ5P8dPrxtk267SJ23mbxlMzjriAGgkaTnm6Y9f1cOas4Z6xhWXxG43bkIKHhawMR6gGDXAuEWc8wXUHteZIi4YCX6E1qAvGdsXS1KBhkUf1CLcGmauhbCMd73CjMugT527mpLnIebuTp4LYDiJag0usCE6B6fYuTWV21AbvydLnLsMsk83T7aobE4p9R0upL2Ph3OFTE1

Test Patients Login (username / password)

Patient1 / password
Patient2 / password

Running App Locally

Prerequisites

Make sure you have the following dependencies installed

Installation

To pull in remote cpcds-client-ri from github for local development:

cd ~/path/to/your/workspace/
git clone https://github.com/carin-alliance/cpcds-client-ri.git

Running the App

This app uses PostgreSQL for database and memcached for caching systems.

  1. Ensure you have all the prerequisites installed.

  2. Ensure that postgre and memcached are running.

  3. Change directory to the app directory:

    cd ~/path/to/your/app/
  4. Install the app dependencies:

    bundle install
  5. Setup the database:

    rails db:setup
  6. Run the rails app:

    rails s

Now you should be able to see the app up and running at localhost:3000

Stopping the App

  1. Stop the app by doing control + c
  2. Stop the postgre server
  3. stop the memcached server

Contributing

Contributions and suggestions are welcome. You can report a bug or suggest a feature via the GitHub issues tracking. You can also submit a pull request for a fix or new feature.

Copyright

Copyright 2022 The MITRE Corporation

Questions and Contributions

Questions about the project can be asked in the CARIN BlueButton stream on the FHIR Zulip Chat.

This project welcomes Pull Requests. Any issues identified with the RI should be submitted via the GitHub issue tracker.

As of October 1, 2022, The Lantana Consulting Group is responsible for the management and maintenance of this Reference Implementation. In addition to posting on FHIR Zulip Chat channel mentioned above you can contact Corey Spears for questions or requests.

About

Reference client for the Consumer Directed Payer Data Exchange (CARIN Blue Button) Implementation Guide: https://build.fhir.org/ig/HL7/carin-bb/index.html

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published