← LeaderboardThe Skill Leaderboard

ehr-fhir-integration

Skill file skills/ehr-fhir-integration/SKILL.md in FreedomIntelligence/OpenClaw-Medical-Skills. Read the publisher’s upstream source.

Description awaits a fresh source check.

Published by FreedomIntelligence ↗FreedomIntelligence/OpenClaw-Medical-Skills

Try your first task

ehr-fhir-integration

Start a fresh conversation. Replace the highlighted placeholders.

Use ehr-fhir-integration to Develop a conceptual plan to retrieve synthetic [resource_type] (e.g., Conditions or Observations) from a FHIR server for a specific [patient_id]. Include the necessary configuration steps for the server URL and authentication, and require human approval before any script execution. Keep this to a sanitized or synthetic research intake/readiness plan grounded in the cited historical source version. Check current documentation, permissions and prerequisites before any later execution, and wait for my explicit confirmation before any external action, live data access, tool execution, installation, file changes or deployment. Do not diagnose, recommend treatment, generate biological sequences or provide experimental protocols.

Required inputs

  • [resource_type]
  • [patient_id]

User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗

SKILL.md


name: 'ehr-fhir-integration' description: 'Provides comprehensive tools for working with Electronic Health Records (EHR) using the HL7 FHIR standard.' measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes. allowed-tools:

  • read_file
  • run_shell_command

EHR/FHIR Integration

The EHR/FHIR Integration Skill enables AI agents to interact with FHIR servers to search, read, and analyze clinical data.

When to Use This Skill

  • When you need to retrieve patient demographics, conditions, medications, or lab results from an EHR.
  • When performing population health analysis on a cohort of patients.
  • When validating clinical data against the FHIR R4 standard.

Core Capabilities

  1. Patient Search: Find patients by name, birthdate, or ID.
  2. Clinical Data Retrieval: Fetch Conditions, Observations, MedicationRequests, and Procedures.
  3. Data Export: Export clinical data to JSON or Pandas-ready formats.

Workflow

  1. Configure: Set up the FHIR server URL and authentication (if needed).
  2. Execute: Run the fhir_client.py script with the desired resource and parameters.

Example Usage

User: "Find patient John Smith born after 1980."

Agent Action:

python3 Skills/Clinical/EHR_FHIR_Integration/fhir_client.py \
    --server https://hapi.fhir.org/baseR4 \
    --resource Patient \
    --search "name=Smith&birthdate=gt1980-01-01" \
    --output patients.json