Covid inquiry hears evidence on how the pandemic impacted the NHS