The Medicare inpatient prospective payment system reimburses facilities for the treatments of medicare beneficiaries who are.