Information about poor prognosis is rarely communicated from hospitals despite this being vital information for GPs, a study has found.