I actually read up on the local legalese around this (for Switzerland), and it turns out that doctors can refuse to share information with the patient if they consider it unhelpful/dangerous to do so, but have to share it with other medical staff should they request it.
Especially in the context of psychotherapy or when using placebos, this makes a lot of sense.