Skip to content

Commit ae9c690

Browse files
committed
Fixing Acrolinx score to be able to merge PR later
1 parent 543beab commit ae9c690

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

articles/healthcare-apis/includes/fhir-bulk-delete-operation.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ To perform bulk delete capability header parameters needed are:
2121
## Role requirements
2222

2323
- A user or application needs to be assigned to the `FHIR Data Writer` role, to perform the bulk delete capability.
24-
- a user or application needs to be assigned to the `FHIR Data Contributor` role, to perform
25-
-- bulk delete capability with a hard delete query parameter.
26-
-- bulk delete on soft deleted resources.
24+
- a user or application needs to be assigned to the `FHIR Data Contributor` role, to perform bulk delete capability with a hard delete query parameter and bulk delete on soft deleted resources.
2725

2826
## Bulk delete operation details
2927
### `$bulk-delete` operation
@@ -52,7 +50,7 @@ Query parameters allow you to filter the raw resources you plan to delete. To su
5250
|Query parameter | Default Value | Description|
5351
|------------------------|---|------------|
5452
|_hardDelete|False|Allows you to hard delete a resource. If you don't pass this parameter or set hardDelete to false, the historic versions of the resource are still available.|
55-
|_purgeHistory|False|Allows you to delete history versions associated with resource. It will not delete current version of the resource and soft deleted resources. Note: When _purgeHistory used with the _hardDelete parameter set to true, it permanently deletes all versions associated with the resource.|
53+
|_purgeHistory|False|Allows you to delete history versions associated with resource. It doesn't delete the current version of the resource and soft deleted resources. Note: When _purgeHistory used with the _hardDelete parameter set to true, it permanently deletes all versions associated with the resource.|
5654
|FHIR service supported search parameters||Allows you to specify search criteria and resources matching the search criteria are deleted. For example: `address:contains=Meadow subject:Patient.birthdate=1987-02-20`|
5755
5856
All the query parameters are optional.
@@ -115,21 +113,21 @@ Here's a list of error messages that might occur if the bulk delete operation fa
115113
116114
|HTTP Status Code | Details | Recommended action |
117115
|-----------------|---------|--------------------|
118-
|500 |Connection to database failed | Create a gitsupport ticket to resolve the issue.|
116+
|500 |Connection to database failed | To resolve the issue, create a Get Support ticket.|
119117
|429 |Throttling errors | For Azure API for FHIR, you can increase RUs and retry the job. For Azure Health Data Services FHIR Server, you can try to delete a smaller amount of data at a time. |
120118
121119
## FAQ
122120
123-
- My bulk delete job seems to be stuck. What are the steps for resolution?<br/><br/> To check if a bulk delete job is stuck, run a FHIR search with the same parameters as the bulk delete job and _summary=count. If the count of resources is going down, the job is working. You can also cancel the bulk delete job and try again.
121+
- What are the steps for resolution if my bulk delete job seems to be stuck?<br/><br/> To check if a bulk delete job is stuck, run a FHIR search with the same parameters as the bulk delete job and _summary=count. If the count of resources is going down, the job is working. You can also cancel the bulk delete job and try again.
124122
125-
- Do API interactions see any latency impact when a bulk delete operation job is executed concurrently?<br/><br/>When you run a bulk delete operation, you might see increased latency on concurrent calls to the service. To avoid a latency increase, we recommend that you cancel the bulk delete job, and then rerun it during a period of lower traffic.
123+
- Will API interactions see any latency when a bulk delete operation job is executed concurrently?<br/><br/>When you run a bulk delete operation, you might see increased latency on concurrent calls to the service. To avoid a latency increase, we recommend that you cancel the bulk delete job, and then rerun it during a period of lower traffic.
126124
127125
> [!NOTE]
128126
> If you cancel and then restart a bulk delete job, the deletion process resumes from where it was stopped.
129127
130128
## Preview capabilities for the bulk delete operation
131129
### `$bulk-delete` with `_include` and `_revinclude`
132-
Note: When using FHIR service-supported search parameters with `$bulk-delete`, the `$bulk-delete` operation now supports using `_include` and `_revinclude` in the search criteria for conditional and bulk delete. Please note that this does not affect current behavior of singular deletes, which does not support extra parameters. Additionally, when using bulk delete with FHIR search parameters, consider using the same query in a FHIR search first, so that you can verify the data that you want to delete.
130+
Note: The `$bulk-delete` operation now supports using `_include` and `_revinclude` in the search criteria for conditional and bulk delete. This new feature doesn't affect current behavior of singular deletes, which doesn't support extra parameters. Additionally, when using bulk delete with FHIR search parameters, consider using the same query in a FHIR search first, so that you can verify the data that you want to delete.
133131
134132
Some examples of using `$bulk-delete` with `_include` and `_revinclude`:
135133

0 commit comments

Comments
 (0)