A hospital bed combines a heavy steel frame with an electric lift mechanism, and often it is rented equipment your supplier can move for you. If you are doing it yourself, lowering it fully and locking the casters first makes everything after that safer.
Pro tip: Call the equipment supplier or rental company before moving day; many will disassemble, transport, and reassemble a rented hospital bed as part of the rental agreement.
Watch out: Never move a hospital bed with someone still in it, and always lock the casters before disconnecting any part, since an unlocked bed can roll while you are focused on hardware.