This is so simple to understand. The AG in MA is anticipating being able to access medical records sometime in the future without going to too much trouble. She is trying to enlist doctors to influence people about gun ownership negatively and record the response, maybe in a simple way as having the doctor “check a box” in the record along with other demographic data such as date of birth. This fits nicely with the push for doctors to utilize a method of "electronic medical record keeping." I have mixed feelings about the questions about depression or being "blue".
Oh, and by the way, I liked the comment from Aguila about keeping guns in his house.