fhir-generator

Generate FHIR R4 Patient, Observation, MedicationRequest, and Condition resources as JSON bundles.

Updated Nov 22, 2025
One-click install
npx skills add https://github.com/Fadil369/doctors-linc --skill fhir-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fhir-generator
Source: https://github.com/Fadil369/doctors-linc/tree/main/src/skills/fhir-generator
Command: npx skills add https://github.com/Fadil369/doctors-linc --skill fhir-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables Claude to generate valid FHIR R4 (HL7 FHIR) resources from structured medical data, enabling seamless data exchange with EHRs and health information systems.

Core Features & Use Cases

  • FHIR Resource Generation: Create Patient, Observation, MedicationRequest, Condition, and other FHIR resources from structured input.
  • Bundle Creation & Validation: Assemble resources into a FHIR Bundle and perform basic validation to ensure structure compliance.
  • Interoperability Ready: Produce HL7 FHIR-compliant data for integration with EHRs and data exchanges.
  • Use Case: Convert OCR-derived patient data, medications, and lab results into a ready-to-submit FHIR Bundle.

Quick Start

Provide a structured medical data dictionary (including patient, medications, and observations) to the function that builds a FHIR bundle and returns the bundle and validation results.

Frequently Asked Questions about fhir-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert medical data into FHIR R4 resources?

FHIR R4 resource generation transforms structured medical data—patient demographics, observations, medications—into HL7-compliant JSON objects ready for EHR integration. Provide a data dictionary and the Skill assembles Patient, Observation, MedicationRequest, and Condition resources, then bundles them for validation.

Can I turn OCR-extracted medical records into a FHIR Bundle?

Yes. FHIR Bundle creation accepts OCR-derived data and organizes extracted patient information, lab results, and prescriptions into a single validated FHIR Bundle. The output is ready to submit to health information systems without manual reformatting.

What does FHIR compliance mean for EHR data exchange?

HL7 FHIR compliance ensures your medical data conforms to interoperability standards that EHRs and healthcare systems expect. This Skill generates R4-compliant resources and validates bundle structure so your data integrates seamlessly without translation errors.

How do I prepare patient data, medications, and observations for interoperability?

Organize your medical data into structured fields—patient identifiers, medication details, lab values—and pass it to this Skill. It generates corresponding FHIR resources, assembles them into a Bundle, and validates compliance, producing data ready for healthcare system exchange.

Do I need to manually validate FHIR JSON after generation?

The Skill performs basic validation to verify FHIR structure compliance during bundle assembly. While this ensures functional correctness for standard resources, formal conformance testing against full R4 profiles may require additional validation tools depending on your healthcare system's requirements.