Package parameters are used to define the characteristics of drug packages. The parameter file specifies the identifying number, ATC code, and the minimum, usual, and maximum duration of a package, as well as the usual and minimum dose in defined daily doses (DDDs).

Brief introduction to specifying Package Parameters

The following is an example of a row in a package parameters file, defining the characteristics of a drug package.

| id | ATC | min_duration | usual_duration | max_duration | usual_DDD | min_DDD | |----------|----------|--------------|----------------|--------------|-----------|---------| | 12345678 | N02BE01 | 5 | 30 | 90 | 1.0 | 0.5 |

Explanation:

R Code Example (in data.table format)

library(data.table)

package_parameters <- data.table(
  id = "12345678",
  ATC = "N02BE01",
  min_duration = 5,
  usual_duration = 30,
  max_duration = 90,
  usual_DDD = 1.0,
  min_DDD = 0.5
)

Detailed instructions how to create package parameters here.



piavat/PRE2DUP-R documentation built on June 11, 2025, 11:42 a.m.