from .rule_template import RuleTemplate


class RuleDDF00072(RuleTemplate):
    """
    DDF00072: A study cell must only reference an epoch that is defined within the same study design as the study cell.

    Applies to: StudyCell
    Attributes: epoch
    """

    def __init__(self):
        super().__init__(
            "DDF00072",
            RuleTemplate.ERROR,
            "A study cell must only reference an epoch that is defined within the same study design as the study cell.",
        )
