97 Appropriate instances are to be defined by the rubrics in which a liturgical service may be substituted for the divine office. In particular cases, and for a just reason, ordinaries can dispense their subjects wholly or in part from the obligation of reciting the divine office, or may commute the obligation.
Source: Sacrosanctum Concilium (Vatican.va)