There is some mathematics directly involved in medicine, such as calculating doses based on patient weight.
But it's mostly indirect. Medicine is based on biology. Biology is based on organic chemistry. Chemistry is the study of the effects of physics on atoms. And physics is maths using energy and matter instead of numbers.