OHDSI Home | Forums | Wiki | Github

ATLAS: enforce identity or difference between two measurements

Hello,

I have a question regarding the cohort definition in ATLAS.

I’m trying to define a cohort with the following definition:

  • Having a specimen for blood culture taken
  • Having a measurement of a detected organism in this blood culture
  • Having a second specimen for blood culture taken on day 0-2 after the first blood culture
  • Having a measurement of a detected organism in the second blood culture being the same organism as in the first blood culture.

Is there a possibility to use the measurement_event_id to get corresponding specimen and measurements in ATLAS? In my data, the measurement_event_id and meas_event_field_concept_id are populated.

Is there a possibility to ensure that the second organism has the same concept id as the first one?

The second cohort I’m trying to define has the following definition:

  • Having a specimen for blood culture taken
  • Having a measurement of a detected organism in this blood culture
  • Having a second measurement of a detected organism in the same or a different blood culture on day 0-14 after the first blood culture and the organism is not the same as in the first blood culture

Is there a possibility to ensure that the second organism has a different concept id than the first one?

Thank you very much for your input!

t