The diagnoses domain contains diagnoses recorded at patient encounters. As diagnostic codes are captured at every encounter, this data enables researchers to assess the duration of a patient’s illness, define and construct cohorts and outcomes of interest, and assess co-morbidities accurately.