Whether a patient is on diabetes medication
Name diabetes_meds
Chapter Endocrine, nutritional, metabolic/Diabetes
Definition
Patient prescribed diabetes regulating medication (insulins and other antidiabetic agents - metformin, sulphonylureas, other oral medication, exanetide). Patients may be on more than one medication at a time. One row per patient, defined over a particular time period per patient.
Data Type Categorical
Data sources GPRD
Repeated No
Valid event date range 01/01/1900 - 25/03/2010
Agreed 17.01.2014 (Revision 2)
Category Definition
0 Not on medication
1 On insulin
2 On oral anti-diabetics
3 On insulin and oral anti-diabetics
Implementation
IF prescription with diabetes_gprdprod category 1 in the time period
AND prescription with diabetes_gprdprod category 2 to 10 in the time period
    THEN diabetes_meds = 3

ELSE IF prescription with diabetes_gprdprod category 2 to 10 in the time period
    THEN diabetes_meds = 2

ELSE IF prescription with diabetes_gprdprod category 1 in the time period
    THEN diabetes_meds = 1

ELSE diabetes_meds = 0
Codelist version
Codelist authors
Creation date
Category (code) Clinical code Clinical term Datasource lookup
()
comments powered by Disqus