The ONS gives figures weekly based on all deaths registered involving Covid-19, according to what a doctor puts on the death certificate, whether in or out of hospital
The virus may not be the main cause of death, just a factor. There does not need to have been a positive test - it could be it was just suspected by the doctor

https://www.bbc.co.uk/news/uk-wales-52380643