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

Enhance behavior of concept creation form by adding auto detection of duplicate concepts

    XMLWordPrintable

    Details

    • Complexity:
      Low
    • Sprint:
      OpenMRS Platform 1.11 Sprint 1

      Description

      The expected behavior :

      1. User opens a new concept creation form and enters a name within the "Fully specified name" field.
      2. As the user types the fully specified name, up to three similar concept names that are likely to be duplicates (if any) are shown below the field as links that open to the concept view page in a new tab/window.
      3. If the name within the field is an exact (case-insensitive) match to another concept's fully specified name within the same locale, then the input field should show an inline error (e.g., red border or light red background) and a non-interruptive message displayed saying "Fully specified name must be unique. There is already a concept with this name in the same locale."
      4. If the concept is attempted to be saved (rather than following the warning message), an error should occur and the concept should not be saved. The error should say "Please fix all errors and try again. The Fully Specified or Preferred name is a duplicate".

        Attachments

        1. 3818.png
          117 kB
          Aniketha Katakam
        2. 3818-1.png
          105 kB
          Aniketha Katakam
        3. screenshot-1_with_miss-placed_boxes.jpg
          229 kB
          James Arbaugh
        4. snapshot1.png
          6 kB
          Tony Waters
        5. snapshot2.png
          10 kB
          Tony Waters
        6. snapshot3.png
          11 kB
          Tony Waters
        7. snapshot4.png
          15 kB
          Tony Waters
        8. what_is_wrong.png
          136 kB
          Radosław Puzdrowski

          Issue Links

            Activity

              People

              Assignee:
              rpuzdrowski Radosław Puzdrowski
              Reporter:
              meghna Meghna DSouza
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d