You have the right to tell NHS staff if you do not want your personal health information to be shared in a particular way or with specific people. This right is an important legal and ethical duty for the NHS but it is not an absolute right.
In some circumstances, NHS Scotland can use your information without your permission if:
it has to by law in response to a court order or when it is justified in the wider public interest (for example, to prevent the outbreak of a disease or crime)
you lack the capacity to (are unable to) give your permission
getting your permission would put you or others at risk of serious harm
Decisions about whether it is appropriate for any of your confidential information to be shared are considered thoroughly by the NHS and may include specialist or legal advice. By law, this kind of decision must be recorded.