> For the complete documentation index, see [llms.txt](https://community-test.logicnets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community-test.logicnets.com/release-9/platform-documentation/process-node-parts/fhir-converter.md).

# FHIR Converter

## Description

FHIR is an acronym for Fast Healthcare Interoperability Resources, which is a draft standard describing data formats and elements (known as "resources") that represent granular clinical concepts. This part converts a default Lua structure to a Lua stucture that follows the QUICK logical data model.

## Use

This part is used in medical applications that use patient data that must comply to the FHIR standard. In most cases, this part will be used in conjunction with a call to the FHIR server using the *Call Webservice* part and the *Lua to JSON* converter part.

## Editor Fields

| Tab                    | Field Name                      | Description/Use                                                                                                                                                                                                                                                                                                                                                                                                             | Type/Options                   | Optional/Mandatory |
| ---------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | ------------------ |
| Basic                  | Mode                            | Use this option to select the input and output types.                                                                                                                                                                                                                                                                                                                                                                       | FHIR to Quick \| Quick to FHIR | Mandatory          |
| Basic                  | Input                           | This is the name of the data object where the input data is stored.                                                                                                                                                                                                                                                                                                                                                         | Data Object                    | Mandatory          |
| Basic                  | Output                          | This is the name of the data object where the output data is stored.                                                                                                                                                                                                                                                                                                                                                        | Data Object                    | Mandatory          |
| Basic                  | Batch                           | Set to yes if the input data is a batch of References. Note that a FHIR bundle is considered as one reference and therefore is not a batch.                                                                                                                                                                                                                                                                                 | Yes \| No                      | Optional           |
| Basic                  | Replace references              | If enabled, this option tells the system to replace the contained references with the Reference value for easy query generation.                                                                                                                                                                                                                                                                                            | Disabled \| Enabled            | Optional           |
| Basic                  | Replace only these references   | This option allows the user to define a list of list of Reference names to be replaced. If the list is empty, the system will replace all Reference types.                                                                                                                                                                                                                                                                  | List                           | Optional           |
| Basic                  | Retrieve references from server | <p>This option allows the user to enable or disable the retrieval of FHIR resources that are referenced but are not contained. These references could be retrieved by the system with an additional call to the server, but note that a call to the server is relatively time-consuming.<br>If the user enables this option, the server configuration has to be set up in the settings file to make use of the feature.</p> | Disabled \| Enabled            | Optional           |
| Connection information | Custom headers                  | If the user enables *Retrieve references from server*, it is possible to add additional headers to the call. You can use this where authentication is needed, for example.                                                                                                                                                                                                                                                  | List                           | Optional           |

## Example

Download and import the [sample project](/release-9/example-gallery/example-projects-for-parts/fhir-converter-example-project.md) in your workspace.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://community-test.logicnets.com/release-9/platform-documentation/process-node-parts/fhir-converter.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
