View the open data files for this publication.
The data files for this publication are available in csv format on the Scottish Health and Social Care Open Data Portal. Note that the files on the open data platform do not contain labels such as health board names, although lookups are available to match labels to codes.
Alternatively, to download CSV files containing labels please visit the Table tab in the Data Explorer or the links below. The files below can be used in conjunction with the Data Explorer code (see Create the charts yourself) to recreate the charts used in this publication.
- Mental Health inpatient admissions, discharges, stays, patients and residents by (Scotland, NHS Board and Hospital)
- Length of stay by NHS board
- Discharges by diagnosis grouping and NHS board
- Rates of patients and discharges by council area
- Discharges by age-sex and NHS board
- Deprivation by NHS board
- Relative Index of Inequality for Scotland
- Cross boundary flow by counts of patients and discharges
- Percentage of readmissions within 28 and 133 days by NHS board