Where a child is provided with accommodation in England by any ..., Special Health Authority, ... National Health Service trust or NHS foundation trust or by a local authority in England in the exercise of education functions ("the accommodating authority")—
the accommodating authority shall notify the appropriate officer of the responsible authority.
Where subsection (1) applies with respect to a child, the accommodating authority shall also notify the appropriate officer of the responsible authority when they cease to accommodate the child.
Where a child is provided with accommodation—
subsections (1) and (2) apply in relation to the Secretary of State, NHS England or (as the case may be) the integrated care board as if it were the accommodating authority.
In a case where the child is provided with accommodation in England by a local authority in England in the exercise of education functions, subsections (1) and (2) apply only if the local authority providing the accommodation is different from the responsible authority.
In this section "the responsible authority" means—
In this section and sections 86 and 86A " the appropriate officer " means—
Where the appropriate officer of a local authority in England has been notified under this section, or under section 120 of the Social Services and Well-being (Wales) Act 2014 (assessment of children accommodated by health authorities and education authorities), the local authority shall—
For the purposes of subsection (4)(b), if the child is not in the area of the local authority, they must treat him as if he were in that area.