---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

1.  [](/)
2.  [Integrations](/integrations)
3.  FHIR R4 Connector

healthcare

Featured

# FHIR R4 Connector

Enrich clinical resources with multimodal AI

A zero-dependency connector that extracts text from FHIR R4 clinical resources and enriches them with Mixpeek's multimodal AI. Supports Patient, Observation, Condition, DocumentReference, DiagnosticReport, Encounter, and MedicationRequest resources with automatic fallback to narrative text for all other types. Returns enrichment as FHIR-compatible extensions and meta tags.

Built for health IT teams, EHR integrators, clinical data engineers, and healthcare AI developers working with FHIR R4 servers.

fhir

hl7

healthcare

ehr

clinical

medical

### Get Started

View on GitHubnpm Package

#### Integrations

FHIR R4

HL7

SMART on FHIR

Epic

Cerner

Works with any FHIR R4 compliant server or EHR system.

Quick Install:

`npm install @mixpeek/fhir`Copy

## Use Cases

1

Clinical document classification and semantic search

2

Patient record enrichment for care coordination

3

Diagnostic report analysis and summarization

4

Healthcare data pipeline enrichment for analytics

5

MDS 3.0 auto-population from EHR clinical resources for skilled nursing facilities

## Features

Dedicated extractors for 7 core FHIR resource types

FHIR-compatible enrichment via extensions and meta tags

Automatic narrative text fallback for unsupported resource types

Bundle-level enrichment for batch processing

In-memory caching with configurable TTL

Clean strip utility to remove enrichment from resources

### Example

FHIR Observation Resource

{
  "resourceType": "Observation",
  "id": "blood-pressure",
  "code": { "text": "Blood Pressure" },
  "component": \[
    { "code": { "text": "Systolic" }, "valueQuantity": { "value": 120, "unit": "mmHg" } },
    { "code": { "text": "Diastolic" }, "valueQuantity": { "value": 80, "unit": "mmHg" } }
  \]
}

Enriched Resource (extensions added)

{
  "resourceType": "Observation",
  "id": "blood-pressure",
  "extension": \[
    { "url": ".../enrichment/document-id", "valueString": "doc\_abc123" },
    { "url": ".../enrichment/keywords", "valueString": "blood pressure, systolic, diastolic" }
  \],
  "meta": {
    "tag": \[{ "system": ".../CodeSystem/taxonomy", "display": "Cardiology" }\]
  }
}

### Get Started

View on GitHubnpm Package

### Integrations

FHIR R4

HL7

SMART on FHIR

Epic

Cerner

### Details

LicenseApache 2.0

Categoryhealthcare

Registrynpm

DeploymentNode.js >= 16

Typical UseEHR integration pipelines

### Resources

[

Documentation

Learn how to use this connector

](https://docs.mixpeek.com)

### Quick Info

LicenseApache 2.0

Categoryhealthcare

Registrynpm

DeploymentNode.js >= 16

Typical UseEHR integration pipelines

## Frequently Asked Questions

Which FHIR resource types are supported?

The connector has dedicated extractors for Patient, Observation, Condition, DocumentReference, DiagnosticReport, Encounter, and MedicationRequest. All other resource types fall back to narrative text extraction from the resource's text.div field.

How is enrichment stored in the FHIR resource?

Enrichment is added as FHIR extensions under the URL prefix https://mixpeek.com/fhir/StructureDefinition/enrichment/ and as meta tags using Mixpeek code systems. This follows the FHIR extensibility framework and can be cleanly stripped using the strip() method.

Does it work with Epic and Cerner?

Yes, the connector works with any FHIR R4 compliant server including Epic, Cerner, and other EHR systems. It processes FHIR resources regardless of their source, just pass the resource JSON to the enrich() method.

Can I process an entire Bundle at once?

Yes, use the enrichBundle() method to process all resources in a FHIR Bundle. Each entry is enriched individually and the results are returned along with the enriched bundle.

## Related connectors

[Prebid.js RTD AdapterPrivacy-first contextual targeting for header bidding](/connectors/prebid-rtd)[IAB Content Taxonomy MapperMigrate content taxonomy from IAB 2.x to Content Taxonomy 3.1](/connectors/iab-mapper)[LangChain IntegrationGive your AI agents eyes, ears, and memory](/connectors/langchain)[Strapi PluginOpen-source CMS connector for content intelligence](/connectors/strapi)

## Ready to integrate?

Get started with FHIR R4 Connector in minutes. Check out the documentation or explore the source code on GitHub.

Get StartedBrowse All Connectors