Secondary outcome variables are ‘any hospital admission’ (yes/no), ‘days spent in the hospital’, ‘ambulatory care sensitive hospital admissions’ (yes/no) and ‘total health care costs from the statutory health insurance perspective’ during the entire follow-up period and during each billing period in the follow-up period. Ambulatory care sensitive hospital admissions are defined as potentially preventable hospital admissions by interventions in primary care and are displayed in Table 5. Conditions were chosen from two studies [14, 15].Table 5Ambulatory care sensitive conditions used to define hospital admissions to be prevented by AGR (according to [14, 15])Ambulatory care sensitive conditionsICD-10 codeIschaemic heart diseasesI25.0, I25.1, I25.5, I25.6, I25.8, I25.9Heart failureI50Other diseases of the circulatory systemI05, I06, I08.0, I49.8, I49.9, I67.2, I67.4, I70, I73, I78, I80.0, I80.80, I83, I86, I87, I95, R00.0, R00.2Bronchitis & COPDJ20, J21, J40-J44, J47Mental and behavioural disorders due to use of alcohol or opioidsF10, F11Back pain [dorsopathies]M42, M47, M53, M54HypertensionI10 - I15Gastroenteritis and other diseases of intestinesK52.2, K52.8, K52.9, K57, K58, K59.0Intestinal infectious diseasesA01, A02, A04, A05, A07-A09Influenza and pneumoniaJ10, J11, J13, J14, J15.3, J15.4, J15.7, J15.8, J15.9, J16.8, J18.0, J18.1, J18.8, J18.9Ear nose throat infectionsH66, H67, J01-J04, J06, J31, J32, J35Depressive disordersF32, F33Diabetes mellitusE10.2-E10.6, E10.8, E10.9, E11, E13.6, E13.7, E13.9, E14, E16.2Gonarthrosis [arthrosis of knee]M17.0, M17.1, M17.4, M17.5, M17.9Soft tissue disordersG56.0, M67.4, M71.3, M75-M77, M79Other avoidable mental and behavioural disordersF40, F41, F43, F45, F50.0, F50.2, F60Diseases of the eyeH25, H40Diseases of urinary systemN30, N34, N39.0Sleep disordersG47Diseases of the skin and subcutaneous tissueA46, L01, L02, L04, L08.0, L08.8, L08.9, L60.0, L72.1, L98.0Thyroid disorderE03 - E05, E89.0Metabolic disordersE86, E87.6Melanoma and other malignant neoplasms of skinC43, C44Gastritis and duodenitisK21, K29.7, K29.9, K30, K31Migraine and headache syndromesG43, G44.0, G44.1, G44.3, G44.4, G44.8, R51Malnutrition & nutritional deficienciesE40 - 64, R63.6, D50, D51-D52, D53.1, D56Alcoholic liver diseaseK70Dental diseasesK02, K04-K06, K08, K12, K13Inflammatory diseases of female pelvic organs and disorders of female genital tractN70-N72, N75, N76, N84.1, N86, N87DementiaF01, F03Diseases of male genital organsN41, N45, N48.4AsthmaJ45Other polyneuropathiesG62Avoidable infectious and parasitic diseasesA15.3, A15.4, A15.9, A16.2, A16.3, A16.5, A16.8, A16.9, A34 - A37, A50-A58, A63, A64, A80, B05 - B07, B15, B16.1, B16.9, B17, B18.0, B18.1, B20 - B24, B26, B34.9, B51 - B54, B77, B86Convulsions, not elsewhere classifiedR56Decubitus ulcer and pressure areaL89ObesityE66Rare diseases with <5000 cases eachF80, R63.0, R63.3, R63.8, Z73CellulitisL03, L04, L08.0, L08.8, L08.9, L88, L98.0, I891, L010, L011, L020 - L024, L028, L029AnginaI20, I24.0, I24.8, I24.9, I25, R072, R073, R074, Z034, Z035Convulsions and epilepsyG25.3, G40, G41, O15, R56, R568Dehydration and infectionsA02, A04, A09, A05.9, A07.2, A08.0, A08.1, A08.3, A08.4, A08.5, E86, K52.0, K52.1, K52.2, K52.8, K52.9GangreneR02Iron-deficiency anaemiaD46.0, D46.1, D46.3, D46.4, D50.1, D50.8, D50.9, D51.0–D51.3, D51.8, D52.0, D52.1, D52.8, D52.9, D53.1, D57.1, D58.0, D58.1, D59.0 – D59.2, D59.9, D60.1, D60.8, D60.9, D61.0, D61.1, D64.0 - D64.4, D64.8Pelvic inflammatory diseaseN70, N73, N74Perforated/bleeding ulcerK20, K21.0, K21.9, K22.1, K22.6, K25.0 – K25.2, K25.4 – K25.6, K25.9, K26.0 – K26.2, K26.4 – K26.6, K27,K28.0 – 28.2, K28.4 – K28.6, K92.0, K92.1, K92.2, L97PyelonephritisN10, N11, N12, N13.6, N15.9, N30.0, N30.8, N30.9, N39.0,Atrial fibrillation and flutterI47.1, I47.9, I49.5, I49.8, I49.9, R00.0, R00.2, R00.8ConstipationK59.0Deliberate self-harmS16Dyspepsia and other stomach function disordersK21, K30HypokalaemiaE87.6NeurosesE10, E13.6 – E13.9, E14.9TuberculosisA15, A16, A17, A18, A19SchizophreniaF20, F21, F23.2, F25StrokeI61, I62, I63, I64, I66, I67.2, I69.8, R47.0