Giter Site home page Giter Site logo

sdhealthconnect / leap-hapi-fhir-ces-embedded Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 0.0 254 KB

LEAP Consent Enforcement Service (CES) Embedded in a FHIR Server.

License: Apache License 2.0

Dockerfile 0.55% Batchfile 0.15% Shell 1.01% Java 94.56% HTML 3.73%

leap-hapi-fhir-ces-embedded's Introduction

HAPI-FHIR Consent Enforcement Service (CES) Embedded Demonstration Environment

This repository contains the artifacts for demonstrating integration with the LEAP Consent Decision Service (CDS) to enforce patient consent in a FHIR based exchange use-case. Where CES is implementated as an Interceptor within the HAPI-FHIR server.

Prerequisites

  • OpenJDK 11.0.6_10
  • Maven 3.6.x
  • Make sure your Maven is configured to fetch dependencies from Github packages as discussed below
  • Docker 19.03.5 and Docker Compose 1.25.2

Build Instructions

  • Clone this repository and change to the repository directory:
> git clone https://github.com/sdhealthconnect/leap-hapi-fhir-ces-embedded.git
> cd leap-hapi-fhir-ces-embedded
  • Review the environment variable file docker-env.sh and modify if needed:
#!/bin/sh

export HAPI_DB_URL='jdbc:mysql://hapi-fhir-mysql:3306/hapi?serverTimezone=UTC&max_allowed_packet=16777216&createDatabaseIfNotExist=true'
export HAPI_DB_USER=admin
export HAPI_DB_PASS=admin

export HAPI_FHIR_URL_PUBLIC='http://host.docker.internal:6060/hapi-fhir-jpaserver/'
export HAPI_FHIR_URL='http://hapi-fhir-jpaserver:6060/hapi-fhir-jpaserver/fhir/'

export CDS_HOST_URL='https://sdhc-leap.appspot.com'

export LEAP_LOG_LEVEL='WARN'
  • Build the project
> mvn clean install -DskipTests
  • Ensure Docker is running locally and;
> docker build .

Running LEAP HAPI FHIR CES Embedded

A version of this project is running on the Google cloud where the FHIR base endpoint is; http://35.235.74.117:8080/hapi-fhir-jpaserver/fhir/

Otherwise you may modify the docker-compose.yml and docker-env.sh files to reflect your local environment and then just;

> docker-compose up

leap-hapi-fhir-ces-embedded's People

Contributors

ddecouteau avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

leap-hapi-fhir-ces-embedded's Issues

Orchestration

[ ] Consent Authorization Actions
[ ] SLS Interactions as demonstrated at May FHIR Connectathon
[ ] Privacy Protection Service (Actions based on obligations) //changes from org to patient as demonstrated at May Connectathon
[ ] FHIR AuditEvent Integration

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.