If the RMO is satisfied that the patient no longer meets the detention criteria listed in section 49(1) of the 2003 Act or that the continued detention of the patient in hospital is no longer necessary, then the RMO must revoke the STDC. Right of Appeal Mental health legislation in Scotland is based on rights and principles and provides for rigorous safeguards in respect of individuals’ human rights where compulsory treatment is necessary.