Whether or not you sold the loan or who you sold it to has nothing to do with the loan type. For purposes of HMDA reporting, these are the Loan Type codes:
1 - Conventional loans (any loan other than FHA, VA, FSA, or RHS)
2 - FHA loans
3 - VA loans
4 - RSA/Rurual Housing Service loans
The Purchaser Type codes indicate the type of institution that your institution sold the subject loan to (if you sold it). This section has nothing to do with it being a FNMA, FHLMC, FHA, VA loan, or where it eventually ends up.
0 - Loan was not originated or was not sold in calendar year covered by register
1 - Loan sold to FNMA
2 - Loan sold to GNMA
3 - Loan sold to FHLMC
4 - Loan sold to Farmer Mac
5 - Loan sold to private securitization
6 - Loan sold to Commercial bank, savings bank or S&L
7 - Loan sold to life insurance company, credit union, mortgage bank, or finance company
8 - Loan sold to affiliate institution
9 - Loan sold to other type of purchaser
If HMDA is going to be one of your responsibilities, I would suggest that you print a copy of the "HMDA Getting it Right" manual and read it, study it, learn it. This manual will answer just about all of your questions regarding HMDA. Before you know it, you will be an expert on HMDA.
You can get a copy of this manual here:
http://www.ffiec.gov/hmda/default.htm