Health officials have welcomed a boost to capital funding to help repair hospitals.