{
  "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003-code-of-practice-order-2005",
  "json_url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003-code-of-practice-order-2005.json",
  "id": "ssi/2005/417",
  "title": "The Mental Health (Care and Treatment) (Scotland) Act 2003 (Code of Practice) Order 2005",
  "short_title": "Mental Health (Care and Treatment) (Scotland) Act 2003 (Code of Practice) 2005",
  "long_title": "This Order brings into force on 5th October 2005 the code of practice issued under section 274 of the Mental Health (Care and Treatment) (Scotland) Act 2003 (asp 13) which gives guidance to persons discharging functions under that Act. Any person discharging functions under that Act shall have regard (so far as they are applicable to the discharge of those functions by that person) to the provisions of the code.",
  "citation": "S.S.I. 2005/417",
  "type": "ssi",
  "year": "2005",
  "number": "417",
  "version": "current",
  "date": "2005-08-18",
  "revised": false,
  "valid_from": null,
  "extent": null,
  "unapplied_effects": 0,
  "provisions": [
    {
      "path": "introduction",
      "kind": "introduction",
      "number": null,
      "heading": "Introductory text",
      "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003-code-of-practice-order-2005/introduction",
      "extent": null,
      "status": null,
      "parent": null
    },
    {
      "path": "article/1",
      "kind": "article",
      "number": "1",
      "heading": "Citation and commencement",
      "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003-code-of-practice-order-2005/article-1",
      "extent": null,
      "status": null,
      "parent": null
    },
    {
      "path": "article/2",
      "kind": "article",
      "number": "2",
      "heading": "Code of Practice",
      "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003-code-of-practice-order-2005/article-2",
      "extent": null,
      "status": null,
      "parent": null
    },
    {
      "path": "signature",
      "kind": "signature",
      "number": null,
      "heading": "Signature",
      "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003-code-of-practice-order-2005/signature",
      "extent": null,
      "status": null,
      "parent": null
    },
    {
      "path": "note",
      "kind": "note",
      "number": null,
      "heading": "Explanatory note",
      "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003-code-of-practice-order-2005/note",
      "extent": null,
      "status": null,
      "parent": null
    }
  ],
  "has_text": true,
  "pdfs": [
    {
      "title": "Printed copy",
      "main": true,
      "language": null,
      "date": "2008-12-08",
      "size": null,
      "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003-code-of-practice-order-2005/pdf/ssi_20050417_en.pdf",
      "source_url": "https://www.legislation.gov.uk/ssi/2005/417/pdfs/ssi_20050417_en.pdf"
    },
    {
      "title": "Executive Note",
      "main": false,
      "language": null,
      "date": "2008-12-08",
      "size": null,
      "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003-code-of-practice-order-2005/pdf/ssien_20050417_en.pdf",
      "source_url": "https://www.legislation.gov.uk/ssi/2005/417/pdfs/ssien_20050417_en.pdf"
    }
  ],
  "outstanding_effects": [],
  "made_under": [
    {
      "id": "asp/2003/13",
      "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
      "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003",
      "provisions": [
        "section/274"
      ]
    }
  ],
  "changes_made_to": 0,
  "changes_made_to_url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003-code-of-practice-order-2005/changes.json",
  "changes_made_by": 0,
  "changes_made_by_url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003-code-of-practice-order-2005/changes/by-it.json",
  "instruments_made_under": 0,
  "instruments_made_under_url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003-code-of-practice-order-2005/instruments.json",
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ssi/2005/417",
    "retrieved_at": "2026-10-28T22:24:38.315292+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."
}