This excellent short leaflet explains very simply all about the hospital discharge process.

https://www.ageuk.org.uk/globalassets/age-uk/documents/factsheets/fs37_hospital_discharge_fcs.pdf