[
  {
    "phenotype_id": "PH1700",
    "phenotype_version_id": 3625,
    "name": "Chronic paediatric conditions: Headaches",
    "definition": "This code list is part of a set of harmonised code lists to identify chronic paediatric\nconditions across primary and secondary care datasets across the UK.\n\n- ICD-10 headache conditions as per Hardelid 2014, mapped to SNOMED and Read v2 using CALIBER.\n- Includes migraines, chronic cluster and chronic tension headaches.\n\n### Methods\n\nChronic paediatric conditions were defined as health problems requiring medical follow-up\nfor more than 12 months in 50% or more of cases. Code lists were produced by mapping\nexisting ICD-10 codes for chronic paediatric conditions to SNOMED and Read v2 codes\nusing the CALIBER R package, with review by paediatric sub-specialists.\n\nAn established ICD-10 code list of chronic paediatric conditions (Hardelid 2014)\nwas used as the basis for the new lists.1  Chronic paediatric conditions were defined\nas any health problem requiring medical follow-up (hospital admission, outpatient\nfollow up or use of support services such as physiotherapy) for more than 12 months\nin 50% or more of cases.[1]  A Chronic Paediatric Conditions Committee of paediatric\nsub-specialists was established. The original ICD-10 list was screened by two paediatricians\nand acute conditions removed, with disagreements resolved by a third paediatrician.\nConditions which were likely acute and would not fulfil our chronic disease definition\nwere excluded, including skeletal injuries and self-harm. Drug-induced conditions\nwere excluded as chronicity was not known. Infections other than human immunodeficiency\nvirus (HIV), hepatitis B or C, or congenital infections (syphilis / toxoplasmosis\n/ rubella / herpes simplex virus / cytomegalovirus) were excluded. Chronic sequelae\nof infections were retained.\n\nPublished code lists were then identified for Read v2 and SNOMED codes for well-characterised\nconditions including asthma, diabetes, cystic fibrosis and cancer. The remaining\nICD-10 codes were mapped to SNOMED and Read v2 codes using the CALIBER R package\nand Technology Reference Update Distribution NHS Data Migration tables [2] to produce\nnew code lists suitable for primary care data. These resulting code lists were screened\nby two sub-specialists to ensure conditions were chronic and in the correct subgroup\nwith disagreements resolved by a third clinician.\n\n### References:\n\n1. Hardelid P, Dattani N, Gilbert R. Estimating the prevalence of chronic conditions in children who die in England, Scotland and Wales: a data linkage cohort study. BMJ Open 2014; 4: e005331.\n2. CALIBER codelists-package: Generate ICD, Read and OPCS codelists in CALIBER codelists: Generate ICD10, Read and OPCS codelists, [https://rdrr.io/rforge/CALIBERcodelists/man/CALIBERcodelists-package.html](https://rdrr.io/rforge/CALIBERcodelists/man/CALIBERcodelists-package.html) (accessed 19 October 2022).\n\n",
    "implementation": "We have considered conditions to be active if they had been coded for in the preceding\nfive years. In addition, conditions from the following subgroups were considered\nto be permanent, therefore active if coded for at any time: metabolic, diabetes,\ncystic fibrosis, transplant, receiving palliative care, other congenital multisystem\nsyndromes and chromosomal abnormalities, immunological and cerebral palsy / paralysis\n(a subgroup of \"Other neurology\" code list).\n",
    "publications": [],
    "validation": "",
    "citation_requirements": "To our knowledge, these are the first set of harmonised code lists for chronic paediatric\nconditions that span commonly used primary and secondary care coding systems in the\nUK. We hope they will prove a valuable resource for the paediatric research community\nand welcome suggestions for further development ([Olivia.Swann@ed.ac.uk](mailto:Olivia.Swann@ed.ac.uk)).\n",
    "created": "2025-01-18T19:52:00.234253Z",
    "author": "Swann OV, Williams TC, Fraser LK, Farrell J, Parker M, Kennedy J, Seabourne M, Brophy S, Harrison EM, Docherty AB, Pollock L",
    "collections": [
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 2,
    "updated": "2025-01-19T15:57:34.886556Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": [
      {
        "name": "Paediatrics",
        "value": 842203
      },
      {
        "name": "Paediatric and Perinatal Pathology",
        "value": 842275
      }
    ],
    "phenoflowid": "",
    "data_sources": [
      {
        "name": "Hospital Episode Statistics Admitted Patient Care",
        "value": 2,
        "uid": "6599230a-df54-4615-937c-d724d239491f",
        "url": "https://healthdatagateway.org/en/dataset/875",
        "datasource_id": 875
      },
      {
        "name": "OpenSAFELY SNOMED CT",
        "value": 36,
        "datasource_id": 36
      },
      {
        "name": "Patient Episode Dataset for Wales (PEDW)",
        "value": 40,
        "uid": "4c33a5d2-164c-41d7-9797-dc2b008cc852",
        "url": "https://healthdatagateway.org/en/dataset/318",
        "datasource_id": 318
      },
      {
        "name": "Welsh Longitudinal General Practice Dataset (WLGP) - Welsh Primary Care",
        "value": 502,
        "uid": "33fc3ffd-aa4c-4a16-a32f-0c900aaea3d2",
        "url": "https://healthdatagateway.org/en/dataset/355",
        "datasource_id": 355
      }
    ],
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      },
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v2",
        "value": 5
      }
    ],
    "event_date_range": "2021/01/01 - 2021/01/01",
    "concept_information": [
      {
        "concept_id": 4113,
        "concept_version_id": 11468,
        "concept_name": "Headaches (ICD-10)",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH1700",
        "phenotype_version_id": 3625,
        "phenotype_name": "Chronic paediatric conditions: Headaches",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "G43",
            "description": "Migraine",
            "attributes": null
          },
          {
            "code": "G430",
            "description": "Migraine without aura [common migraine]",
            "attributes": null
          },
          {
            "code": "G431",
            "description": "Migraine with aura [classical migraine]",
            "attributes": null
          },
          {
            "code": "G432",
            "description": "Status migrainosus",
            "attributes": null
          },
          {
            "code": "G433",
            "description": "Complicated migraine",
            "attributes": null
          },
          {
            "code": "G438",
            "description": "Other migraine",
            "attributes": null
          },
          {
            "code": "G439",
            "description": "Migraine, unspecified",
            "attributes": null
          },
          {
            "code": "G44",
            "description": "Other headache syndromes",
            "attributes": null
          },
          {
            "code": "G440",
            "description": "Cluster headache syndrome",
            "attributes": null
          },
          {
            "code": "G441",
            "description": "Vascular headache, not elsewhere classified",
            "attributes": null
          },
          {
            "code": "G442",
            "description": "Tension-type headache",
            "attributes": null
          },
          {
            "code": "G443",
            "description": "Chronic post-traumatic headache",
            "attributes": null
          },
          {
            "code": "G444",
            "description": "Drug-induced headache, not elsewhere classified",
            "attributes": null
          },
          {
            "code": "G448",
            "description": "Other specified headache syndromes",
            "attributes": null
          }
        ]
      },
      {
        "concept_id": 4114,
        "concept_version_id": 11469,
        "concept_name": "Headaches (Read v2)",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH1700",
        "phenotype_version_id": 3625,
        "phenotype_name": "Chronic paediatric conditions: Headaches",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "F26..00",
            "description": "Migraine",
            "attributes": null
          },
          {
            "code": "F260.00",
            "description": "Classical migraine",
            "attributes": null
          },
          {
            "code": "F260.11",
            "description": "Migraine with aura",
            "attributes": null
          },
          {
            "code": "F261.00",
            "description": "Common migraine",
            "attributes": null
          },
          {
            "code": "F261000",
            "description": "Atypical migraine",
            "attributes": null
          },
          {
            "code": "F261.11",
            "description": "Migraine without aura",
            "attributes": null
          },
          {
            "code": "F261z00",
            "description": "Common migraine NOS",
            "attributes": null
          },
          {
            "code": "F262.00",
            "description": "Migraine variants",
            "attributes": null
          },
          {
            "code": "F262000",
            "description": "Cluster headache",
            "attributes": null
          },
          {
            "code": "F262100",
            "description": "Horton's (histamine) neuralgia",
            "attributes": null
          },
          {
            "code": "F262200",
            "description": "Abdominal migraine",
            "attributes": null
          },
          {
            "code": "F262300",
            "description": "Basilar migraine",
            "attributes": null
          },
          {
            "code": "F262400",
            "description": "Ophthalmic migraine",
            "attributes": null
          },
          {
            "code": "F262500",
            "description": "Periodic migrainous neuralgia",
            "attributes": null
          },
          {
            "code": "F262700",
            "description": "Chronic paroxysmal hemicrania",
            "attributes": null
          },
          {
            "code": "F262A00",
            "description": "Frequent episodic tension-type headache",
            "attributes": null
          },
          {
            "code": "F262B00",
            "description": "Chronic tension-type headache",
            "attributes": null
          },
          {
            "code": "F262D00",
            "description": "Paroxysmal hemicrania",
            "attributes": null
          },
          {
            "code": "F262E00",
            "description": "Trigeminal autonomic cephalalgia",
            "attributes": null
          },
          {
            "code": "F262z00",
            "description": "Migraine variant NOS",
            "attributes": null
          },
          {
            "code": "F26y.00",
            "description": "Other forms of migraine",
            "attributes": null
          },
          {
            "code": "F26y000",
            "description": "Hemiplegic migraine",
            "attributes": null
          },
          {
            "code": "F26y100",
            "description": "Ophthalmoplegic migraine",
            "attributes": null
          },
          {
            "code": "F26y111",
            "description": "Moebius' ophthalmoplegic migraine",
            "attributes": null
          },
          {
            "code": "F26y200",
            "description": "Status migrainosus",
            "attributes": null
          },
          {
            "code": "F26y300",
            "description": "Complicated migraine",
            "attributes": null
          },
          {
            "code": "F26yz00",
            "description": "Other forms of migraine NOS",
            "attributes": null
          },
          {
            "code": "F26z.00",
            "description": "Migraine NOS",
            "attributes": null
          },
          {
            "code": "F29y500",
            "description": "Chronic post-traumatic headache",
            "attributes": null
          },
          {
            "code": "F2X..00",
            "description": "Vascular headache, not elsewhere classified",
            "attributes": null
          },
          {
            "code": "Fyu5300",
            "description": "[X]Other migraine",
            "attributes": null
          },
          {
            "code": "Fyu5A00",
            "description": "[X]Vascular headache, not elsewhere classified",
            "attributes": null
          },
          {
            "code": "R090D00",
            "description": "[D]Abdominal migraine",
            "attributes": null
          }
        ]
      },
      {
        "concept_id": 4115,
        "concept_version_id": 11470,
        "concept_name": "Headaches (SNOMED-CT)",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH1700",
        "phenotype_version_id": 3625,
        "phenotype_name": "Chronic paediatric conditions: Headaches",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "124001000119104",
            "description": "Status migrainosus co-occurrent and due to migraine without aura (disorder)",
            "attributes": null
          },
          {
            "code": "124081000119107",
            "description": "Menstrual status migrainosus (disorder)",
            "attributes": null
          },
          {
            "code": "124171000119105",
            "description": "Chronic intractable migraine without aura (disorder)",
            "attributes": null
          },
          {
            "code": "128187005",
            "description": "Vascular headache (disorder)",
            "attributes": null
          },
          {
            "code": "145611000119107",
            "description": "Allergic migraine (disorder)",
            "attributes": null
          },
          {
            "code": "193030005",
            "description": "Migraine variants (disorder)",
            "attributes": null
          },
          {
            "code": "193031009",
            "description": "Cluster headache syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "193039006",
            "description": "Complicated migraine (disorder)",
            "attributes": null
          },
          {
            "code": "230462002",
            "description": "Migraine with typical aura (disorder)",
            "attributes": null
          },
          {
            "code": "230464001",
            "description": "Non-familial hemiplegic migraine (disorder)",
            "attributes": null
          },
          {
            "code": "230465000",
            "description": "Migraine aura without headache (disorder)",
            "attributes": null
          },
          {
            "code": "230467008",
            "description": "Status migrainosus (disorder)",
            "attributes": null
          },
          {
            "code": "230468003",
            "description": "Migraine with ischemic complication (disorder)",
            "attributes": null
          },
          {
            "code": "230470007",
            "description": "Episodic tension-type headache (disorder)",
            "attributes": null
          },
          {
            "code": "230471006",
            "description": "Chronic tension-type headache (disorder)",
            "attributes": null
          },
          {
            "code": "230472004",
            "description": "Episodic cluster headache (disorder)",
            "attributes": null
          },
          {
            "code": "230473009",
            "description": "Chronic cluster headache (disorder)",
            "attributes": null
          },
          {
            "code": "230474003",
            "description": "Chronic cluster headache unremitting from onset (disorder)",
            "attributes": null
          },
          {
            "code": "230475002",
            "description": "Chronic cluster headache evolved from episodic cluster headache (disorder)",
            "attributes": null
          },
          {
            "code": "230476001",
            "description": "Atypical cluster headache (disorder)",
            "attributes": null
          },
          {
            "code": "230477005",
            "description": "Chronic post-traumatic headache (disorder)",
            "attributes": null
          },
          {
            "code": "230478000",
            "description": "Low pressure headache (disorder)",
            "attributes": null
          },
          {
            "code": "230481005",
            "description": "Idiopathic stabbing headache (disorder)",
            "attributes": null
          },
          {
            "code": "26150009",
            "description": "Lower half migraine (disorder)",
            "attributes": null
          },
          {
            "code": "290531000119102",
            "description": "Intractable chronic tension headache (disorder)",
            "attributes": null
          },
          {
            "code": "294031000119103",
            "description": "Episodic paroxysmal hemicrania (disorder)",
            "attributes": null
          },
          {
            "code": "37796009",
            "description": "Migraine (disorder)",
            "attributes": null
          },
          {
            "code": "398057008",
            "description": "Tension-type headache (disorder)",
            "attributes": null
          },
          {
            "code": "423279000",
            "description": "Refractory migraine without aura (disorder)",
            "attributes": null
          },
          {
            "code": "423683008",
            "description": "Refractory migraine with aura (disorder)",
            "attributes": null
          },
          {
            "code": "423894005",
            "description": "Refractory migraine (disorder)",
            "attributes": null
          },
          {
            "code": "424699007",
            "description": "Migraine variants, not intractable (disorder)",
            "attributes": null
          },
          {
            "code": "425007008",
            "description": "Migraine without aura, not refractory (disorder)",
            "attributes": null
          },
          {
            "code": "425365009",
            "description": "Refractory migraine variants (disorder)",
            "attributes": null
          },
          {
            "code": "425936006",
            "description": "Intractable ophthalmic migraine (disorder)",
            "attributes": null
          },
          {
            "code": "427419006",
            "description": "Transformed migraine (disorder)",
            "attributes": null
          },
          {
            "code": "443094001",
            "description": "Paroxysmal hemicrania (disorder)",
            "attributes": null
          },
          {
            "code": "443095000",
            "description": "Hemicrania continua (disorder)",
            "attributes": null
          },
          {
            "code": "4448006",
            "description": "Allergic headache (disorder)",
            "attributes": null
          },
          {
            "code": "445322004",
            "description": "Migraine variant with headache (disorder)",
            "attributes": null
          },
          {
            "code": "4473006",
            "description": "Migraine with aura (disorder)",
            "attributes": null
          },
          {
            "code": "449814007",
            "description": "Trigeminal autonomic cephalalgia (disorder)",
            "attributes": null
          },
          {
            "code": "49605003",
            "description": "Ophthalmoplegic migraine (disorder)",
            "attributes": null
          },
          {
            "code": "56097005",
            "description": "Migraine without aura (disorder)",
            "attributes": null
          },
          {
            "code": "59292006",
            "description": "Hemiplegic migraine (disorder)",
            "attributes": null
          },
          {
            "code": "61830005",
            "description": "Sphenopalatine neuralgia (disorder)",
            "attributes": null
          },
          {
            "code": "699314009",
            "description": "Migraine with persistent visual aura (disorder)",
            "attributes": null
          },
          {
            "code": "699694000",
            "description": "Chronic post-concussion headache (disorder)",
            "attributes": null
          },
          {
            "code": "722981005",
            "description": "Infrequent episodic tension-type headache (disorder)",
            "attributes": null
          },
          {
            "code": "722982003",
            "description": "Frequent episodic tension-type headache (disorder)",
            "attributes": null
          },
          {
            "code": "725058003",
            "description": "Short-lasting unilateral neuralgiform headache attacks with conjunctival injection and tearing syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "75879005",
            "description": "Abdominal migraine (disorder)",
            "attributes": null
          },
          {
            "code": "762354003",
            "description": "Persistent headache due to and following injury of head (disorder)",
            "attributes": null
          },
          {
            "code": "79267007",
            "description": "Retinal migraine (disorder)",
            "attributes": null
          },
          {
            "code": "83351003",
            "description": "Basilar migraine (disorder)",
            "attributes": null
          },
          {
            "code": "95653008",
            "description": "Acute confusional migraine (disorder)",
            "attributes": null
          },
          {
            "code": "95654002",
            "description": "Chronic paroxysmal hemicrania (disorder)",
            "attributes": null
          },
          {
            "code": "95655001",
            "description": "Ophthalmic migraine (disorder)",
            "attributes": null
          },
          {
            "code": "95656000",
            "description": "Familial hemiplegic migraine (disorder)",
            "attributes": null
          },
          {
            "code": "95657009",
            "description": "Chronic mixed headache syndrome (disorder)",
            "attributes": null
          }
        ]
      }
    ],
    "status": 1,
    "doi": "https://doi.org/10.48533/8sny-z366",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "farrellj",
    "template": {
      "id": 1,
      "name": "Clinical-Coded Phenotype",
      "description": "Phenotype definitions that are based on lists of clinical codes, or algorithms using clinical codes.",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 3625,
        "version_name": "Chronic paediatric conditions: Headaches",
        "version_date": "2025-01-19T15:57:34.911384Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 3615,
        "version_name": "Headaches",
        "version_date": "2025-01-18T19:52:00.242934Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]