[
  {
    "phenotype_id": "PH93",
    "phenotype_version_id": 186,
    "name": "Agranulocytosis",
    "definition": "At the specified date, a patient is defined as having had 'Agranulocytosis' 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. 'Agranulocytosis' diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care (ICD10)\n\n\n1. ALL diagnoses of 'Agranulocytosis' 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:02:45.555960Z",
    "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:02:45.555988Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Agranulocytosis---ba552620-175b-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Agranulocytosis.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": 942,
        "concept_version_id": 3023,
        "concept_name": "Agranulocytosis - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH93",
        "phenotype_version_id": 186,
        "phenotype_name": "Agranulocytosis",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "42H2.00",
            "description": "Leucopenia - low white count",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "26325.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "42H2.11",
            "description": "Leucopenia",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "1955.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "42H4.00",
            "description": "Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "21258.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "42J2.00",
            "description": "Neutropenia",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "4463.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400.00",
            "description": "Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "4818.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400000",
            "description": "Idiopathic agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "63204.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400011",
            "description": "Idiopathic neutropenia",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "18054.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400100",
            "description": "Primary splenic neutropenia",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "96380.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400.11",
            "description": "Kostmann's syndrome",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "70337.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400.12",
            "description": "Neutropenia",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "2071.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400200",
            "description": "Agranulocytosis - drug induced",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "54000.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400211",
            "description": "Neutropenia - drug induced",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "35719.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400312",
            "description": "Neutropenia due to irradiation",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "40310.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400400",
            "description": "Agranulocytosis due to infection",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "50375.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400411",
            "description": "Neutropenia due to infection",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "17705.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400600",
            "description": "Drug-induced neutropenia",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "30008.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400800",
            "description": "Acquired neutropenia NEC",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "49346.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400811",
            "description": "Acquired agranulocytosis NEC",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "65903.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400900",
            "description": "Cyclical neutropenia",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "32141.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400A00",
            "description": "Leucopenia",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "3372.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400y00",
            "description": "Other specified agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "64300.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          },
          {
            "code": "D400z00",
            "description": "Agranulocytosis NOS",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Medcode": "63055.0",
              "Category": "Diagnosis of Agranulocytosis"
            }
          }
        ]
      },
      {
        "concept_id": 943,
        "concept_version_id": 3025,
        "concept_name": "Agranulocytosis - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH93",
        "phenotype_version_id": 186,
        "phenotype_name": "Agranulocytosis",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "17705.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Neutropenia due to infection",
              "Readcode": "D400411"
            }
          },
          {
            "code": "18054.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Idiopathic neutropenia",
              "Readcode": "D400011"
            }
          },
          {
            "code": "1955.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Leucopenia",
              "Readcode": "42H2.11"
            }
          },
          {
            "code": "2071.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Neutropenia",
              "Readcode": "D400.12"
            }
          },
          {
            "code": "21258.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Agranulocytosis",
              "Readcode": "42H4.00"
            }
          },
          {
            "code": "26325.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Leucopenia - low white count",
              "Readcode": "42H2.00"
            }
          },
          {
            "code": "30008.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Drug-induced neutropenia",
              "Readcode": "D400600"
            }
          },
          {
            "code": "32141.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Cyclical neutropenia",
              "Readcode": "D400900"
            }
          },
          {
            "code": "3372.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Leucopenia",
              "Readcode": "D400A00"
            }
          },
          {
            "code": "35719.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Neutropenia - drug induced",
              "Readcode": "D400211"
            }
          },
          {
            "code": "40310.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Neutropenia due to irradiation",
              "Readcode": "D400312"
            }
          },
          {
            "code": "4463.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Neutropenia",
              "Readcode": "42J2.00"
            }
          },
          {
            "code": "4818.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Agranulocytosis",
              "Readcode": "D400.00"
            }
          },
          {
            "code": "49346.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Acquired neutropenia NEC",
              "Readcode": "D400800"
            }
          },
          {
            "code": "50375.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Agranulocytosis due to infection",
              "Readcode": "D400400"
            }
          },
          {
            "code": "54000.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Agranulocytosis - drug induced",
              "Readcode": "D400200"
            }
          },
          {
            "code": "63055.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Agranulocytosis NOS",
              "Readcode": "D400z00"
            }
          },
          {
            "code": "63204.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Idiopathic agranulocytosis",
              "Readcode": "D400000"
            }
          },
          {
            "code": "64300.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Other specified agranulocytosis",
              "Readcode": "D400y00"
            }
          },
          {
            "code": "65903.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Acquired agranulocytosis NEC",
              "Readcode": "D400811"
            }
          },
          {
            "code": "70337.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Kostmann's syndrome",
              "Readcode": "D400.11"
            }
          },
          {
            "code": "96380.0",
            "description": "Diagnosis of Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "ReadcodeDescr": "Primary splenic neutropenia",
              "Readcode": "D400100"
            }
          }
        ]
      },
      {
        "concept_id": 944,
        "concept_version_id": 3027,
        "concept_name": "Agranulocytosis - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH93",
        "phenotype_version_id": 186,
        "phenotype_name": "Agranulocytosis",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "D70",
            "description": "Agranulocytosis",
            "attributes": {
              "Disease": "Agranulocytosis",
              "Category": "Diagnosis of Agranulocytosis"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/3ytc-w325",
    "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": 186,
        "version_name": "Agranulocytosis",
        "version_date": "2021-10-06T16:02:45.589407Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]