[
  {
    "phenotype_id": "PH328",
    "phenotype_version_id": 656,
    "name": "Undescended testicle",
    "definition": "At the specified date, a patient is defined as having had Undescended testicle 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. Undescended testicle diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care (ICD10)\n\n\n1. ALL diagnoses of Undescended testicle 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:13:03.768538Z",
    "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:13:03.768565Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Undescended-testicle---60ab6ff0-17cc-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Undescended-testicle.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": 1628,
        "concept_version_id": 4395,
        "concept_name": "Undescended testicle - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH328",
        "phenotype_version_id": 656,
        "phenotype_name": "Undescended testicle",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "B470.00",
            "description": "Malignant neoplasm of undescended testis",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "64602.0",
              "Category": "History of Undescended testicle"
            }
          },
          {
            "code": "B470200",
            "description": "Seminoma of undescended testis",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "7740.0",
              "Category": "History of Undescended testicle"
            }
          },
          {
            "code": "B470300",
            "description": "Teratoma of undescended testis",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "36325.0",
              "Category": "History of Undescended testicle"
            }
          },
          {
            "code": "B470z00",
            "description": "Malignant neoplasm of undescended testis NOS",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "96429.0",
              "Category": "History of Undescended testicle"
            }
          },
          {
            "code": "PC5..00",
            "description": "Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "634.0",
              "Category": "Diagnosis of Undescended testicle"
            }
          },
          {
            "code": "PC50.00",
            "description": "Cryptorchidism",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "10965.0",
              "Category": "Diagnosis of Undescended testicle"
            }
          },
          {
            "code": "PC50000",
            "description": "Cryptorchidism, unilateral",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "44918.0",
              "Category": "Diagnosis of Undescended testicle"
            }
          },
          {
            "code": "PC50100",
            "description": "Cryptorchidism, bilateral",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "47565.0",
              "Category": "Diagnosis of Undescended testicle"
            }
          },
          {
            "code": "PC50z00",
            "description": "Cryptorchidism NOS",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "33424.0",
              "Category": "Diagnosis of Undescended testicle"
            }
          },
          {
            "code": "PC51.00",
            "description": "Ectopic testis",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "5241.0",
              "Category": "Diagnosis of Undescended testicle"
            }
          },
          {
            "code": "PC5z.00",
            "description": "Undescended testicle NOS",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "28215.0",
              "Category": "Diagnosis of Undescended testicle"
            }
          },
          {
            "code": "PC5z000",
            "description": "Undescended testis, unilateral",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "6794.0",
              "Category": "Diagnosis of Undescended testicle"
            }
          },
          {
            "code": "PC5z011",
            "description": "Maldescent of testis, unilateral",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "46552.0",
              "Category": "Diagnosis of Undescended testicle"
            }
          },
          {
            "code": "PC5z100",
            "description": "Undescended testis, bilateral",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "6451.0",
              "Category": "Diagnosis of Undescended testicle"
            }
          },
          {
            "code": "PC5z111",
            "description": "Maldescent of testis, bilateral",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "19026.0",
              "Category": "Diagnosis of Undescended testicle"
            }
          },
          {
            "code": "PC5z.12",
            "description": "Maldescent of testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "Medcode": "12695.0",
              "Category": "Diagnosis of Undescended testicle"
            }
          }
        ]
      },
      {
        "concept_id": 1629,
        "concept_version_id": 4397,
        "concept_name": "Undescended testicle - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH328",
        "phenotype_version_id": 656,
        "phenotype_name": "Undescended testicle",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "10965.0",
            "description": "Diagnosis of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Cryptorchidism",
              "Readcode": "PC50.00"
            }
          },
          {
            "code": "12695.0",
            "description": "Diagnosis of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Maldescent of testicle",
              "Readcode": "PC5z.12"
            }
          },
          {
            "code": "19026.0",
            "description": "Diagnosis of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Maldescent of testis, bilateral",
              "Readcode": "PC5z111"
            }
          },
          {
            "code": "28215.0",
            "description": "Diagnosis of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Undescended testicle NOS",
              "Readcode": "PC5z.00"
            }
          },
          {
            "code": "33424.0",
            "description": "Diagnosis of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Cryptorchidism NOS",
              "Readcode": "PC50z00"
            }
          },
          {
            "code": "36325.0",
            "description": "History of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Teratoma of undescended testis",
              "Readcode": "B470300"
            }
          },
          {
            "code": "44918.0",
            "description": "Diagnosis of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Cryptorchidism, unilateral",
              "Readcode": "PC50000"
            }
          },
          {
            "code": "46552.0",
            "description": "Diagnosis of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Maldescent of testis, unilateral",
              "Readcode": "PC5z011"
            }
          },
          {
            "code": "47565.0",
            "description": "Diagnosis of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Cryptorchidism, bilateral",
              "Readcode": "PC50100"
            }
          },
          {
            "code": "5241.0",
            "description": "Diagnosis of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Ectopic testis",
              "Readcode": "PC51.00"
            }
          },
          {
            "code": "634.0",
            "description": "Diagnosis of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Undescended testicle",
              "Readcode": "PC5..00"
            }
          },
          {
            "code": "6451.0",
            "description": "Diagnosis of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Undescended testis, bilateral",
              "Readcode": "PC5z100"
            }
          },
          {
            "code": "64602.0",
            "description": "History of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Malignant neoplasm of undescended testis",
              "Readcode": "B470.00"
            }
          },
          {
            "code": "6794.0",
            "description": "Diagnosis of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Undescended testis, unilateral",
              "Readcode": "PC5z000"
            }
          },
          {
            "code": "7740.0",
            "description": "History of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Seminoma of undescended testis",
              "Readcode": "B470200"
            }
          },
          {
            "code": "96429.0",
            "description": "History of Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "ReadcodeDescr": "Malignant neoplasm of undescended testis NOS",
              "Readcode": "B470z00"
            }
          }
        ]
      },
      {
        "concept_id": 1630,
        "concept_version_id": 4399,
        "concept_name": "Undescended testicle - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH328",
        "phenotype_version_id": 656,
        "phenotype_name": "Undescended testicle",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "Q53",
            "description": "Undescended testicle",
            "attributes": {
              "Disease": "Undescended testicle",
              "Category": "Diagnosis of Undescended testicle"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/xbhv-7505",
    "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": 656,
        "version_name": "Undescended testicle",
        "version_date": "2021-10-06T16:13:03.795523Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]