It's good that you have a doctor's appointment. There's no law saying that if you catch something on the flight over that you can't catch something else while there too. The CDC has current info for clinicians on what travel related illnesses to look for.
https://wwwnc.cdc.gov/travel/destina...nican-republic