I have attached some links here, and bolded relevant sections that show that what you have been advised is incorrect. As other health professionals have said, it is not the NHS's role to collect evidence for a criminal prosecution (and if we do so, it is likely to be inadmissible).
Police advice on drink spiking
"What should I do if I think my drink has been spiked?
Report it to door staff or bar staff.
Tell someone you trust, such as a friend.
If you are alone, ask the pub landlord or bar manager to call a trusted friend for you.
Your friend, or someone you trust, should take you to the nearest accident and emergency (A&E) department and tell the medical staff your drink may have been spiked.
Report it to the police as soon as you can. They may need to take blood and urine samples. Most drugs leave the body within 72 hours of being taken, but some can be gone in 12 hours so it's important to be tested as soon as possible."
Another police website about spiking
"What happens when I’m tested?
We’ll take a non-invasive urine sample. Some drugs leave the body in a very short time (within 12 hours), so it’s important to test as soon as possible. Other drugs remain in the body longer, so testing will be considered up to seven days after the incident.
The test we use is the most effective way of finding out whether you have been spiked. If you are tested in a hospital or by your GP, you will need to also have a police test, as this is what can be used as evidence to support charges or convictions.