This is data contains Medicare claims data of a small sample of 1000 patients from the publicly available CMS Medicare De-SynPUF data. It contains all data from three domains - diagnosis, procedures and medications. The diagnosis codes are ICD9 codes, procedures are CPT4/HCPCS codes and medications are NDC codes.
rwd
A data frame with 69333 rows and 9 variables:
patient_identifier
Date of first exposure. For one patient, there will only be one index_date
Date at which event_code occurred for the patient
The medical coding of the event. These are ICD9, CPT4, HCPCS or NDC codes depending on the domain
Another identifier for the event_code
. This is irrelevant for this package and you can ignore it
The domain to which the event_code
belongs to. The three unique values are dx (for diagnosis), px (for procedure)
and rx (for medication)
Binary indicator treatment allocation based on exposure. 1 indicates primary cohort and 0 for control/comparator cohort
Date in which the outcome occurred. NA
indicates no outcome occurred. In this sample data, the outcome is death
Last enrolled date of the patient. This field is irrelevant for this package and you can ignore it