{"procedure":{"code_type":"CPT","code":"50040","lay_name":"Open surgery to create a kidney drainage opening","blurb":"Open operation that cuts into the kidney and leaves a drainage tube or tract so urine can exit the body.","slug":"cpt-50040-open-surgery-to-create-a-kidney-drainage-opening","description":"Nephrostomy Nephrotomy W/Drainage","name_source":"llm:claude-opus-5","name_reviewed":false,"ccs":{"code":"103","label":"Nephrotomy and nephrostomy","surgery_flag":"narrow"}},"settings":{"outpatient":{"setting":"outpatient","computed_at":"2026-09-25T11:55:12.319193Z","corpus_loaded_through":"2026-09-23T22:20:23.317834Z","filing_date_min":"2024-06-18","filing_date_max":"2026-09-22","checked_from":"2026-09-05T02:23:05.982663Z","checked_through":"2026-09-23T22:20:23.317834Z","n_priced_setters":3956,"n_filed":282,"n_usable":232,"n_not_usable":1,"n_labelled":22,"n_no_cash":27,"n_estimated":0,"n_states":42,"cash_p10":842.94,"cash_p20":1205.02,"cash_p25":1398.95,"cash_p50":1971.2,"cash_p75":3360.0,"cash_p80":4336.8,"cash_p90":5339.0,"cash_mean_trimmed":2130.94,"gross_p50":3264.1,"cash_to_gross_p50":0.6,"medicare_rate":null,"medicare_schedule":null,"medicare_year":null,"cash_to_medicare_p50":null,"by_state":[{"state":"AK","n":1,"p20":null,"p50":null,"p80":null},{"state":"AL","n":1,"p20":null,"p50":null,"p80":null},{"state":"AR","n":1,"p20":null,"p50":null,"p80":null},{"state":"CA","n":28,"p20":1971.2,"p50":1971.2,"p80":2089.56},{"state":"CO","n":1,"p20":null,"p50":null,"p80":null},{"state":"FL","n":2,"p20":null,"p50":null,"p80":null},{"state":"GA","n":17,"p20":2305.14,"p50":2989.8,"p80":2989.8},{"state":"HI","n":3,"p20":null,"p50":null,"p80":null},{"state":"IA","n":3,"p20":null,"p50":null,"p80":null},{"state":"ID","n":1,"p20":null,"p50":null,"p80":null},{"state":"IL","n":13,"p20":489.44,"p50":1398.95,"p80":1631.1},{"state":"IN","n":4,"p20":null,"p50":null,"p80":null},{"state":"KS","n":3,"p20":null,"p50":null,"p80":null},{"state":"KY","n":4,"p20":null,"p50":null,"p80":null},{"state":"LA","n":3,"p20":null,"p50":null,"p80":null},{"state":"MA","n":3,"p20":null,"p50":null,"p80":null},{"state":"MD","n":2,"p20":null,"p50":null,"p80":null},{"state":"MI","n":13,"p20":1205.02,"p50":1454.4,"p80":4525.95},{"state":"MN","n":1,"p20":null,"p50":null,"p80":null},{"state":"MO","n":3,"p20":null,"p50":null,"p80":null},{"state":"MT","n":2,"p20":null,"p50":null,"p80":null},{"state":"NC","n":6,"p20":null,"p50":null,"p80":null},{"state":"ND","n":1,"p20":null,"p50":null,"p80":null},{"state":"NE","n":2,"p20":null,"p50":null,"p80":null},{"state":"NH","n":3,"p20":null,"p50":null,"p80":null},{"state":"NJ","n":13,"p20":4350.0,"p50":5110.0,"p80":5855.0},{"state":"NM","n":1,"p20":null,"p50":null,"p80":null},{"state":"NV","n":3,"p20":null,"p50":null,"p80":null},{"state":"NY","n":19,"p20":801.28,"p50":1810.0,"p80":2630.0},{"state":"OH","n":8,"p20":null,"p50":null,"p80":null},{"state":"OK","n":10,"p20":1528.8,"p50":1528.8,"p80":1528.8},{"state":"OR","n":8,"p20":null,"p50":null,"p80":null},{"state":"PA","n":17,"p20":571.34,"p50":701.19,"p80":1364.85},{"state":"RI","n":1,"p20":null,"p50":null,"p80":null},{"state":"SC","n":3,"p20":null,"p50":null,"p80":null},{"state":"TN","n":1,"p20":null,"p50":null,"p80":null},{"state":"TX","n":4,"p20":null,"p50":null,"p80":null},{"state":"VT","n":3,"p20":null,"p50":null,"p80":null},{"state":"WA","n":3,"p20":null,"p50":null,"p80":null},{"state":"WI","n":12,"p20":4525.95,"p50":4525.95,"p80":4525.95},{"state":"WV","n":3,"p20":null,"p50":null,"p80":null},{"state":"WY","n":2,"p20":null,"p50":null,"p80":null}],"by_segment":{"hospital_type":[{"key":"acute","n":195,"p20":1124.74,"p50":1971.2,"p80":4240.8},{"key":"childrens","n":5,"p20":null,"p50":null,"p80":null},{"key":"critical_access","n":30,"p20":1398.95,"p50":2200.64,"p80":4525.95}],"ownership":[{"key":"for_profit","n":25,"p20":1398.95,"p50":2305.14,"p80":4403.71},{"key":"government","n":31,"p20":1493.93,"p50":2164.24,"p80":3556.0},{"key":"nonprofit","n":174,"p20":1050.9,"p50":1971.2,"p80":4336.8}],"affiliation":[{"key":"affiliated","n":186,"p20":1205.02,"p50":1971.2,"p80":4350.0},{"key":"independent","n":46,"p20":1397.7,"p50":1845.12,"p80":3556.0}]},"histogram":[{"lo":535.5,"hi":690.85,"n":9},{"lo":690.85,"hi":891.26,"n":9},{"lo":891.26,"hi":1149.82,"n":16},{"lo":1149.82,"hi":1483.38,"n":27},{"lo":1483.38,"hi":1913.71,"n":39},{"lo":1913.71,"hi":2468.88,"n":37},{"lo":2468.88,"hi":3185.1,"n":23},{"lo":3185.1,"hi":4109.09,"n":11},{"lo":4109.09,"hi":5301.14,"n":26},{"lo":5301.14,"hi":6839.0,"n":13}],"previous":null},"inpatient":{"setting":"inpatient","computed_at":"2026-09-25T11:55:12.319193Z","corpus_loaded_through":"2026-09-23T22:20:23.317834Z","filing_date_min":"2024-07-01","filing_date_max":"2026-09-01","checked_from":"2026-09-05T02:23:05.982663Z","checked_through":"2026-09-23T22:20:23.317834Z","n_priced_setters":3956,"n_filed":201,"n_usable":185,"n_not_usable":0,"n_labelled":8,"n_no_cash":8,"n_estimated":0,"n_states":35,"cash_p10":959.4,"cash_p20":1398.95,"cash_p25":1420.8,"cash_p50":1971.2,"cash_p75":2989.8,"cash_p80":3394.56,"cash_p90":4525.95,"cash_mean_trimmed":2103.44,"gross_p50":3520.0,"cash_to_gross_p50":0.56,"medicare_rate":null,"medicare_schedule":null,"medicare_year":null,"cash_to_medicare_p50":null,"by_state":[{"state":"AL","n":1,"p20":null,"p50":null,"p80":null},{"state":"CA","n":23,"p20":1971.2,"p50":1971.2,"p80":1971.2},{"state":"FL","n":1,"p20":null,"p50":null,"p80":null},{"state":"GA","n":17,"p20":2305.14,"p50":2989.8,"p80":2989.8},{"state":"HI","n":3,"p20":null,"p50":null,"p80":null},{"state":"IA","n":2,"p20":null,"p50":null,"p80":null},{"state":"ID","n":1,"p20":null,"p50":null,"p80":null},{"state":"IL","n":10,"p20":217.0,"p50":1398.95,"p80":1631.1},{"state":"IN","n":4,"p20":null,"p50":null,"p80":null},{"state":"KS","n":1,"p20":null,"p50":null,"p80":null},{"state":"KY","n":4,"p20":null,"p50":null,"p80":null},{"state":"LA","n":1,"p20":null,"p50":null,"p80":null},{"state":"MA","n":3,"p20":null,"p50":null,"p80":null},{"state":"MD","n":2,"p20":null,"p50":null,"p80":null},{"state":"MI","n":9,"p20":null,"p50":null,"p80":null},{"state":"MN","n":1,"p20":null,"p50":null,"p80":null},{"state":"MO","n":2,"p20":null,"p50":null,"p80":null},{"state":"MT","n":2,"p20":null,"p50":null,"p80":null},{"state":"NC","n":6,"p20":null,"p50":null,"p80":null},{"state":"ND","n":1,"p20":null,"p50":null,"p80":null},{"state":"NH","n":3,"p20":null,"p50":null,"p80":null},{"state":"NV","n":2,"p20":null,"p50":null,"p80":null},{"state":"NY","n":15,"p20":972.74,"p50":1810.0,"p80":2499.17},{"state":"OH","n":5,"p20":null,"p50":null,"p80":null},{"state":"OK","n":11,"p20":1528.8,"p50":1528.8,"p80":1528.8},{"state":"OR","n":8,"p20":null,"p50":null,"p80":null},{"state":"PA","n":17,"p20":1224.55,"p50":2589.01,"p80":3059.75},{"state":"RI","n":1,"p20":null,"p50":null,"p80":null},{"state":"TN","n":4,"p20":null,"p50":null,"p80":null},{"state":"TX","n":3,"p20":null,"p50":null,"p80":null},{"state":"VT","n":3,"p20":null,"p50":null,"p80":null},{"state":"WA","n":3,"p20":null,"p50":null,"p80":null},{"state":"WI","n":12,"p20":4525.95,"p50":4525.95,"p80":4525.95},{"state":"WV","n":3,"p20":null,"p50":null,"p80":null},{"state":"WY","n":1,"p20":null,"p50":null,"p80":null}],"by_segment":{"hospital_type":[{"key":"acute","n":156,"p20":1398.95,"p50":1971.2,"p80":3167.0},{"key":"childrens","n":3,"p20":null,"p50":null,"p80":null},{"key":"critical_access","n":24,"p20":1398.95,"p50":2322.47,"p80":4525.95}],"ownership":[{"key":"for_profit","n":21,"p20":1398.95,"p50":2305.14,"p80":3167.0},{"key":"government","n":23,"p20":1454.4,"p50":2305.14,"p80":3556.0},{"key":"nonprofit","n":139,"p20":1328.18,"p50":1971.2,"p80":3454.43}],"affiliation":[{"key":"affiliated","n":153,"p20":1398.95,"p50":1971.2,"p80":3552.0},{"key":"independent","n":32,"p20":1397.7,"p50":1749.0,"p80":3213.75}]},"histogram":[{"lo":865.64,"hi":1060.57,"n":21},{"lo":1060.57,"hi":1299.39,"n":5},{"lo":1299.39,"hi":1591.99,"n":32},{"lo":1591.99,"hi":1950.48,"n":19},{"lo":1950.48,"hi":2389.69,"n":31},{"lo":2389.69,"hi":2927.81,"n":13},{"lo":2927.81,"hi":3587.1,"n":24},{"lo":3587.1,"hi":4394.86,"n":2},{"lo":4394.86,"hi":5384.5,"n":16},{"lo":5384.5,"hi":6597.0,"n":6}],"previous":null}},"related":[{"code_type":"CPT","code":"50435","lay_name":"Exchange of a kidney drainage tube","slug":"cpt-50435-exchange-of-a-kidney-drainage-tube"},{"code_type":"CPT","code":"50432","lay_name":"Placement of kidney drainage tube through the skin","slug":"cpt-50432-placement-of-kidney-drainage-tube-through-the-skin"},{"code_type":"CPT","code":"50433","lay_name":"Kidney-to-bladder drainage tube placed through the skin","slug":"cpt-50433-kidney-to-bladder-drainage-tube-placed-through-the-skin"},{"code_type":"CPT","code":"50434","lay_name":"Conversion of kidney drain to kidney-to-bladder catheter","slug":"cpt-50434-conversion-of-kidney-drain-to-kidney-to-bladder-catheter"},{"code_type":"CPT","code":"50437","lay_name":"Widening of a kidney tract for a scope procedure, new access","slug":"cpt-50437-widening-of-a-kidney-tract-for-a-scope-procedure-new-access"},{"code_type":"CPT","code":"50436","lay_name":"Widening of an existing kidney tract for a scope procedure","slug":"cpt-50436-widening-of-an-existing-kidney-tract-for-a-scope-procedure"},{"code_type":"CPT","code":"50080","lay_name":"Kidney stone removal through the skin, stone up to 2 cm","slug":"cpt-50080-kidney-stone-removal-through-the-skin-stone-up-to-2-cm"},{"code_type":"CPT","code":"50081","lay_name":"Kidney stone removal through the skin, stone over 2 cm","slug":"cpt-50081-kidney-stone-removal-through-the-skin-stone-over-2-cm"},{"code_type":"CPT","code":"52334","lay_name":"Bladder scope with guide wire placed toward the kidney","slug":"cpt-52334-bladder-scope-with-guide-wire-placed-toward-the-kidney"},{"code_type":"CPT","code":"50020","lay_name":"Surgical drainage of an abscess around the kidney","slug":"cpt-50020-surgical-drainage-of-an-abscess-around-the-kidney"},{"code_type":"CPT","code":"50130","lay_name":"Open removal of a stone from the kidney's drainage basin","slug":"cpt-50130-open-removal-of-a-stone-from-the-kidney-s-drainage-basin"},{"code_type":"CPT","code":"50060","lay_name":"Open surgery to remove a kidney stone","slug":"cpt-50060-open-surgery-to-remove-a-kidney-stone"}]}