Don't ask PC tech again for repairs. As a "smart error" is usually refers to h/w fault with the HD, he should have offered that as real source of problem not some virus. Provided you have any warranty, use it to replace the HD under its service plan. Otherwise, it looks like you need to replace the HD. Of course, you can test the HD provided if you know who made it and thus get the diags from that maker's support website. Those diags will test the HD and provide the means to be assured the HD is bad and take required action. While I'm not sure what HD you have installed, if this is a SSD type, then requires yet again a replacement. However that shouldn't necessary offer a smart error, that refers to std. older type HDs.
Reloading the OS, exactly error# is displayed? If it offers to reformat the HD, did you accept that step, etc., or allow the full format rather than a quick format? Also, did you follow any of the HP help guides for re-installing the OS? Newer PCs maybe more prone to glitches if steps aren't followed. Otherwise, the above advise is probable action to take.
Is this your PC?:
http://www8.hp.com/ca/en/home.html <<<<<---FAQ for such
Follow the support FAQ or guides to get through this. Also, HP has its own forum, query there. There is a more direct HP forum here on CNET, post there also. The CNET HP monitor may provide a direct helpful link.
Parting advise, the HD can be removed and tested elsewhere. I use ext. USB case -OR- adapter to test drives on bench PC. This way, I note what is the cause and/or if accessible.