Any licensed physician, upon consultation by any minor as a patient, may, with the consent of such person who is hereby granted the right of giving such consent, make a diagnostic examination for venereal disease and prescribe for and treat such person for venereal disease including prophylactic treatment for exposure to venereal disease whenever such person is suspected of having a venereal disease or contact with anyone having a venereal disease. Any such consent shall not be subject to later disaffirmance by reason of minority.
SDCL 34-23-16