{
  "url": "https://openlegislation.uk/mental-health-act-1983/section-17C",
  "json_url": "https://openlegislation.uk/mental-health-act-1983/section-17C.json",
  "legislation": "ukpga/1983/20",
  "legislation_title": "Mental Health Act 1983",
  "legislation_url": "https://openlegislation.uk/mental-health-act-1983",
  "path": "section/17C",
  "kind": "section",
  "number": "17C",
  "heading": "Duration of community treatment order",
  "text": "A community treatment order shall remain in force until—\n(a) the period mentioned in section 20A(1) below (as extended under any provision of this Act) expires, but this is subject to sections 21 and 22 below;\n(b) the patient is discharged in pursuance of an order under section 23 below or a direction under section 72 below;\n(c) the application for admission for treatment in respect of the patient otherwise ceases to have effect; or\n(d) the order is revoked under section 17F below,\nwhichever occurs first.",
  "extent": "E+W",
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "F",
      "label": "F1",
      "text": "Ss. 17A-17G inserted (1.4.2008 s. 17F for certain purposes, otherwise 3.11.2008) by Mental Health Act 2007 (c. 12), ss. 32(2), 56 (with Sch. 10); S.I. 2008/745, art. 2(c)(i); S.I. 2008/1900, art. 2(i) (with art. 3, Sch. )"
    },
    {
      "type": "C",
      "label": "C1",
      "text": "S. 17C modified (3.11.2008) by The Mental Health Act 2007 (Commencement No. 6 and After-care under Supervision: Savings, Modifications and Transitional Provisions) Order 2008 (S.I. 2008/1210), art. 11(b)"
    }
  ],
  "outstanding_effects": [],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukpga/1983/20/section/17C",
    "retrieved_at": "2026-10-29T10:09:24.002453+00:00"
  },
  "licence": "Open Government Licence v3.0",
  "licence_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
  "attribution": "Contains public sector information licensed under the Open Government Licence v3.0. Source: legislation.gov.uk, The National Archives."
}