If it has been connected with Shanghai medical insurance, hospitalization expenses can be directly reimbursed after discharge.
If there is no internet connection, you must go back to the local medical insurance management department for reimbursement.
Further reading: How to buy insurance, which is good, and teach you how to avoid these "pits" of insurance.