Skip to content
/ JeMPI Public

The Jembi MPI, also known as JeMPI, is a standards-based client registry (CR) or master patient index (MPI). JeMPI facilitates the exchange of patient information between different systems and holds patient identifiers that may include patient demographic information

License

Notifications You must be signed in to change notification settings

jembi/JeMPI

Repository files navigation

JeMPI

Untitled design

The Jembi MPI, also known as JeMPI, is a standards-based client registry (CR) or master patient index (MPI). JeMPI facilitates the exchange of patient information between different systems and holds patient identifiers that may include patient demographic information. This is a necessary tool for public health to help manage patients, monitor outcomes, and conduct case-based surveillance. JeMPI’s primary goal is to act as a tool in order to solve the issue of multiple or duplicated patient records that are submitted from multiple point of service systems such as electronic medical records, lab systems, radiology systems and other health information systems. This is achieved by matching the various patient records from different systems under a Master Patient record with a unique ID. This allows for downstream applications, such as surveillance, to accurately display data and information on patient records without the worry that the data contains multiple records for the same patient.

Requirements

Installation

  • Directory structure
    • <base>
      • JeMPI - git@github.com:jembi/JeMPI.git
  • Requirements
    • ping `hostname` must ping a LAN IP address (not 127.x.x.x)
  • Run
    1. <base>/JeMPI/devops/linux/docker/conf/env
      1. if you have less than 32Gb of ram, run ./create-env-linux-low-1-.sh. If you have 32Gb of ram or more, run ./create-env-linux-high-1-.sh
    2. <base>/JeMPI/devops/linux/docker/helper/scripts
      1. bash ./x-swarm-a-set-insecure-registries.sh
        • this clobbers /etc/docker/daemon.json
    3. <base>/JeMPI/devops/linux/docker
      1. ./a-images-1-pull-from-hub.sh
      2. ./b-swarm-1-init-node1.sh
      3. ./c-registry-1-create.sh
      4. ./c-registry-2-push-hub-images.sh
      5. ./d-stack-1-build-all-reboot.sh

Development

It's possible to run the whole stack local without having to use a local registry using the command :

./launch-local.sh

In order to remove the stack, you could use the following command :

docker stack remove jempi

Support for Mac OS

For MacOS users, the envsubst command will fail, so you'll need to add it :

brew install gettext
brew link --force gettext

Other bash commands may fail (such as "declare -A"). So you may want to update bash >=v4:

brew install bash
bash --version

Then to run the stack locally, you will need to switch to bash first :

bash ./launch-local.sh

Note that currently, there is no Dgraph Ratel docker image compiled for M1 CPU, so most certainly you would run into a "Unsupported platform" error. For this you could either decide not to run the Ratel service by setting export SCALE_RATEL=0 in docker/conf/env/create-env-linux-1.sh and use https://play.dgraph.io/ instead.

About

The Jembi MPI, also known as JeMPI, is a standards-based client registry (CR) or master patient index (MPI). JeMPI facilitates the exchange of patient information between different systems and holds patient identifiers that may include patient demographic information

Resources

License

Stars

Watchers

Forks

Packages

No packages published