[
  {
    "phenotype_id": "PH3772",
    "phenotype_version_id": 8919,
    "name": "Symptoms: sleep disturbance",
    "definition": "This codelist was taken from [OpenCodelists](https://www.opencodelists.org/), created by [OpenSAFELY](https://www.opensafely.org/). We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.\n\n\nCode list aiming to identify individuals consulting complaining of sleep disturbance.\n\n\n© University of Oxford for the Bennett Institute for Applied Data Science 2025\\. This work may be copied freely for non\\-commercial research and study.\n\n",
    "implementation": null,
    "publications": null,
    "validation": null,
    "citation_requirements": null,
    "created": "2026-01-26T23:33:58.612799Z",
    "author": "OpenSAFELY",
    "collections": [
      {
        "name": "OpenCodelist",
        "value": 31
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 1,
      "slug": "opensafely",
      "name": "OpenSAFELY"
    },
    "world_access": 1,
    "updated": "2026-01-26T23:34:00.540510Z",
    "references": [],
    "signed_off": [],
    "methodology": "Identified from intial search terms outside of OpenCodelists: \"sleep\" \"insomnia\" \"waking\" \"awake\" awakening\" \"dyssomnia\" somnol\" \"somnia\" \"sleep walk\" \"somnambul\"\n\n\nClearly irrelevant codes excluded (not reviewed by a second clinician)\n\n\nCandidate codelist uploaded to OpenCodelists for review of candidate codes.\n\n\nRemoved non\\-specific codes for sleeping during the day or drowsiness, which may be symptoms unrelated to sleep disturbance (e.g., medications causing daytime sleepiness). Excluded central apnoea codes, likely to be a formal neurological diagnosis.\n\n",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "opensafely/symptoms-sleep-disturbance",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/symptoms-sleep-disturbance/59c92016",
    "concept_information": [
      {
        "concept_id": 9096,
        "concept_version_id": 16581,
        "concept_name": "opensafely/symptoms-sleep-disturbance/59c92016",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH3772",
        "phenotype_version_id": 8919,
        "phenotype_name": "Symptoms: sleep disturbance",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "105191000119100",
            "description": "Acquired central alveolar hypoventilation",
            "attributes": null
          },
          {
            "code": "105491000119107",
            "description": "Primary hyposomnia",
            "attributes": null
          },
          {
            "code": "105521000119109",
            "description": "Organic mixed sleep disorder",
            "attributes": null
          },
          {
            "code": "1057371000000102",
            "description": "Signposting to the Sleep Council",
            "attributes": null
          },
          {
            "code": "1069241000000104",
            "description": "Does not sleep without sedation",
            "attributes": null
          },
          {
            "code": "1070941000000105",
            "description": "Difficulty sleeping with sedation",
            "attributes": null
          },
          {
            "code": "1070951000000108",
            "description": "Difficulty sleeping without sedation",
            "attributes": null
          },
          {
            "code": "1072611000000100",
            "description": "Does not sleep",
            "attributes": null
          },
          {
            "code": "1072621000000106",
            "description": "Does not sleep with sedation",
            "attributes": null
          },
          {
            "code": "1074261000000105",
            "description": "Does sleep with sedation",
            "attributes": null
          },
          {
            "code": "1075841000000106",
            "description": "Unable to sleep with sedation",
            "attributes": null
          },
          {
            "code": "1075851000000109",
            "description": "Unable to sleep without sedation",
            "attributes": null
          },
          {
            "code": "1101000119103",
            "description": "Obstructive sleep apnea of adult",
            "attributes": null
          },
          {
            "code": "111489007",
            "description": "Breathing-related sleep disorder",
            "attributes": null
          },
          {
            "code": "12262002",
            "description": "Restless sleep",
            "attributes": null
          },
          {
            "code": "130989002",
            "description": "Sleep deprivation",
            "attributes": null
          },
          {
            "code": "139485005",
            "description": "Insomnia (&amp; symptom) or somnolence",
            "attributes": null
          },
          {
            "code": "139500000",
            "description": "Poor sleep pattern",
            "attributes": null
          },
          {
            "code": "141000119100",
            "description": "Daytime somnolence",
            "attributes": null
          },
          {
            "code": "154927001",
            "description": "Sleep disorders (&amp; [insomnia] or [nightmares] or [sleepwalking (&amp; somnambulism)])",
            "attributes": null
          },
          {
            "code": "158124004",
            "description": "[D]Somnolence",
            "attributes": null
          },
          {
            "code": "158149000",
            "description": "[D]Sleep disturbances (&amp; [hypersomnia] or [insomnia])",
            "attributes": null
          },
          {
            "code": "158150000",
            "description": "[D]Sleep disturbance, unspecified",
            "attributes": null
          },
          {
            "code": "158152008",
            "description": "[D]Insomnia",
            "attributes": null
          },
          {
            "code": "158154009",
            "description": "[D]Hypersomnia",
            "attributes": null
          },
          {
            "code": "158155005",
            "description": "[D]Sleep rhythm inversion",
            "attributes": null
          },
          {
            "code": "158156006",
            "description": "[D]Sleep rhythm irregular",
            "attributes": null
          },
          {
            "code": "158157002",
            "description": "[D]Sleep-wake rhythm non-24-hour cycle",
            "attributes": null
          },
          {
            "code": "158158007",
            "description": "[D]Sleep dysfunction with sleep stage disturbance",
            "attributes": null
          },
          {
            "code": "158159004",
            "description": "[D]Sleep dysfunction with arousal disturbance",
            "attributes": null
          },
          {
            "code": "158160009",
            "description": "[D]Sleep dysfunction NEC",
            "attributes": null
          },
          {
            "code": "162201008",
            "description": "Insomnia (&amp; C/O)",
            "attributes": null
          },
          {
            "code": "162202001",
            "description": "Initial insomnia",
            "attributes": null
          },
          {
            "code": "162203006",
            "description": "Middle insomnia",
            "attributes": null
          },
          {
            "code": "162204000",
            "description": "Late insomnia",
            "attributes": null
          },
          {
            "code": "162224001",
            "description": "Poor sleep pattern",
            "attributes": null
          },
          {
            "code": "17402007",
            "description": "Pavor diurnus",
            "attributes": null
          },
          {
            "code": "177841000000108",
            "description": "Light sleep",
            "attributes": null
          },
          {
            "code": "186211000000101",
            "description": "Light sleep",
            "attributes": null
          },
          {
            "code": "189651000000108",
            "description": "Light sleep",
            "attributes": null
          },
          {
            "code": "191994005",
            "description": "Non-organic sleep disorders (&amp; [hypersomnia] or [insomnia])",
            "attributes": null
          },
          {
            "code": "191995006",
            "description": "Unspecified non-organic sleep disorder",
            "attributes": null
          },
          {
            "code": "191996007",
            "description": "Insomnia: [transient] or [NOS]",
            "attributes": null
          },
          {
            "code": "191997003",
            "description": "Persistent insomnia",
            "attributes": null
          },
          {
            "code": "191998008",
            "description": "Hypersomnia: [transient] or [NOS]",
            "attributes": null
          },
          {
            "code": "191999000",
            "description": "Persistent hypersomnia",
            "attributes": null
          },
          {
            "code": "192004002",
            "description": "Repeated rapid eye movement sleep interruptions",
            "attributes": null
          },
          {
            "code": "192005001",
            "description": "Other sleep stage or arousal dysfunction",
            "attributes": null
          },
          {
            "code": "192006000",
            "description": "(Repetitive intrusions of sleep) or (restless sleep)",
            "attributes": null
          },
          {
            "code": "192007009",
            "description": "Short-sleeper",
            "attributes": null
          },
          {
            "code": "192008004",
            "description": "Reversed sleep-wake cycle",
            "attributes": null
          },
          {
            "code": "192009007",
            "description": "(Dreams) or (other non-organic sleep disorder)",
            "attributes": null
          },
          {
            "code": "192010002",
            "description": "Non-organic sleep disorder NOS",
            "attributes": null
          },
          {
            "code": "192453005",
            "description": "Non-organic sleep disorder",
            "attributes": null
          },
          {
            "code": "192454004",
            "description": "Nonorganic insomnia",
            "attributes": null
          },
          {
            "code": "192455003",
            "description": "Hypersomnia of non-organic origin",
            "attributes": null
          },
          {
            "code": "192456002",
            "description": "[X] Nonorganic disorder of the sleep-wake schedule: [psychogenic inversion of circadian rhythm (including nyctohemeral rhythm and sleep rhythm)]",
            "attributes": null
          },
          {
            "code": "192457006",
            "description": "Sleepwalking",
            "attributes": null
          },
          {
            "code": "192460004",
            "description": "[X]Other nonorganic sleep disorders",
            "attributes": null
          },
          {
            "code": "192462007",
            "description": "[X]Nonorganic sleep disorder, unspecified",
            "attributes": null
          },
          {
            "code": "193042000",
            "description": "Cataplexy and narcolepsy",
            "attributes": null
          },
          {
            "code": "193462001",
            "description": "Insomnia",
            "attributes": null
          },
          {
            "code": "194436004",
            "description": "Sleep-wake disorder",
            "attributes": null
          },
          {
            "code": "194437008",
            "description": "Disorders of initiating and maintaining sleep",
            "attributes": null
          },
          {
            "code": "194439006",
            "description": "Disorders of excessive somnolence",
            "attributes": null
          },
          {
            "code": "194440008",
            "description": "Disorder of sleep-wake cycle",
            "attributes": null
          },
          {
            "code": "194498000",
            "description": "[X]Other sleep disorders",
            "attributes": null
          },
          {
            "code": "198437004",
            "description": "Menopausal sleeplessness",
            "attributes": null
          },
          {
            "code": "206712002",
            "description": "[D]Somnolence",
            "attributes": null
          },
          {
            "code": "206746001",
            "description": "[D]Sleep disturbances",
            "attributes": null
          },
          {
            "code": "206747005",
            "description": "[D]Sleep disturbance, unspecified",
            "attributes": null
          },
          {
            "code": "206749008",
            "description": "[D]Insomnia NOS",
            "attributes": null
          },
          {
            "code": "206751007",
            "description": "[D]Hypersomnia NOS",
            "attributes": null
          },
          {
            "code": "206752000",
            "description": "[D]Sleep rhythm inversion",
            "attributes": null
          },
          {
            "code": "206753005",
            "description": "[D]Sleep rhythm irregular",
            "attributes": null
          },
          {
            "code": "206754004",
            "description": "[D]Sleep-wake rhythm non-24-hour cycle",
            "attributes": null
          },
          {
            "code": "206755003",
            "description": "[D]Sleep dysfunction with sleep stage disturbance",
            "attributes": null
          },
          {
            "code": "206756002",
            "description": "[D]Sleep dysfunction with arousal disturbance",
            "attributes": null
          },
          {
            "code": "206757006",
            "description": "[D]Sleep dysfunction NOS",
            "attributes": null
          },
          {
            "code": "230484002",
            "description": "Insomnia NOS",
            "attributes": null
          },
          {
            "code": "230485001",
            "description": "Nonorganic insomnia",
            "attributes": null
          },
          {
            "code": "230486000",
            "description": "Hypersomnia NOS",
            "attributes": null
          },
          {
            "code": "230488004",
            "description": "Hypersomnia of non-organic origin",
            "attributes": null
          },
          {
            "code": "230489007",
            "description": "Excessive daytime sleepiness - normal night sleep",
            "attributes": null
          },
          {
            "code": "230490003",
            "description": "Excessive day and night-time sleepiness",
            "attributes": null
          },
          {
            "code": "230491004",
            "description": "Postviral excessive daytime sleepiness",
            "attributes": null
          },
          {
            "code": "230492006",
            "description": "Excessive daytime sleepiness with sleep paralysis",
            "attributes": null
          },
          {
            "code": "230493001",
            "description": "Mixed sleep apnea",
            "attributes": null
          },
          {
            "code": "230494007",
            "description": "Alveolar sleep apnea",
            "attributes": null
          },
          {
            "code": "230495008",
            "description": "Transient sleep-wake rhythm disorder",
            "attributes": null
          },
          {
            "code": "230496009",
            "description": "Non-24 hour sleep-wake cycle",
            "attributes": null
          },
          {
            "code": "23871000119106",
            "description": "Somnambulism co-occurrent with sleep terror disorder",
            "attributes": null
          },
          {
            "code": "24121004",
            "description": "Insomnia disorder related to another mental disorder",
            "attributes": null
          },
          {
            "code": "242101000000103",
            "description": "Pain onset during sleep",
            "attributes": null
          },
          {
            "code": "247955002",
            "description": "Low level of awareness while sleep walking",
            "attributes": null
          },
          {
            "code": "247956001",
            "description": "Low level of reactivity while sleep walking",
            "attributes": null
          },
          {
            "code": "247957005",
            "description": "Low level of motor skill while sleep walking",
            "attributes": null
          },
          {
            "code": "247958000",
            "description": "Blank, staring face while sleep walking",
            "attributes": null
          },
          {
            "code": "247959008",
            "description": "Unresponsive to communication while sleep walking",
            "attributes": null
          },
          {
            "code": "247960003",
            "description": "Not easily wakened from sleep walking",
            "attributes": null
          },
          {
            "code": "247961004",
            "description": "No recollection of sleep walk",
            "attributes": null
          },
          {
            "code": "247962006",
            "description": "Sleep automatism",
            "attributes": null
          },
          {
            "code": "24825006",
            "description": "Central alveolar hypoventilation syndrome",
            "attributes": null
          },
          {
            "code": "248255005",
            "description": "Cannot sleep at all",
            "attributes": null
          },
          {
            "code": "248256006",
            "description": "Not getting enough sleep",
            "attributes": null
          },
          {
            "code": "248257002",
            "description": "Wakes and cannot sleep again",
            "attributes": null
          },
          {
            "code": "248259004",
            "description": "Symptoms interfere with sleep",
            "attributes": null
          },
          {
            "code": "248260009",
            "description": "Unrefreshed by sleep",
            "attributes": null
          },
          {
            "code": "248261008",
            "description": "Oversleeps",
            "attributes": null
          },
          {
            "code": "26677001",
            "description": "Sleep pattern disturbance",
            "attributes": null
          },
          {
            "code": "267172002",
            "description": "Insomnia (&amp; symptom) or somnolence",
            "attributes": null
          },
          {
            "code": "268652009",
            "description": "Transient insomnia",
            "attributes": null
          },
          {
            "code": "268653004",
            "description": "Transient hypersomnia",
            "attributes": null
          },
          {
            "code": "268654005",
            "description": "Repetitive intrusions of sleep",
            "attributes": null
          },
          {
            "code": "268655006",
            "description": "Other non-organic sleep disorder",
            "attributes": null
          },
          {
            "code": "268722008",
            "description": "Non-organic disorder of the sleep-wake schedule",
            "attributes": null
          },
          {
            "code": "268775007",
            "description": "Sleep disorders (&amp; [insomnia] or [nightmares] or [sleepwalking (&amp; somnambulism)])",
            "attributes": null
          },
          {
            "code": "268892009",
            "description": "[D]Sleep dysfunction NEC",
            "attributes": null
          },
          {
            "code": "270478005",
            "description": "Insomnia",
            "attributes": null
          },
          {
            "code": "270487001",
            "description": "Non-organic sleep disorder",
            "attributes": null
          },
          {
            "code": "270961006",
            "description": "[D]Sleep disturbances (&amp; [hypersomnia] or [insomnia])",
            "attributes": null
          },
          {
            "code": "271793004",
            "description": "Irregular sleep-wake pattern",
            "attributes": null
          },
          {
            "code": "271794005",
            "description": "Disorder of sleep-wake cycle",
            "attributes": null
          },
          {
            "code": "272025006",
            "description": "Complaining of insomnia",
            "attributes": null
          },
          {
            "code": "272026007",
            "description": "Complaining of somnolence",
            "attributes": null
          },
          {
            "code": "274233003",
            "description": "[D]Insomnia",
            "attributes": null
          },
          {
            "code": "274950005",
            "description": "Sleep related bruxism",
            "attributes": null
          },
          {
            "code": "277180005",
            "description": "Sleep paralysis",
            "attributes": null
          },
          {
            "code": "27971000119105",
            "description": "Insomnia co-occurrent and due to medical condition",
            "attributes": null
          },
          {
            "code": "28011000119104",
            "description": "Sleep-wake schedule disorder, delayed phase",
            "attributes": null
          },
          {
            "code": "284091004",
            "description": "Sleepy",
            "attributes": null
          },
          {
            "code": "288421000119100",
            "description": "Hyposomnia co-occurrent and due to psychological disorder",
            "attributes": null
          },
          {
            "code": "288581000119102",
            "description": "Sleep related hypoxemia",
            "attributes": null
          },
          {
            "code": "29373008",
            "description": "Light sleep",
            "attributes": null
          },
          {
            "code": "301345002",
            "description": "Difficulty sleeping",
            "attributes": null
          },
          {
            "code": "309732001",
            "description": "[D]Hypersomnia",
            "attributes": null
          },
          {
            "code": "31491000119109",
            "description": "Disruptions of 24 hour sleep-wake cycle",
            "attributes": null
          },
          {
            "code": "314938000",
            "description": "Poor sleep pattern",
            "attributes": null
          },
          {
            "code": "31537005",
            "description": "Sleep-wake schedule disorder, advanced phase type",
            "attributes": null
          },
          {
            "code": "31771000119102",
            "description": "Daytime hypersomnia",
            "attributes": null
          },
          {
            "code": "3277001",
            "description": "Terminal mood insomnia",
            "attributes": null
          },
          {
            "code": "346781000000103",
            "description": "Disturbing sleep",
            "attributes": null
          },
          {
            "code": "347641000000101",
            "description": "Leaving to sleep",
            "attributes": null
          },
          {
            "code": "36124002",
            "description": "Primary hypersomnia",
            "attributes": null
          },
          {
            "code": "36321004",
            "description": "Sleeptalking",
            "attributes": null
          },
          {
            "code": "370971007",
            "description": "Somnolence syndrome",
            "attributes": null
          },
          {
            "code": "3731000119107",
            "description": "Idiopathic hypersomnia",
            "attributes": null
          },
          {
            "code": "3745000",
            "description": "Sleep-wake schedule disorder",
            "attributes": null
          },
          {
            "code": "38376001",
            "description": "Initial mood insomnia",
            "attributes": null
          },
          {
            "code": "393575002",
            "description": "Early waking",
            "attributes": null
          },
          {
            "code": "39391000000105",
            "description": "Delayed onset of sleep",
            "attributes": null
          },
          {
            "code": "39401000000108",
            "description": "Excessive sleep",
            "attributes": null
          },
          {
            "code": "39421000000104",
            "description": "Early morning waking",
            "attributes": null
          },
          {
            "code": "3972004",
            "description": "Primary insomnia",
            "attributes": null
          },
          {
            "code": "39898005",
            "description": "Sleep disorder",
            "attributes": null
          },
          {
            "code": "401161007",
            "description": "Delayed onset of sleep",
            "attributes": null
          },
          {
            "code": "401236004",
            "description": "Early morning waking",
            "attributes": null
          },
          {
            "code": "410079007",
            "description": "Sleep pattern control education",
            "attributes": null
          },
          {
            "code": "410080005",
            "description": "Sleep pattern control management",
            "attributes": null
          },
          {
            "code": "41016007",
            "description": "Twilight sleep",
            "attributes": null
          },
          {
            "code": "414731000000105",
            "description": "[X]Other nonorganic sleep disorders",
            "attributes": null
          },
          {
            "code": "415238003",
            "description": "Rapid eye movement sleep behavior disorder",
            "attributes": null
          },
          {
            "code": "41651000000105",
            "description": "Delayed onset of sleep",
            "attributes": null
          },
          {
            "code": "41661000000108",
            "description": "Excessive sleep",
            "attributes": null
          },
          {
            "code": "41681000000104",
            "description": "Early morning waking",
            "attributes": null
          },
          {
            "code": "418955009",
            "description": "Organic sleep disorder",
            "attributes": null
          },
          {
            "code": "419057008",
            "description": "Finding related to sleep walking",
            "attributes": null
          },
          {
            "code": "41975002",
            "description": "Insomnia with sleep apnea",
            "attributes": null
          },
          {
            "code": "422730001",
            "description": "Insufficient rest/sleep for physical condition",
            "attributes": null
          },
          {
            "code": "423052008",
            "description": "Frequent night waking",
            "attributes": null
          },
          {
            "code": "423439006",
            "description": "Sleep pattern disrupts family lifestyle",
            "attributes": null
          },
          {
            "code": "424801000000100",
            "description": "[D]Hypersomnia NOS",
            "attributes": null
          },
          {
            "code": "425202006",
            "description": "Insufficient rest/sleep for age",
            "attributes": null
          },
          {
            "code": "425476007",
            "description": "Non-organic parasomnia",
            "attributes": null
          },
          {
            "code": "425832009",
            "description": "Psychophysiologic insomnia",
            "attributes": null
          },
          {
            "code": "425881006",
            "description": "Limit-setting sleep disorder",
            "attributes": null
          },
          {
            "code": "426257002",
            "description": "Idiopathic insomnia",
            "attributes": null
          },
          {
            "code": "426451004",
            "description": "Recurrent hypersomnia",
            "attributes": null
          },
          {
            "code": "426824009",
            "description": "Sleep-onset association disorder",
            "attributes": null
          },
          {
            "code": "426943005",
            "description": "Hypersomnia disorder related to menstruation",
            "attributes": null
          },
          {
            "code": "427426006",
            "description": "Sleep attack",
            "attributes": null
          },
          {
            "code": "428708005",
            "description": "Secondary parasomnia",
            "attributes": null
          },
          {
            "code": "429276004",
            "description": "Environmental sleep disorder",
            "attributes": null
          },
          {
            "code": "429571005",
            "description": "Sleep-related dissociative disorder",
            "attributes": null
          },
          {
            "code": "430893009",
            "description": "Sleep related rhythmic movement disorder",
            "attributes": null
          },
          {
            "code": "437981000000106",
            "description": "[D]Sleep dysfunction NOS",
            "attributes": null
          },
          {
            "code": "44186003",
            "description": "Dyssomnia",
            "attributes": null
          },
          {
            "code": "441877007",
            "description": "Sleep dysfunction with sleep stage disturbance",
            "attributes": null
          },
          {
            "code": "441910000",
            "description": "Idiopathic sleep related non-obstructive alveolar hypoventilation",
            "attributes": null
          },
          {
            "code": "441976002",
            "description": "Organic parasomnia",
            "attributes": null
          },
          {
            "code": "442120007",
            "description": "Recurrent isolated sleep paralysis",
            "attributes": null
          },
          {
            "code": "442164004",
            "description": "Organic sleep apnea",
            "attributes": null
          },
          {
            "code": "442176004",
            "description": "Sleep dysfunction with arousal disturbance",
            "attributes": null
          },
          {
            "code": "442292004",
            "description": "Idiopathic hypersomnia without long sleep time",
            "attributes": null
          },
          {
            "code": "442416002",
            "description": "Idiopathic hypersomnia associated with long sleep time",
            "attributes": null
          },
          {
            "code": "443483005",
            "description": "Inadequate sleep hygiene",
            "attributes": null
          },
          {
            "code": "443484004",
            "description": "Decreased need for sleep",
            "attributes": null
          },
          {
            "code": "44361000000104",
            "description": "Delayed onset of sleep",
            "attributes": null
          },
          {
            "code": "443664006",
            "description": "Long sleeper syndrome",
            "attributes": null
          },
          {
            "code": "443760008",
            "description": "Sleep hypoventilation",
            "attributes": null
          },
          {
            "code": "44455001",
            "description": "Hypersomnia disorder related to a known organic factor",
            "attributes": null
          },
          {
            "code": "44501000000107",
            "description": "Sleeping pattern",
            "attributes": null
          },
          {
            "code": "445112001",
            "description": "Sleep related hallucinations",
            "attributes": null
          },
          {
            "code": "44780000",
            "description": "Hypnagogic hallucinations",
            "attributes": null
          },
          {
            "code": "45121000000105",
            "description": "Early morning waking",
            "attributes": null
          },
          {
            "code": "45291004",
            "description": "Middle mood insomnia",
            "attributes": null
          },
          {
            "code": "456351000000103",
            "description": "[X]Nonorganic sleep disorder, unspecified",
            "attributes": null
          },
          {
            "code": "456421000000100",
            "description": "[X]Other sleep disorders",
            "attributes": null
          },
          {
            "code": "46701000000106",
            "description": "Excessive sleep",
            "attributes": null
          },
          {
            "code": "469181000000105",
            "description": "[D]Sleep dysfunction NEC",
            "attributes": null
          },
          {
            "code": "471781000000102",
            "description": "[D]Sleep dysfunction NEC",
            "attributes": null
          },
          {
            "code": "472819006",
            "description": "Adjustment insomnia",
            "attributes": null
          },
          {
            "code": "477671000000104",
            "description": "[D]Insomnia NOS",
            "attributes": null
          },
          {
            "code": "48091006",
            "description": "Prolonged sleep",
            "attributes": null
          },
          {
            "code": "495381000000108",
            "description": "[D]Somnolence",
            "attributes": null
          },
          {
            "code": "495641000000109",
            "description": "[D]Sleep disturbances",
            "attributes": null
          },
          {
            "code": "495651000000107",
            "description": "[D]Sleep disturbance, unspecified",
            "attributes": null
          },
          {
            "code": "495671000000103",
            "description": "[D]Sleep rhythm inversion",
            "attributes": null
          },
          {
            "code": "495681000000101",
            "description": "[D]Sleep rhythm irregular",
            "attributes": null
          },
          {
            "code": "495691000000104",
            "description": "[D]Sleep-wake rhythm non-24-hour cycle",
            "attributes": null
          },
          {
            "code": "495701000000104",
            "description": "[D]Sleep dysfunction with sleep stage disturbance",
            "attributes": null
          },
          {
            "code": "495711000000102",
            "description": "[D]Sleep dysfunction with arousal disturbance",
            "attributes": null
          },
          {
            "code": "502171000000108",
            "description": "[D]Insomnia",
            "attributes": null
          },
          {
            "code": "502761000000100",
            "description": "[D]Hypersomnia",
            "attributes": null
          },
          {
            "code": "50702007",
            "description": "Sleep-wake schedule disorder, disorganized type",
            "attributes": null
          },
          {
            "code": "53758003",
            "description": "Mood insomnia",
            "attributes": null
          },
          {
            "code": "53888004",
            "description": "Disturbance in sleep behavior",
            "attributes": null
          },
          {
            "code": "54230003",
            "description": "Mixed insomnia",
            "attributes": null
          },
          {
            "code": "54532007",
            "description": "Sleep-wake schedule disorder, frequently changing type",
            "attributes": null
          },
          {
            "code": "574401000000107",
            "description": "Other non-organic sleep disorder",
            "attributes": null
          },
          {
            "code": "58690002",
            "description": "Parasomnia",
            "attributes": null
          },
          {
            "code": "59050008",
            "description": "Initial insomnia",
            "attributes": null
          },
          {
            "code": "59445005",
            "description": "Mood hypersomnia",
            "attributes": null
          },
          {
            "code": "60380001",
            "description": "Narcolepsy",
            "attributes": null
          },
          {
            "code": "608221000000109",
            "description": "Unspecified non-organic sleep disorder",
            "attributes": null
          },
          {
            "code": "608231000000106",
            "description": "Other sleep stage or arousal dysfunction",
            "attributes": null
          },
          {
            "code": "62577008",
            "description": "Insomnia",
            "attributes": null
          },
          {
            "code": "665901000000102",
            "description": "Non-organic sleep disorder NOS",
            "attributes": null
          },
          {
            "code": "67062000",
            "description": "Terminal insomnia",
            "attributes": null
          },
          {
            "code": "671491000000108",
            "description": "Insomnia NOS",
            "attributes": null
          },
          {
            "code": "671501000000102",
            "description": "Hypersomnia NOS",
            "attributes": null
          },
          {
            "code": "67233009",
            "description": "Middle insomnia",
            "attributes": null
          },
          {
            "code": "67238000",
            "description": "Sleep drunkenness",
            "attributes": null
          },
          {
            "code": "69020003",
            "description": "Abnormal rapid eye movement sleep",
            "attributes": null
          },
          {
            "code": "69690008",
            "description": "Hypnapompic hallucinations",
            "attributes": null
          },
          {
            "code": "713822005",
            "description": "Wakes up during night",
            "attributes": null
          },
          {
            "code": "724748004",
            "description": "Chronic insomnia",
            "attributes": null
          },
          {
            "code": "724749007",
            "description": "Behaviorally induced hypersomnia",
            "attributes": null
          },
          {
            "code": "724753009",
            "description": "Recurrent isolated sleep-related hallucinations",
            "attributes": null
          },
          {
            "code": "733504007",
            "description": "Not easily wakened from sleep",
            "attributes": null
          },
          {
            "code": "73430006",
            "description": "Sleep apnea",
            "attributes": null
          },
          {
            "code": "735676003",
            "description": "Narcolepsy type 1",
            "attributes": null
          },
          {
            "code": "74881000000104",
            "description": "Delayed onset of sleep",
            "attributes": null
          },
          {
            "code": "74901000000101",
            "description": "Early morning waking",
            "attributes": null
          },
          {
            "code": "762348004",
            "description": "Acute insomnia",
            "attributes": null
          },
          {
            "code": "77692006",
            "description": "Hypersomnia",
            "attributes": null
          },
          {
            "code": "78275009",
            "description": "Obstructive sleep apnea syndrome",
            "attributes": null
          },
          {
            "code": "79121000000107",
            "description": "Delayed onset of sleep",
            "attributes": null
          },
          {
            "code": "79141000000100",
            "description": "Early morning waking",
            "attributes": null
          },
          {
            "code": "79280005",
            "description": "Hypersomnia with sleep apnea",
            "attributes": null
          },
          {
            "code": "799001000000105",
            "description": "Able to sleep with sedation",
            "attributes": null
          },
          {
            "code": "80495009",
            "description": "Sleep walking disorder",
            "attributes": null
          },
          {
            "code": "80623000",
            "description": "Sleep-wake schedule disorder, delayed phase type",
            "attributes": null
          },
          {
            "code": "81121000119107",
            "description": "Sleep disorder care management",
            "attributes": null
          },
          {
            "code": "81608000",
            "description": "Insomnia disorder related to known organic factor",
            "attributes": null
          },
          {
            "code": "83701000000109",
            "description": "Excessive sleep",
            "attributes": null
          },
          {
            "code": "837041000000105",
            "description": "Excessive somnolence",
            "attributes": null
          },
          {
            "code": "84991000119105",
            "description": "Sleep related movement disorder",
            "attributes": null
          },
          {
            "code": "857601000000103",
            "description": "Excessive somnolence",
            "attributes": null
          },
          {
            "code": "887881000000101",
            "description": "On melatonin for sleep disorder",
            "attributes": null
          },
          {
            "code": "887891000000104",
            "description": "On melatonin for child sleep disorder",
            "attributes": null
          },
          {
            "code": "88982005",
            "description": "Rebound insomnia",
            "attributes": null
          },
          {
            "code": "89415002",
            "description": "Hypersomnia disorder related to another mental disorder",
            "attributes": null
          },
          {
            "code": "89675003",
            "description": "Sleep terror disorder",
            "attributes": null
          },
          {
            "code": "89911000119102",
            "description": "Sleep related hypoventilation or hypoxemia",
            "attributes": null
          },
          {
            "code": "90011000119105",
            "description": "Organic sleep related movement disorder",
            "attributes": null
          },
          {
            "code": "91521000119104",
            "description": "Narcolepsy without cataplexy",
            "attributes": null
          },
          {
            "code": "93681000119102",
            "description": "Insomnia co-occurrent and due to nocturnal myoclonus",
            "attributes": null
          },
          {
            "code": "99711000119104",
            "description": "Organic sleep-wake cycle disorder",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "59c92016",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/5428-1615",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 3,
      "name": "OpenCodelists Phenotype",
      "description": "OpenSafely's OpenCodelist Phenotype, visit https://www.opencodelists.org/ to learn more",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 8919,
        "version_name": "Symptoms: sleep disturbance",
        "version_date": "2026-01-26T23:34:00.548782Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 8918,
        "version_name": "Symptoms: sleep disturbance",
        "version_date": "2026-01-26T23:33:58.624251Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]