NHS ministers have been warned they may be forced to withdraw some NHS services to prioritise other parts of the NHS for funding.