Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

R4 Encounter Period StartDateTime Sort Update #1033

Merged
merged 3 commits into from
Jan 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/millennium/r4/base/management/encounter.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,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].
* A populated Encounter response bundle will be sorted by start of the [Encounter.period] from oldest to newest order by page. That is, all Encounters on any given page or the next page of results are in ascending order. Sort order within pages is not guaranteed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* A populated Encounter response bundle will be sorted by start of the [Encounter.period] from oldest to newest order by page. That is, all Encounters on any given page or the next page of results are in ascending order. Sort order within pages is not guaranteed.
* A populated Encounter response bundle will not have any guaranteed sort order within the page. However, if the results are split into multiple pages, the pages will be sorted by the start of the [Encounter.period] from newest to oldest. That is, all encounters on a page will have a newer [Encounter.period] start date than all the encounters on the next page.


### Authorization Types

Expand Down
Loading