[
  {
    "phenotype_id": "PH79",
    "phenotype_version_id": 158,
    "name": "Respiratory distress of newborn",
    "definition": "At the specified date, a patient is defined as having had Respiratory distress of newborn 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. Respiratory distress of newborn diagnosis or history of diagnosis during a consultation AND IF the patient is aged < 1y at the first event date\nOR\nSecondary care\n\n\n1. ALL diagnoses of  Respiratory distress of newborn or history of diagnosis during a hospitalization AND IF the patient is aged < 1y at the first event date\n\n\n\n\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": "10.1016/S2589-7500(19)30012-3",
        "details": "Kuan V., Denaxas S., Gonzalez-Izquierdo A. et al. A chronological map of 308 physical and mental health conditions from 4 million individuals in the National Health Service. The Lancet Digital Health - DOI 10.1016/S2589-7500(19)30012-3"
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2021-10-06T16:02:09.594953Z",
    "author": "Kuan V, Denaxas S, Gonzalez-Izquierdo A, Direk K, Bhatti O, Husain S, Sutaria S, Hingorani M, Nitsch D, Parisinos C, Lumbers T, Mathur R, Sofat R, Casas JP, Wong I, Hemingway H, Hingorani A",
    "collections": [
      {
        "name": "CALIBER",
        "value": 21
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2021-10-06T16:02:09.594982Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Respiratory-distress-of-newborn---db937db0-1755-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Respiratory-distress-of-newborn.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": 902,
        "concept_version_id": 2943,
        "concept_name": "Respiratory distress of newborn - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH79",
        "phenotype_version_id": 158,
        "phenotype_name": "Respiratory distress of newborn",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "Q30..00",
            "description": "Respiratory distress syndrome",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "Medcode": "2737.0",
              "Category": "Diagnosis of Respiratory distress of newborn"
            }
          },
          {
            "code": "Q30..11",
            "description": "Hyaline membrane disease",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "Medcode": "3883.0",
              "Category": "Diagnosis of Respiratory distress of newborn"
            }
          },
          {
            "code": "Q30..12",
            "description": "Pulmonary hypoperfusion syndrome of newborn",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "Medcode": "97418.0",
              "Category": "Diagnosis of Respiratory distress of newborn"
            }
          },
          {
            "code": "Q316.00",
            "description": "Newborn transitory tachypnoea",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "Medcode": "3007.0",
              "Category": "Diagnosis of Respiratory distress of newborn"
            }
          },
          {
            "code": "Q316.11",
            "description": "Wet lung syndrome in newborn",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "Medcode": "43218.0",
              "Category": "Diagnosis of Respiratory distress of newborn"
            }
          },
          {
            "code": "Q31y200",
            "description": "Perinatal respiratory distress NOS",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "Medcode": "26684.0",
              "Category": "Diagnosis of Respiratory distress of newborn"
            }
          },
          {
            "code": "Qyu3000",
            "description": "[X]Other respiratory distress of newborn",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "Medcode": "72704.0",
              "Category": "Diagnosis of Respiratory distress of newborn"
            }
          }
        ]
      },
      {
        "concept_id": 903,
        "concept_version_id": 2945,
        "concept_name": "Respiratory distress of newborn - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH79",
        "phenotype_version_id": 158,
        "phenotype_name": "Respiratory distress of newborn",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "26684.0",
            "description": "Diagnosis of Respiratory distress of newborn",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "ReadcodeDescr": "Perinatal respiratory distress NOS",
              "Readcode": "Q31y200"
            }
          },
          {
            "code": "2737.0",
            "description": "Diagnosis of Respiratory distress of newborn",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "ReadcodeDescr": "Respiratory distress syndrome",
              "Readcode": "Q30..00"
            }
          },
          {
            "code": "3007.0",
            "description": "Diagnosis of Respiratory distress of newborn",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "ReadcodeDescr": "Newborn transitory tachypnoea",
              "Readcode": "Q316.00"
            }
          },
          {
            "code": "3883.0",
            "description": "Diagnosis of Respiratory distress of newborn",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "ReadcodeDescr": "Hyaline membrane disease",
              "Readcode": "Q30..11"
            }
          },
          {
            "code": "43218.0",
            "description": "Diagnosis of Respiratory distress of newborn",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "ReadcodeDescr": "Wet lung syndrome in newborn",
              "Readcode": "Q316.11"
            }
          },
          {
            "code": "72704.0",
            "description": "Diagnosis of Respiratory distress of newborn",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "ReadcodeDescr": "[X]Other respiratory distress of newborn",
              "Readcode": "Qyu3000"
            }
          },
          {
            "code": "97418.0",
            "description": "Diagnosis of Respiratory distress of newborn",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "ReadcodeDescr": "Pulmonary hypoperfusion syndrome of newborn",
              "Readcode": "Q30..12"
            }
          }
        ]
      },
      {
        "concept_id": 904,
        "concept_version_id": 2947,
        "concept_name": "Respiratory distress of newborn - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH79",
        "phenotype_version_id": 158,
        "phenotype_name": "Respiratory distress of newborn",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "P22",
            "description": "Respiratory distress of newborn",
            "attributes": {
              "Disease": "Respiratory distress of newborn",
              "Category": "Diagnosis of Respiratory distress of newborn"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/g4zf-xc38",
    "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": 158,
        "version_name": "Respiratory distress of newborn",
        "version_date": "2021-10-06T16:02:09.623010Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]