[
  {
    "phenotype_id": "PH2031",
    "phenotype_version_id": 4637,
    "name": "Pneumonia Secondary Care",
    "definition": "This codelist was taken from [OpenCodelists](https://www.opencodelists.org/), created by [OpenSAFELY](https://www.opensafely.org/). We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.\n\n\nThis codelist was taken from the opensafely/pneumonia\\-secondary\\-care. Since the CSV download for that list is currently unavailable, we replicated it here.\n\n\n© University of Oxford for the Bennett Institute for Applied Data Science 2025\\. This work may be copied freely for non\\-commercial research and study.\n\n",
    "implementation": null,
    "publications": null,
    "validation": null,
    "citation_requirements": null,
    "created": "2026-01-26T21:33:42.828470Z",
    "author": "University of Bristol",
    "collections": [
      {
        "name": "OpenCodelist",
        "value": 31
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 1,
      "slug": "opensafely",
      "name": "OpenSAFELY"
    },
    "world_access": 1,
    "updated": "2026-01-26T21:33:42.824044Z",
    "references": [
      {
        "url": "https://doi.org/10.3399/bjgp18X697973",
        "title": "Chronic kidney disease and cause-specific hospitalisation: a matched cohort study using primary and secondary care patient data"
      },
      {
        "url": "https://www.opencodelists.org/codelist/opensafely/pneumonia-secondary-care/2020-10-05/",
        "title": "opensafely/pneumonia-secondary-care"
      }
    ],
    "signed_off": [],
    "methodology": "This codelist was taken from the `opensafely/pneumonia-secondary-care`. Since the CSV download for that list is currently unavailable, we replicated it here.\n\n",
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      }
    ],
    "open_codelist_id": "bristol/pneumonia-secondary-care",
    "source_reference": "https://www.opencodelists.org/codelist/bristol/pneumonia-secondary-care/50c59f7f",
    "concept_information": [
      {
        "concept_id": 4814,
        "concept_version_id": 12299,
        "concept_name": "bristol/pneumonia-secondary-care/50c59f7f",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH2031",
        "phenotype_version_id": 4637,
        "phenotype_name": "Pneumonia Secondary Care",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "B012",
            "description": "Varicella pneumonia J17.1",
            "attributes": null
          },
          {
            "code": "B052",
            "description": "Measles complicated by pneumonia J17.1",
            "attributes": null
          },
          {
            "code": "B206",
            "description": "HIV disease resulting in Pneumocystis jirovecii pneumonia",
            "attributes": null
          },
          {
            "code": "B250",
            "description": "Cytomegaloviral pneumonitis J17.1",
            "attributes": null
          },
          {
            "code": "J100",
            "description": "Influenza with pneumonia, seasonal influenza virus identified",
            "attributes": null
          },
          {
            "code": "J110",
            "description": "Influenza with pneumonia, virus not identified",
            "attributes": null
          },
          {
            "code": "J12",
            "description": "Viral pneumonia, not elsewhere classified",
            "attributes": null
          },
          {
            "code": "J13",
            "description": "Pneumonia due to Streptococcus pneumoniae",
            "attributes": null
          },
          {
            "code": "J14",
            "description": "Pneumonia due to Haemophilus influenzae",
            "attributes": null
          },
          {
            "code": "J15",
            "description": "Bacterial pneumonia, not elsewhere classified",
            "attributes": null
          },
          {
            "code": "J16",
            "description": "Pneumonia due to other infectious organisms, not elsewhere classified",
            "attributes": null
          },
          {
            "code": "J17",
            "description": "Pneumonia in diseases classified elsewhere",
            "attributes": null
          },
          {
            "code": "J18",
            "description": "Pneumonia, organism unspecified",
            "attributes": null
          },
          {
            "code": "J851",
            "description": "Abscess of lung with pneumonia",
            "attributes": null
          },
          {
            "code": "U04",
            "description": "Severe acute respiratory syndrome [SARS]",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "50c59f7f",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/56ek-nb14",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 3,
      "name": "OpenCodelists Phenotype",
      "description": "OpenSafely's OpenCodelist Phenotype, visit https://www.opencodelists.org/ to learn more",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 4637,
        "version_name": "Pneumonia Secondary Care",
        "version_date": "2026-01-26T21:33:42.834436Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]