def oucru_gender_pregnant_correction(tidy, verbose=10):
    """Ensure that all pregnant patients have appropriate gender.

    Parameters
    ----------
    tidy: pd.DataFrame
        DataFrame with patients data
    verbose: int
        Verbosity level

    Returns
    -------
    pd.DataFrame
        The corrected DataFrame
    """
    if verbose > 5:
        print("Applying... gender_pregnant_correction.")

    if 'pregnant' in tidy:
        if not 'gender' in tidy:
            tidy['gender'] = None

        tidy.loc[tidy['pregnant'], 'gender'] = 'Female'

    return tidy