[
  {
    "phenotype_id": "PH268",
    "phenotype_version_id": 536,
    "name": "Primary Malignancy_Testicular",
    "definition": "At the specified date, a patient is defined as having had Primary Malignancy Testicular 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. Primary Malignancy Testicular diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care\n\n\n1. ALL diagnoses of Primary Malignancy Testicular 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:10:33.337035Z",
    "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:10:33.337064Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Primary-Malignancy_Testicular---1c9d7cd0-17b4-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Primary-Malignancy_Testicular.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": 1448,
        "concept_version_id": 4035,
        "concept_name": "Primary Malignancy_Testicular - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH268",
        "phenotype_version_id": 536,
        "phenotype_name": "Primary Malignancy_Testicular",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "B47..00",
            "description": "Malignant neoplasm of testis",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "15148.0",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          },
          {
            "code": "B470.00",
            "description": "Malignant neoplasm of undescended testis",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "64602.0",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          },
          {
            "code": "B470200",
            "description": "Seminoma of undescended testis",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "7740.0",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          },
          {
            "code": "B470300",
            "description": "Teratoma of undescended testis",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "36325.0",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          },
          {
            "code": "B470z00",
            "description": "Malignant neoplasm of undescended testis NOS",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "96429.0",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          },
          {
            "code": "B471.00",
            "description": "Malignant neoplasm of descended testis",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "19475.0",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          },
          {
            "code": "B471000",
            "description": "Seminoma of descended testis",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "21786.0",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          },
          {
            "code": "B471100",
            "description": "Teratoma of descended testis",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "9476.0",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          },
          {
            "code": "B471z00",
            "description": "Malignant neoplasm of descended testis NOS",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "91509.0",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          },
          {
            "code": "B47z.00",
            "description": "Malignant neoplasm of testis NOS",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "38510.0",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          },
          {
            "code": "B47z.11",
            "description": "Seminoma of testis",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "2961.0",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          },
          {
            "code": "B47z.12",
            "description": "Teratoma of testis",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "15989.0",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          },
          {
            "code": "ZV10416",
            "description": "[V]Personal history of malignant neoplasm of testis",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Medcode": "48808.0",
              "Category": "History of Primary Malignancy_Testicular"
            }
          }
        ]
      },
      {
        "concept_id": 1449,
        "concept_version_id": 4037,
        "concept_name": "Primary Malignancy_Testicular - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH268",
        "phenotype_version_id": 536,
        "phenotype_name": "Primary Malignancy_Testicular",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "15148.0",
            "description": "Diagnosis of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "Malignant neoplasm of testis",
              "Readcode": "B47..00"
            }
          },
          {
            "code": "15989.0",
            "description": "Diagnosis of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "Teratoma of testis",
              "Readcode": "B47z.12"
            }
          },
          {
            "code": "19475.0",
            "description": "Diagnosis of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "Malignant neoplasm of descended testis",
              "Readcode": "B471.00"
            }
          },
          {
            "code": "21786.0",
            "description": "Diagnosis of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "Seminoma of descended testis",
              "Readcode": "B471000"
            }
          },
          {
            "code": "2961.0",
            "description": "Diagnosis of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "Seminoma of testis",
              "Readcode": "B47z.11"
            }
          },
          {
            "code": "36325.0",
            "description": "Diagnosis of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "Teratoma of undescended testis",
              "Readcode": "B470300"
            }
          },
          {
            "code": "38510.0",
            "description": "Diagnosis of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "Malignant neoplasm of testis NOS",
              "Readcode": "B47z.00"
            }
          },
          {
            "code": "48808.0",
            "description": "History of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "[V]Personal history of malignant neoplasm of testis",
              "Readcode": "ZV10416"
            }
          },
          {
            "code": "64602.0",
            "description": "Diagnosis of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "Malignant neoplasm of undescended testis",
              "Readcode": "B470.00"
            }
          },
          {
            "code": "7740.0",
            "description": "Diagnosis of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "Seminoma of undescended testis",
              "Readcode": "B470200"
            }
          },
          {
            "code": "91509.0",
            "description": "Diagnosis of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "Malignant neoplasm of descended testis NOS",
              "Readcode": "B471z00"
            }
          },
          {
            "code": "9476.0",
            "description": "Diagnosis of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "Teratoma of descended testis",
              "Readcode": "B471100"
            }
          },
          {
            "code": "96429.0",
            "description": "Diagnosis of Primary Malignancy_Testicular",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "ReadcodeDescr": "Malignant neoplasm of undescended testis NOS",
              "Readcode": "B470z00"
            }
          }
        ]
      },
      {
        "concept_id": 1450,
        "concept_version_id": 4039,
        "concept_name": "Primary Malignancy_Testicular - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH268",
        "phenotype_version_id": 536,
        "phenotype_name": "Primary Malignancy_Testicular",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "C62",
            "description": "Malignant neoplasm of testis",
            "attributes": {
              "Disease": "Primary Malignancy_Testicular",
              "Category": "Diagnosis of Primary Malignancy_Testicular"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/604f-2e14",
    "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": 536,
        "version_name": "Primary Malignancy_Testicular",
        "version_date": "2021-10-06T16:10:33.365108Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]