Skip to contents

A record is considered to have a Hospital Elective cost if the recid is in c("01B", "04B", "50B", "GLS") and the CIJ patient type is Elective

Usage

calculate_hospital_elective_cost(recid, cij_pattype, cost_total_net)

Arguments

recid

A vector of record IDs

cij_pattype

A vector of CIJ patient types

cost_total_net

A vector of total net costs

Value

A vector of Hospital Elective costs