The Prime Minster says she knows hospital problems are "disappointing" and "frustrating" for people.