Skip to contents

A record is considered to have a Psychiatry cost if the recid is 04B and the specialty is not G4

Usage

calculate_psychiatry_cost(recid, spec, cost_total_net)

Arguments

recid

A vector of record IDs

spec

A vector of specialty codes

cost_total_net

A vector of total net costs

Value

A vector of Psychiatry costs