Skip to content

Commit f599f60

Browse files
Merge pull request #263103 from EXPEkesheth/patch-137
Add note for in-place update in import documentation
2 parents 13f2ab4 + 21d4e58 commit f599f60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/healthcare-apis/fhir/import-data.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ Content-Type:application/fhir+json
123123

124124
Once $import is initiated, an empty response body with a **callback** link is returned in the `Content-location` header of the response together with ```202-Accepted``` status code. Store this callback link to check the import status.
125125

126+
$import operation registration is implemented as idempotent call (same registration payload yields same registration). This affects ability to re-process files with the same name. Refrain from updating files in-place, instead we suggest you use different file name for updated data, or, if update in-place with same file name is unavoidable, add e-tags in the registration payload.
127+
126128
To check import status, make the REST call with the ```GET``` method to the **callback** link returned in the previous step.
127129
You can interpret the response using the following table:
128130

@@ -196,7 +198,6 @@ Incase the ID of the resource isn't known, do a history search on the entire res
196198
## Troubleshooting
197199

198200
Lets walk-through solutions to some error codes you may encounter during the import operation.
199-
200201
### 200 OK, but there's an error with the URL in the response
201202

202203
**Behavior:** Import operation succeeds and returns ```200 OK```. However, `error.url` are present in the response body. Files present at the `error.url` location contain JSON fragments similar to below example:

0 commit comments

Comments
 (0)