[
  {
    "phenotype_id": "PH130",
    "phenotype_version_id": 1507,
    "name": "Carpal tunnel syndrome",
    "definition": "At the specified date, a patient is defined as having had 'Carpal tunnel syndrome' 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. 'Carpal tunnel syndrome' diagnosis, history of diagnosis or procedure during a consultation \n\nOR\nSecondary care (ICD10)\n\n\n1. ALL diagnoses of 'Carpal tunnel syndrome' or history of diagnosis during a hospitalization\n\nOR\nSecondary care (OPCS4)\n\n\n1. ALL procedures for 'Carpal tunnel syndrome' or history of diagnosis during a hospitalization\n\n\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:04:15.920996Z",
    "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-19T09:30:04.903776Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Carpal-tunnel-syndrome---c6092690-176c-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Carpal-tunnel-syndrome.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": "OPCS4 codes",
        "value": 7
      },
      {
        "name": "Med codes",
        "value": 8
      }
    ],
    "event_date_range": "01/01/1999 - 01/07/2016",
    "concept_information": [
      {
        "concept_id": 2174,
        "concept_version_id": 5486,
        "concept_name": "Carpal tunnel syndrome - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH130",
        "phenotype_version_id": 1507,
        "phenotype_name": "Carpal tunnel syndrome",
        "code_attribute_header": [
          "Category",
          "Disease",
          "Medcode"
        ],
        "codes": [
          {
            "code": "7056000.0",
            "description": "Carpal tunnel release",
            "attributes": {
              "Category": "Procedure for carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome",
              "Medcode": "817.0"
            }
          },
          {
            "code": "7056011.0",
            "description": "Carpal tunnel decompression",
            "attributes": {
              "Category": "Procedure for carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome",
              "Medcode": "19249.0"
            }
          },
          {
            "code": "7056200.0",
            "description": "Re-release of carpal tunnel",
            "attributes": {
              "Category": "Procedure for carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome",
              "Medcode": "16896.0"
            }
          },
          {
            "code": "7056400.0",
            "description": "Endoscopic carpal tunnel release",
            "attributes": {
              "Category": "Procedure for carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome",
              "Medcode": "39335.0"
            }
          },
          {
            "code": "705A100",
            "description": "Revision of carpal tunnel release",
            "attributes": {
              "Category": "Procedure for carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome",
              "Medcode": "97195.0"
            }
          },
          {
            "code": "85BE.00",
            "description": "Injection of carpal tunnel",
            "attributes": {
              "Category": "Procedure for carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome",
              "Medcode": "6487.0"
            }
          },
          {
            "code": "8Hlr.00",
            "description": "Referral for carpal tunnel injection",
            "attributes": {
              "Category": "History of carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome",
              "Medcode": "105374.0"
            }
          },
          {
            "code": "9Nu3000",
            "description": "Consent given for carpal tunnel injection",
            "attributes": {
              "Category": "Procedure for carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome",
              "Medcode": "106021.0"
            }
          },
          {
            "code": "F340.00",
            "description": "Carpal tunnel syndrome",
            "attributes": {
              "Category": "Diagnosis of carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome",
              "Medcode": "816.0"
            }
          },
          {
            "code": "F340.12",
            "description": "CTS - Carpal tunnel syndrome",
            "attributes": {
              "Category": "Diagnosis of carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome",
              "Medcode": "6926.0"
            }
          }
        ]
      },
      {
        "concept_id": 1051,
        "concept_version_id": 5487,
        "concept_name": "Carpal tunnel syndrome - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH130",
        "phenotype_version_id": 1507,
        "phenotype_name": "Carpal tunnel syndrome",
        "code_attribute_header": [
          "Readcode",
          "Disease",
          "ReadcodeDescr"
        ],
        "codes": [
          {
            "code": "105374.0",
            "description": "History of carpal tunnel syndrome",
            "attributes": {
              "Readcode": "8Hlr.00",
              "Disease": "Carpal tunnel syndrome",
              "ReadcodeDescr": "Referral for carpal tunnel injection"
            }
          },
          {
            "code": "106021.0",
            "description": "Procedure for carpal tunnel syndrome",
            "attributes": {
              "Readcode": "9Nu3000",
              "Disease": "Carpal tunnel syndrome",
              "ReadcodeDescr": "Consent given for carpal tunnel injection"
            }
          },
          {
            "code": "16896.0",
            "description": "Procedure for carpal tunnel syndrome",
            "attributes": {
              "Readcode": "7056200.0",
              "Disease": "Carpal tunnel syndrome",
              "ReadcodeDescr": "Re-release of carpal tunnel"
            }
          },
          {
            "code": "19249.0",
            "description": "Procedure for carpal tunnel syndrome",
            "attributes": {
              "Readcode": "7056011.0",
              "Disease": "Carpal tunnel syndrome",
              "ReadcodeDescr": "Carpal tunnel decompression"
            }
          },
          {
            "code": "39335.0",
            "description": "Procedure for carpal tunnel syndrome",
            "attributes": {
              "Readcode": "7056400.0",
              "Disease": "Carpal tunnel syndrome",
              "ReadcodeDescr": "Endoscopic carpal tunnel release"
            }
          },
          {
            "code": "6487.0",
            "description": "Procedure for carpal tunnel syndrome",
            "attributes": {
              "Readcode": "85BE.00",
              "Disease": "Carpal tunnel syndrome",
              "ReadcodeDescr": "Injection of carpal tunnel"
            }
          },
          {
            "code": "6926.0",
            "description": "Diagnosis of carpal tunnel syndrome",
            "attributes": {
              "Readcode": "F340.12",
              "Disease": "Carpal tunnel syndrome",
              "ReadcodeDescr": "CTS - Carpal tunnel syndrome"
            }
          },
          {
            "code": "816.0",
            "description": "Diagnosis of carpal tunnel syndrome",
            "attributes": {
              "Readcode": "F340.00",
              "Disease": "Carpal tunnel syndrome",
              "ReadcodeDescr": "Carpal tunnel syndrome"
            }
          },
          {
            "code": "817.0",
            "description": "Procedure for carpal tunnel syndrome",
            "attributes": {
              "Readcode": "7056000.0",
              "Disease": "Carpal tunnel syndrome",
              "ReadcodeDescr": "Carpal tunnel release"
            }
          },
          {
            "code": "97195.0",
            "description": "Procedure for carpal tunnel syndrome",
            "attributes": {
              "Readcode": "705A100",
              "Disease": "Carpal tunnel syndrome",
              "ReadcodeDescr": "Revision of carpal tunnel release"
            }
          }
        ]
      },
      {
        "concept_id": 1052,
        "concept_version_id": 5488,
        "concept_name": "Carpal tunnel syndrome - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH130",
        "phenotype_version_id": 1507,
        "phenotype_name": "Carpal tunnel syndrome",
        "code_attribute_header": [
          "Category",
          "Disease"
        ],
        "codes": [
          {
            "code": "G56.0",
            "description": "Carpal tunnel syndrome",
            "attributes": {
              "Category": "Diagnosis of Carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome"
            }
          }
        ]
      },
      {
        "concept_id": 1053,
        "concept_version_id": 5489,
        "concept_name": "Carpal tunnel syndrome - Secondary care - Procedures",
        "coding_system": {
          "id": 7,
          "name": "OPCS4 codes",
          "description": "OPCS4 codes"
        },
        "phenotype_id": "PH130",
        "phenotype_version_id": 1507,
        "phenotype_name": "Carpal tunnel syndrome",
        "code_attribute_header": [
          "Category",
          "Disease"
        ],
        "codes": [
          {
            "code": "A65.1",
            "description": "Carpal tunnel release",
            "attributes": {
              "Category": "Procedure for Carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome"
            }
          },
          {
            "code": "A69.2",
            "description": "Revision of carpal tunnel release",
            "attributes": {
              "Category": "Procedure for Carpal tunnel syndrome",
              "Disease": "Carpal tunnel syndrome"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/0yf0-x591",
    "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": 1507,
        "version_name": "Carpal tunnel syndrome",
        "version_date": "2021-10-19T09:30:05.135126Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]