Skip to content

Commit f78348a

Browse files
authored
Merge pull request #177271 from SteveWohl/sort-doc-updates-userstory-76864
Made edits to the search results parameters table and added note
2 parents 9b980af + 22c6c3f commit f78348a

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

articles/healthcare-apis/azure-api-for-fhir/overview-of-search.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: ginalee-dotcom
55
ms.service: healthcare-apis
66
ms.subservice: fhir
77
ms.topic: reference
8-
ms.date: 5/17/2021
8+
ms.date: 10/25/2021
99
ms.author: cavoeg
1010
---
1111
# Overview of search in Azure API for FHIR
@@ -130,11 +130,14 @@ To help manage the returned resources, there are search result parameters that y
130130
| _revinclude | Yes | Yes |Included items are limited to 100. _revinclude on PaaS and OSS on Cosmos DB do not include :iterate support [(#2137)](https://github.com/microsoft/fhir-server/issues/2137). There is also an incorrect status code for a bad request [#1319](https://github.com/microsoft/fhir-server/issues/1319) |
131131
| _summary | Yes | Yes |
132132
| _total | Partial | Partial | _total=none and _total=accurate |
133-
| _sort | Partial | Partial | sort=_lastUpdated is supported. By default sorts the record in ascending order. You can use the prefix '-' to sort in descending order. For Azure API for FHIR and OSS Cosmos DB databases created after April 20, 2021 sort is also supported on first name, last name, and clinical date. |
133+
| _sort | Partial | Partial | sort=_lastUpdated is supported on Azure API for FHIR and the FHIR service. For the FHIR service and the OSS SQL DB FHIR servers, sorting by strings and dateTime fields are supported. For Azure API for FHIR and OSS Cosmos DB databases created after April 20, 2021, sort is supported on first name, last name, and clinical date. |
134134
| _contained | No | No |
135135
| _containedType | No | No |
136136
| _score | No | No |
137137

138+
> [!NOTE]
139+
> By default `_sort` sorts the record in ascending order. You can use the prefix `'-'` to sort in descending order. In addition, the FHIR service and the Azure API for FHIR only allow you to sort on a single field at a time.
140+
138141
By default, the Azure API for FHIR is set to lenient handling. This means that the server will ignore any unknown or unsupported parameters. If you want to use strict handling, you can use the **Prefer** header and set `handling=strict`.
139142

140143
## Chained & reverse chained searching

articles/healthcare-apis/fhir/overview-of-search.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: CaitlinV39
55
ms.service: healthcare-apis
66
ms.subservice: fhir
77
ms.topic: reference
8-
ms.date: 08/03/2021
8+
ms.date: 10/25/2021
99
ms.author: cavoeg
1010
---
1111
# Overview of FHIR search
@@ -133,11 +133,14 @@ To help manage the returned resources, there are search result parameters that y
133133
| _revinclude | Yes | Yes |Included items are limited to 100. _revinclude on PaaS and OSS on Cosmos DB do not include :iterate support [(#2137)](https://github.com/microsoft/fhir-server/issues/2137). There is also an incorrect status code for a bad request [#1319](https://github.com/microsoft/fhir-server/issues/1319) |
134134
| _summary | Yes | Yes |
135135
| _total | Partial | Partial | _total=none and _total=accurate |
136-
| _sort | Partial | Partial | sort=_lastUpdated is supported. By default sorts the record in ascending order. You can use the prefix '-' to sort in descending order. For Azure API for FHIR and OSS Cosmos DB databases created after April 20, 2021 sort is also supported on first name, last name, and clinical date. |
136+
| _sort | Partial | Partial | sort=_lastUpdated is supported on Azure API for FHIR and the FHIR service. For the FHIR service and the OSS SQL DB FHIR servers, sorting by strings and dateTime fields are supported. For Azure API for FHIR and OSS Cosmos DB databases created after April 20, 2021, sort is supported on first name, last name, and clinical date. |
137137
| _contained | No | No |
138138
| _containedType | No | No |
139139
| _score | No | No |
140140

141+
> [!NOTE]
142+
> By default `_sort` sorts the record in ascending order. You can use the prefix `'-'` to sort in descending order. In addition, the FHIR service and the Azure API for FHIR only allow you to sort on a single field at a time.
143+
141144
By default, the FHIR service in the Azure Healthcare APIs is set to lenient handling. This means that the server will ignore any unknown or unsupported parameters. If you want to use strict handling, you can use the **Prefer** header and set `handling=strict`.
142145

143146
## Chained & reverse chained searching

0 commit comments

Comments
 (0)