Certain medications used in gynecology, such as oral contraceptives and hormone replacement therapies, can have an impact on liver function. For instance, high-dose oral contraceptives have been associated with liver enzyme elevation and, in rare cases, liver tumors. However, the risk is significantly lower with low-dose oral contraceptives.