U
flag. In this mode, the receiving system retrieves the encrypted payload directly using an HTTP
GET request.
The retrieval URL is provided inside the decoded SHLink payload. The receiving system performs
a GET request to that URL and must include the recipient query parameter identifying the
requesting organization. This follows the
SMART Health Link direct file retrieval protocol (U flag).
Endpoint
url field. The receiving system
appends the required recipient query parameter when making the request.
Example SHLink payload
After decoding the SHLink, the EHR receives a JSON payload containing the retrieval URL and encryption metadata.url value and performs a GET request to retrieve the encrypted payload.
Query parameters
Name of the healthcare organization requesting the payload. This value is recorded in the
patient application’s audit log.
cURL example
Responses
- 200
- 400
- 404
- 410
200 response body is an encrypted JWE. Decrypt it with the key from the SHLink payload
to obtain the FHIR bundle. See
Bundle & artifact reference.