Patent ID: 8725525

Claim:
An endoscope system comprising: a plurality of peripheral devices each of which comprises a real time clock and outputs medical information with clock information of the real time clock added; a system controller that comprises a reference real time clock and performs communication with the plurality of peripheral devices via a communication interface; a storage unit that is provided in the system controller and stores, in at least an initialization, a first time lag as a time lag between the reference clock information of the reference real time clock and the clock information of the real time clock in each of the plurality of peripheral devices; a medical information obtaining unit that is provided in the system controller and obtains the medical information outputted from each of the plurality of peripheral devices through the communication interface after the initialization; a time lag detecting unit that is provided in the system controller and sequentially detects whether or not a second time lag as a time lag between the clock information added to the medical information obtained by the medical information obtaining unit via the communication interface and the reference clock information of the reference real time clock when the medical information obtaining unit obtains the medical information exceeds the first time lag by a threshold value or more; and a control unit that is provided in the system controller and, when the second time lag detected by the time lag detecting unit does not exceed the first time lag by the threshold value or more, adjusts the clock information added to the medical information obtained by the medical information obtaining unit by the clock information of the reference real time clock to be shifted by the first time lag and adjusts obtaining time when the medical information obtaining unit has obtained the medical information to have the time information by the reference clock information which is unified by the reference real time clock, and when the second time lag detected by the time lag detecting unit exceeds the first lag time by the threshold value or more, adjusts the clock information added to the medical information obtained by the medical information obtaining unit by the clock information of the reference real time clock to be shifted by the second time lag and adjusts obtaining time when the medical information obtaining unit has obtained the medical information to have the time information by the reference clock information which is unified by the reference real time clock.