(b) Every youth committed under this article shall, following the dispositional proceeding, be transferred to the place or places designated by the Commissioner of Corrections for complete physical, educational, and psychological examinations, including all appropriate tests, to be completed as soon as possible, the completion of the physical examinations to be within 20 days. The youth shall be housed in a manner so as to prevent the spread of infectious disease. Following disposition and prior to transfer to the custody of the Commissioner of Corrections, each youth shall be allowed to visit with his or her relatives, without being committed to jail for a period of not less than one hour. The cost of the examinations in this subsection shall be borne by the committing county. The youth shall be provided all treatment and rehabilitation indicated by the examinations. In lieu of the physical examinations and tests provided for in this subsection, the court may, in the absence of objection, have the county health officer or other local health care facility perform physical and mental examinations and tests, so long as the examinations and tests are performed prior to the dispositional proceeding. Except as otherwise provided by law, a child shall not be committed to a jail following a dispositional proceeding solely to await a physical, educational, or mental examination or the results of the exam.