In a medical system including a medical imaging device and a robotic bed, the table may be movable between a first position where a maximum dimension of the robot arm not hidden under the table is less than one fourth of a longitudinal dimension of the table when the table is viewed from vertically above, and a second position where a maximum dimension of the robot arm not hidden under the table is one fourth of a longitudinal dimension of the table or more when the table is viewed from vertically above. The second position may be an imaging position or an imaging preparation position where an image is taken by the medical imaging device. The first position may be surgery position where a shortest distance between the robotic bed and a location of the medical imaging device is at least a predetermined distance.