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

Conversation

ramya1096
Copy link
Contributor

@ramya1096 ramya1096 commented Jan 12, 2024

Description

Update R4 Encounter Sort details

PR Checklist

  • Screenshot(s) of changes attached before changes merged.
Screenshot 2024-01-18 at 1 59 34 PM
  • Screenshot(s) of changes attached after changes merged and published.

@@ -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.

@ramya1096 ramya1096 merged commit 68e733f into main Jan 19, 2024
1 check passed
@ramya1096 ramya1096 deleted the encounter_period_sort_update branch January 19, 2024 07:49
SukeshKonjeti added a commit that referenced this pull request Feb 2, 2024
* Updated MedicationAdminstration R4 Resource (#1010)
* Updated MedicationAdministration DSTU2 Resource (#1011)
* Review and Updates to Goal (#1027)
* Review and Updates to Communication (#1022)
* dstu2 Practitioner updates (#1014)
* R4 Practitioner updates (#1015)
* Person updates for DSTU2 and R4 (#1009)
* StructureDefinition updates (#1012)
* Updated Medication Order DSTU2 Resource (#1020)
* Updated MedicationStatement DSTU2 Resource (#1021)
* Updated MedicationRequest R4 Resource (#1019)
* Updated Provenance R4 Resource (#1018)
* DSTU 2 Patient updates (#1023)
* R4 Patient formatting and standard updates (#1028)
* R4 Observation,DocumentReference Documentation Updates (#1031)
* R4 Encounter Period StartDateTime Sort Update (#1033)
* updated Location type search parameter and examples for physicalType (#1034)
* [R4][DiagnosticReport][DocumentReference] support search by _lastUpdated (#1032)
* [R4][Immunization] Support search by _lastUpdated (#1029)
* R4 Binary Autogen CCD add encounter parameter (#1035)
* [R4][Immunization] Documentation Update (#1036)
@SukeshKonjeti
Copy link
Contributor

after changes published
Screenshot 2024-02-02 at 4 41 43 PM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants