Details
-
New Feature
-
Status: Closed
-
Should
-
Resolution: Fixed
-
None
-
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.
Gliffy Diagrams
Attachments
Issue Links
- links to