A Gynaecological exam during the days of Ramadan is not among things that nullify fasting. So women should not worry about their fasting and go ahead with their docotor’s appointment.

Sheikh Ahmad Kutty, a senior lecturer and Islamic scholar at the Islamic Institute of Toronto, Ontario, Canada, states the following: Undergoing
 gynaecological exam for medical reasons will not nullify your fast, for it does not fall in the category of things that invalidate the fast. Fasting is obviously nullified by deliberate consumption, intake, or ingestion of food, nutrients, or drinks; sexual intercourse; induction of emission of semen [or, in the case of women, sexual secretions] through masturbation or other activities; induction of vomiting; cupping; onset of menses or bleeding of childbirth; or deliberate intention to break the fast.
The exam you mentioned does not fall in any of the above categories. So, going ahead with the exam should not be a problem.