I have an allergy, can I still undergo the HBsAg test?

Patient: Hi. I’m still under the treatment stage of my allergic reaction due to hair dyes. Can I still undergo the HBsAg test on monday or postpone it because my allergy can affect the result?

Doctor: