diff --git a/elcid/api.py b/elcid/api.py index f69372676..c1e49e022 100644 --- a/elcid/api.py +++ b/elcid/api.py @@ -415,8 +415,7 @@ def serialise_lab_tests(self, patient): ) recent_dates = sorted(list(all_dates)) - recent_dates.reverse() - recent_dates = recent_dates[:5] + recent_dates = recent_dates[:-5] obs_values = sorted(serialised_obvs, key=self.sort_observations) result = dict( obs_values=obs_values,