You’ll probably get different opinions from everyone you ask about this. There isn’t clear guidance on this kind of situation. If it’s still a dwelling – in my opinion that would be a home that is still standing and can be repaired – then I would consider it a purchase, because even though the applicant may have planned to demolish it, it would meet the definition of home purchase. If the dwelling is beyond repair, at that point I would not consider it a dwelling. Either way, your conclusion about the structure needs to be well documented.