If your loan is to a non-natural person, such as a corp., LLC or partnership, then you would not report ethnicity/race/sex.
However a loan to Dan Persfull d/b/a Persfull Consulting is made to Dan Persfull. The loan may be for a business purpose but as long as that purpose also meets the definitions of a home purchase, home improvement or refinancing it is HMDA reportable.
_________________________
The opinions expressed are mine and they are not to be taken as legal advice.