conviction shall be canceled upon expiration of limitation periods for enforcement of a sentence. 3. If a person is paroled, the cancellation period shall be calculated from the date of discharge (from serving any primary or additional sentence) on parole. 4. If any unserved portion of a sentence is commuted, the cancellation period shall be calculated from the date of completion of the commuted sentence (primary or additional). 5. If a person who completed his/her sentence, commits another offense before the expiration of the period for cancellation of conviction, this period shall be suspended and recalculated. In any such cases, the cancellation periods shall be calculated separately for each criminal offense, after the actual completion of the sentence (primary and additional) imposed for the last committed offense. Article 91. Revocation of conviction 1. If a person, who completed his/her sentence of restraint of liberty or imprisonment, displays good conduct and diligent work as a proof of his/her rehabilitation, a court may revoke his/her conviction before the expiration of periods described in Article 89 of this Code. 2. Conviction may only be revoked after the expiration of at least one-half of the cancellation period provided for by Article 89 of this Code. 3. The procedures related to revocation of conviction shall be established in the Criminal Procedure Code of Ukraine. Chapter XIV. COMPULSORY MEDICAL MEASURES AND COMPULSORY TREATMENT Article 92. Definition and purpose of compulsory medical measures Compulsory medical measures shall mean an outpatient psychiatric assistance, placement of a person, who committed a socially dangerous act that involves elements of any act described in the Special Part of the Code, in a special treatment institution for the purpose of his/her compulsory treatment, and also prevention of this person from committing any socially dangerous acts. Article 93. Persons subjected to compulsory medical measures Compulsory medical measures may be applied by a court to persons who: (1) committed any socially dangerous acts in condition of insanity; (2) committed a criminal offense in condition of partial insanity (3) committed a criminal offense crime but developed insanity before a sentence was pronounced or while serving a sentence. Article 94. Types of compulsory medical measures 1. A court may impose the following compulsory medical measures depending on the seriousness of a mental condition, the gravity of an act committed, and the degree to which the offender is dangerous to himself or others:

Select target paragraph3