Section 27. A child, parent, guardian or person appearing in behalf of such child, or the department, may appeal from the adjudication of the court and from any order of commitment made as a result of the adjudication under the provisions of section twenty-six to the appeals court. The trial justice entering the adjudication or order of commitment shall, prior to said adjudication, or within ten days thereafter, file detailed findings of fact and conclusions of law. Pending the appeal, the child may be committed to the custody of the department or placed in the care of some suitable person or licensed children's foster care agency. The district court or juvenile court where the order of adjudication was entered shall retain jurisdiction to and may enter any order for the needs of the child. The court shall notify the child, parent, guardian or person appearing in behalf of such child of the right of appeal at the time of adjudication and also at the time of commitment.
The claim of appeal under this section shall be filed in the office of the clerk of the said division of the district court department or the division of the juvenile court department within 30 days of the entry of the adjudication or order of commitment by the court. The completion of said appeal shall be governed by the Massachusetts rules of appellate procedure.