The relationship between motor and mental status and functional recovery status in patients with stroke