The decline is likely mainly a result of clinicians having become more precise in their clinical coding. Information of people aged under 18 year with a diagnosis of depression who have been admitted to psychiatric inpatient facilities in Scotland is shown in table 2.