OHDSI Home | Forums | Wiki | Github

How to implement the most recent measurement in ATLAS

cohort

(Cong Liu) #1

Hi @Chris_Knoll and @t_abdul_basser ,

I am wondering is it possible to implement a criterion using the most recent measurement in ATLAS?

For example, Have a most recent systolic blood pressure greater than or equal to 120 mm Hg.

I knew we can do this in initial events. But can we do this in the inclusion criteria? There is a “First Measurement Criteria” which I believe is the earliest measurement instead of the most recent measurement.

Thank you very much


(Chris Knoll) #2

You can look for the measurement where there are 0 of those measurements between 1 day after and all days after the measurement (nested criteria).

The logic is: the last one is the one that has no others after it.


(Cong Liu) #3

Wow, that is smart. Good to learn. Thank you very much.

Cong


t