[
  {
    "phenotype_id": "PH254",
    "phenotype_version_id": 508,
    "name": "Primary Malignancy_Kidney and Ureter",
    "definition": "At the specified date, a patient is defined as having had Primary Malignancy Kidney and ureter 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_Kidney and ureter diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care\n\n\n1. ALL diagnoses of Primary Malignancy_Kidney and ureter 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:09:51.114298Z",
    "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:09:51.114325Z",
    "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_Kidney-and-Ureter---29287b20-17ab-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Primary-Malignancy_Kidney-and-Ureter.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": 1406,
        "concept_version_id": 3951,
        "concept_name": "Primary Malignancy_Kidney and Ureter - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH254",
        "phenotype_version_id": 508,
        "phenotype_name": "Primary Malignancy_Kidney and Ureter",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "B4A0.00",
            "description": "Malignant neoplasm of kidney parenchyma",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "1599.0",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "B4A0000",
            "description": "Hypernephroma",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "7978.0",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "B4A1.00",
            "description": "Malignant neoplasm of renal pelvis",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "12389.0",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "B4A1000",
            "description": "Malignant neoplasm of renal calyces",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "27540.0",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "B4A..11",
            "description": "Renal malignant neoplasm",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "18712.0",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "B4A1100",
            "description": "Malignant neoplasm of ureteropelvic junction",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "101608.0",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "B4A1z00",
            "description": "Malignant neoplasm of renal pelvis NOS",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "54184.0",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "B4A2.00",
            "description": "Malignant neoplasm of ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "15223.0",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "BB5a000",
            "description": "[M]Renal cell carcinoma",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "10668.0",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "BB5a011",
            "description": "[M]Grawitz tumour",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "52266.0",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "BB5a012",
            "description": "[M]Hypernephroma",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "15419.0",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "ZV10512",
            "description": "[V]Personal history of malignant neoplasm of kidney",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "47683.0",
              "Category": "History of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "ZV10513",
            "description": "[V]Personal history of malignant neoplasm of kidney",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Medcode": "28881.0",
              "Category": "History of Primary Malignancy_Kidney and Ureter"
            }
          }
        ]
      },
      {
        "concept_id": 1407,
        "concept_version_id": 3953,
        "concept_name": "Primary Malignancy_Kidney and Ureter - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH254",
        "phenotype_version_id": 508,
        "phenotype_name": "Primary Malignancy_Kidney and Ureter",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "101608.0",
            "description": "Diagnosis of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "Malignant neoplasm of ureteropelvic junction",
              "Readcode": "B4A1100"
            }
          },
          {
            "code": "10668.0",
            "description": "Diagnosis of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "[M]Renal cell carcinoma",
              "Readcode": "BB5a000"
            }
          },
          {
            "code": "12389.0",
            "description": "Diagnosis of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "Malignant neoplasm of renal pelvis",
              "Readcode": "B4A1.00"
            }
          },
          {
            "code": "15223.0",
            "description": "Diagnosis of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "Malignant neoplasm of ureter",
              "Readcode": "B4A2.00"
            }
          },
          {
            "code": "15419.0",
            "description": "Diagnosis of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "[M]Hypernephroma",
              "Readcode": "BB5a012"
            }
          },
          {
            "code": "1599.0",
            "description": "Diagnosis of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "Malignant neoplasm of kidney parenchyma",
              "Readcode": "B4A0.00"
            }
          },
          {
            "code": "18712.0",
            "description": "Diagnosis of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "Renal malignant neoplasm",
              "Readcode": "B4A..11"
            }
          },
          {
            "code": "27540.0",
            "description": "Diagnosis of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "Malignant neoplasm of renal calyces",
              "Readcode": "B4A1000"
            }
          },
          {
            "code": "28881.0",
            "description": "History of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "[V]Personal history of malignant neoplasm of kidney",
              "Readcode": "ZV10513"
            }
          },
          {
            "code": "47683.0",
            "description": "History of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "[V]Personal history of malignant neoplasm of kidney",
              "Readcode": "ZV10512"
            }
          },
          {
            "code": "52266.0",
            "description": "Diagnosis of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "[M]Grawitz tumour",
              "Readcode": "BB5a011"
            }
          },
          {
            "code": "54184.0",
            "description": "Diagnosis of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "Malignant neoplasm of renal pelvis NOS",
              "Readcode": "B4A1z00"
            }
          },
          {
            "code": "7978.0",
            "description": "Diagnosis of Primary Malignancy_Kidney and Ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "ReadcodeDescr": "Hypernephroma",
              "Readcode": "B4A0000"
            }
          }
        ]
      },
      {
        "concept_id": 1408,
        "concept_version_id": 3955,
        "concept_name": "Primary Malignancy_Kidney and Ureter - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH254",
        "phenotype_version_id": 508,
        "phenotype_name": "Primary Malignancy_Kidney and Ureter",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "C64",
            "description": "Malignant neoplasm of kidney, except renal pelvis",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "C65",
            "description": "Malignant neoplasm of renal pelvis",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          },
          {
            "code": "C66",
            "description": "Malignant neoplasm of ureter",
            "attributes": {
              "Disease": "Primary Malignancy_Kidney and Ureter",
              "Category": "Diagnosis of Primary Malignancy_Kidney and Ureter"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/aqx4-fv14",
    "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": 508,
        "version_name": "Primary Malignancy_Kidney and Ureter",
        "version_date": "2021-10-06T16:09:51.141187Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]