Skip to contents

A record is considered to have an Outpatient cost if the recid is 00B. The Outpatient Cost is defined as (total net cost - geriatric cost), and the Total Outpatient Cost is the total net cost

Usage

calculate_outpatient_costs(recid, cost_total_net, geriatric_cost)

Arguments

recid

A vector of record IDs

cost_total_net

A vector of total net costs

geriatric_cost

A vector of geriatric care costs

Value

A list with outpatient costs in index 1 and total outpatient costs in index 2