If a relative who has been a hospital in-patient dies, the doctors who have been treating the deceased will usually be able to issue the Medical Certificate of Cause of Death.
Ask the ward staff or doctor what you need to do to collect this certificate, or ring your local funeral firm for advice and contact numbers. Most hospitals will give family members the opportunity to sit with the deceased before transfer from the ward or private room. There may even be a chapel of rest at the hospital specifically for this purpose. The deceased will then be taken to the mortuary from where they will be collected by your chosen funeral firm.