In any case in which a child is alleged to come within the provisions of Section 300 on the basis that he or she is in need of medical care, the court, in making that finding, shall give consideration to any treatment being provided to the child by spiritual means through prayer alone in accordance with the tenets and practices of a recognized church or religious denomination by an accredited practitioner thereof.
Ca. Welf. and Inst. Code § 300.5