> For the complete documentation index, see [llms.txt](https://help.santesuite.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.santesuite.org/developers/service-apis/hl7-fhir.md).

# HL7 FHIR

SanteDB's HL7 FHIR interfaces are handled through the `SanteDB.Messaging.FHIR.FhirMessageHandler` service and are configured via the `FhirConfigurationSection`. By default the FHIR API endpoint is exposed on the base URL of the server at /fhir.

{% hint style="warning" %}
SanteDB is not a FHIR based CDR however uses a version of the [Reference Information Model](/santedb/data-and-information-architecture/conceptual-data-model.md) , therefore SanteDB must convert FHIR requests into its own RIM based model. There are several limitations/design decisions. Prior to using the FHIR interface, please review the [SanteDB FHIR Implementation](/developers/service-apis/hl7-fhir/santedb-fhir-implementation.md) page.
{% endhint %}

## Related Topics

{% content-ref url="/spaces/-LZ0\_pjgTp\_kx4hqTZ3a/pages/-MfoI-mwQg7wXmY\_HlRh" %}
[Enabling FHIR Interfaces](/developers/service-apis/hl7-fhir/enabling-fhir-interfaces.md)
{% endcontent-ref %}

{% content-ref url="/spaces/-LZ0\_pjgTp\_kx4hqTZ3a/pages/-MfoHa3hQL97zrufiRUH" %}
[SanteDB FHIR Implementation](/developers/service-apis/hl7-fhir/santedb-fhir-implementation.md)
{% endcontent-ref %}

{% content-ref url="/spaces/-LZ0\_pjgTp\_kx4hqTZ3a/pages/-McW1sLl0N47zJNTXEKE" %}
[Extending FHIR Functionality](/developers/service-apis/hl7-fhir/extending-fhir-interfaces.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.santesuite.org/developers/service-apis/hl7-fhir.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
