It is allowed, the prohibition of making a tent is not in this, since there is already an open area of the bed that is intended to be sat on before the bed is opened, and even if it was not open a little it would be allowed in this way, because the tent that the bed makes is not made for a tent and has no partitions, and the prohibition of a bed of joints has no reason here There is only a fold here and there is nothing here that is firmly stuck.
It is about the guest bed, but the hospital bed has a problem of using electricity.
Sources: Och Sos Shig and C. Stu, 3 regarding our beds that do not have a partition, and see there 5, and see there in the Maga on SG only in an important tent such as the one made for shade from their materials when there are no partitions to require a cloth spread in advance of the day.
מק"ט התשובה הוא: 2725 והקישור הישיר של התשובה הוא: shchiche.com/2725