A doctor treating the most severely injured child from the November 2023 stabbings at Parnell Square in Dublin has testified that the victim's heart was not beating and he initially believed she was dead.