FHIR R4

FHIR R4

Any HL7 FHIR R4 server: search and read Patients, Observations, Conditions, Encounters, MedicationRequests, DiagnosticReports and any other resource type, plus the server's own capability statement. Bearer-token auth.

7 天免费 · 无需信用卡 · EU 托管

问 FHIR 任何事

通过 AnythingMCP 对 FHIR R4 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 FHIR
FHIR R4 · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 FHIR R4。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 FHIR R4

FHIR 指南

面向主流 AI 客户端的逐步设置。

配置 FHIR R4

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

This is a generic FHIR R4 client, not a vendor connector. Point it at any R4 server — a hospital's HAPI instance, a national test server, a vendor's sandbox — and it speaks the standard.

  1. Set FHIR_BASE_URL to the server's base, the URL that answers /metadata. No trailing slash.
  2. Set FHIR_ACCESS_TOKEN to a bearer token. Most real deployments use SMART on FHIR, whose authorisation flow issues short-lived tokens; obtain one and paste it here, or use a long-lived service token if the server offers one. A server that needs no auth still needs a placeholder here — put anything.

Start with fhir_get_capability_statement. FHIR servers differ enormously in which resource types they hold and which search parameters they support, and /metadata is the machine-readable answer. Guessing produces a lot of confident 400s.

Search parameters are per resource type, and modifiers matter: name:contains=smith, birthdate=ge1980-01-01, code=http://loinc.org|85354-9, _lastUpdated=gt2026-09-01. Prefixes on numbers and dates are eq, ne, gt, lt, ge, le. A token search takes system|code, and the pipe is significant.

Results are a Bundle. The rows live in entry[].resource, the count in total (which some servers omit), and paging in link[] with relation: "next" — follow that URL rather than computing an offset. _count requests a page size; servers are free to ignore it.

_include and _revinclude fetch related resources in the same Bundle: _include=Observation:patient brings each observation's Patient along.

This is patient data. Anything read here is almost certainly health information under GDPR Article 9 or HIPAA. Whether an LLM may see it is a question about your legal basis and your processor agreements, not about this connector — decide it before installing, not after.

Read-only by design: no create, no update, no delete. A clinical record is not a thing an agent should write into by accident.

你的 AI 距离 FHIR R4 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。