She died 3 months after having surgery. She survived the bike crash which led to the surgery. Surely she hasn't survived the surgery if we are nit picking here

It's the hospital they should think about suing if anybody

(The rolleyes are not for you Fox, just at the stupidity of it all

)
Risks for basically any operation are HUGE when you get to that age, not moving for an old person can be dangerous frankly, recovering is exponentially harder. Though I don't know what she had done, I was just thinking some of that isn't true if it was a finger being reattached or something, but things like general anesthetics, being on a ventilator all have risks attached, not to mention the risk of infection which older frailer people are far less capable of fighting off.
You'd need to know more, if she died of post operative infection she might have been in agony and hanging on for 3 months then died, or she might have been in a coma and finally died 3 months later, its not at all clear.
As has been stated, its a suit in general agains the family, the court to me seems to want to decide if the kid is held accountable or JUST the parents who were ALSO NAMED.
The parents lawyers managed to not bring any evidence or even try to prove the kid does/doesn't know right from wrong, they brought a birth cirtificate proving she was over 4, when the legal mandate is that only those under 4 are excluded in case of negligence.
I would say the lawyer is the one to be talked about here, incapable of doing his job, didn't know what the law was and made no attempt to prove she didn't know racing her bike was wrong.
Its VERY likely a kid around that age knows the basics of right or wrong, don't steal, don't poop in the middle of the kitchen, etc, etc, but translating what she's been told to ALL situations means she might well not know racing her bike is wrong.
At that age we start to learn right from wrong, but usually its trial and error not critical thinking of whats potentially dangerous, its probably very easy to prove that, ergo, lawyer will next get sued by the parents.