{
  "legislation": {
    "id": "asp/2015/9",
    "title": "Mental Health (Scotland) Act 2015",
    "short_title": "Mental Health (Scotland) Act 2015",
    "citation": "2015 asp 9",
    "type": "asp",
    "date": "2015-08-04",
    "revised": true,
    "unapplied_effects": 0,
    "url": "https://openlegislation.uk/mental-health-scotland-act-2015",
    "json_url": "https://openlegislation.uk/mental-health-scotland-act-2015.json"
  },
  "direction": "made_by",
  "with": "asp/2003/13",
  "count": 166,
  "effects": [
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 271A and cross-heading",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(5)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 268(10)(e)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(2)(e)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "word repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 269(1)(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(3)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "word substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 326(4)(c)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(7)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 270",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 15(5)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 268(5)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(2)(c)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "words renumbered as s. 273(1)",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 273(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 18(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "substituted for s. 272(1)(a)-(d)",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 272(1)(a)(c)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 15(8)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 268(11)-(14)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(2)(f)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 268(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 268(7A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 14(3)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 269(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "word repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 268(6)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(2)(d)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 264(7A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 14(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "word repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 268(10)(f)-(l)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(2)(e)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 266",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 15(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 273",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(6)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "word repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 268(10)(a)-(d)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(2)(e)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 271(2)(a)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(4)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "substituted for s. 272(2)(a)-(d)",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 272(2)(a)(c)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 15(8)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 267 title",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 15(4)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 267(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 15(3)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 273(2)(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 18(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "word repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 268(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 271(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 15(6)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 267(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 15(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 271 title",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 15(7)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 269(6)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(3)(c)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "word repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 271(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 16(4)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 271(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 15(6)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2015-11-16"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 310(3A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 33(4)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "words renumbered as s. 290(1)(c)(i)",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 290(1)(c)(i)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 32(3)(a)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "words renumbered as s. 309A(1)(a)",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 309A(1)(a)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 32(4)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "words renumbered as s. 309(1)(a)",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 309(1)(a)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 33(3)(a)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 309(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 33(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "word substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 250(6)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 23(2)(c)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 290(2)(f)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 32(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "words renumbered as s. 289(1)(b)(i)",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 289(1)(b)(i)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 32(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 303(3)(a)(iii)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 33(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 309(2ZA)-(2ZC)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 33(3)(c)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 289(1)(b)(ii)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 32(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 291A and cross-heading",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 29(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 309(1)(b)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 33(3)(a)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 309A(1)(b)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 32(4)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 250(2A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 23(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 290(1)(c)(ii)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 32(3)(a)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 250(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 23(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 329(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 22(4)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 127(2A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 10(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "word repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 245(3)(a)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 30(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 127(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 213(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 21(4)(b)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 329(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 53(5)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "Sch. 2 para. 13A",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 21(5)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 19(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 36(2)(d)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 40(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 4(4)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 47(5)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 29(3)(c)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 1(6)(d)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 53(4)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 189(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 21(3)(b)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 224(4)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 10(4)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 257(3A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 24(4)(c)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 257(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 24(4)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 224(4A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 10(4)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 259A",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 27(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 189(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 21(3)(b)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 43 cross-heading",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 7(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 255(3)-(5)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 24(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 38(4)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 4(3)(c)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 44(12)(13)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 11(3)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 128(2A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 10(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 44(2)(ca)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 5(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 221(3A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 124(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 3(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 19",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 36(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 299(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 20(2)(a)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 38(4)(ca)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 4(3)(c)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 295A",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 19",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 124A",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 13(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 218A",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 48(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 251",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 22(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 127(3A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(2)(c)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 136(3)(aa)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 34(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 44(8)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 29(3)(b)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 36(2)(da)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 4(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 56 title",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 8(3)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 299(2)(b) and word",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 20(2)(a)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 257A and cross-heading",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 25(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 24(1A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 31(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 257(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 24(4)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 127(4)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(2)(d)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 221(4A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(3)(d)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 221(2A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(3)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "s. 19 renumbered as s. 19(1)",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 19(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 36(2)(c)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 43(1)(a)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 7(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 71A",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 11(4)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 221(4)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(3)(c)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 36(9)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 29(3)(a)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 224(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(4)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 299(3)(c)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 20(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 299(4)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 20(2)(c)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 36(3)(a)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 29(3)(a)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 87A",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 2(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 198(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 52(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 153A",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 50(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "word substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 160",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 51(3)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 224(3A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(4)(d)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 56 cross-heading",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 8(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 136(11)(12)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 12(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 127(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 10(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 224(5)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(4)(e)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 43(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 7(2)(c)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "Sch. 2 para. 7(4A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 35(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 47(2)(a) and word",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 29(3)(c)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 256(1)(a)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 24(3)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 127(1A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 56(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 8(2)(c)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 46(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 5(3)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 245(3)(a)(iii)(iv)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 30(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "Sch. 2 para. 7(4)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 35(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 56(1)(a)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 8(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 230(4)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 6(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 224(1)(ba)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(4)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 213(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 21(4)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 43(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 7(2)(c)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 24 title",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 31(3)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 43(4)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 7(2)(d)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 224(2A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(4)(c)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 257(5)(6)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 23(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 128(1)(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 10(3)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 257(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 23(3)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 329(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 6(3)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 101(3)(c)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 21(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 127(4A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(2)(e)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 276A-276C",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 26(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "Sch. 3 para. 1A",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 35(3)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 256(1)(b)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 24(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 213(3)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 21(4)(b)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 38(3A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 4(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 224(5A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 9(4)(f)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 43 title",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 7(3)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 255(7)(b)(i) and word",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 24(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 36(13)(14)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 11(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 43(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 7(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "word inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 326(4)(c)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 36(3)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 44(3)(a)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 29(3)(b)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 38(3)(b)(i)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 4(3)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 19",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 36(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 253",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 22(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 42(4)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 4(5)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 58(5)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 29(3)(d)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 320(1)(t)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 24(5)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 124(14)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 3(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 189(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 21(3)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 38(4)(d) and word",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 4(3)(c)(iii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 261A",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 28(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 318(2)(b)(ii)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 22(3)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 56(2)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 8(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 24(1)(d)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 31(2)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 46(4)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 5(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "repealed",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 157(f) and word",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 51(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-06-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 193(9A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 60(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-09-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 200(2A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 60(3)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-09-30"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 329(1)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 60(5)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-09-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 224(6A)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 60(4)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-09-30"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 65(7)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 1(3)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": false,
      "requires_applied": true,
      "in_force_date": null
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/13",
        "title": "Mental Health (Care and Treatment) (Scotland) Act 2003",
        "provisions": "s. 64(8A)(8B)",
        "url": "https://openlegislation.uk/mental-health-care-and-treatment-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 1(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": false,
      "requires_applied": true,
      "in_force_date": null
    }
  ],
  "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."
}