Skip to main content
Point Post at a sample directory, and it extracts field population rates, segment ordering, value set preferences, and formatting conventions into a reusable profile. Three commands: analyze, generate, validate.

Workflow

1

Analyze sample messages

pidgeon config analyze --samples ./epic-messages --save epic_er
2

Generate with the profile

pidgeon generate ADT^A01 --vendor epic_er --count 20
3

Validate against the profile

pidgeon validate --file test.hl7 --profile epic_er

What a Profile Captures

PatternDescription
Field populationWhich fields are populated and how often
Segment orderingThe order segments appear in messages
Value set preferencesWhich coded values the system uses
Field formattingDate formats, name formats, ID patterns
Optional field usageWhich optional fields are treated as required

Built-in Vendor Baselines

Post includes baseline profiles for Epic, Cerner (Oracle Health), AllScripts, and Meditech.
Built-in profiles provide a starting point. For best results, create custom profiles from your actual message samples — every installation is different.

Profile Management

pidgeon config list              # List saved profiles
pidgeon config show epic_er      # Show profile details
pidgeon config use epic_er       # Set as default
pidgeon config export epic_er    # Export as JSON
pidgeon config diff epic_er cerner_lab  # Compare two profiles