Any time the court is required to consider the best interests of the child, the court would be required to consider all the circumstances in the child's life and the parent's life that have an impact on the child. To the extent that a parent's terminal illness has an impact on the child, the court would be required to consider that factor in an analysis under section 16.