[
  {
    "phenotype_id": "PH875",
    "phenotype_version_id": 1829,
    "name": "Chronic Pulmonary Disease",
    "definition": "Background:\n\nSelf-harm is a major risk factor for suicide, with older adults (older than 65 years) having reportedly greater suicidal intent than any other age group. With the aging population rising and paucity of research focus in this age group, the extent of the problem of self-harm needs to be established. In a primary care cohort of older adults we aimed to investigate the incidence of self-harm, subsequent clinical management, prevalence of mental and physical diagnoses, and unnatural-cause mortality risk, including suicide.\n\n\nMethods:\n\nThe UK Clinical Practice Research Datalink contains anonymised patient records from general practice that routinely capture clinical information pertaining to both primary and secondary care services. We identified 4124 adults aged 65 years and older with a self-harm episode ascertained from Read codes recorded during 2001–14. We calculated standardised incidence and in 2854 adults with at least 12 months follow-up examined the frequency of psychiatric referrals and prescription of psychotropic medication after self-harm. We estimated prevalence of mental and physical illness diagnoses before and after self-harm and, using Cox regression in a matched cohort, we examined cause-specific mortality risks.\n\n\nFindings:\n\nOverall incidence of self-harm in older adults aged 65 years and older was 4·1 per 10 000 person-years with stable gender-specific rates observed over the 13-year period. After self-harm, 335 (11·7%) of 2854 adults were referred to mental health services, 1692 (59·3%) were prescribed an antidepressant, and 336 (11·8%) were prescribed a tricyclic antidepressant (TCA). Having a diagnosed previous mental illness was twice as prevalent in the self-harm cohort as in the comparison cohort (prevalence ratio 2·10 [95% CI 2·03–2·17]) and with a previous physical health condition prevalence was 20% higher in the self-harm cohort compared to the comparison cohort (1·20 [1·17–1·23]). Adults from the self-harm cohort (n=2454) died from unnatural causes an estimated 20 times more frequently than the comparison cohort (n=48 921) during the first year. A markedly elevated risk of suicide (hazard ratio 145·4 [95% CI 53·9–392·3]) was observed in the self-harm cohort.\n\n\nInterpretation: \n\nWithin primary care, we have identified a group of older adults at high risk from unnatural death, particularly within the first year of self-harm. We have highlighted a high frequency of prescription of TCAs, known to be potentially fatally toxic in overdose. We emphasise the need for early intervention, careful alternative prescribing, and increased support when older adults consult after an episode of self-harm and with other health conditions.\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": null,
        "details": "Catherine Morgan, Roger T Webb, Mathew J Carr, Evangelos Kontopantelis, Carolyn A Chew-Graham, Nav Kapur, Darren M. Ashcroft, Self-harm in a primary care cohort of older people incidence, clinical management, and risk of suicide and other causes of death. Psychiatry, 5, 2018."
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2022-04-04T07:07:53.319272Z",
    "author": "Catherine Morgan, Roger T Webb, Mathew J Carr, Evangelos Kontopantelis, Carolyn A Chew-Graham, Nav Kapur, Darren M. Ashcroft",
    "collections": [
      {
        "name": "ClinicalCodes Repository",
        "value": 25
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2022-04-04T07:07:53.319296Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "",
    "data_sources": [
      {
        "name": "CPRD GOLD",
        "value": 5,
        "uid": "a29feafa-7bdd-44e9-b977-c9d26425e67f",
        "url": "https://healthdatagateway.org/en/dataset/694",
        "datasource_id": 694
      }
    ],
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v2",
        "value": 5
      }
    ],
    "event_date_range": "01/01/2001 - 31/12/2014",
    "concept_information": [
      {
        "concept_id": 2630,
        "concept_version_id": 6673,
        "concept_name": "Chronic Pulmonary Disease - Primary Care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH875",
        "phenotype_version_id": 1829,
        "phenotype_name": "Chronic Pulmonary Disease",
        "code_attribute_header": [
          "Entity type",
          "Coding System (ICD-10 Read)",
          "Category"
        ],
        "codes": [
          {
            "code": "14B4.00",
            "description": "H/O: asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "173A.00",
            "description": "Exercise induced asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "173c.00",
            "description": "Occupational asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "1761",
            "description": "C/O bronchial catarrh",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "1O2..00",
            "description": "Asthma confirmed",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663e.00",
            "description": "Asthma restricts exercise",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663e100",
            "description": "Asthma severely restricts exercise",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663f.00",
            "description": "Asthma never restricts exercise",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663h.00",
            "description": "Asthma - currently dormant",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663N.00",
            "description": "Asthma disturbing sleep",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663N000",
            "description": "Asthma causing night waking",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663N100",
            "description": "Asthma disturbs sleep weekly",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663p.00",
            "description": "Asthma treatment compliance unsatisfactory",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663P.00",
            "description": "Asthma limiting activities",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663q.00",
            "description": "Asthma daytime symptoms",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663r.00",
            "description": "Asthma causes night symptoms 1 to 2 times per month",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663s.00",
            "description": "Asthma never causes daytime symptoms",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663t.00",
            "description": "Asthma causes daytime symptoms 1 to 2 times per month",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663u.00",
            "description": "Asthma causes daytime symptoms 1 to 2 times per week",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663v.00",
            "description": "Asthma causes daytime symptoms most days",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663V000",
            "description": "Occasional asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663V100",
            "description": "Mild asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663V200",
            "description": "Moderate asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663V300",
            "description": "Severe asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663w.00",
            "description": "Asthma limits walking up hills or stairs",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "663W.00",
            "description": "Asthma prophylactic medication used",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "66YC.00",
            "description": "Absent from work or school due to asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "66YP.00",
            "description": "Asthma night-time symptoms",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "8H2P.00",
            "description": "Emergency admission, asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "9OJ1.00",
            "description": "Attends asthma monitoring",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "9OJA.11",
            "description": "Asthma monitored",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H30..00",
            "description": "Bronchitis unspecified",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H300.00",
            "description": "Tracheobronchitis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H30..11",
            "description": "Chest infection - unspecified bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H30z.00",
            "description": "Bronchitis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H31..00",
            "description": "Chronic bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H310.00",
            "description": "Simple chronic bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H310000",
            "description": "Chronic catarrhal bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H310100",
            "description": "Smokers' cough",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H310z00",
            "description": "Simple chronic bronchitis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H311.00",
            "description": "Mucopurulent chronic bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H311000",
            "description": "Purulent chronic bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H311100",
            "description": "Fetid chronic bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H311z00",
            "description": "Mucopurulent chronic bronchitis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H312.00",
            "description": "Obstructive chronic bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H312000",
            "description": "Chronic asthmatic bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H312011",
            "description": "Chronic wheezy bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H312100",
            "description": "Emphysematous bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H312z00",
            "description": "Obstructive chronic bronchitis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H313.00",
            "description": "Mixed simple and mucopurulent chronic bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H31y.00",
            "description": "Other chronic bronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H31y100",
            "description": "Chronic tracheobronchitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H31yz00",
            "description": "Other chronic bronchitis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H31z.00",
            "description": "Chronic bronchitis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H32..00",
            "description": "Emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H320.00",
            "description": "Chronic bullous emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H320000",
            "description": "Segmental bullous emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H320200",
            "description": "Giant bullous emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H320z00",
            "description": "Chronic bullous emphysema NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H321.00",
            "description": "Panlobular emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H322.00",
            "description": "Centrilobular emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H32y.00",
            "description": "Other emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H32y000",
            "description": "Acute vesicular emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H32y100",
            "description": "Atrophic (senile) emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H32y200",
            "description": "MacLeod's unilateral emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H32yz00",
            "description": "Other emphysema NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H32z.00",
            "description": "Emphysema NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H33..00",
            "description": "Asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H330.00",
            "description": "Extrinsic (atopic) asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H330000",
            "description": "Extrinsic asthma without status asthmaticus",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H330011",
            "description": "Hay fever with asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H330111",
            "description": "Extrinsic asthma with asthma attack",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H330.12",
            "description": "Childhood asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H330.13",
            "description": "Hay fever with asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H330.14",
            "description": "Pollen asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H330z00",
            "description": "Extrinsic asthma NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H331.00",
            "description": "Intrinsic asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H331000",
            "description": "Intrinsic asthma without status asthmaticus",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H33..11",
            "description": "Bronchial asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H331100",
            "description": "Intrinsic asthma with status asthmaticus",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H331.11",
            "description": "Late onset asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H331111",
            "description": "Intrinsic asthma with asthma attack",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H331z00",
            "description": "Intrinsic asthma NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H332.00",
            "description": "Mixed asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H333.00",
            "description": "Acute exacerbation of asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H334.00",
            "description": "Brittle asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H33z.00",
            "description": "Asthma unspecified",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H33z000",
            "description": "Status asthmaticus NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H33z011",
            "description": "Severe asthma attack",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H33z111",
            "description": "Asthma attack NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H33z200",
            "description": "Late-onset asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H33zz11",
            "description": "Exercise induced asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H33zz12",
            "description": "Allergic asthma NEC",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H33zz13",
            "description": "Allergic bronchitis NEC",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H34..00",
            "description": "Bronchiectasis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H340.00",
            "description": "Recurrent bronchiectasis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H341.00",
            "description": "Post-infective bronchiectasis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H34z.00",
            "description": "Bronchiectasis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H35..00",
            "description": "Extrinsic allergic alveolitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H350.00",
            "description": "Farmers' lung",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H351.00",
            "description": "Bagassosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H352.00",
            "description": "Bird-fancier's lung",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H352000",
            "description": "Budgerigar-fanciers' lung",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H352100",
            "description": "Pigeon-fanciers' lung",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H352z00",
            "description": "Bird-fancier's lung NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H353.00",
            "description": "Suberosis ( cork-handlers' lung )",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H354.00",
            "description": "Malt workers' lung",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H355.00",
            "description": "Mushroom workers' lung",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H356.00",
            "description": "Maple bark strippers' lung",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H35y.00",
            "description": "Other allergic alveolitis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H35y500",
            "description": "Pituitary snuff-takers' disease",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H35y600",
            "description": "Sequoiosis (red-cedar asthma)",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H35y700",
            "description": "Wood asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H35yz00",
            "description": "Other allergic alveolitis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H35z.00",
            "description": "Allergic alveolitis and pneumonitis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H35z100",
            "description": "Hypersensitivity pneumonitis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H35zz00",
            "description": "Allergic alveolitis and pneumonitis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H3z..11",
            "description": "Chronic obstructive pulmonary disease NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H40..00",
            "description": "Coal workers' pneumoconiosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H41..00",
            "description": "Asbestosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H410.00",
            "description": "Pleural plaque disease due to asbestosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H41z.00",
            "description": "Asbestosis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H42..00",
            "description": "Silica and silicate pneumoconiosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H420.00",
            "description": "Talc pneumoconiosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H423.00",
            "description": "Massive silicotic fibrosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H42z.00",
            "description": "Silica pneumoconiosis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H43..00",
            "description": "Pneumoconiosis due to other inorganic dust",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H431.00",
            "description": "Bauxite fibrosis of lung",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H432.00",
            "description": "Berylliosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H434.00",
            "description": "Siderosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H435.00",
            "description": "Stannosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H43z.00",
            "description": "Pneumoconiosis due to inorganic dust NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H440.00",
            "description": "Byssinosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H441.00",
            "description": "Cannabinosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H45..00",
            "description": "Pneumoconiosis NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H460.00",
            "description": "Bronchitis and pneumonitis due to chemical fumes",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H460z00",
            "description": "Bronchitis and pneumonitis due to chemical fumes NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H464000",
            "description": "Chronic emphysema due to chemical fumes",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H464100",
            "description": "Obliterative bronchiolitis due to chemical fumes",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H464200",
            "description": "Chronic pulmonary fibrosis due to chemical fumes",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H47y000",
            "description": "Detergent asthma",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H4y1000",
            "description": "Chronic pulmonary fibrosis following radiation",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H4z..00",
            "description": "Lung disease due to external agents NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H57y.00",
            "description": "Lung disease with diseases EC",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H57yz00",
            "description": "Lung disease with diseases EC NOS",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H581.00",
            "description": "Interstitial emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "H582.00",
            "description": "Compensatory emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "Hyu3000",
            "description": "[X]Other emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "Hyu4000",
            "description": "[X]Pneumoconiosis due to other dust containing silica",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "Hyu4300",
            "description": "[X]Hypersensitivity pneumonitis due to other organic dusts",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "L4930LO",
            "description": "",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "SK07.00",
            "description": "Subcutaneous emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          }
        ]
      },
      {
        "concept_id": 2631,
        "concept_version_id": 6675,
        "concept_name": "Chronic Pulmonary Disease - Primary Care",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH875",
        "phenotype_version_id": 1829,
        "phenotype_name": "Chronic Pulmonary Disease",
        "code_attribute_header": [
          "Entity type",
          "Coding System (ICD-10 Read)",
          "Category"
        ],
        "codes": [
          {
            "code": "J40-J47",
            "description": "Chronic lower respiratory diseases",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J60-J67",
            "description": "Lung diseases due to external agents",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J68.4",
            "description": "Chronic respiratory condtions due to chemicals, gases, fumes and vapours",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J70.1",
            "description": "Chronic and other pulmonary manifestations due to radiation",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J70.3",
            "description": "Chronic drug-indiced interstitial lung disorders",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J84.1",
            "description": "Other interstitial pulmonary diseases with fibrosis",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J92.0",
            "description": "Pleural plaque",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J96.1",
            "description": "Chronic respiratory failure",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J98.2",
            "description": "Interstitial emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J98.3",
            "description": "Compensatory emphysema",
            "attributes": {
              "Entity type": "res69: chronic_pulmonary_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/b42h-9v90",
    "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": 1829,
        "version_name": "Chronic Pulmonary Disease",
        "version_date": "2022-04-04T07:07:53.343586Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]