Text this: Social determinants of health extraction from clinical notes across institutions using large language models