Patient stuck in hospital for more than seven years