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

Get encounters by creation/modification date [Feature request]

    Details

    • Complexity:
      Low

      Description

      Currently the recommended way to get encounters from an EncounterService is to use getEncounters(), whose start and end date parameters are for the encounter date.
      We are implementing an Android client which keeps a local cache offline, and then re-syncs with the OpenMRS server. In order to efficiently update this cache, we need to get encounters filtered on the creation/modification time, because other clients may add extra encounters in the past when they sync.

      Would it be possible to add these as filters in the EncounterService? Otherwise we will have to access the DAO directly. This will probably turn out to be useful in other contexts, but our initial need is for encounters.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kosmik Mikko Suniala [X] (Inactive)
                Reporter:
                nfortescue Nick Fortescue
              • Votes:
                0 Vote for this issue
                Watchers:
                12 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 - 2 days, 2 hours, 30 minutes
                  2d 2h 30m