The present disclosure provides a medical device, including: a tubular main body; a plurality of operating lines; an operating part main body provided on the base end portion of the tubular main body; a bending operating part which is configured to bend a distal portion of the tubular main body; a path defining part which is configured to define a path of the operating line in the bending operating part; and a deviation preventive member which is configured to prevent the operating line from deviating from a path defined by the path defining part; wherein the operating line becomes in a relaxed state when the bending operating part is in a fixation position, while the operating line becomes in a strained state when the bending operating part is in an operation position.一種醫療設備,具備:管狀本體;複數之操作線;操作部本體,設置於管狀本體之基端部;彎折操作部,使管狀本體之遠端部彎折;以及路徑設定部,對彎折操作部內之操作線的路徑進行設定。當彎折操作部處於固定位置時,操作線形成鬆弛狀態,當彎折操作部處於操作位置時,操作線形成緊繃狀態。另外,該醫療設備更具備防止操作線從由路徑設定部所設定之路徑脫離的防脫離構件。