Skip to content

The Health Data Consent Manager is an entity that acts as a consent collector for the Customer and mediates the Health Information data flows from the HIP to the recipient HIU or the Customer.

vvujjini/consent-manager

 
 

Repository files navigation

🏪 Consent Manager

A Health Data Consent Manager (HDCM) is a new type of entity proposed here whose task is to provide health information aggregation services to customers of health care services. It enables customers to fetch their health information from one or more Health Information Providers (e.g., Hospitals, Diagnostic Labs, Medical Device Companies), based on their explicit Consent and to share such aggregated information with Health Information Users i.e. entities in need of such data (e.g., Insurers, Doctors, Medical Researchers).

Components

components

System Architecture

Architecture

Consent Manager Architecture

Pre-requisites & Setting up the environment

  • Git (also setup SSH Key)
  • Intelli Idea IDE
    • Install Lombok Plugin in the IDE and enable Lombok Annotations in preferences

Import the project

When using IntelliJ Idea, open this project by importing the gradle file and check Auto Import option to resolve all the dependencies automatically.

💪 Motivation

Consent Manager must provide its customers an interface using which they can view and manage consent artefacts associated with them and, optionally, an interface for the customers to view their aggregated health information.

Build Status

ci/cd

👍 Code Style

JAVA Naming Conventions

🎉 Language/Frameworks

🏁 Requirements

🐳 Running From The Docker Image

Create docker image

docker build -t consent-manager .

To run the image

docker run -d -p 8000:8000 consent-manager

🚀 Running From Source

To run

./gradlew bootRun

or if you want to run in dev environment setup

./gradlew bootRun --args='--spring.profiles.active=dev'

Running The Tests

To run the tests

./grdlew test

Features

  1. Consent Management
  2. Aggregate Health Information

API Contract

Once ran the application, navigate to

{HOST}/index.html

Commands to Know

Generates PNGs for all *.puml files located in docs/diagrams and <project>/docs/diagrams.

make png

About

The Health Data Consent Manager is an entity that acts as a consent collector for the Customer and mediates the Health Information data flows from the HIP to the recipient HIU or the Customer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.8%
  • HTML 1.1%
  • Other 0.1%