OHDSI Home | Forums | Wiki | Github

Phenotype definition - T2DM - Help needed

estimationmethods
workinggroup
atlas
patientprediction
cdm

(Akshay Kumar) #1

Hello Everyone,

I came across the T2DM Phenotype algorithm in PheKB website click here and have few questions.

I am a graduate trying to learn what are phenotypes and how it works etc. Not from healthcare background. So would really appreciate if domain jargons are minimized

Can you help me with the below questions?

Let’s breakdown the flowchart (pasted below) into individual paths

path 1) EMR -----> T1DM DX -----no–> T2DM DX ----no—> RX T2DM MED —yes—> Abnormal Lab —yes----> CASE

Q1) - How can the patient be prescribed for T2DM meds when he is not diagnosed for T2DM?

path 2) EMR -->T1DM DX —no—> T2DM DX ----yes—> RX T1DM MED —no—> RX T2DM MED —no----> Abnormal Lab —yes----> CASE

Q1) Based on path 1 and path 2 what I can infer is, if the patient has abnormal lab, he is a T2DM patient irrespective of whether he was prescribed or not for RX T2DM meds

path 3) EMR ----->T1DM DX —no----> T2DM DX —yes—> RX T1DM MED —yes—> RX T2DM MED ----yes—> T2DM RX precedes T1DM RX —yes—> CASE

Q1) Again, how can a patient be prescribed with T1DM meds when is not diagnosed for T1DM ?

Q2) It makes sense to see T2DM meds as patient was diagnosed for T2DM but why do we see it as T2DM RX precedes T1DM RX mean? Shouldn’t it be T1DM RX precedes T2DM RX? Because when I did a google search, I found out thatT1DM` usually occurs before once enters adulthood. So Am I misinterpreting this?

path 4) EMR ----->T1DM DX —no----> T2DM DX —yes—> RX T1DM MED —yes—> RX T2DM MED ----no—> T2DM DX by Physician >=2 —yes—> CASE

Q1) In this path, a patient is diagnosed for T2DM but he has been prescribed T1DM meds. Is this possible and when can this happen?

Q2) Similarly, though the patient is diagnosed for T2DM he isn’t prescribed for T2DM Meds. Is it like patients are prescribed meds only after multiple visits or something?

Can you help me with the above questions please? Will really be helpful

image

Thanks
Akshay


What is a phenotype in the context of observational research?
(Chris Knoll) #2

Hi, @Akshay,
Good questions. I can’t comment on the clinical aspects of your questions (such as in what clinical context will someone be diagnosed with T2DM or but left untreated (your Q2 under path 4).

However, what I can comment on is that observational data is not perfect. You could have a person who was diagnosed young with T1DM, switches healthcare providers, and continues being prescribed T1 meds without the diagnosis recorded. Perhaps the Phenotype definition is designed to tolerate missingness of data, (ie: isn’t it enough to see a T1DM medication perscription without the actual T1DM diagnosis, if something further in the logic path further restricts the population based on the presence of T1DM meds?

You also picked up on a very good approach for translating a flowchart into boolean logic for a cohort definition. Once you lay out each of those paths, you can actually roll up some of those logical constraints at a higher level to simplify the branches into a smaller group of OR’s (ie: A AND (B OR C OR D) where A in this case is ‘no T1DM Diagnosis’.

I hope others in the community can answer the more clinical focused elements of your questions. I am sure there is a lot of expertise that can give you an informed answer.


(Akshay Kumar) #3

Thanks for the response Chris. Much appreciated. Will wait for someone to help me on those clinical aspects. I am trying to do this in Atlas, but wish to get this clear first.

ps- i did see that there are already multiple cohorts based on above definition in Atlas.


(Christian Reich) #4

@Akshay:

The clinical aspects: Essentially you are asking why can T2DM patients be treated with T1DM drugs and the other way around, or not treated at all.

Reason is simple. The medication is overlapping. T1DM has practically no insulin production right from the beginning, while T2DM is is characterized by a slow deterioration of insulin production or effect over time. So, at the beginning of a T2DM when it is still mild you can give all those oral antidiabetic drugs boosting the remaining system, or even get by without drug treatment at all if the patient looses weight and drastically changes life style. But in advanced stages the T2DM is treated identically to T1DM: with insulin.

So, the logic of the T2DM phenotype algorithm tries to do three things: (i) establish that there is a diabetes, (ii) distinguish it from T1DM, and (iii) show flexibility with some mild misclassification. It is based on three pieces of evidence: the diagnostic code, the medication and the lab test.

(iii) is the nasty one here: It assumes that the doc might have it wrong during initial presentation, but when insisted more than once you’ll believe it. Pretty wild, isn’t it? Why not three times? Or four? This is called “tacit knowledge of the data” and it is what makes these deterministic phenotype an art, rather than a science. We need to overcome that and create data-driven robust phenotype definitions that take into account the error in each of the various pieces of evidence. Lots of work to do.


(Akshay Kumar) #5

Hi @Christian_Reich - While I was trying to implement this, I encountered a scenario where the diabetes type is undetermined. I mean few patients’ condition records have entries such as “eye disorder due to diabetes mellitus” , “kidney disorder due to diabetes mellitus”,“Diabetic complication” or something like “multiple complications due to diabetes mellitus”. Because of which the algorithm doesn’t identify these patients either as T1 or T2 and we lose performance.

In this case, before we apply phenotype algorithm, we need to make sure to address this issue by looking at lab test values (HbA1c, FG, RG) and decide whether these are T1 or T2DM? for ex: HbA1c > 6.5 is T2DM else T1DM. But is this the right way to determine diabetes type? quite confused


t