HSA amend and reimbursemen from 2 years ago (2017)

Greeting,

My tax preparer did not do my HSA in 2017 (even though I gave him all docs that he needs. I just found out when I prepare my 2018 tax). Now I need to amend my 2017 tax for HSA, but thing is little complicate. Below are the list of what i want to do:

    - I want to amend my HSA in 2017.

    - However, I also want to reimburse from 2017 HSA (I use other credit card to pay for my medical expenses).

my question is: Can I still amend my 2017 tax (before get audited), and asking to reimburse? Or I have to do my reimbursement for 2019 tax (next year)? if so, is it ok for 2017 reciepts?


Thanks