How would you write a query to extract specific clinical cohorts based on diagnostic codes and age ranges at Tempus labs?