from .rule_template import RuleTemplate


class RuleDDF00098(RuleTemplate):
    """
    DDF00098: Within a study design, the planned sex must be specified either in the study population or in all cohorts.

    Applies to: StudyDesignPopulation, StudyCohort
    Attributes: plannedSex
    """

    def __init__(self):
        super().__init__(
            "DDF00098",
            RuleTemplate.ERROR,
            "Within a study design, the planned sex must be specified either in the study population or in all cohorts.",
        )
