compare_834
Compare two 834 enrollment files for one group to identify added or missing members, coverage changes, terminations, and plan or demographic changes; flag potential unintended terminations.
Instructions
Compare two 834 files for the same group (e.g. last week's and this week's) and report what changed: members added or missing, coverages added, terminated or missing, tier and plan changes, begin-date and demographic changes. When the new file is a full file (BGN08 RX or 4), members or coverages missing from it are flagged as potential unintended terminations — the most common cause of coverage gaps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_file | Yes | Later file, relative to EDI_834_DIR | |
| old_file | Yes | Earlier file, relative to EDI_834_DIR | |
| show_pii | No | Include member names. Default false. |