The term "restricted patient" is defined in s79 as those subject to:
Please see the pages mentioned for further details, primarily the restriction order page.