[
  {
    "phenotype_id": "PH311",
    "phenotype_version_id": 622,
    "name": "Spinal stenosis",
    "definition": "At the specified date, a patient is defined as having had 'Spinal stenosis' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:\n\n\nPrimary care\n\n\n1. 'Spinal stenosis' diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care (ICD10)\n\n\n1. ALL diagnoses of 'Spinal stenosis' or history of diagnosis during a hospitalization\n\n\n\n\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": "10.1016/S2589-7500(19)30012-3",
        "details": "Kuan V., Denaxas S., Gonzalez-Izquierdo A. et al. A chronological map of 308 physical and mental health conditions from 4 million individuals in the National Health Service. The Lancet Digital Health - DOI 10.1016/S2589-7500(19)30012-3"
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2021-10-06T16:12:12.047818Z",
    "author": "Kuan V, Denaxas S, Gonzalez-Izquierdo A, Direk K, Bhatti O, Husain S, Sutaria S, Hingorani M, Nitsch D, Parisinos C, Lumbers T, Mathur R, Sofat R, Casas JP, Wong I, Hemingway H, Hingorani A",
    "collections": [
      {
        "name": "CALIBER",
        "value": 21
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2021-10-06T16:12:12.047846Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Spinal-stenosis---21b2aee0-17c1-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Spinal-stenosis.cwl",
    "data_sources": [
      {
        "name": "CPRD GOLD",
        "value": 5,
        "uid": "a29feafa-7bdd-44e9-b977-c9d26425e67f",
        "url": "https://healthdatagateway.org/en/dataset/694",
        "datasource_id": 694
      },
      {
        "name": "HES Admitted Patient Care data for CPRD GOLD",
        "value": 9,
        "uid": "4bcf64a6-f404-4ef4-ae6e-172512ab5f43",
        "url": "https://healthdatagateway.org/en/dataset/674",
        "datasource_id": 674
      }
    ],
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v2",
        "value": 5
      },
      {
        "name": "Med codes",
        "value": 8
      }
    ],
    "event_date_range": "01/01/1999 - 01/07/2016",
    "concept_information": [
      {
        "concept_id": 1576,
        "concept_version_id": 4291,
        "concept_name": "Spinal stenosis - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH311",
        "phenotype_version_id": 622,
        "phenotype_name": "Spinal stenosis",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "N130.00",
            "description": "Cervical spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "12094.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N130000",
            "description": "Idiopathic cervical spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "69388.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N130100",
            "description": "Degenerative cervical spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "45296.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N130300",
            "description": "Cervical spinal stenosis secondary to other disease",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "93849.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140.00",
            "description": "Spinal stenosis, excluding cervical region",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "15331.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140000",
            "description": "Spinal stenosis of unspecified region",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "41147.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140100",
            "description": "Thoracic spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "62612.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140.11",
            "description": "Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "3370.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140200",
            "description": "Lumbar spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "9912.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140300",
            "description": "Idiopathic thoracic spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "106536.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140400",
            "description": "Degenerative thoracic spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "73730.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140600",
            "description": "Thoracic spinal stenosis secondary to other disease",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "98630.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140700",
            "description": "Idiopathic lumbar spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "72614.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140800",
            "description": "Degenerative lumbar spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "43577.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140900",
            "description": "Iatrogenic lumbar spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "93836.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140A00",
            "description": "Lumbar spinal stenosis secondary to other disease",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "97870.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "N140z00",
            "description": "Spinal stenosis NOS",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "35117.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "Zw04300",
            "description": "[Q] Central spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "52139.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "Zw04400",
            "description": "[Q] Lateral spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "91625.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          },
          {
            "code": "Zw04500",
            "description": "[Q] Central and lateral spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Medcode": "94588.0",
              "Category": "Diagnosis of Spinal stenosis"
            }
          }
        ]
      },
      {
        "concept_id": 1577,
        "concept_version_id": 4293,
        "concept_name": "Spinal stenosis - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH311",
        "phenotype_version_id": 622,
        "phenotype_name": "Spinal stenosis",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "106536.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Idiopathic thoracic spinal stenosis",
              "Readcode": "N140300"
            }
          },
          {
            "code": "12094.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Cervical spinal stenosis",
              "Readcode": "N130.00"
            }
          },
          {
            "code": "15331.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Spinal stenosis, excluding cervical region",
              "Readcode": "N140.00"
            }
          },
          {
            "code": "3370.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Spinal stenosis",
              "Readcode": "N140.11"
            }
          },
          {
            "code": "35117.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Spinal stenosis NOS",
              "Readcode": "N140z00"
            }
          },
          {
            "code": "41147.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Spinal stenosis of unspecified region",
              "Readcode": "N140000"
            }
          },
          {
            "code": "43577.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Degenerative lumbar spinal stenosis",
              "Readcode": "N140800"
            }
          },
          {
            "code": "45296.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Degenerative cervical spinal stenosis",
              "Readcode": "N130100"
            }
          },
          {
            "code": "52139.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "[Q] Central spinal stenosis",
              "Readcode": "Zw04300"
            }
          },
          {
            "code": "62612.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Thoracic spinal stenosis",
              "Readcode": "N140100"
            }
          },
          {
            "code": "69388.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Idiopathic cervical spinal stenosis",
              "Readcode": "N130000"
            }
          },
          {
            "code": "72614.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Idiopathic lumbar spinal stenosis",
              "Readcode": "N140700"
            }
          },
          {
            "code": "73730.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Degenerative thoracic spinal stenosis",
              "Readcode": "N140400"
            }
          },
          {
            "code": "91625.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "[Q] Lateral spinal stenosis",
              "Readcode": "Zw04400"
            }
          },
          {
            "code": "93836.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Iatrogenic lumbar spinal stenosis",
              "Readcode": "N140900"
            }
          },
          {
            "code": "93849.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Cervical spinal stenosis secondary to other disease",
              "Readcode": "N130300"
            }
          },
          {
            "code": "94588.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "[Q] Central and lateral spinal stenosis",
              "Readcode": "Zw04500"
            }
          },
          {
            "code": "97870.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Lumbar spinal stenosis secondary to other disease",
              "Readcode": "N140A00"
            }
          },
          {
            "code": "98630.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Thoracic spinal stenosis secondary to other disease",
              "Readcode": "N140600"
            }
          },
          {
            "code": "9912.0",
            "description": "Diagnosis of Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "ReadcodeDescr": "Lumbar spinal stenosis",
              "Readcode": "N140200"
            }
          }
        ]
      },
      {
        "concept_id": 1578,
        "concept_version_id": 4295,
        "concept_name": "Spinal stenosis - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH311",
        "phenotype_version_id": 622,
        "phenotype_name": "Spinal stenosis",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "M48.0",
            "description": "Spinal stenosis",
            "attributes": {
              "Disease": "Spinal stenosis",
              "Category": "Diagnosis of Spinal stenosis"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/ftj9-aj63",
    "is_deleted": null,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "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": 622,
        "version_name": "Spinal stenosis",
        "version_date": "2021-10-06T16:12:12.075802Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]