Before dying declaration, the role of a doctor is:
Dying declaration : written or oral statement of a person, who is dying as a result of some unlawful act, relating to the material facts of the cause of death or the circumstances surrounding it. The law does not provide who can record a dying declaration, nor is there any prescribed form, format or procedure for the same. The doctor should ceify that the person is conscious and his mental faculties are normal, i.e. he is in compos mentis.
To assess compos mentis
To record statement even in presence of magistrate
Cross examines the person
Put person under oath before declaration
Indian Legal system, Legal sections & Cou procedures