Enterprise-Ready Healthcare Testing Without PHI Compliance Nightmares
Pidgeon is a complete healthcare interoperability platform for generating, validating, and testing HL7, FHIR, and NCPDP messages with realistic synthetic data. Built for integration engineers, consultants, informaticists, and healthcare IT teams who need production-quality test scenarios without the legal complexity of using real patient data.
- Version: 0.1.0 (P0 MVP Complete)
- Health Score: 100/100 - Clean architecture maintained β
- Build Status: All features functional β
- Distribution: Self-contained executables ready for 6 platforms β
- Test Coverage: Unit (6/6), Integration (8/8), Regression (passing) β
- Current Phase: Sprint 2 - Scaling the Foundation
- Message Generation: Realistic HL7 v2.3, FHIR R4, NCPDP SCRIPT messages with smart standard inference
- De-identification: HIPAA Safe Harbor compliant PHI removal with cross-message referential integrity
- Validation Engine: Multi-mode validation with vendor compatibility checking
- Vendor Pattern Detection: Smart inference and configuration management for vendor-specific implementations
- Semantic Path System: Cross-standard field access (
patient.mrnworks for HL7 and FHIR) - Session Management: Maintain patient context across commands for workflow automation
- Lock-Aware Generation: Preserve locked values while regenerating other fields
- Standards Lookup: Complete HL7 v2.3 dictionary with 784 components (segments, fields, tables, datatypes)
- Path Discovery: Find and explore semantic paths across healthcare standards
- Workflow Wizard: Interactive guided scenarios for multi-step healthcare testing
β οΈ Beta - Diff + AI Triage: Field-aware comparison with AI-powered troubleshooting hints
β οΈ Beta - Scenario Generation: Complete clinical workflow bundles
- FHIR Search Simulation: Realistic server response testing
hl7generator/
βββ pidgeon/ # Core CLI application (.NET 8)
β βββ src/
β β βββ Pidgeon.CLI/ # Command-line interface (14 commands)
β β βββ Pidgeon.Core/ # Business logic & domain models
β β βββ Pidgeon.Data/ # Embedded resources & data access
β βββ scripts/
β β βββ build.sh # Cross-platform build script (Unix/WSL)
β β βββ build.ps1 # PowerShell build script (Windows)
β βββ tests/
β βββ Pidgeon.Tests/ # C# unit tests (xUnit)
β
βββ pidgeon-tests/ # Comprehensive test suite
β βββ unit/ # Fast unit tests (6 passing)
β βββ integration/ # End-to-end CLI tests (8 passing)
β βββ regression/ # Shell script validation suites
β βββ quick_validation.sh # 30-second developer validation
β
βββ pidgeon-gui/ # Next.js web interface (planned/WIP)
β βββ src/ # TypeScript + Tailwind UI components
β
βββ private/ # Development docs & architecture (gitignored)
βββ docs/ # Roadmap, user stories, technical specs
Download the latest release for your platform from /pidgeon/packages/:
- Windows:
pidgeon-win-x64.tar.gzorpidgeon-win-arm64.tar.gz - Linux:
pidgeon-linux-x64.tar.gzorpidgeon-linux-arm64.tar.gz - macOS:
pidgeon-osx-arm64.tar.gz(Apple Silicon) orpidgeon-osx-x64.tar.gz(Intel)
Extract and run:
tar -xzf pidgeon-<platform>.tar.gz
cd pidgeon-<platform>
./Pidgeon.CLI --help # Linux/macOS
.\Pidgeon.CLI.exe --help # WindowsPrerequisites:
- .NET 8.0 SDK or later
- Bash (Unix/WSL) or PowerShell (Windows)
Build all platforms:
cd pidgeon
# Unix/WSL
bash scripts/build.sh --clean --version "0.1.0"
# Windows PowerShell
.\scripts\build.ps1 -Clean -Version "0.1.0"Binaries output to pidgeon/packages/ directory.
# Single ADT admission message
pidgeon generate ADT^A01
# 10 lab results with deterministic generation
pidgeon generate ORU^R01 --count 10 --output labs.hl7
# FHIR Observation resources
pidgeon generate Observation --standard fhir --count 5# Create a session and set patient MRN
pidgeon session create workflow_demo
pidgeon set patient.mrn "PAT123456" --session workflow_demo
# Generate ADT admission - uses locked patient MRN
pidgeon generate ADT^A01 --session workflow_demo
# Generate lab results for same patient
pidgeon generate ORU^R01 --session workflow_demo
# Patient "PAT123456" is consistent across both messages!# De-identify real HL7 files (HIPAA Safe Harbor compliant)
pidgeon deident ./prod_messages/ ./sanitized_messages/ --date-shift 90
# Preserves referential integrity across related messages# Validate against HL7 v2.3 standards
pidgeon validate message.hl7
# Validate with vendor compatibility mode
pidgeon validate message.hl7 --mode compatibility# Find how to access patient MRN across standards
pidgeon path patient.mrn
# Output:
# HL7v23: PID.3
# FHIR: Patient.identifier.value# Look up segment definition
pidgeon lookup PID
# Look up specific field
pidgeon lookup PID.3
# Look up HL7 table
pidgeon lookup table:0001cd pidgeon-tests
./quick_validation.shValidates core MVP functionality before commits.
# Unit tests (fast)
dotnet test pidgeon-tests/unit/
# Integration tests (end-to-end CLI validation)
dotnet test pidgeon-tests/integration/
# Full regression suite
./pidgeon-tests/regression/mvp_regression_suite.shAll tests passing: 14/14 β
Four-Domain Model with Plugin Architecture:
- Clinical Domain: Healthcare business concepts (Patient, Prescription, Encounter)
- Messaging Domain: Wire format structures (HL7_Message, FHIR_Bundle, NCPDP_Message)
- Configuration Domain: Vendor patterns and field mappings
- Transformation Domain: Cross-standard semantic paths and value locking
Standards as Plugins: HL7v23, FHIR, NCPDP support via plugin pattern - core services remain standards-agnostic.
Field Value Resolution Chain (Priority 100 β 10):
- Session locks (explicit user values)
- HL7-specific field mappings
- Official HL7 table values
- Realistic demographics
- Clinical data (medications, procedures, diagnoses)
- Identifiers (MRNs, account numbers)
- Fallback generation
- Pidgeon CLI README: Detailed CLI usage and build instructions
- Test Suite README: Testing infrastructure and validation
- Private Docs: Architecture, roadmap, user stories (in
/private/docs/- gitignored)
All 6 embryonic features delivered:
- Message Generation Engine
- De-identification (HIPAA compliant)
- Validation Engine
- Vendor Pattern Detection
- Workflow Wizard [Pro]
- Diff + AI Triage [Pro]
- Cross-standard semantic path system
- Lock-aware generation
- Session management with TTL cleanup
- Rich demographic datasets (500+ realistic values)
- Complete HL7 v2.3 lookup system (784 components)
Focus on business value delivery:
- Session import/export + template marketplace
- Developer experience improvements
- Database migration for performance
- Professional tier packaging
- Cross-standard workflow mastery
- Enterprise foundation (team collaboration)
- Configuration Manager v1 [Pro]
- Vendor Specification Hub [Pro/Ent]
- FHIR R4 expansion
- Message Studio v1 [Pro] - Natural language to message
- Standards Chatbot [Pro] - AI-powered explanation
Contributions welcome! Please:
- Follow the four-domain architecture pattern
- Use dependency injection (no static classes)
- Implement new standards as plugins (don't modify core services)
- Follow STOP-THINK-ACT error resolution methodology
- Write behavior-driven tests
- Update relevant documentation
This project is licensed under the Mozilla Public License 2.0 - see the LICENSE file for details.
- Technical Foundation: 100/100 health score with clean architecture
- Test Coverage: 14/14 tests passing across unit, integration, regression
- Feature Completeness: P0 MVP fully delivered (6/6 features)
- Cross-Platform: Self-contained executables for Windows, Linux, macOS (x64 + ARM64)
- Enterprise Ready: Session management, vendor patterns, professional tier features operational
North Star: "Realistic scenario testing without the legal/compliance nightmare of using real patient data"
Built with β€οΈ for the healthcare integration community