[
  {
    "phenotype_id": "PH181",
    "phenotype_version_id": 362,
    "name": "Diaphragmatic hernia",
    "definition": "At the specified date, a patient is defined as having had 'Diaphragmatic hernia' 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. 'Diaphragmatic hernia' diagnosis or history of diagnosis or procedure during a consultation \n\nOR\nSecondary care\n\n\n1. ALL diagnoses of 'Diaphragmatic hernia' or history of diagnosis during a hospitalization\nOR\nSecondary care (OPCS4)\n\n\n1. ALL procedures for 'Diaphragmatic hernia' during a hospitalization\n\n\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:06:42.976241Z",
    "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:06:42.976268Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Diaphragmatic-hernia---ede5f830-1787-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Diaphragmatic-hernia.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": "OPCS4 codes",
        "value": 7
      },
      {
        "name": "Med codes",
        "value": 8
      }
    ],
    "event_date_range": "01/01/1999 - 01/07/2016",
    "concept_information": [
      {
        "concept_id": 1202,
        "concept_version_id": 3543,
        "concept_name": "Diaphragmatic hernia - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH181",
        "phenotype_version_id": 362,
        "phenotype_name": "Diaphragmatic hernia",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "760K.00",
            "description": "Repair of diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "8270.0",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "760K011",
            "description": "Allison repair of oesophageal hiatus hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "47416.0",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "760K012",
            "description": "Mason repair of oesophageal hiatus hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "94728.0",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "760K100",
            "description": "Repair of diaphragmatic hernia using thoracic approach NEC",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "63539.0",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "760K.11",
            "description": "Repair of oesophageal hiatus hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "18664.0",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "760K.12",
            "description": "Repair of hiatus hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "1178.0",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "760K300",
            "description": "Repair of diaphragmatic hernia using abdominal approach NEC",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "30980.0",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "760K400",
            "description": "Boerema repair of hiatus hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "72571.0",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "760K500",
            "description": "Laparoscopic repair of hiatus hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "22845.0",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "760Ky00",
            "description": "Other specified repair of diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "60094.0",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "760Kz00",
            "description": "Repair of diaphragmatic hernia NOS",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "37471.0",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "760L312",
            "description": "Hill repair of hiatus hernia and gastropexy",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "61616.0",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "J34..00",
            "description": "Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "4987.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J340.00",
            "description": "Diaphragmatic hernia with gangrene",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "24703.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J341.00",
            "description": "Diaphragmatic hernia with obstruction",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "44233.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J34..11",
            "description": "Hiatus hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "256.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J34..12",
            "description": "Parasternal hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "31732.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J34..13",
            "description": "Retrosternal hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "110120.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J342.00",
            "description": "Diaphragmatic hernia - irreducible",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "60697.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J343.00",
            "description": "Simple diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "34691.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J344.00",
            "description": "Hiatus hernia with gangrene",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "68880.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J345.00",
            "description": "Hiatus hernia with obstruction",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "63180.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J346.00",
            "description": "Hiatus hernia - irreducible",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "48153.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J347.00",
            "description": "Simple hiatus hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "33779.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J348.00",
            "description": "Sliding hiatus hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "12086.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          },
          {
            "code": "J34y.00",
            "description": "Unspecified diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Medcode": "62920.0",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          }
        ]
      },
      {
        "concept_id": 1203,
        "concept_version_id": 3545,
        "concept_name": "Diaphragmatic hernia - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH181",
        "phenotype_version_id": 362,
        "phenotype_name": "Diaphragmatic hernia",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "110120.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Retrosternal hernia",
              "Readcode": "J34..13"
            }
          },
          {
            "code": "1178.0",
            "description": "Procedure for Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Repair of hiatus hernia",
              "Readcode": "760K.12"
            }
          },
          {
            "code": "12086.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Sliding hiatus hernia",
              "Readcode": "J348.00"
            }
          },
          {
            "code": "18664.0",
            "description": "Procedure for Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Repair of oesophageal hiatus hernia",
              "Readcode": "760K.11"
            }
          },
          {
            "code": "22845.0",
            "description": "Procedure for Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Laparoscopic repair of hiatus hernia",
              "Readcode": "760K500"
            }
          },
          {
            "code": "24703.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Diaphragmatic hernia with gangrene",
              "Readcode": "J340.00"
            }
          },
          {
            "code": "256.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Hiatus hernia",
              "Readcode": "J34..11"
            }
          },
          {
            "code": "30980.0",
            "description": "Procedure for Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Repair of diaphragmatic hernia using abdominal approach NEC",
              "Readcode": "760K300"
            }
          },
          {
            "code": "31732.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Parasternal hernia",
              "Readcode": "J34..12"
            }
          },
          {
            "code": "33779.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Simple hiatus hernia",
              "Readcode": "J347.00"
            }
          },
          {
            "code": "34691.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Simple diaphragmatic hernia",
              "Readcode": "J343.00"
            }
          },
          {
            "code": "37471.0",
            "description": "Procedure for Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Repair of diaphragmatic hernia NOS",
              "Readcode": "760Kz00"
            }
          },
          {
            "code": "44233.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Diaphragmatic hernia with obstruction",
              "Readcode": "J341.00"
            }
          },
          {
            "code": "47416.0",
            "description": "Procedure for Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Allison repair of oesophageal hiatus hernia",
              "Readcode": "760K011"
            }
          },
          {
            "code": "48153.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Hiatus hernia - irreducible",
              "Readcode": "J346.00"
            }
          },
          {
            "code": "4987.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Diaphragmatic hernia",
              "Readcode": "J34..00"
            }
          },
          {
            "code": "60094.0",
            "description": "Procedure for Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Other specified repair of diaphragmatic hernia",
              "Readcode": "760Ky00"
            }
          },
          {
            "code": "60697.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Diaphragmatic hernia - irreducible",
              "Readcode": "J342.00"
            }
          },
          {
            "code": "61616.0",
            "description": "Procedure for Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Hill repair of hiatus hernia and gastropexy",
              "Readcode": "760L312"
            }
          },
          {
            "code": "62920.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Unspecified diaphragmatic hernia",
              "Readcode": "J34y.00"
            }
          },
          {
            "code": "63180.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Hiatus hernia with obstruction",
              "Readcode": "J345.00"
            }
          },
          {
            "code": "63539.0",
            "description": "Procedure for Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Repair of diaphragmatic hernia using thoracic approach NEC",
              "Readcode": "760K100"
            }
          },
          {
            "code": "68880.0",
            "description": "Diagnosis of Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Hiatus hernia with gangrene",
              "Readcode": "J344.00"
            }
          },
          {
            "code": "72571.0",
            "description": "Procedure for Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Boerema repair of hiatus hernia",
              "Readcode": "760K400"
            }
          },
          {
            "code": "8270.0",
            "description": "Procedure for Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Repair of diaphragmatic hernia",
              "Readcode": "760K.00"
            }
          },
          {
            "code": "94728.0",
            "description": "Procedure for Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "ReadcodeDescr": "Mason repair of oesophageal hiatus hernia",
              "Readcode": "760K012"
            }
          }
        ]
      },
      {
        "concept_id": 1204,
        "concept_version_id": 3547,
        "concept_name": "Diaphragmatic hernia - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH181",
        "phenotype_version_id": 362,
        "phenotype_name": "Diaphragmatic hernia",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "K44",
            "description": "Diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Category": "Diagnosis of Diaphragmatic hernia"
            }
          }
        ]
      },
      {
        "concept_id": 1205,
        "concept_version_id": 3549,
        "concept_name": "Diaphragmatic hernia - Secondary care - Procedures",
        "coding_system": {
          "id": 7,
          "name": "OPCS4 codes",
          "description": "OPCS4 codes"
        },
        "phenotype_id": "PH181",
        "phenotype_version_id": 362,
        "phenotype_name": "Diaphragmatic hernia",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "G23",
            "description": "Repair of diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "G23.1",
            "description": "Repair of oesophageal hiatus using thoracic approach",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "G23.2",
            "description": "Repair of diaphragmatic hernia using thoracic approach NEC",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "G23.3",
            "description": "Repair of oesophageal hiatus using abdominal approach",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "G23.4",
            "description": "Repair of diaphragmatic hernia using abdominal approach NEC",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "G23.8",
            "description": "Other specified repair of diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          },
          {
            "code": "G23.9",
            "description": "Unspecified repair of diaphragmatic hernia",
            "attributes": {
              "Disease": "Diaphragmatic hernia",
              "Category": "Procedure for Diaphragmatic hernia"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/asnf-e172",
    "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": 362,
        "version_name": "Diaphragmatic hernia",
        "version_date": "2021-10-06T16:06:43.004470Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]