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

improve patient search support for multiple names

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      When you search for a patient by name, and that patient has more than one name that matches the query, then multiple entries come up for that patient on the search page (though only the preferred name is displayed).

      E.g., if you have a patient with the following names:
      Bob Marley
      Robert Marley
      Robert Marley III (preferred)

      And you search for Marley, then the patient search page will give the following result:

      Robert Marley III
      Robert Marley III
      Robert Marley III

      It should just return

      Robert Marley III

      Say you have a patient with names

      Ephraim bin Fischal (my hebrew name)
      Chase Garrett Yarbrough (my full name) (preferred)

      A search for "Ephraim" would yield

      Chase Garrett Yarbrough
      Chase Garrett Yarbrough
      Chase Garrett Yarbrough

      Should be more like:

      Search: "Chase"
      1. Chase Garrett Yarbrough

      Search: "Garret"
      1. Chase Garret Yarbrough

      Search: "Ephraim"
      1. Ephraim bin Fischal (Chase Garret Yarbrough)

        Gliffy Diagrams

          Attachments

          1. Patch_For_Trunk_389_v1.0
            11 kB
          2. Patch_For_Trunk_389_v1.1
            15 kB
          3. PATCH_FOR_TRUNK_389_V2.0.patch
            21 kB
          4. patch_for_TRUNK_389_V2.1.patch
            18 kB

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  amala Amala Devi
                  Reporter:
                  catullus Chase Yarbrough
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  11 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: