For more information about Covid-19 processing of personal and sensitive personal data in the NCDS, and the role of NES, please see this NHS Scotland webpage:
Use of your immunisation data | Information Governance (scot.nhs.uk)
There is also information about NHS shielding and how personal data is used across NHS Scotland during the Covid-19 response at the following webpages:
Information for the public on COVID-19 can be found on NHS Inform