The present invention provides an intraoral imaging apparatus, a medical apparatus, and a program capable of providing auxiliary data for determination regarding the diseases having differences in intraoral findings. The present invention relates to an intraoral imaging apparatus including: an imaging device that acquires an intraoral image; a light source that emits light to a subject of the imaging device; a storage apparatus that stores an algorithm for performing determination of a specific disease; and an arithmetic apparatus, in which the arithmetic apparatus executes: a determination process of determining a possibility of the predetermined disease based on the image and the algorithm; and an output process of outputting a result of the determination process.