Skip to main content
Glama
mrosata

MCP FHIR Server

by mrosata

write_fhir_resource

Validates and writes FHIR healthcare data resources to a compliant server, handling endpoint routing and returning validation or server errors for correction.

Instructions

Write a FHIR resource to the FHIR server.

This tool:

  1. Validates the FHIR resource using fhir-validator

  2. Determines the appropriate endpoint based on resource type

  3. POSTs or PUTs the resource to the FHIR server

  4. Returns validation errors or server errors for correction

Args: resource: A FHIR resource as a JSON object (dict) custom_headers: Optional dictionary of custom HTTP headers to include in the request. For Zus servers, use {"Zus-Account": "builder-id"} for multi-tenant access.

Returns: A status message indicating success or detailed error information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resourceYes
custom_headersNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrosata/mcp-fhir'

If you have feedback or need assistance with the MCP directory API, please join our Discord server