Medical necessity:

described to be that which is reasonable and necessary for the diagnosis or treatment of illness to improve the functioning that is impacted by the illness.