The driver is believed to have been suffering a medical emergency at the time of the crash in Somerville, said police.