(b) If a medical examiner receives notice from a procurement organization that an anatomical gift was or might have been made with respect to a decedent whose body is in the custody of the medical examiner, the medical examiner shall endeavor to conduct a post-mortem examination in a manner and within a period compatible with its preservation for the purposes of the gift, unless the medical examiner denies recovery in accordance with section twenty-two of this article.
(c) While the decedent's body is in the custody of a medical examiner, a part may not be removed for transplantation, therapy, research or education or the body delivered for research and education unless the part or the body is the subject of an anatomical gift. This subsection does not preclude a medical examiner from performing a medicolegal investigation upon the decedent's body or parts while in his or her custody.