<?xml version='1.0' encoding='utf-8'?>
<section article="gcj" article_name="Courts and Judicial Proceedings" number="3-8A-17.2" title_number="3" title_name="Courts of General Jurisdiction -- Jurisdiction/special Causes of Action" subtitle_number="8A" subtitle_name="Juvenile Causes -- Children Other Than Cinas and Adults">
  <level label="a">
    <text>The court shall set and may change the conditions under which the examination is to be conducted.</text>
  </level>
  <level label="b">
    <text>On consideration of the nature of the petition, the court may require the examination to be conducted on an outpatient basis if the child was previously detained under § 3–8A–15 of this subtitle and shall require the examination to be conducted on an outpatient basis if the child was not previously detained under § 3–8A–15 of this subtitle.</text>
  </level>
  <level label="c">
    <level label="1">
      <text>If a child was previously detained under § 3–8A–15 of this subtitle, the court may order the child to continue to be detained beyond any period specified in § 3–8A–15 of this subtitle until the examination is completed.</text>
    </level>
    <level label="2">
      <text>If the court finds it appropriate for the health or safety of the child, or for the safety of others, the court may order confinement of the juvenile, pending the examination, in a medical facility that the Maryland Department of Health designates as appropriate.</text>
    </level>
  </level>
</section>
