HAPI FHIR Server

/ServiceRequest/{id}/$pdf

get
http://localhost:8080/fhir/R4/ServiceRequest/{id}/$pdf

Query Parameters

Path Parameters

idstringrequired

The resource ID

>= 1

Example:123

Response

200

Success

FHIR-JSON-RESOURCE

FHIR-JSON-RESOURCEobject

A FHIR resource

get/ServiceRequest/{id}/$pdf
 
curl --request GET \
  --url 'http://localhost:8080/fhir/R4/ServiceRequest/123/$pdf' \
  --header 'Accept: application/fhir+json, application/fhir+xml' \
  --header 'Authorization: Bearer ' \
  --header 'Content-Type: application/fhir+json'
200
{}