Skip to contents

Keep and return records of eligible women that match pregnancy procedure codes with additional info

Usage

match_on_pregnancy_procedure_code(
  .data,
  .proc_data,
  .by_var_claims,
  .by_var_proc_code,
  .variables_to_keep
)

Arguments

.data

MarketScan dataset

.proc_data

Procedure code dataset

.by_var_claims

Variable in claims data to join by

.by_var_proc_code

Variable in procedure code dataset to join by

.variables_to_keep

Variable names that should appear in the returned dataset

Value

Modified dataset