This goes largely back to the issue of location.  IDPs are often in inaccessible areas where governments don't have health programs and don't have the funds to initiate them.  In addition, countries have a basic responsibility to care for refugees, based on the 1951 refugee convention but no such mandate exists for IDPs. 