A hospital or physician, and employees of such hospital or physician, may conduct an acquired immune deficiency syndrome (AIDS)/human immunodeficiency virus (HIV) antibody test or appropriate tests for any other infectious diseases without specific consent for such tests if the hospital or physician determines that the test is necessary for diagnostic purposes to provide appropriate care or treatment to the person to be tested, or in order to protect the health and safety of other patients or persons providing care and treatment to the person to be tested. The person who is to be tested shall be informed of the nature of the test which is to be conducted.