Skip to content

Commit 20495ce

Browse files
committed
Editing excluded resource types section
1 parent ee6ccab commit 20495ce

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,14 @@ The following example will bulk delete all Patient resources that are not refere
151151
152152
153153
### `$bulk-delete` with excluded resource types
154-
<!--- check with Paola: confirm gen 2 only or both Note: This feature is available in Azure Health Data Services FHIR Server only, and is not available in Azure API for FHIR. --->
155154
156-
157-
158-
159-
<!--- Check with Paola: Can it be multiple, or just one resource type? --->
160-
161-
162-
The `$bulk-delete` operation supports configuring excluded resource types. When you perform a bulk delete operation, these resource types are excluded from deletion. This means that if you include this parameter and specify a resource type in your bulk delete request, those resource types will not be deleted, and the operation will complete successfully deleting everything else in the request, without deleting the specified excluded resource type.
155+
The `$bulk-delete` operation supports configuring excluded resource types. When you perform a bulk delete operation, these resource types are excluded from deletion. This means that if you include this parameter and specify a comma separated list of resource types in your bulk delete request, those resource types will not be deleted, and the operation will complete successfully deleting everything else in the request, without deleting the specified excluded resource types.
163156
164157
The following example will delete all resources in your FHIR server, except for the `Patient` resource type:
165158
`DELETE [base]/$bulk-delete?excludedResourceTypes=patient`
166159
160+
The following example will delete all resources in your FHIR server, except for the `Patient` and `Observation` resource types:
161+
`DELETE [base]/$bulk-delete?excludedResourceTypes=patient,observation`
167162
168163
### `$bulk-delete` and removing references
169164

0 commit comments

Comments
 (0)