Surgery and procedures CPT 58340 Inpatient — admitted to hospital

HSG (tube test) cost in San Francisco, CA — inpatient

In San Francisco-Oakland-Fremont, CA, 10 hospitals list a cash price for hysterosalpingogram (HSG): contrast injection to check the fallopian tubes as an inpatient: from $507.60 to $974.40, with a median of $974.40. The lowest listed price is at Stanford Health Care Tri-Valley — $466.80 less than the median here. Across California, the median is $511.05 at 74 hospitals.

Cash prices at 10 facilities across 10 cities for code 58340, as an inpatient (admitted to hospital) . Collected Sep 23, 2026; the hospital files themselves were last updated between Apr 1, 2026 and Apr 1, 2026.

Lowest$507.60Stanford Health Care Tri-Valley
Median$974.40half pay less
Highest$974.40in this market
Difference1.9×highest vs lowest

Where each hospital's price falls

Each dot is one hospital's cash price on a scale from the lowest to the highest in San Francisco-Oakland-Fremont, CA.

median
Lowest $507.60Highest $974.40

Hospitals, cheapest first

HospitalCash price List priceInsurers payOff listFile date
Stanford Health Care Tri-Valley lowest Pleasanton, CA · (925) 847-3000 Cathj&Intro Saline Nfs Shg/Hsg $507.60 $1,269.00 — 60% Apr 1, 2026
source file
Kaiser Foundation Hospital - San Francisco San Francisco, CA · (415) 833-2646 CATH & SALINE/CONTRAST SONOHYSTER/HYSTEROSALPI $974.40 $1,740.00 — 44% —
source file
Kaiser Foundation Hospital - Oakland/Richmond Oakland, CA · (510) 752-1000 CATH & SALINE/CONTRAST SONOHYSTER/HYSTEROSALPI $974.40 $1,740.00 — 44% —
source file
Kaiser Foundation Hospital - Walnut Creek Walnut Creek, CA · (925) 295-4000 CATH & SALINE/CONTRAST SONOHYSTER/HYSTEROSALPI $974.40 $1,740.00 — 44% —
source file
Kaiser Foundation Hospital - Fremont Fremont, CA · (510) 784-4000 CATH & SALINE/CONTRAST SONOHYSTER/HYSTEROSALPI $974.40 $1,740.00 — 44% —
source file
Kaiser Foundation Hospital - Redwood City Redwood City, CA · (650) 299-2000 CATH & SALINE/CONTRAST SONOHYSTER/HYSTEROSALPI $974.40 $1,740.00 — 44% —
source file
Kaiser Foundation Hospital - San Rafael San Rafael, CA · (415) 444-2000 CATH & SALINE/CONTRAST SONOHYSTER/HYSTEROSALPI $974.40 $1,740.00 — 44% —
source file
Kaiser Foundation Hospital - Antioch Antioch, CA · (925) 813-6500 CATH & SALINE/CONTRAST SONOHYSTER/HYSTEROSALPI $974.40 $1,740.00 — 44% —
source file
Kaiser Foundation Hospital - San Leandro San Leandro, CA · (510) 454-1000 CATH & SALINE/CONTRAST SONOHYSTER/HYSTEROSALPI $974.40 $1,740.00 — 44% —
source file
Kaiser Foundation Hospital - South San Francisco South San Francisco, CA · (650) 742-3200 CATH & SALINE/CONTRAST SONOHYSTER/HYSTEROSALPI $974.40 $1,740.00 — 44% —
source file

Inpatient: lowest $507.60, median $974.40, highest $974.40 — a 1.9× difference within the same market.

As an outpatient, the same code is billed by 10 facilities here, median $974.40 — that is the price to compare if you are not being admitted.

What it is

An HSG is an X-ray test that checks whether the fallopian tubes are open and the uterus has a normal shape. Dye is injected through the cervix while X-rays are taken.

What the price covers

The price covers the injection. The X-ray imaging is usually billed separately.