web stats
Skip to end of metadata
Go to start of metadata

MirthResults can be configured to use MirthMatch as its MPI system out of the box. If you need to do more with the MPI data, either retreiving the MPI after sending data to MirthResults or using another MPI system, you will need to customize the MR channel.

Utilize the identifiers returned from MR

MirthResults is frequently installed alongside MirthMatch which will provide an MPI for MR. MR is also aware of patient identifiers for a single subject from many sources. Some use cases for MR require retrieving these identifers and using them.

The general approach is:

  1. Clone the MR channel
  2. Export the destination from the "To MR" channel
  3. Import the destination from the "To MR" channel to your cloned channel
  4. Remove the destination that is routing the message to the "To MR" channel
  5. Add a variable to capture the returned value from MirthResultsClient.createOrUpdateClinicalDocument
    • In early versions of MR this is a String containing the MPI
    • In newer versions this is a List of PatientAliasModels which contain the ID and a scope
  6. Map the identifiers you need into the channel map
  7. Add destinations AFTER the call to MR to utilize the identifiers from the channel map

Use MR with an MPI system other than MirthMatch

Under development. See JonB.

Labels: