State Supreme Court may give gays a medical victory