On any given day in Scotland, nearly 2000 people find themselves stuck in hospital, well enough to be discharged, but too frail to do so without a care package to help them when they get home.