Obs Across Encounter widget should return *most recent* encounters

Description

The Obs Across Encounters widget has a parameter “maxRecords=x” which limits the result to x encounters. However, if there are more than x encounters that satisfy the critieria it returns the x oldest encounters, when it should really return the x most recenter.

It should return the most recent regardless of what the order property is set to (ascending or descending)… ie no matter whether we want to display the obs with the oldest first or the most recent first, if we are limiting the display we want to limit by most recent.

Activity

Show:

Mark Goodrich March 17, 2025 at 6:43 PM

PR:

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created March 17, 2025 at 5:00 PM
Updated March 17, 2025 at 8:24 PM
Resolved March 17, 2025 at 8:24 PM