[
  {
    "phenotype_id": "PH240",
    "phenotype_version_id": 480,
    "name": "Pleural effusion",
    "definition": "At the specified date, a patient is defined as having had 'Pleural effusion' 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. Other 'Pleural effusion' diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care (ICD10)\n\n\n1. ALL diagnoses of 'Pleural effusion' 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:16.281265Z",
    "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:16.281293Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Pleural-effusion---de7c8580-17a5-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Pleural-effusion.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": 1364,
        "concept_version_id": 3867,
        "concept_name": "Pleural effusion - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH240",
        "phenotype_version_id": 480,
        "phenotype_name": "Pleural effusion",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "H511.00",
            "description": "Bacterial pleurisy with effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "31689.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H511000",
            "description": "Pneumococcal pleurisy with effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "43345.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H511100",
            "description": "Staphylococcal pleurisy with effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "93010.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H511200",
            "description": "Streptococcal pleurisy with effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "108784.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H511z00",
            "description": "Bacterial pleurisy with effusion NOS",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "44842.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H51y.00",
            "description": "Other pleural effusion excluding mention of tuberculosis",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "30065.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H51y400",
            "description": "Hydrothorax",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "33577.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H51y500",
            "description": "Chylous effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "43807.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H51y700",
            "description": "Malignant pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "7593.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H51yz00",
            "description": "Other pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "18081.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H51z.00",
            "description": "Pleural effusion NOS",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "947.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H51z000",
            "description": "Exudative pleurisy NOS",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "60142.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H51z100",
            "description": "Serofibrinous pleurisy NOS",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "68470.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H51z200",
            "description": "Serous pleurisy NOS",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "55211.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "H51zz00",
            "description": "Pleural effusion NOS",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "9559.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "Hyu7000",
            "description": "[X]Pleural effusion in conditions classified elsewhere",
            "attributes": {
              "Disease": "Pleural effusion",
              "Medcode": "52850.0",
              "Category": "Diagnosis of Pleural effusion"
            }
          }
        ]
      },
      {
        "concept_id": 1365,
        "concept_version_id": 3869,
        "concept_name": "Pleural effusion - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH240",
        "phenotype_version_id": 480,
        "phenotype_name": "Pleural effusion",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "108784.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Streptococcal pleurisy with effusion",
              "Readcode": "H511200"
            }
          },
          {
            "code": "18081.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Other pleural effusion",
              "Readcode": "H51yz00"
            }
          },
          {
            "code": "30065.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Other pleural effusion excluding mention of tuberculosis",
              "Readcode": "H51y.00"
            }
          },
          {
            "code": "31689.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Bacterial pleurisy with effusion",
              "Readcode": "H511.00"
            }
          },
          {
            "code": "33577.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Hydrothorax",
              "Readcode": "H51y400"
            }
          },
          {
            "code": "43345.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Pneumococcal pleurisy with effusion",
              "Readcode": "H511000"
            }
          },
          {
            "code": "43807.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Chylous effusion",
              "Readcode": "H51y500"
            }
          },
          {
            "code": "44842.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Bacterial pleurisy with effusion NOS",
              "Readcode": "H511z00"
            }
          },
          {
            "code": "52850.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "[X]Pleural effusion in conditions classified elsewhere",
              "Readcode": "Hyu7000"
            }
          },
          {
            "code": "55211.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Serous pleurisy NOS",
              "Readcode": "H51z200"
            }
          },
          {
            "code": "60142.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Exudative pleurisy NOS",
              "Readcode": "H51z000"
            }
          },
          {
            "code": "68470.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Serofibrinous pleurisy NOS",
              "Readcode": "H51z100"
            }
          },
          {
            "code": "7593.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Malignant pleural effusion",
              "Readcode": "H51y700"
            }
          },
          {
            "code": "93010.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Staphylococcal pleurisy with effusion",
              "Readcode": "H511100"
            }
          },
          {
            "code": "947.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Pleural effusion NOS",
              "Readcode": "H51z.00"
            }
          },
          {
            "code": "9559.0",
            "description": "Diagnosis of Pleural effusion",
            "attributes": {
              "Disease": "Pleural effusion",
              "ReadcodeDescr": "Pleural effusion NOS",
              "Readcode": "H51zz00"
            }
          }
        ]
      },
      {
        "concept_id": 1366,
        "concept_version_id": 3871,
        "concept_name": "Pleural effusion - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH240",
        "phenotype_version_id": 480,
        "phenotype_name": "Pleural effusion",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "J90",
            "description": "Pleural effusion, not elsewhere classified",
            "attributes": {
              "Disease": "Pleural effusion",
              "Category": "Diagnosis of Pleural effusion"
            }
          },
          {
            "code": "J91",
            "description": "Pleural effusion in conditions classified elsewhere",
            "attributes": {
              "Disease": "Pleural effusion",
              "Category": "Diagnosis of Pleural effusion"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/h090-dc81",
    "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": 480,
        "version_name": "Pleural effusion",
        "version_date": "2021-10-06T16:09:16.314763Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]