documentation:cdm:drug_era
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:cdm:drug_era [2014/12/05 21:11] – cgreich | documentation:cdm:drug_era [2017/09/25 15:09] (current) – clairblacketer | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== DRUG_ERA table ===== | ===== DRUG_ERA table ===== | ||
| + | **THIS IS OUTDATED. All documentation is now on the [[https:// | ||
| + | |||
| A Drug Era is defined as a span of time when the Person is assumed to be exposed to a particular active ingredient. A Drug Era is not the same as a Drug Exposure: Exposures are individual records corresponding to the source when Drug was delivered to the Person, while successive periods of Drug Exposures are combined under certain rules to produce continuous Drug Eras. | A Drug Era is defined as a span of time when the Person is assumed to be exposed to a particular active ingredient. A Drug Era is not the same as a Drug Exposure: Exposures are individual records corresponding to the source when Drug was delivered to the Person, while successive periods of Drug Exposures are combined under certain rules to produce continuous Drug Eras. | ||
| ^Field^Required^Type^Description^ | ^Field^Required^Type^Description^ | ||
| Line 8: | Line 10: | ||
| |drug_era_end_date|Yes|date|The end date for the drug era constructed from the individual instance of drug exposures. It is the end date of the final continuously recorded instance of utilization of a drug.| | |drug_era_end_date|Yes|date|The end date for the drug era constructed from the individual instance of drug exposures. It is the end date of the final continuously recorded instance of utilization of a drug.| | ||
| |drug_exposure_count|No|integer|The number of individual Drug Exposure occurrences used to construct the Drug Era.| | |drug_exposure_count|No|integer|The number of individual Drug Exposure occurrences used to construct the Drug Era.| | ||
| - | |gap_days|No|integer|The number of observed | + | |gap_days|No|integer|The number of days that are not covered by DRUG_EXPOSURE |
| ==== Conventions ==== | ==== Conventions ==== | ||
| * Drug Eras are derived from records in the DRUG_EXPOSURE table using a standardized algorithm. | * Drug Eras are derived from records in the DRUG_EXPOSURE table using a standardized algorithm. | ||
| * Each Drug Era corresponds to one or many Drug Exposures that form a continuous interval and contain the same Drug Ingredient (active compound). | * Each Drug Era corresponds to one or many Drug Exposures that form a continuous interval and contain the same Drug Ingredient (active compound). | ||
| - | * The drug_concept_id field only contains Concepts that have the concept_class ' | + | * The drug_concept_id field only contains Concepts that have the concept_class ' |
| * The Drug Era Start Date is the start date of the first Drug Exposure. | * The Drug Era Start Date is the start date of the first Drug Exposure. | ||
| - | * The Drug Era End Date is the end date of the last Drug Exposure. The End Date of each Drug Exposure is either taken from the field Drug Exposure End Date or, as it is typically not available, inferred using the following rules: | + | * The Drug Era End Date is the end date of the last Drug Exposure. The End Date of each Drug Exposure is either taken from the field drug_exposure_end_date |
| - | * For pharmacy | + | * For pharmacy |
| * For Procedure Drugs, usually the drug is administered on a single date (i.e., the administration date). | * For Procedure Drugs, usually the drug is administered on a single date (i.e., the administration date). | ||
| - | | + | * A standard Persistence Window of 30 days (gap, slack) is permitted between two subsequent such extrapolated DRUG_EXPOSURE records to be considered to be merged into a single Drug Era. |
| + | | ||
| + | * The difference between Persistence Window and Gap Days is that the former is the maximum drug-free time allowed between two subsequent DRUG_EXPOSURE records, while the latter | ||
| + | * The choice of a standard Persistence Window of 30 and the non-stockpiling assumption is arbitrary, but has been shown to deliver good results in drug-outcome estimation. Other problems, such as estimation of drug compliance, my require a different or drug-dependent Persistence Window/ | ||
| + | |||
| + | {{: | ||
documentation/cdm/drug_era.1417813886.txt.gz · Last modified: by cgreich
