Japan National Tourism Organization has launched a website with which you can search medical agencies that are able to assist international tourists.
320 institutions are currently listed and more to be added. You can find the best one depending on your location, symptom, language, etc.
The website also tells you how to use medical institutions in Japan.
Be prepared just in case of an emergency.