You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/healthcare-apis/fhir/overview-of-search.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,30 +148,30 @@ By default, the FHIR service in Azure Health Data Services is set to lenient han
148
148
149
149
The FHIR service supports search queries using the `_include` and `_revinclude` parameters. These parameters allow for the retrieval of reference resources in the search results.
150
150
151
-
The `_include` search parameter enables the retrieval of a particular clinical resource, as well as any other resources that it references. When included in the query, the `_include` parameter will return both the specified resource and its referenced resources.
151
+
The `_include` search parameter enables the retrieval of a particular clinical resource, and any other resources that it references. When included in the query, the `_include` parameter returns both the specified resource and its referenced resources.
152
152
153
-
The `_revinclude` search parameter allows for the retrieval of a resource along with any other resources that reference it. This provides a way to search for resources based on their relationships with other resources. For detailed information on `_include` and `_revinclude` in search parameters, refer to the [FHIR Search Documentation](https://www.hl7.org/fhir/R4/search.html#revinclude).
153
+
The `_revinclude` search parameter allows for the retrieval of a resource along with any other resources that reference it, providing a way to search for resources based on their relationships with other resources. For detailed information on `_include` and `_revinclude` in search parameters, refer to the [FHIR Search Documentation](https://www.hl7.org/fhir/R4/search.html#revinclude).
154
154
155
155
##### Request parameters
156
156
157
157
When executing a search request with the `_include` and `_revinclude` parameter, the following optional parameters can be used to control the count.
158
158
159
159
|**Name**|**Value**|**Description**|
160
160
| -------- | --------- | --------------- |
161
-
|`_count`| Default value: 10, Max value: 1000 | The value represents the number of targeted resources to be retrieved per request. The value can be set up to 1000. When the parameter is not provided, it is set to 10. |
161
+
|`_count`| Default value: 10, Max value: 1000 | The value represents the number of targeted resources to be retrieved per request. The value can be set up to 1000. When the parameter isn't provided, it's set to 10. |
162
162
|`_includesCount`| Default value: 1000 | The value represents the number of matching resources referenced by target resources to be retrieved per request. |
163
163
164
-
For matched items from `_include` and `_revinclude` searches, a maximum of 1000 items will be included in the response. If the number of matched items exceeds this limit, a related link will be provided that encompasses the $include operation. The provided link will allow you to move through the complete result set.
164
+
For matched items from `_include` and `_revinclude` searches, a maximum of 1,000 items is included in the response. If the number of matched items exceeds this limit, a related link is provided which encompasses the $include operation. The provided link allows you to move through the complete result set.
165
165
166
166
Example:
167
167
168
-
In the following example, a search request for Observations is made for Patient with Identifier 123.
168
+
In the following example, a search request for Observations is made for Patient with Identifier 123.
169
169
170
170
```
171
171
GET {{FHIR_URL}}/Observation?subject.identifier=123&_include=Observation:subject&_includesCount=10
172
172
```
173
173
174
-
The response returned will have observation data for Patient 123. The matched resource references are given 10 per page, and a link is provided which contains the $include operation. You can follow the link to move through the result set.
174
+
The response returned contains observation data for Patient 123. The matched resource references are given 10 per page, and a link is provided which contains the $include operation. You can follow the link to move through the result set.
0 commit comments