Data Export

You can export the data before the offboarding process for each SAP Health Data Services for FHIR instance and the data is exported to an object store maintained by you.

The exported data contains transactional, conformance, and authorization data created by you. For any package-related data, you can download the FHIR package using the SAP Health Data Services for FHIR, command line interface. For more information, see Download a FHIR Package Using the CLI.

Prerequisites

You must have an object store instance to store the exported data using the standard service plan. For more information, see Configure Object Store to use Amazon Simple Storage Service.

Authorization

Create a role using the Application_User role template. When configuring the attributes, for the grouppolicy attribute, enter HealthData_Security_Admin in the Values field. For more information, see SAP Health Data Services for FHIR Preshipped RolePermission and GroupPolicy Resources.

HTTP Request

POST [base]/$export-data

Body

Enter the following using the service key generated from an object store:

Path Parameters

base: Service endpoint to interact with FHIR resources. For more information, see Service Endpoint.

HTTP Status Response Codes

The following HTTP status response codes are returned during the export of personal data:

HTTP Code

Scenario

Description

202

Successful interaction

The export data request is accepted and the interaction is performed in the background.

The response includes the location header that you can use to check the status of the export data interaction.

422

Unprocessable Entity

Validation error. Returns 422 with corresponding error message in response body.

404

No Data Found

Authorization error. Returns 404 with no response body.