Content Negotiation
The FHIR API supports multiple content formats through HTTP content negotiation.Supported Formats
application/fhir+json- FHIR JSON (recommended)application/fhir+xml- FHIR XMLapplication/json- Plain JSONapplication/xml- Plain XML
Request Format
Specify the content type when sending data using theContent-Type header:
Response Format
Request your preferred response format using theAccept header:
Default Behavior
If noAccept header is provided, the server defaults to application/fhir+json.