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

Obs retrieval from the encounter should maintain the same order in which it is added

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: Platform 2.0.1
    • Fix Version/s: Platform 2.0.1, Core 2.1.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      Java 8 has changes to HashSet that the retrieval order is not guaranteed to be same with insertion order. So obs retrieval methods can use LinkedHashSet to maintain the insertion order. Since obs retrieval methods are used in encounter save method, obs are not saved in the order it is added to the encounter

      Need to be ported to 2.0.1.

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  preethi.s Preethi S
                  Reporter:
                  preethi.s Preethi S
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: