Logo van Fhir Data Access

Fhir Data Access

Organisatie
Open-Medica
fhir-data-access

Connect to FHIR-compliant electronic health record systems to query, retrieve, and analyze patient data using natural language. Supports full CRUD operations on FHIR resources with SMART-on-FHIR authentication.

Overzicht

UitgeverOpen-Medica
Repositoryopen-medical-skills
Skillnaamfhir-data-access
Sterren
32
Forks
8
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door Open-Medica op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Fhir Data Access in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Open-Medica/open-medical-skills/tree/main/skills/fhir-data-access
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Open-Medica/open-medical-skills.git /tmp/open-medical-skills
mkdir -p .claude/skills
cp -r /tmp/open-medical-skills/skills/fhir-data-access .claude/skills/fhir-data-access
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Fhir Data Access in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Fhir Data Access automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Fhir Data Access niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

FHIR Healthcare Data Access

Connect to FHIR-compliant (Fast Healthcare Interoperability Resources) electronic health record systems to query, retrieve, and analyze patient data using natural language. This skill supports full CRUD operations on FHIR R4 resources with SMART-on-FHIR OAuth2 authentication, enabling AI agents to interact with EHR data in a standards-compliant, auditable manner.

Quick Install

bash
npx skills add Open-Medica/open-medical-skills --skill fhir-data-access

What It Does

  • Natural language to FHIR query translation: Converts plain-language clinical questions (e.g., "Show me this patient's last three A1C results") into proper FHIR RESTful API queries against the appropriate resource endpoints (Observation, Condition, MedicationRequest, etc.)
  • SMART-on-FHIR authentication: Implements the SMART App Launch Framework for secure OAuth2-based authorization, supporting both standalone launch and EHR launch contexts with appropriate scope negotiation (patient/.read, user/.write, etc.)
  • Multi-resource retrieval: Queries across FHIR resource types including Patient, Encounter, Observation, Condition, MedicationRequest, AllergyIntolerance, Procedure, DiagnosticReport, DocumentReference, and CarePlan
  • Data aggregation and analysis: Combines data from multiple FHIR resources to build longitudinal patient summaries, trend vital signs and lab values over time, and correlate medication changes with clinical outcomes
  • Write-back operations: Supports creating and updating FHIR resources (e.g., posting new Observations, updating CarePlans, creating CommunicationRequests) with full audit trail logging and validation against FHIR profiles

Clinical Use Cases

  • Point-of-care data retrieval: A physician asks "What medications is this patient currently taking and when were they last prescribed?" The skill queries MedicationRequest resources with status=active and returns a formatted current medication list with prescriber and date information
  • Population health queries: A quality improvement team needs to identify all diabetic patients in their panel with A1C > 9% who have not had a nephrology referral. The skill constructs a FHIR search query combining Condition (diabetes), Observation (A1C), and ServiceRequest (referral) resources
  • Clinical decision support integration: An AI agent performing medication reconciliation uses the skill to pull the patient's current medication list from the EHR, compare it against a discharge medication list, and flag discrepancies for pharmacist review
  • Research data extraction: An IRB-approved retrospective study needs to extract vital signs, lab results, and diagnosis codes for a cohort of patients. The skill retrieves FHIR Bundles with the relevant resources while respecting access scopes and consent directives

Safety & Evidence

  • Safety Classification: Restricted — This skill accesses real patient health data in electronic health record systems. It requires proper SMART-on-FHIR authorization, institutional approval, and appropriate access scopes. Write operations modify clinical records and must be used with extreme caution under clinician supervision. All data access is logged for audit purposes. The skill must never be deployed without institutional security review and BAA (Business Associate Agreement) compliance.
  • Evidence Level: High — FHIR R4 is the HL7-endorsed interoperability standard mandated by ONC for certified EHR technology under the 21st Century Cures Act. SMART-on-FHIR is the established authorization framework for third-party clinical applications. Implementation follows published HL7 FHIR specifications.

Example Usage

Patient data query:

Connect to FHIR server and retrieve:
- Patient demographics
- Active medications
- Last 5 lab results for hemoglobin A1C
- Active problem list

Patient ID: 12345
FHIR Server: https://fhir.hospital.org/api/v4

Patient Summary (FHIR R4):

Demographics: Name: [Retrieved from Patient resource] DOB: [Retrieved] | Age: [Calculated] | Sex: [Retrieved] MRN: 12345

Active Medications (MedicationRequest, status=active):

  1. Metformin 1000mg BID — prescribed 2025-11-15
  2. Lisinopril 20mg daily — prescribed 2025-08-22
  3. Atorvastatin 40mg daily — prescribed 2025-06-10

A1C History (Observation, LOINC 4548-4):

DateA1CStatus
2026-02-157.8%Final
2025-11-108.2%Final
2025-08-058.9%Final
2025-05-129.1%Final
2025-02-088.7%Final
Trend: Improving (9.1% -> 7.8% over 12 months)

Active Conditions (Condition, clinicalStatus=active):

  1. Type 2 diabetes mellitus (E11.9)
  2. Essential hypertension (I10)
  3. Hyperlipidemia (E78.5)

5 FHIR queries executed in 1.2s. All access logged under session [ID].

Technical Details

  • Category: Diagnosis
  • Author: OMS Contributors
  • License: Apache-2.0
  • Version: 1.0.0
  • Specialty: Health Informatics, Clinical Data Management

References

  • HL7 FHIR R4 Specification — hl7.org/fhir/R4/
  • SMART App Launch Implementation Guide (HL7) — build.fhir.org/ig/HL7/smart-app-launch/
  • 21st Century Cures Act, Section 4003 — ONC interoperability and patient access requirements
  • Mandel JC, et al. "SMART on FHIR: a standards-based, interoperable apps platform for electronic health records." J Am Med Inform Assoc. 2016;23(5):899-908.
  • ONC Health IT Certification Program — healthit.gov

This skill is part of Open Medical Skills, a curated marketplace of medical AI skills maintained by physicians for physicians and the healthcare industry.

Veelgestelde vragen

Wat doet de AI-skill Fhir Data Access?

Connect to FHIR-compliant electronic health record systems to query, retrieve, and analyze patient data using natural language. Supports full CRUD operations on FHIR resources with SMART-on-FHIR authentication.

Waarom Fhir Data Access gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Fhir Data Access bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Fhir Data Access in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Open-Medica/open-medical-skills/tree/main/skills/fhir-data-access. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Fhir Data Access gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Fhir Data Access gebruiken?

Zoveel als je wilt. Je kunt Fhir Data Access gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Fhir Data Access gratis?

Ja. Deze skill is door Open-Medica op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇