A doctor revealed that he always checks the Facebook accounts of his dead patients before breaking the news to their parents