Miscarriage and hcg

I have a question. I recently went through a miscarriage. Unfortunately my body was not passing it on its own so I had to have a procedure done to remove the retained tissue. My question is how long does hcg last in the system after this procedure is done? I’ve read 1-2 weeks or sometimes longer but can’t seem to find a definitive answer