Skip to contents

A record is considered to have an Acute Emergency cost if the recid is 01B, the CIJ patient type is Non-Elective, and the specialty is not AB

Usage

calculate_acute_emergency_cost(recid, cij_pattype, spec, cost_total_net)

Arguments

recid

A vector of record IDs

cij_pattype

A vector of CIJ patient types

spec

A vector of specialty codes

cost_total_net

A vector of total net costs

Value

A vector of Acute Emergency costs