Import PCG list
pcg_import.Rd
Imports and modifies PCG list provided by BAG to be used in RA calculation.
Usage
pcg_import(
input,
export_path = NULL,
pcg_kurzname_col = 1,
gtin_col = 4,
pharmacode_col = 5,
pharmacode_ddd_col = 7,
schwellenwert_ddd_col = 8,
schwellenwert_packungen_col = 9
)
Arguments
- input
data.table
ordata.frame
with the PCG-list or character vector with the path to an excel file.- export_path
Character vector with a path where a excel file as output should be generated.
- pcg_kurzname_col, gtin_col, pharmacode_col, pharmacode_ddd_col, schwellenwert_ddd_col, schwellenwert_packungen_col
Integer vector with the column number of the PCG-Kurzname, GTIN, Pharmacode, Anzahl DDD pro Packung, DDD-Schwellenwert, Packungen-Schwellenwert.