Information on ill health retirement for members of the 1995 and 2008 sections of the previous NHSScotland Pension Scheme can be found here.
Ill health retirement arrangements for members of the 2015 NHSScotland Scheme are slightly different and are covered on page 12 of the Scheme Guide, available here.