My family doctor told me to do an ultrasound and I have to drink 2L of water beforehand and my appointment falls during the month of Ramadan. My results are supposed to go to a specialist doctor. Am I exempt from fasting and will have to make it up later? What should I do?

if not having the ultrasound will cause harm then yes you can break the fast that day and do qadha later on