HL7 BAR_P12 Update Diagnosis/Procedure
BAR_P12 updates diagnosis and procedure information in account/billing context. It is more targeted than a broad account update: the business event is that diagnosis and/or procedure coding changed, and the receiver needs to apply that change cleanly.
This is another place where "send the new list" and "send a delta" must be negotiated. The reference guidance expects identifiers and action codes in the diagnosis and procedure segments so the receiver knows what to add, update, or delete.
A small BAR_P12 example
What systems do with it
The sender is usually coding, HIM, patient accounting, or an account-maintenance system. The receiver updates billing diagnosis and procedure records and may trigger claim edits, DRG/APC recalculation, reporting changes, or account review queues.
How to read the structure
The structure is focused: MSH, EVN, PID, required PV1, optional repeating DG1, optional DRG, and optional procedure groups with PR1 plus optional ROL. Optional OBX can carry supporting observations when profiled.
Implementation traps
The trap is ignoring update mode. If the receiver cannot tell which DG1 or PR1 repetition is new, changed, or removed, it may duplicate codes or leave stale diagnoses active. Make identifiers and action-code conventions explicit in the interface profile.
Do not use P12 for patient or visit demographic correction. If those fields changed, pair it with the right ADT update rather than making billing decipher the side effect.
Reference notes
The HL7 v2+ BAR_P12 page describes P12 as diagnosis/procedure update mode and says the identifiers and action codes in DG1 and PR1 should indicate which change is being applied.