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

Merge Patients ignores visits

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.9.1
    • Fix Version/s: OpenMRS 1.9.2
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Medium

      Description

      When you merge two patients, the preferred patient should get any visits from the notPreferred patient.

      However this does not happen. (The word "visit" doesn't occur anywhere in PatientServiceImpl.)

      As a first-pass we should copy the visits over. A future enhancement would be to try to determine whether visits need to be merged. (E.g. if both patients have a current active visit at the same location, these are probably the same visit.)

        Attachments

          Activity

            People

            Assignee:
            darius Darius Jazayeri
            Reporter:
            darius Darius Jazayeri
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: