Strict Mode
Every required field, data type, and code set is checked against the base specification. Use when building new interfaces or certifying compliance.
Compatibility Mode
Tolerates common vendor deviations. Use when testing against live systems where real-world messages deviate from spec.
Standards Coverage
HL7 v2 and FHIR R4 validation are free. NCPDP SCRIPT validation depends on the member-only SCRIPT standards package — install it with
pidgeon data install ncpdp-script --accept-license (NCPDP membership required) before validating NCPDP messages.Usage
Example Output
pidgeon lookup tip that opens the built-in standards reference for that field. Run pidgeon lookup PID.5 to see the full field definition, data type, valid values, and vendor-specific notes.
Structured Output for CI/CD
ValidationResult as JSON — including isValid, all issues with diagnostic fields (expectedValue, actualValue, suggestion), and summary statistics (fieldsValidated, conformanceScore, validationTime). Exit code 0 on pass, 1 on fail.
