---
schema_version: "1"
id: c20ec2598885689bc927889aceeae7e4b5fdead2a58140822dfbedc0231cece6
title: X12 to FHIR Converter
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/healthcare/latest/x12-fhir-converter.md
canonical_url: https://docs.mulesoft.com/healthcare/latest/x12-fhir-converter
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 9a6b3a7be330cb55c4cb97deb0219df25ee7b3cbc30f61fa9d495684c24c9051
description: MuleSoft Documentation Site
release: "2.24"
latest: true
---
---
product: Healthcare
version: 2.24
is-latest-version: true
---

# X12 to FHIR Converter

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

The
[X12 to FHIR converter](https://anypoint.mulesoft.com/exchange/org.mule.examples/hls-fhir-to-x12-sys-api/)
comes with a ready to use template for [X12](https://x12.org/) to FHIR conversion. This template can
be extended or modified to meet specific conversion requirements. The converter converts FHIR R4 to
X12 formats and its responses from X12 to FHIR R4.

## Functional Diagram

![X12 to FHIR converter functional architecture](/mulesoft/current/en-us/healthcare/latest/_images/hls-x12-fhir-fx-diagram.svg)

## Advantages

- Removes manual work associated with X12 and FHIR conversion

- X12 connector is preconfigured for this use case to easily read & write X12 EDI events

- Supports multiple X12 message formats and use cases:

  - 270 and 271 (Eligibility Verification Inquiry)

  - 278, 278i, and 275 (Prior Authorization)

  - 837 (Claims)

- Solution can be extended to support any custom fields and segments

- Highly performant with underlying DataWeave engine

## See Also

- [Prerequisites](https://docs.mulesoft.com/healthcare/latest/prerequisites)

- [MuleSoft Accelerator for Healthcare](https://docs.mulesoft.com/healthcare/latest/)
