Skip to content

Commit 21f76a5

Browse files
authored
Merge pull request #304105 from MicrosoftDocs/main
8/12/2025 11:00 AM IST Publish
2 parents 1f59806 + a636b93 commit 21f76a5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

articles/healthcare-apis/fhir/how-to-do-custom-search.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: kesheth
1313
The FHIR® specification defines a set of search parameters that apply to all resources. Additionally, FHIR defines many search parameters that are specific to certain resources. However, you might also want to search against an element in a resource that isn’t defined by the FHIR specification as a standard search parameter. This article describes how you can define your own custom [search parameters](https://www.hl7.org/fhir/searchparameter.html) for use in the FHIR service in Azure Health Data Services.
1414

1515
> [!NOTE]
16-
> Each time you create, update, or delete a search parameter, you’ll need to run a [reindex job](how-to-run-a-reindex.md) to enable the search parameter for live production. We will outline how you can test search parameters before reindexing the entire FHIR service database following.
16+
> Each time you create, update, or delete a search parameter, you’ll need to run a [reindex job](how-to-run-a-reindex.md) to enable the search parameter to perform search with custom search parameter.
1717
1818
## Create new search parameter
1919

@@ -237,8 +237,11 @@ PUT {{FHIR_URL}}/SearchParameter/{{SearchParameter_ID}}
237237

238238
The result of the above request will be an updated `SearchParameter` resource.
239239

240+
To avoid disruption with reindexing of an existing custom search parameter, consider creating a new custom search parameter instead. Ensure the base, code, and url values associated with the new search parameter are unique. Duplicating these fields may lead to indeterminate behavior during reindexing.
241+
240242
> [!Warning]
241-
> Be careful when updating search parameters. Changing an existing search parameter could have impacts on the expected behavior. We recommend running a reindex job immediately.
243+
> Be careful when updating search parameters. Changing an existing search parameter can impact expected behavior. We recommend running a reindex job immediately.
244+
> **Note**: Frequent changes to custom search parameters in production instances can disrupt queries. Plan such changes carefully to avoid potential issues.
242245
243246
## Delete a search parameter
244247

0 commit comments

Comments
 (0)