Hospitalist IM vs FM

Hi, can a family medicine doctor apply for hospitalist position? If can, how difficult it is compared to IM doctor to get the position? Thank you.

There is a well-established FM program I interviewed at that has area of concentration for hospital medicine. But, post training goal is to do hospitalist. That is why I wonder if I match there, would I still be able to apply and be a hospitalist? Thank you.