; and (ii) the order is necessary to prevent the injury described in clause (i). (4) Issuance Upon a showing of clear and convincing evidence under paragraph (3), the court shall issue a long-term order with respect to the respondent that shall be in effect for a period of not more than 180 days. (5) Denial If the court finds that there is not clear and convincing evidence to support the issuance of a long-term order, the court shall dissolve any ex parte order then in effect with respect to the respondent. (6) Renewal (A) Notice of scheduled expiration Thirty days before the date on which a long-term order is scheduled to expire, the court that issued the order shall— (i) notify the petitioner and the respondent that the order is scheduled to expire