Yesterday I had the same at a medical clinic, here in Japan.
Without a social security card and without a mask there is no medical consultation.
I didn't leave there until the doc checked me and they couldn't put the mask on me, but the trend is for it to be like that in all places.