Skip to content

Commit d6a9a30

Browse files
committed
edit pass: import-fhir-data
1 parent 77775ff commit d6a9a30

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.author: kesheth
1111

1212
# Import FHIR data
1313

14-
The `import` operation allows you to ingest FHIR® data into the FHIR server with high throughput.
14+
You can use the `import` operation to ingest FHIR data into the FHIR server with high throughput.
1515

1616
## Import operation modes
1717

@@ -33,7 +33,7 @@ The `import` operation supports two modes: initial and incremental. Each mode ha
3333

3434
- If import files have resources with duplicate `version` and `lastUpdated` field values, only one resource is randomly ingested in the FHIR service.
3535

36-
- Allows you to ingest soft-deleted resources. This capability is beneficial when you migrate from the Azure API for FHIR to the FHIR service in Azure Health Data Services.
36+
- Allows you to ingest soft-deleted resources. This capability is beneficial when you migrate from Azure API for FHIR to the FHIR service in Azure Health Data Services.
3737

3838
> [!IMPORTANT]
3939
> The `import` operation doesn't support conditional references in resources.
@@ -54,19 +54,19 @@ To achieve the best performance with the `import` operation, consider these fact
5454

5555
### Prerequisites
5656

57-
- You need the **FHIR Data Importer** role on the FHIR server to use the `import` operation.
57+
- To use the `import` operation, you need the **FHIR Data Importer** role on the FHIR server.
5858

5959
- Configure the FHIR server. The FHIR data must be stored in resource-specific files in FHIR NDJSON format on the Azure blob store. For more information, see [Configure import settings](configure-import-data.md).
6060

61-
- All the resources in a file must be the same type. You can have multiple files per resource type.
61+
- All the resources in a file must be the same type. You can have multiple files for each resource type.
6262

6363
- The data must be in the same tenant as the FHIR service.
6464

65-
- The maximum number of files allowed per `import` operation is 10,000.
65+
- The maximum number of files allowed for each `import` operation is 10,000.
6666

67-
### Call $import
67+
### Make a call
6868

69-
Make a `POST` call to `<<FHIR service base URL>>/$import` with the request header and body shown.
69+
Make a `POST` call to `<<FHIR service base URL>>/$import` with the following request header and body.
7070

7171
#### Request header
7272

@@ -80,7 +80,7 @@ Content-Type:application/fhir+json
8080
| Parameter name | Description | Cardinality | Accepted values |
8181
| ----------- | ----------- | ----------- | ----------- |
8282
| `inputFormat` | String that represents the name of the data source format. Only FHIR NDJSON files are supported. | 1..1 | `application/fhir+ndjson` |
83-
| `mode` | Import mode value. | 1..1 | For an initial-mode import, use the `InitialLoad` mode value. For incremental-mode import, use the `IncrementalLoad` mode value. If no mode value is provided, the `IncrementalLoad` mode value is used by default. |
83+
| `mode` | Import mode value. | 1..1 | For an initial-mode import, use the `InitialLoad` mode value. For incremental-mode import, use the `IncrementalLoad` mode value. If you don't provide a mode value, the `IncrementalLoad` mode value is used by default. |
8484
| `input` | Details of the input files. | 1..* | A JSON array with the three parts described in the following table. |
8585

8686
| Input part name | Description | Cardinality | Accepted values |
@@ -139,9 +139,9 @@ Content-Type:application/fhir+json
139139

140140
After you start an `import` operation, an empty response body with a `callback` link is returned in the `Content-location` header of the response, together with an `202 Accepted` status code. Store the callback link to check the import status.
141141

142-
Regration of the `import` operation is implemented as an idempotent call. The same registration payload yields the same registration, which affects the ability to reprocess files with the same name. Refrain from updating files in place. Instead, we suggest that you use a different file name for updated data. Or, if an in-place update with same file name is unavoidable, add ETags in the registration payload.
142+
Registration of the `import` operation is implemented as an idempotent call. The same registration payload yields the same registration, which affects the ability to reprocess files with the same name. Refrain from updating files in place. Instead, we suggest that you use a different file name for updated data. Or, if an in-place update with same file name is unavoidable, add ETags in the registration payload.
143143

144-
To check import status, make the REST call with the `GET` method to the `callback` link returned in the previous step.
144+
To check the import status, make the REST call with the `GET` method to the `callback` link returned in the previous step.
145145

146146
Interpret the response by using this table:
147147

@@ -212,7 +212,7 @@ If you don't know the ID of the resource, do a history search on the resource ty
212212

213213
## Troubleshoot the import operation
214214

215-
Here are the error messages that occur if the `import` operation fails, along with recommended actions to take to resolve the problem.
215+
Here are the error messages that occur if the `import` operation fails, along with recommended actions to resolve the problems.
216216

217217
#### 200 OK, but there's an error with the URL in the response
218218

@@ -225,7 +225,7 @@ Here are the error messages that occur if the `import` operation fails, along wi
225225
{
226226
"severity": "error",
227227
"details": {
228-
"text": "Given conditional reference '{0}' does'nt resolve to a resource."
228+
"text": "Given conditional reference '{0}' doesn't resolve to a resource."
229229
},
230230
"diagnostics": "Failed to process resource at line: {0} with stream start offset: {1}"
231231
}
@@ -239,7 +239,7 @@ Here are the error messages that occur if the `import` operation fails, along wi
239239

240240
#### 400 Bad Request
241241

242-
**Behavior:** The import operation failed and `400 Bad Request` is returned. The response body includes this content:
242+
**Behavior:** The `import` operation fails and returns `400 Bad Request`. The response body includes this content:
243243

244244
```json
245245
{
@@ -259,7 +259,7 @@ Here are the error messages that occur if the `import` operation fails, along wi
259259

260260
#### 403 Forbidden
261261

262-
**Behavior:** The import operation failed and `403 Forbidden` is returned. The response body contains this content:
262+
**Behavior:** The `import` operation fails and returns `403 Forbidden`. The response body contains this content:
263263

264264
```json
265265
{
@@ -281,7 +281,7 @@ Here are the error messages that occur if the `import` operation fails, along wi
281281

282282
#### 500 Internal Server Error
283283

284-
**Behavior:** The `import` operation failed and `500 Internal Server Error` is returned. The response body contains this content:
284+
**Behavior:** The `import` operation fails and returns `500 Internal Server Error`. The response body contains this content:
285285

286286
```json
287287
{

0 commit comments

Comments
 (0)