Download a FHIR Package Using the RESTful API

Download a published FHIR package using the $download-package endpoint.

HTTP Request

Use one of the following HTTP GET requests to download a published FHIR package:

  • GET [base]/$download-package?packagename=<packagename>&packageversion=<packageversion>

  • GET [base]/$download-package?packagename=<packagename>&packageversion=<packageversion>&context=<context>

Path Parameters

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

  • packagename: The FHIR package name. For more information, see FHIR Package Name and Version.

  • packageversion: The FHIR package version.

  • context: The FHIR package context. The valid values for this parameter are core, conformance, authorization, and inboundmsg.

HTTP Status Response Codes

The following HTTP status response codes are returned for the download request:

HTTP Code

Scenario

Description

200

Successful interaction

The interaction request is successful.

404

No Data Found

Authorization error. Returns 404 with no response body.