Help understanding which amount to pay

I underwent a small skin surgery a few months ago that thankfully found that the problem was benign (woohoo!). In the months since, a number of different bills have trickled in from that procedure, but each bill amount matched with a corresponding document I received from my insurer, until now…

I received a bill from the surgery center listing the following charges

…yielding a total balance due of $587.54

And a document from Anthem listing the following

Surgery: $387.00 (Doctor charges), $51.52 (your discounts), $335.48 (due to your doctor (max allowed)), $0.00 (Anthem paid)

Office Visit: $324.00 (Doctor charges), $324.00 (your discounts), $0.00 (due to your doctor (max allowed)), $0.00 (Anthem paid)

…yielding a total balance due of $335.48

Furthermore, the document from Anthem lists a code next to the office visit saying “164: we denied this care Office Visit because we covered it as part of other care you received Surgery. You are not responsible for this amount unless you chose to receive care from a doctor or facility not in your plan’s network”.

My question: Needing to pay the $335.48 for the surgery line item makes sense to me because my insurance only picked up $51.52 of the original $387 – that also seems to be reflected on the bill from the surgery center. However I am confused by the discrepancy on the office visit line item – the surgery center seems to think that insurance only picked up $71.94 of the $324 but the doc from Anthem seems to imply that they picked up the entirety of the $324 and that I owe nothing for that portion of the bill, if I am interpreting it correctly? Am I correct in interpreting that I don’t owe anything for the office visit or does the “164” code change that?

See also  Buying marketplace health insurance tax credit confusing MD