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

Migrate EMR API merge patient visits functionality into OpenMRS Core

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Code Review (Initial)
    • Priority: Should
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Complexity:
      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              harisu harisu fanyui [X] (Inactive)
              Reporter:
              mogoodrich Mark Goodrich
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: