Configuring the International Patient Summary in the Reference Application.

Table of contents

Getting Started with the International Patient Summary

The International Patient Summary (IPS) module provides functionality for fetching, storing, and retrieving FHIR International Patient Summaries within the OpenMRS ecosystem. This module is designed to operate in a headless manner, meaning it does not include any user interface components.

How to Configure the Backend for the International Patient Summary on the Reference Application


  1. Navigate to the OpenMRS GitHub repository.

screencapture-google-search-2024-11-18-08_30_51.png
Access the repository
  1. Clone the repository

clone application.png
Clone the repository

In this illustration the repository is cloned on Gitpod. Therefore, click on configure your own repository to start the Gitpod machine

The repository is searched under Gitpod and user clicks on the continue button. The workspace will start successfully.

The following repository https://github.com/I-TECH-UW/o3-distro/tree/IPS-MPI/distro has the required International Summary Patient artefacts that should be added to the Reference application currently running on the Gitpod instance. See illustration below

  1. click on the committed changes for the artefacts.

  1. Click on the Files changed.

  1. The first artefact is the IPS version OMOD found under the distro/distro.properties copy the OMOD artefact.

  1. Click on the and paste under the same path of the cloned instance .

  1. The second artefact is the IPS Snapshot version found under distro/pom.xml copy the artefact.

  1. Paste the artefact under properties in distro/pom.xml of the cloned instance.

  1. Copy the repository.

  1. Paste the repository under the cloned instance.

  1. Copy the IPS ESM App.

  1. Paste the esm-ips-app under frontend/spa-assemble-config.json in the cloned instance.

  1. Click on the docker-compose.yml file and copy the command to start-up the back end.

 

  1. Open a new terminal. change directory to the front end module and build the module.

  1. copy the command to start-up the back end and run under the front -end terminal.

 

  1. Open a new terminal and execute the command docker compose up

  1. Click on the ports tab and expose the port for the backend link to be publicly accessible.

  1. Click on the link to access the backend.

  1. Remove the path to access the back-end.

  1. Enter login credentials and click on login button.

Property

Description

Property

Description

ips.url

The URL of the FHIR server endpoint that returns the IPS.

 

Example: https://hapi.fhir.org/baseR4/Patient/$summary

ips.concept

The concept mapping or UUID of the complex concept used to store the IPS.

ips.identifierType.uuid

The UUID of the identifier type used to query the server for the IPS.

  1. To configure the above properties, we shall create an IPS concept so that we get the UUID that will store the IPS. To create the concept, the Dictionary menu item then click on Add New Concept.

 

  1. Fill in the Concept Name, Class , Datatype and click on the Save Concept button.

  1. Upon successful creation of the concept, copy the UUID.

  1. Click on the administrator menu.

  1. Click on Settings under Maintenance

  1. Click on Ips, paste the Complex complex UUID that was copied. The Identifiertype Uuid and Url remain the same. Click on the Save button. The global properties saved successfully.

How to Configure the Frontend of the Reference Application to display the International Patient Summary for a patient

  1. Click on the Url under the ports tab.

  1. Enter the Username and click on the Continue button.

  1. Enter the Password and click on the Login button

  1. Select location.

  1. Search patient

  1. Click on Actions.

  1. Click on Edit Patient Details.

  1. Click configure

  1. Select checkbox and configure

  1. Update patient

  1. To access the IPS click on the Hamburger menu at the top left.

  1. Click on Patient History

  1. Click on Refresh. The IPS will be displayed under the Patient History.