Retrieves diagnoses for an individual.
ukb_icd_diagnosis(data, id, icd.version = NULL)
A UKB dataset (or subset) created with ukb_df
.
An individual's id, i.e., their unique eid reference number.
The ICD version (or revision) number, 9 or 10.
if (FALSE) {
ukb_icd_diagnosis(my_ukb_data, id = "123456", icd.version = 10)
}