To prevent images that are not to be associated with each other from being associated with each other when an abnormal shadow candidate (604, 704) in a medical image imaged in one examination is associated with a medical image imaged in another examination, and to make it clear that there exists an abnormal shadow candidate (604, 704) or a medical image that is not associated when such candidate or image exists. A control unit (31) of a server device (3) outputs a warning when there exists an abnormal shadow candidate (604, 704) that is not associated with an ultrasonic image or an ultrasonic image that is not associated with any of the abnormal shadow candidate (604, 704), and stores in an image (DB351) the abnormal shadow candidate (604, 704), which is not associated with the ultrasonic image, in association with information indicating that there is no ultrasonic image to be associated as well as the ultrasonic image, with which none of the abnormal shadow candidate (604, 704) is associated, in association with information indicating that there is no abnormal shadow candidate (604, 704) to be associated.