including quality of care assurance standards, as the Secretary may specify for purposes of this section. (e) Termination of agreements (1) An eligible provider may terminate an agreement with the Secretary under this section at such time and upon such notice to the Secretary as the Secretary may specify for purposes of this section. (2) The Secretary may terminate an agreement with an eligible provider under this section at such time and upon such notice to the eligible provider as the Secretary may specify for purposes of this section, if the Secretary— (A) determines that the eligible provider failed to comply substantially with the provisions of the agreement or with the provisions of this section and the regulations prescribed thereunder