This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Adding MPI Clients
Reto Wettstein edited this page Jun 18, 2020
·
6 revisions
The Master Patient Index (MPI) client that will be used is determined by the property org.highmed.dsf.bpe.mpi.webservice.factory.class
and loaded using a service loader, searching for the supplied class of type MasterPatientIndexClientFactory
on startup of the BPE.
The framework currently only supports an MPI client using the IHE PDQ interface (the property is org.highmed.mpi.client.pdq.MasterPatientIndexClientPdqFactory
). But it is possible to add new MPI clients (e.g. for IHE PDQv3 or FHIR interfaces) by adding a plugin jar to the plugin
configuration folder.
To write a new MPI client, the following has to be taken into account:
- The plugin needs to supply a MPI client factory implementing the interface
MasterPatientIndexClientFactory
from thedsf-mpi-client
module. - The resources folder must contain a file with the name
META-INF/services/org.highmed.mpi.client.MasterPatientIndexClientFactory
containing the name of the new MPI client factory including the full package name.
An example of an MPI client implementation can be found in the dsf-mpi-client-pdq
module.