The proportion of care home residents given antidepressants or anti-psychotic drugs without a matching diagnosis increased during the pandemic.