Medical assistance may have saved three-year-old Mikaeel Kular's life if it had been called for, a court heard.
The youngster had more than 40 separate injuries to his body, including bruises to his back, chin and cheek, trauma to the brain, haemorrhage in the spinal cord and injuries to his arms.
The final cause of death was found to be "blunt force abdominal trauma." His mother Rosdeep Adekoya, 34, has pleaded guilty to culpable homicide.
Advocate depute Alex Prentice told the High Court in Edinburgh: "If medical assistance had been called for, death might not have resulted."
More top news
Where were the Kids Company trustees when it was said that the dream had become a nightmare?
The Tunisian beach massacre is being linked to an earlier terror attack in the country which left 22 people dead, Scotland Yard has said.
A man who ran a Facebook page naming paedophiles has avoided a conviction for harassing one child abuser by accepting a restraining order.