From ac447c97bd3f89545ce72f35abbf356004cbb0c0 Mon Sep 17 00:00:00 2001 From: Armani Akines Date: Thu, 18 Jun 2020 10:47:03 -0500 Subject: [PATCH 1/2] Further clarify R4 Encounter sorting details --- content/millennium/r4/encounters/encounter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/millennium/r4/encounters/encounter.md b/content/millennium/r4/encounters/encounter.md index 8d2805537..5046b25a9 100644 --- a/content/millennium/r4/encounters/encounter.md +++ b/content/millennium/r4/encounters/encounter.md @@ -56,7 +56,7 @@ _Implementation Notes_ * The [Encounter.hospitalization.destination] will be returned as a reference to a [contained] location resource. * The [Encounter.location.location] may be returned as a reference to a [contained] location resource. -* A populated Encounter response bundle will be sorted from newest to oldest based on the start of the [Encounter.period]. +* All Encounter response pages will be sorted from newest to oldest page based on the start of the [Encounter.period]. ### Authorization Types From 0baf35192d23f09cd3af69edeb3cfda9b129ed6c Mon Sep 17 00:00:00 2001 From: Armani Akines Date: Thu, 23 Jul 2020 10:56:35 -0500 Subject: [PATCH 2/2] Added extra explanation for page sorting --- content/millennium/r4/encounters/encounter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/millennium/r4/encounters/encounter.md b/content/millennium/r4/encounters/encounter.md index 5046b25a9..74b467ace 100644 --- a/content/millennium/r4/encounters/encounter.md +++ b/content/millennium/r4/encounters/encounter.md @@ -56,7 +56,7 @@ _Implementation Notes_ * The [Encounter.hospitalization.destination] will be returned as a reference to a [contained] location resource. * The [Encounter.location.location] may be returned as a reference to a [contained] location resource. -* All Encounter response pages will be sorted from newest to oldest page based on the start of the [Encounter.period]. +* Results are sorted by start of the [Encounter.period] in descending order by page. That is, all Encounters on any given page of results are newer than all Encounters on the next page of results. Sort order within pages is not guaranteed.. ### Authorization Types