Identifying social factors amongst older individuals in linked electronic health records: An assessment in a population based study