Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5221

Migrate EMR API merge patient visits functionality into OpenMRS Core

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Should
    • Resolution: Won't Fix
    • None
    • None
    • None
    • Medium

    Description

      The EMR API module provides it's own "mergePatients" functionality that provides additional merge functionality on top of the core Patient Service mergePatients:

      https://github.com/openmrs/openmrs-module-emrapi/blob/master/api/src/main/java/org/openmrs/module/emrapi/adt/AdtServiceImpl.java#L551

      This provides two main pieces of functionality:

      1) The ability to define custom PatientMergeAction
      and
      2) It merges any overlapping visits between the two patients

      We'd like to migrate both of these into OpenMRS Core. TRUNK-5220 handles PatientMergeAction, this ticket is about adding the functionality to merge overlapping visits to the PatientService mergePatients method.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                mogoodrich Mark Goodrich
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: