The provisions relating to the transport of detainees between a specially adapted unit and a prison or a place of consultation or hospitalisation outside the unit for somatic reasons are set out in articles R. 215-30, R. 215-31 and R. 215-32 of the Penitentiary Code.