1. A device which has a processor for implementing units and extracts an abnormal event from medical information comprising: an abnormality score calculating unit implemented by the processor which calculates an abnormality score which is information indicating abnormality of medical data, based on specificity of the medical data; an abnormality score vector generating unit implemented by the processor which creates at least one or more abnormality score vectors of which the calculated abnormality scores are each component; and a side effect detecting unit, implemented by the processor which decides a likelihood of a side effect indicated by the abnormality score vector, based on a predetermined rule, and detects an abnormality score vector the likelihood of which satisfies a condition set in advance as information indicating the side effect, and identifies medical data corresponding to the abnormality scores from the detected abnormality score vector, wherein side effect information indicating whether or not a side effect occurs is set to part or all of the medical information, wherein the abnormality score vector generating unit sets a label indicating whether or not a side effect occurs to the abnormality score vector which is created based on the medical information where the side effect information is set, and wherein the side effect detecting unit learns a classification model for deciding whether or not a side effect occurs using the labeled abnormality score vector.