Thank you. The definition of dwelling and multi-family dwelling is very clear to me.
I feel both memory care and assisted living both fall into the category of a dwelling. They both have sleeping, cooking and bathrooms.
I will make sure they are all AFCI protected.