If the loan is not HMDA reportable, then yes it can be considered for community development credit. (ISBs have some special options to flag certain HMDA and small business loans as CD.)
If the bank is not an ISB and the loan is not HMDA reportable then yes, evaluate it for community development. Affordable housing (below market rents) counts as would a rehab if the bank can demonstrate some aspect of community development (affordable housing, revitalization, etc.)
Have your documentation proving the rent, the fair market rent for the area, etc. ;for revitalization, detailed descriptions of the work (photos are good!) are needed.