last-ehr

cbetz/last-ehr
★ 3 stars TypeScript AI/LLM Updated today
Add human-approved AI writeback to your FHIR app. Open-source approval-gated agent layer for Medplum and HAPI, with a read-only MCP server.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "last-ehr": {
      "command": "npx",
      "args": [
        "-y",
        "cbetz/last-ehr"
      ]
    }
  }
}

README Excerpt

**Add human-approved AI writeback to a FHIR app.** Last EHR is the open-source reference implementation for that boundary: the agent reads the chart and proposes writes, and nothing is saved until you approve. Bring your own Medplum project and your own model key when you want a real agent, or start with the zero-key local synthetic walkthrough.

Tools (4)

OPENAI_API_KEYanthropicbedrockscripted

Topics

aiai-agentsehrfhirhealthcarehealthcare-aihl7-fhirhuman-in-the-loopmcpmcp-servermedplummodel-context-protocolnextjssmart-on-fhirtypescript