An object of the present invention is to provide a medical device capable of suppressing a decrease in operability even when a foreign substance such as a liquid adheres. A medical device acquires position information based on a position on an operation reception unit of an operation reception unit and a detection target that comes into contact with or approaches the operation reception unit at an acquisition timing that occurs in a predetermined cycle. A control that determines an operation position on the operation reception unit of the detection target at the latest acquisition timing based on a possible position acquisition unit and position information acquired at an acquisition timing earlier than the latest acquisition timing. And a unit. [Selection diagram] FIG.【課題】液体等の異物が付着しても操作性の低下を抑制できる医療機器を提供する。【解決手段】医療機器は、操作受付部と、所定の周期で発生する取得タイミングにおいて、前記操作受付部に接触又は近接する検出対象の、前記操作受付部上での位置に基づく位置情報を取得可能な位置取得部と、最新の取得タイミングよりも前の取得タイミングにおいて取得された位置情報に基づいて、前記最新の取得タイミングにおける前記検出対象の前記操作受付部上での操作位置を決定する制御部と、を備える。【選択図】図4