> For example, even if there is a MRI machine, will there be surgeons?
100% yes, there will be surgeon(s). Likely cotasked with other roles (medical studies etc?) until the population would get significantly larger. Antarctic missions have performed surgery (and everyone gets their appendix removed before going on an overwinter).
People on the ISS have similar issues and it doesn't seem such a problem.
If the need arises, they can get back on earth in two days time or so. I also think/guess their major health risks are of the “you die immediately” kind, not of the “it helps a lot of you get to a hospital within x minutes” kind.
Workers will spend all 24 hours of every day in risky circumstances, and the quality of aid will be worse. For example, even if there is a MRI machine, will there be surgeons? A small population simply cannot support a wide range of medical specialists.