- count of A&E attendances with primary diagnosis (diagnosis_01) match to the condition-specific GP codelist - flag for any non-primary diagnosis (diagnosis_02-24) match to the condition-specific GP ...