Historic Hampshire farmhouse turned care home sold to local provider