# Integration with OpenEMPI

**URL:** <https://talk.openmrs.org/t/integration-with-openempi/11535>\
**Category:** Development\
**Tags:** registration, integration, hie\
**Created:** [May 19, 2017, 8:40pm UTC](https://talk.openmrs.org/t/integration-with-openempi/11535 "2017-05-19T20:40:09Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![craigappl](https://talk.openmrs.org/letter_avatar/craigappl/32/6_449c533f586939b6e5f246632a46421f.png) [@craigappl](https://talk.openmrs.org/u/craigappl)\
**Post date:** [August 31, 2017, 8:17pm UTC](https://talk.openmrs.org/t/integration-with-openempi/11535/18 "2017-08-31T20:17:02Z")

</div>

Hi @burke and @jthomas,

The core development for real-time PIX and PDQ interaction is complete and we’re testing the feature in our iSantéPlus configuration before creating a Pull Request. @pgesek and the SolDevelo team performed the primary development.

Here are core pieces:

- Our OpenEMPI demo is accessible at [https://sedish.net:8081/](https://sedish.net:8081/) (PM me for credentials)
- Our OpenEMPI Docker container can be found [at this link](https://github.com/SEDISH/ohie-cr). Note that we have configured the global identifier domains in OpenEMPI to reflect the Haitian Context. ![](https://talk.openmrs.org/uploads/default/original/2X/0/04d422d5ad0d7b17cc8ebc2952da9c741bcd2d48.png)
- The core development of the feature is on [our fork of registration core](https://github.com/IsantePlus/openmrs-module-registrationcore) Primarily view [/api/src/main/java/org/openmrs/module/registrationcore/api/mpi/pixpdq](https://github.com/IsantePlus/openmrs-module-registrationcore/tree/master/api/src/main/java/org/openmrs/module/registrationcore/api/mpi/pixpdq)
- The global properties are set by default in our iSantePlus module’s [MetadataBundle](https://github.com/IsantePlus/openmrs-module-isanteplus/blob/ISANT-16_registration/api/src/main/java/org/openmrs/module/isanteplus/deploy/bundle/IsantePlusMetadataBundle.java#L74), Note that the biometric and ECID identifiers are added in the [HaitiCore module](https://github.com/IsantePlus/openmrs-module-haiticore/tree/master/api/src/main/java/org/openmrs/module/haiticore/metadata/patientidentifiertypebundles)
- We’re working on updating our online demo and I’ll send a message when that’s ready for others to view.

Regarding asynchronous calls:

- The PIX and PDQ interactions happen in real-time. We are working on a solution when the PIX interactions fail.
- When there is a failure in the PIX interaction, an event is raised and our [outgoing exception module](https://github.com/IsantePlus/openmrs-module-outgoing-exception) stores the failed message.
- We are in the process of identifying workflows for each type of failed message.
- We will use Mirth as the mechanism to retry failed events in the outgoing exception module. Mirth will communicate with OpenMRS through a REST API.
- We are not storing failures in the PDQ interactions because they are queries and are meant to support the real-time identification of patients as the user is completing the form.

Craig

FYI @nathaelf

---

_[View the full topic](https://talk.openmrs.org/t/integration-with-openempi/11535)._
