; and (ii) were reasonable and necessary under section 1862(a)(1)(A) of such Act ( 42 U.S.C. 1395y(a)(1)(A) ); and (B) were timely filed consistent with section 1814(a)(1) of such Act ( 42 U.S.C. 1395f(a)(1) ) or sections 1835(a)(1) and 1842(b)(3) of such Act ( 42 U.S.C. 1395n(a)(1) , 1395u(b)(3)); and (2) either— (A) was timely filed consistent with section 1869 of such Act ( 42 U.S.C. 1395ff ) and is pending; or (B) for which the applicable time frame to file an appeal has not expired. (d) Conforming amendment Section 1869 of the Social Security Act ( 42 U.S.C. 1395ff ) is amended by adding at the end the following new subsection: (j) Application with respect to certain home health claims For the application of the provisions of this section with respect to certain claims for home health services that were furnished on or after January 1, 2011, and before January 1, 2015, see section 3 of the Home Health Documentation and Program Improvement Act of 2017 . .