HL7 BAR_P05 Update Account
BAR_P05 updates an existing patient account. It is the account-maintenance counterpart to BAR_P01. Use it when the account exists and the billing receiver needs updated diagnosis, procedure, guarantor, insurance, billing, or related financial-administrative context.
In practice, P05 is where inpatient coding and account maintenance often show up. It is not a patient movement event and it is not the same thing as posting a charge line through DFT_P03.
A small BAR_P05 example
What systems do with it
The sender is usually registration, coding, ADT/accounting, or an integration engine consolidating account updates. The receiver updates the existing account record and may re-evaluate billing, coding, coverage, claims, or reporting from the supplied data.
Because the structure is broad, local profiles matter a lot. Some sites send only insurance updates. Others use P05 for diagnosis-related group, UB fields, account notes, or coding changes.
How to read the structure
BAR_P05 starts with MSH, EVN, PID, optional PD1, and optional provider role information. The required repeating visit group can include PV1, PV2, DG1, DRG, PR1, GT1, IN1, ABS, BLC, and RMI.
Implementation traps
Do not create the account when P05 arrives unless the trading partner explicitly designed that fallback. P05 assumes the account is already known. If it is not, reject or queue it with a clear error so the sender can send P01 first or correct the identifiers.
Also separate patient updates from account updates. If the patient address changed, A08 may be the right ADT event. If the account coverage changed, P05 is more precise.
Reference notes
The HL7 v2+ BAR_P05 page says P05 updates an existing account and should be used instead of P01 for account updates. It also distinguishes inpatient coding via P05 from outpatient APC grouping via P10.