Skip to contents

A record is considered to have a Maternity cost if the recid is 02B or the CIJ Patient type is Maternity

Usage

calculate_maternity_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 Maternity costs