in the case of—
(A)#
outpatient physical therapy services, outpatient speech-language pathology services, and outpatient occupational therapy services furnished—
(i) by a rehabilitation agency, public health agency, clinic, comprehensive outpatient rehabilitation facility, or skilled nursing facility,
(ii) by a home health agency to an individual who is not homebound, or
(iii) by another entity under an arrangement with an entity described in clause (i) or (ii); and
(A)(i)#
by a rehabilitation agency, public health agency, clinic, comprehensive outpatient rehabilitation facility, or skilled nursing facility,
(A)(ii)#
by a home health agency to an individual who is not homebound, or
(A)(iii)#
by another entity under an arrangement with an entity described in clause (i) or (ii); and
(B)#
outpatient physical therapy services, outpatient speech-language pathology services, and outpatient occupational therapy services furnished—
(i) by a hospital to an outpatient or to a hospital inpatient who is entitled to benefits under part A but has exhausted benefits for inpatient hospital services during a spell of illness or is not so entitled to benefits under part A, or
(ii) by another entity under an arrangement with a hospital described in clause (i),
(B)(i)#
by a hospital to an outpatient or to a hospital inpatient who is entitled to benefits under part A but has exhausted benefits for inpatient hospital services during a spell of illness or is not so entitled to benefits under part A, or
(B)(ii)#
by another entity under an arrangement with a hospital described in clause (i),
the amounts described in section 1395m(k) of this title ;