Massachusetts voters approved a ballot initiative Tuesday that legalizes marijuana for medical use for qualifying patients.