Skip to contents

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

Usage

calculate_hospital_emergency_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 Emergency costs