HBsAg is a protein on the surface of the hepatitis B virus. Detecting HBsAg in a person's blood is a key step in diagnosing hepatitis B infection. Rapid diagnostic tests, often referred to as rapid tests or point-of-care tests, are designed to provide quick results, usually within minutes, making them useful in healthcare settings where immediate diagnosis is needed.