If a judicial official conducting an initial appearance finds by clear and convincing evidence that a person arrested for violation of an order limiting freedom of movement or access issued pursuant to G.S. 130A-475 or G.S. 130A-145 poses a threat to the health and safety of others, the judicial official shall deny pretrial release and shall order the person to be confined in an area or facility designated by the judicial official. Such pretrial confinement shall terminate when a judicial official determines that the confined person does not pose a threat to the health and safety of others. These determinations shall be made only after the State Health Director or local health director has made recommendations to the court.
N.C. Gen. Stat. § 15A-534.5