Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-1244

Patient Dashboard to provide basic paging for encounters

    Details

    • Type: Improvement
    • Status: Accepted
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: Reference Application 2.3, Reference Application 2.3.1, Reference Application 2.4, Reference Application 2.5
    • Component/s: Core Apps
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      Culprit here in VisitDetailsFragmentController.java:

      for (Encounter encounter : visitWrapper.getSortedEncounters()) {
        encounters.add(parseEncounterToJson.createEncounterJSON(authenticatedUser, encounter));
      }
      

      createEncounterJSON(..) when called many times hits some serious performance issues.

      A basic paging mechanism controlled by a global property would help work around this problem.

        Attachments

          Activity

            People

            • Assignee:
              raff Rafal Korytkowski
              Reporter:
              mksd Dimitri R
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: