Closed callahantiff closed 5 years ago
Agree with SQL code as written. The criteria does not seem to care if the two codes are on the same or different visit_occurrences. This query allows for both as long as the two codes are different (DISTINCT).
Agree with SQL code as written. The criteria does not seem to care if the two codes are on the same or different visit_occurrences. This query allows for both as long as the two codes are different (DISTINCT).
Excellent, that's how I understood the logic as well. Thanks!
@mgkahn - Can you please help me verify the query to select Sleep Apnea patients?
COHORT CRITERIA Case Criteria:
Control Criteria:
NOTE.
{database}
withCHCO_DeID_Oct2018
{code_set_group}
Query can be found here and is also included below: