(1) On the expiry of an assessment order, or at any time before that expiry if an approved medical practitioner or responsible medical officer applies, the court, after considering a report from the practitioner or officer specifying the results of the assessment, may (a) make an order under section 75 ; or(b) pass sentence on the person.(2) If the sentence referred to in subsection (1)(b) is a term of imprisonment, the court must deduct the period of time that the person was detained under the assessment order from that term.