If in the case of a person serving a sentence of imprisonment the Secretary of State is satisfied, by reports from at least two registered medical practitioners—
the Secretary of State may, if he is of the opinion having regard to the public interest and all the circumstances that it is expedient so to do, by warrant direct that that person be removed to and detained in such hospital. . . as may be specified in the direction; and a direction under this section shall be known as "a transfer direction".
A transfer direction shall cease to have effect at the expiration of the period of 14 days beginning with the date on which it is given unless within that period the person with respect to whom it was given has been received into the hospital specified in the direction.
A transfer direction with respect to any person shall have the same effect as a hospital order made in his case.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
References in this Part of this Act to a person serving a sentence of imprisonment include references—
In subsection (5)(a) "service disciplinary proceedings" means proceedings in respect of a service offence within the meaning of the Armed Forces Act 2006.