med.events.ATC: Example of medication events with ATC codes.

med.events.ATCR Documentation

Example of medication events with ATC codes.

Description

An artificial dataset containing medication events (one per row) for 16 patients (1564 events in total), containing ATC codes. This dataset is derived from the durcomp datasets using the compute_event_durations function. See @med.events for more details.

Usage

med.events.ATC

Format

A data frame with 1564 rows and 7 variables:

PATIENT_ID

the patient unique identifier.

DATE

the medication event date.

DURATION

the duration in days.

PERDAY

the daily dosage.

CATEGORY

the ATC code.

CATEGORY_L1

explicitation of the first field of the ATC code (e.g., "A"="ALIMENTARY TRACT AND METABOLISM").

CATEGORY_L2

explicitation of the first and second fields of the ATC code (e.g., "A02"="DRUGS FOR ACID RELATED DISORDERS").


AdhereR documentation built on July 5, 2022, 5:08 p.m.