{
  "years": [
    2018,
    2019,
    2020,
    2021,
    2022,
    2023,
    2024,
    2025
  ],
  "national": {
    "2018": {
      "total": 1371463,
      "within4": 1228101,
      "over4": 143362,
      "over8": 14510,
      "over12": 2879
    },
    "2019": {
      "total": 1440285,
      "within4": 1258111,
      "over4": 182174,
      "over8": 21578,
      "over12": 5084
    },
    "2020": {
      "total": 1090880,
      "within4": 980544,
      "over4": 110336,
      "over8": 14744,
      "over12": 3914
    },
    "2021": {
      "total": 1248541,
      "within4": 998769,
      "over4": 249772,
      "over8": 44909,
      "over12": 12582
    },
    "2022": {
      "total": 1342503,
      "within4": 903290,
      "over4": 439213,
      "over8": 136910,
      "over12": 53553
    },
    "2023": {
      "total": 1336329,
      "within4": 887886,
      "over4": 448443,
      "over8": 142998,
      "over12": 56879
    },
    "2024": {
      "total": 1403376,
      "within4": 907713,
      "over4": 495663,
      "over8": 176224,
      "over12": 78114
    },
    "2025": {
      "total": 1408982,
      "within4": 915536,
      "over4": 493446,
      "over8": 172811,
      "over12": 75077
    }
  },
  "boards": {
    "2018": {
      "NHS Ayrshire and Arran": {
        "total": 109998,
        "within4": 102260,
        "over4": 7738,
        "over8": 1942,
        "over12": 515
      },
      "NHS Borders": {
        "total": 30885,
        "within4": 28402,
        "over4": 2483,
        "over8": 198,
        "over12": 57
      },
      "NHS Dumfries and Galloway": {
        "total": 46314,
        "within4": 42569,
        "over4": 3745,
        "over8": 364,
        "over12": 26
      },
      "NHS Fife": {
        "total": 66616,
        "within4": 62732,
        "over4": 3884,
        "over8": 198,
        "over12": 22
      },
      "NHS Forth Valley": {
        "total": 64383,
        "within4": 51580,
        "over4": 12803,
        "over8": 1670,
        "over12": 463
      },
      "NHS Grampian": {
        "total": 101301,
        "within4": 93845,
        "over4": 7456,
        "over8": 287,
        "over12": 21
      },
      "NHS Greater Glasgow and Clyde": {
        "total": 361925,
        "within4": 319031,
        "over4": 42894,
        "over8": 3382,
        "over12": 296
      },
      "NHS Highland": {
        "total": 61974,
        "within4": 58371,
        "over4": 3603,
        "over8": 194,
        "over12": 12
      },
      "NHS Lanarkshire": {
        "total": 206303,
        "within4": 187374,
        "over4": 18929,
        "over8": 1910,
        "over12": 429
      },
      "NHS Lothian": {
        "total": 225822,
        "within4": 189012,
        "over4": 36810,
        "over8": 4314,
        "over12": 1035
      },
      "NHS Orkney": {
        "total": 6552,
        "within4": 6295,
        "over4": 257,
        "over8": 3,
        "over12": 0
      },
      "NHS Shetland": {
        "total": 7699,
        "within4": 7421,
        "over4": 278,
        "over8": 8,
        "over12": 0
      },
      "NHS Tayside": {
        "total": 74868,
        "within4": 72489,
        "over4": 2379,
        "over8": 39,
        "over12": 3
      },
      "NHS Western Isles": {
        "total": 6823,
        "within4": 6720,
        "over4": 103,
        "over8": 1,
        "over12": 0
      }
    },
    "2019": {
      "NHS Ayrshire and Arran": {
        "total": 114811,
        "within4": 99506,
        "over4": 15305,
        "over8": 5185,
        "over12": 2137
      },
      "NHS Borders": {
        "total": 32518,
        "within4": 29794,
        "over4": 2724,
        "over8": 330,
        "over12": 117
      },
      "NHS Dumfries and Galloway": {
        "total": 49403,
        "within4": 44856,
        "over4": 4547,
        "over8": 454,
        "over12": 52
      },
      "NHS Fife": {
        "total": 69362,
        "within4": 62830,
        "over4": 6532,
        "over8": 231,
        "over12": 8
      },
      "NHS Forth Valley": {
        "total": 68152,
        "within4": 58619,
        "over4": 9533,
        "over8": 535,
        "over12": 68
      },
      "NHS Grampian": {
        "total": 106655,
        "within4": 96487,
        "over4": 10168,
        "over8": 509,
        "over12": 43
      },
      "NHS Greater Glasgow and Clyde": {
        "total": 377829,
        "within4": 316825,
        "over4": 61004,
        "over8": 5247,
        "over12": 558
      },
      "NHS Highland": {
        "total": 64872,
        "within4": 59759,
        "over4": 5113,
        "over8": 374,
        "over12": 37
      },
      "NHS Lanarkshire": {
        "total": 215954,
        "within4": 185221,
        "over4": 30733,
        "over8": 4208,
        "over12": 1110
      },
      "NHS Lothian": {
        "total": 239978,
        "within4": 208184,
        "over4": 31794,
        "over8": 4414,
        "over12": 946
      },
      "NHS Orkney": {
        "total": 6972,
        "within4": 6710,
        "over4": 262,
        "over8": 14,
        "over12": 4
      },
      "NHS Shetland": {
        "total": 7822,
        "within4": 7497,
        "over4": 325,
        "over8": 8,
        "over12": 0
      },
      "NHS Tayside": {
        "total": 78918,
        "within4": 74911,
        "over4": 4007,
        "over8": 66,
        "over12": 4
      },
      "NHS Western Isles": {
        "total": 7039,
        "within4": 6912,
        "over4": 127,
        "over8": 3,
        "over12": 0
      }
    },
    "2020": {
      "NHS Ayrshire and Arran": {
        "total": 88566,
        "within4": 77894,
        "over4": 10672,
        "over8": 3613,
        "over12": 1726
      },
      "NHS Borders": {
        "total": 26184,
        "within4": 22870,
        "over4": 3314,
        "over8": 469,
        "over12": 162
      },
      "NHS Dumfries and Galloway": {
        "total": 38538,
        "within4": 35429,
        "over4": 3109,
        "over8": 297,
        "over12": 41
      },
      "NHS Fife": {
        "total": 53783,
        "within4": 49273,
        "over4": 4510,
        "over8": 263,
        "over12": 9
      },
      "NHS Forth Valley": {
        "total": 47827,
        "within4": 43614,
        "over4": 4213,
        "over8": 157,
        "over12": 37
      },
      "NHS Grampian": {
        "total": 81717,
        "within4": 73963,
        "over4": 7754,
        "over8": 476,
        "over12": 44
      },
      "NHS Greater Glasgow and Clyde": {
        "total": 264032,
        "within4": 234889,
        "over4": 29143,
        "over8": 3203,
        "over12": 326
      },
      "NHS Highland": {
        "total": 49462,
        "within4": 45741,
        "over4": 3721,
        "over8": 258,
        "over12": 24
      },
      "NHS Lanarkshire": {
        "total": 173530,
        "within4": 151948,
        "over4": 21582,
        "over8": 2845,
        "over12": 643
      },
      "NHS Lothian": {
        "total": 188615,
        "within4": 169033,
        "over4": 19582,
        "over8": 3092,
        "over12": 895
      },
      "NHS Orkney": {
        "total": 5353,
        "within4": 5178,
        "over4": 175,
        "over8": 7,
        "over12": 1
      },
      "NHS Shetland": {
        "total": 5637,
        "within4": 5444,
        "over4": 193,
        "over8": 6,
        "over12": 1
      },
      "NHS Tayside": {
        "total": 63020,
        "within4": 60758,
        "over4": 2262,
        "over8": 56,
        "over12": 5
      },
      "NHS Western Isles": {
        "total": 4616,
        "within4": 4510,
        "over4": 106,
        "over8": 2,
        "over12": 0
      }
    },
    "2021": {
      "NHS Ayrshire and Arran": {
        "total": 92889,
        "within4": 74710,
        "over4": 18179,
        "over8": 7268,
        "over12": 3593
      },
      "NHS Borders": {
        "total": 29469,
        "within4": 23220,
        "over4": 6249,
        "over8": 1771,
        "over12": 912
      },
      "NHS Dumfries and Galloway": {
        "total": 43896,
        "within4": 37180,
        "over4": 6716,
        "over8": 788,
        "over12": 95
      },
      "NHS Fife": {
        "total": 63142,
        "within4": 51553,
        "over4": 11589,
        "over8": 1408,
        "over12": 184
      },
      "NHS Forth Valley": {
        "total": 56284,
        "within4": 38714,
        "over4": 17570,
        "over8": 2591,
        "over12": 460
      },
      "NHS Grampian": {
        "total": 85177,
        "within4": 68708,
        "over4": 16469,
        "over8": 1952,
        "over12": 310
      },
      "NHS Greater Glasgow and Clyde": {
        "total": 312949,
        "within4": 252932,
        "over4": 60017,
        "over8": 8272,
        "over12": 1253
      },
      "NHS Highland": {
        "total": 58565,
        "within4": 50989,
        "over4": 7576,
        "over8": 939,
        "over12": 143
      },
      "NHS Lanarkshire": {
        "total": 196475,
        "within4": 145407,
        "over4": 51068,
        "over8": 9000,
        "over12": 1668
      },
      "NHS Lothian": {
        "total": 218339,
        "within4": 169406,
        "over4": 48933,
        "over8": 10754,
        "over12": 3930
      },
      "NHS Orkney": {
        "total": 6496,
        "within4": 6240,
        "over4": 256,
        "over8": 7,
        "over12": 2
      },
      "NHS Shetland": {
        "total": 6346,
        "within4": 6206,
        "over4": 140,
        "over8": 3,
        "over12": 0
      },
      "NHS Tayside": {
        "total": 73295,
        "within4": 68492,
        "over4": 4803,
        "over8": 148,
        "over12": 30
      },
      "NHS Western Isles": {
        "total": 5219,
        "within4": 5012,
        "over4": 207,
        "over8": 8,
        "over12": 2
      }
    },
    "2022": {
      "NHS Ayrshire and Arran": {
        "total": 94298,
        "within4": 64936,
        "over4": 29362,
        "over8": 14164,
        "over12": 8891
      },
      "NHS Borders": {
        "total": 31931,
        "within4": 21359,
        "over4": 10572,
        "over8": 4652,
        "over12": 3115
      },
      "NHS Dumfries and Galloway": {
        "total": 50279,
        "within4": 39915,
        "over4": 10364,
        "over8": 2275,
        "over12": 586
      },
      "NHS Fife": {
        "total": 69513,
        "within4": 46389,
        "over4": 23124,
        "over8": 5836,
        "over12": 1555
      },
      "NHS Forth Valley": {
        "total": 59091,
        "within4": 30275,
        "over4": 28816,
        "over8": 9803,
        "over12": 3649
      },
      "NHS Grampian": {
        "total": 98400,
        "within4": 64026,
        "over4": 34374,
        "over8": 8820,
        "over12": 2198
      },
      "NHS Greater Glasgow and Clyde": {
        "total": 333990,
        "within4": 221176,
        "over4": 112814,
        "over8": 30561,
        "over12": 8217
      },
      "NHS Highland": {
        "total": 66988,
        "within4": 53529,
        "over4": 13459,
        "over8": 2797,
        "over12": 757
      },
      "NHS Lanarkshire": {
        "total": 197485,
        "within4": 115059,
        "over4": 82426,
        "over8": 26732,
        "over12": 8813
      },
      "NHS Lothian": {
        "total": 234182,
        "within4": 150449,
        "over4": 83733,
        "over8": 30725,
        "over12": 15698
      },
      "NHS Orkney": {
        "total": 7599,
        "within4": 6928,
        "over4": 671,
        "over8": 57,
        "over12": 14
      },
      "NHS Shetland": {
        "total": 7754,
        "within4": 7284,
        "over4": 470,
        "over8": 10,
        "over12": 2
      },
      "NHS Tayside": {
        "total": 84606,
        "within4": 75757,
        "over4": 8849,
        "over8": 475,
        "over12": 58
      },
      "NHS Western Isles": {
        "total": 6387,
        "within4": 6208,
        "over4": 179,
        "over8": 3,
        "over12": 0
      }
    },
    "2023": {
      "NHS Ayrshire and Arran": {
        "total": 92684,
        "within4": 62838,
        "over4": 29846,
        "over8": 14000,
        "over12": 8918
      },
      "NHS Borders": {
        "total": 32870,
        "within4": 21892,
        "over4": 10978,
        "over8": 4101,
        "over12": 2538
      },
      "NHS Dumfries and Galloway": {
        "total": 51522,
        "within4": 40848,
        "over4": 10674,
        "over8": 2841,
        "over12": 861
      },
      "NHS Fife": {
        "total": 68188,
        "within4": 45423,
        "over4": 22765,
        "over8": 5501,
        "over12": 1218
      },
      "NHS Forth Valley": {
        "total": 59899,
        "within4": 29674,
        "over4": 30225,
        "over8": 12683,
        "over12": 5267
      },
      "NHS Grampian": {
        "total": 99968,
        "within4": 61291,
        "over4": 38677,
        "over8": 11344,
        "over12": 3029
      },
      "NHS Greater Glasgow and Clyde": {
        "total": 334132,
        "within4": 218862,
        "over4": 115270,
        "over8": 31603,
        "over12": 7689
      },
      "NHS Highland": {
        "total": 67969,
        "within4": 53538,
        "over4": 14431,
        "over8": 3651,
        "over12": 1442
      },
      "NHS Lanarkshire": {
        "total": 196697,
        "within4": 115126,
        "over4": 81571,
        "over8": 29136,
        "over12": 12599
      },
      "NHS Lothian": {
        "total": 227008,
        "within4": 143082,
        "over4": 83926,
        "over8": 27775,
        "over12": 13284
      },
      "NHS Orkney": {
        "total": 7723,
        "within4": 6856,
        "over4": 867,
        "over8": 72,
        "over12": 17
      },
      "NHS Shetland": {
        "total": 8506,
        "within4": 7350,
        "over4": 1156,
        "over8": 62,
        "over12": 5
      },
      "NHS Tayside": {
        "total": 82966,
        "within4": 75026,
        "over4": 7940,
        "over8": 228,
        "over12": 11
      },
      "NHS Western Isles": {
        "total": 6197,
        "within4": 6080,
        "over4": 117,
        "over8": 1,
        "over12": 1
      }
    },
    "2024": {
      "NHS Ayrshire and Arran": {
        "total": 95964,
        "within4": 62711,
        "over4": 33253,
        "over8": 15449,
        "over12": 10121
      },
      "NHS Borders": {
        "total": 34203,
        "within4": 21976,
        "over4": 12227,
        "over8": 4910,
        "over12": 3216
      },
      "NHS Dumfries and Galloway": {
        "total": 54012,
        "within4": 41187,
        "over4": 12825,
        "over8": 3664,
        "over12": 1357
      },
      "NHS Fife": {
        "total": 73037,
        "within4": 48199,
        "over4": 24838,
        "over8": 5857,
        "over12": 1295
      },
      "NHS Forth Valley": {
        "total": 62627,
        "within4": 29317,
        "over4": 33310,
        "over8": 15973,
        "over12": 7959
      },
      "NHS Grampian": {
        "total": 103022,
        "within4": 61518,
        "over4": 41504,
        "over8": 15857,
        "over12": 5292
      },
      "NHS Greater Glasgow and Clyde": {
        "total": 349449,
        "within4": 222835,
        "over4": 126614,
        "over8": 38365,
        "over12": 10604
      },
      "NHS Highland": {
        "total": 70421,
        "within4": 53714,
        "over4": 16707,
        "over8": 4604,
        "over12": 2034
      },
      "NHS Lanarkshire": {
        "total": 204801,
        "within4": 113432,
        "over4": 91369,
        "over8": 36494,
        "over12": 16810
      },
      "NHS Lothian": {
        "total": 245620,
        "within4": 155336,
        "over4": 90284,
        "over8": 34503,
        "over12": 19367
      },
      "NHS Orkney": {
        "total": 8293,
        "within4": 7588,
        "over4": 705,
        "over8": 32,
        "over12": 5
      },
      "NHS Shetland": {
        "total": 8411,
        "within4": 7433,
        "over4": 978,
        "over8": 51,
        "over12": 6
      },
      "NHS Tayside": {
        "total": 87366,
        "within4": 76719,
        "over4": 10647,
        "over8": 459,
        "over12": 48
      },
      "NHS Western Isles": {
        "total": 6150,
        "within4": 5748,
        "over4": 402,
        "over8": 6,
        "over12": 0
      }
    },
    "2025": {
      "NHS Ayrshire and Arran": {
        "total": 98502,
        "within4": 63637,
        "over4": 34865,
        "over8": 15553,
        "over12": 10008
      },
      "NHS Borders": {
        "total": 34954,
        "within4": 22047,
        "over4": 12907,
        "over8": 5341,
        "over12": 3607
      },
      "NHS Dumfries and Galloway": {
        "total": 54403,
        "within4": 41645,
        "over4": 12758,
        "over8": 3262,
        "over12": 1141
      },
      "NHS Fife": {
        "total": 71642,
        "within4": 45348,
        "over4": 26294,
        "over8": 6804,
        "over12": 1869
      },
      "NHS Forth Valley": {
        "total": 63431,
        "within4": 30577,
        "over4": 32854,
        "over8": 14830,
        "over12": 6378
      },
      "NHS Grampian": {
        "total": 103972,
        "within4": 57228,
        "over4": 46744,
        "over8": 20185,
        "over12": 7249
      },
      "NHS Greater Glasgow and Clyde": {
        "total": 348893,
        "within4": 223632,
        "over4": 125261,
        "over8": 37410,
        "over12": 11148
      },
      "NHS Highland": {
        "total": 71496,
        "within4": 52807,
        "over4": 18689,
        "over8": 5412,
        "over12": 2712
      },
      "NHS Lanarkshire": {
        "total": 198059,
        "within4": 106914,
        "over4": 91145,
        "over8": 40552,
        "over12": 19824
      },
      "NHS Lothian": {
        "total": 250524,
        "within4": 173032,
        "over4": 77492,
        "over8": 22771,
        "over12": 11077
      },
      "NHS Orkney": {
        "total": 8543,
        "within4": 7989,
        "over4": 554,
        "over8": 24,
        "over12": 4
      },
      "NHS Shetland": {
        "total": 8626,
        "within4": 7263,
        "over4": 1363,
        "over8": 119,
        "over12": 18
      },
      "NHS Tayside": {
        "total": 89521,
        "within4": 77431,
        "over4": 12090,
        "over8": 536,
        "over12": 42
      },
      "NHS Western Isles": {
        "total": 6416,
        "within4": 5986,
        "over4": 430,
        "over8": 12,
        "over12": 0
      }
    }
  },
  "baseline": 2019,
  "defaultYear": 2025,
  "cohort": "Type 1 emergency departments; All attendances",
  "unit": "attendances, including repeat visits",
  "period": "Complete calendar years",
  "clock": "Arrival to admission, transfer or discharge",
  "source": "b178335efbdb4ee444f5ca05204a5fe51149aee176910a693aa3c556ab0a4e91",
  "halfYear": {
    "2025": {
      "total": 693440,
      "over4": 236927,
      "over8": 81647,
      "over12": 35381
    },
    "2026": {
      "total": 721080,
      "over4": 265697,
      "over8": 99328,
      "over12": 45099
    }
  }
}