# FHIR R4 Service

The FHIR R4 configuration panel is used to control the configuration of the [FHIR API ](https://help.santesuite.org/developers/service-apis/hl7-fhir)endpoint.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ0_pjgTp_kx4hqTZ3a%2Fuploads%2FUUBpRZJxph9PBWaMxUA5%2Fimage.png?alt=media\&token=19217f1b-b1e4-4941-a4fb-a99d7f79f214)

<table><thead><tr><th width="216.2676612932232">Setting</th><th width="269.5026452105254">Description</th><th>Examples</th></tr></thead><tbody><tr><td>REST API Service Name</td><td>The name of the REST API service the FHIR interface should bind to. The default is FHIR however if you change the REST API name (in the panel section above) you should also change the name here.</td><td><code>FHIR</code></td></tr><tr><td>Landing Page</td><td>The HTML page where the FHIR service should use when a user accesses the FHIR base URL with no specific request.</td><td><code>C:\foo\index.html</code></td></tr><tr><td>Resource Handlers</td><td>When configured, the allowed resources which can be used on the FHIR server. If not set, then the FHIR handler will enable all installed resources on the server. This setting allows the administrator to reduce the number of resources which can be used.</td><td><img src="https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ0_pjgTp_kx4hqTZ3a%2Fuploads%2FAxcRNGZyTyVvzg0qo1qM%2Fimage.png?alt=media&#x26;token=8f66679e-ed76-45a0-970d-710a38d09984" alt=""></td></tr><tr><td>Operation Handlers</td><td>When configured, the allowed operations (via <code>$operation</code>) on the FHIR API endpoints. When not set, the FHIR service will enable all operation handlers installed.</td><td><img src="https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ0_pjgTp_kx4hqTZ3a%2Fuploads%2FNGQStgP3McxodCkxhiIw%2Fimage.png?alt=media&#x26;token=46cf6578-736d-42bd-9d6a-faaa13814189" alt=""></td></tr><tr><td>Message Handlers</td><td>When configured, the allowed FHIR messages on the API endpoints (via <code>$process-message</code>). When not set, the FHIR API will expose all message handlers installed on the SanteDB server.</td><td><img src="https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ0_pjgTp_kx4hqTZ3a%2Fuploads%2FcoKfbCNYGxe6upL6IXEh%2Fimage.png?alt=media&#x26;token=70d9f1a7-f6f9-4bf6-b23e-ffc1c29faf12" alt=""></td></tr><tr><td>Extension Handlers</td><td><p>When configured, the extensions which are permitted to be used on the FHIR server. When disabled, the SanteDB FHIR API will enable all FHIR extensions.</p><p>Note: When an extension handler is disabled, it merely disables special treatment of that extension - the extensions being received will be placed into the <code>Extensions</code> property of the RIM.</p></td><td><img src="https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ0_pjgTp_kx4hqTZ3a%2Fuploads%2F0dNRyw6IHhGxVxbg8bBf%2Fimage.png?alt=media&#x26;token=731a3ca3-0eb2-4bb7-a260-b39bb0037baa" alt=""></td></tr><tr><td>Profile Handlers</td><td>When configured, the special profile validation services which should be used on the FHIR API.</td><td></td></tr><tr><td>Behavior Modifiers</td><td>When configured, the behavior modifiers for the FHIR service. Behavior modifiers allow the FHIR API to implement specific standards-based behaviors on the FHIR service.</td><td><img src="https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ0_pjgTp_kx4hqTZ3a%2Fuploads%2FAFCJNR1j9nGtyJmUyqZk%2Fimage.png?alt=media&#x26;token=6d8d67cf-78dd-410e-8cd2-2549f8d746af" alt=""></td></tr><tr><td>Base Operation URL</td><td>The URL to expose to clients when a <code>Conformance</code> request or <code>StructureDefinition</code> request is received or when representing a full URL for a resource. This should be the publicly accessible URL for the FHIR service. </td><td><code>https://public.com/fhir</code></td></tr><tr><td>Default Format</td><td>The default format for FHIR requests.</td><td>JSON / XML</td></tr></tbody></table>
