Skip to content
Prompt

fhiry — Copilot Instructions

by dermatologist

AI Summary

FHIRy is a Python package that converts FHIR healthcare data into pandas DataFrames, enabling data scientists and healthcare developers to perform analytics, machine learning, and AI on standardized health records. It's ideal for researchers and engineers working with health data who need quick, programmatic access to structured clinical datasets.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "fhiry — Copilot Instructions" prompt rules to my project.
Repository: https://github.com/dermatologist/fhiry

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

FHIR to pandas dataframe for data analytics, AI and ML!

Project Overview

FHIRy is a Python package that converts FHIR (Fast Healthcare Interoperability Resources) bundles and NDJSON files into pandas DataFrames for health data analytics, machine learning, and AI applications. It supports FHIR server search, BigQuery integration, and LLM-based natural language queries.

Development Environment Setup

• Python Version: Requires Python 3.10 or higher (tested on 3.10, 3.11, and 3.12) • Package Manager: Uses uv for fast, reliable dependency management • Setup Commands: `bash uv sync # Install dependencies from pyproject.toml `

Project Structure

` src/fhiry/ # Main source code ├── fhiry.py # Core FHIR Bundle processor ├── fhirndjson.py # NDJSON file processor ├── fhirsearch.py # FHIR server search API integration ├── bqsearch.py # BigQuery FHIR dataset queries ├── flattenfhir.py # FHIR resource flattening logic ├── parallel.py # Parallel processing utilities ├── base_fhiry.py # Base class for FHIR processors └── main.py # CLI entry point tests/ # Test suite with pytest docs/ # MkDocs documentation examples/ # Usage examples `

Python Style

• Formatter: Ruff (enforced via pre-commit hooks) • Line Length: 120 characters maximum • Type Hints: Required for all function signatures (enforced by mypy) • Docstrings: Use Google-style docstrings for classes and public methods • Import Organization: Handled automatically by ruff (isort-compatible)

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
AdoptionUnder 100 stars
44 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars44
Forks9
Issues15
Updated1mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more