Skip to content

Commit 1d4d730

Browse files
Update fhir-best-practices.md
1 parent 04e09dc commit 1d4d730

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/healthcare-apis/fhir/fhir-best-practices.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ To achieve optimal performance with the import operation, consider the following
3535

3636
In Azure FHIR service, bundles act as containers for multiple resources. Batch and transaction bundles enable users to submit sets of actions in a single HTTP request or response. Consider the following to achieve higher throughput with bundle ingestion.
3737

38-
* **Do** tune the number of concurrent bundle requests to the FHIR server. A high number (>100) may lead to negative scaling and reduced processing throughput. The optimal concurrency is dependent on the complexity of the bundles and resources.
3938
* **Do** generate load on Azure FHIR service in a linear manner and avoid burst operations to prevent performance degradation.
39+
* **Do** tune the number of concurrent bundle requests to the FHIR server. A high number (>100) may lead to negative scaling and reduced processing throughput.
40+
* **DO** use separate transaction bundles for FHIR resources that don't depend on each other, and can be updated separately.
41+
* **Consider** using smaller bundle sizes for complex operations such as conditional creates or updates.
4042
* **Consider** enabling parallel processing for batch and transaction bundles. By default, resources in bundles are processed sequentially. To enhance throughput, you can enable parallel resource processing by adding the HTTP header flag `x-bundle-processing-logic` and setting it to `parallel`. For more information, see the [batch bundle parallel processing documentation](rest-api-capabilities.md#bundle-parallel-processing).
41-
* **Consider** using smaller bundle sizes for complex operations such as conditional creates or updates. Smaller transaction bundles can reduce errors and support data consistency. Use separate transaction bundles for FHIR resources that don't depend on each other, and can be updated separately.
4243
* **Avoid** submitting parallel bundle requests that attempt to update the same resources concurrently, which can cause delays in processing.
43-
* **Avoid** submitting a high number of Bundles concurrently with a single PUT or POST resource request when they can be grouped. A high number of concurrent requests from individual Bundles can lead to transaction bottlenecks.
44+
* **Avoid** submitting a large number of bundles with a single PUT or POST request can lead to transaction bottlenecks.
4445

4546
> [!NOTE]
4647
> Parallel bundle processing using the `x-bundle-processing-logic` flags can enhance throughput when there isn't an implicit dependency on the order of resources within an HTTP operation.

0 commit comments

Comments
 (0)