[
  {
    "phenotype_id": "PH246",
    "phenotype_version_id": 492,
    "name": "Prematurity",
    "definition": "At the specified date, a patient is defined as having had Prematurity 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. Prematurity 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  Prematurity 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:09:29.299810Z",
    "author": "Kuan V, Denaxas S, Gonzalez-Izquierdo A, Direk K, Bhatti O, Husain S, Sutaria S, Hingorani M, Nitsch D, Parisinos C, Lumbers T, Mathur R, Sofat R, Casas JP, Wong I, Hemingway H, Hingorani A",
    "collections": [
      {
        "name": "CALIBER",
        "value": 21
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2021-10-06T16:09:29.299836Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Prematurity---7ce822a0-17a7-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Prematurity.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": 1382,
        "concept_version_id": 3903,
        "concept_name": "Prematurity - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH246",
        "phenotype_version_id": 492,
        "phenotype_name": "Prematurity",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "1546.00",
            "description": "H/O: premature delivery",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "11829.0",
              "Category": "History of Prematurity"
            }
          },
          {
            "code": "6351.00",
            "description": "Baby premature 36-38 weeks",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "29074.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "635..13",
            "description": "Premature baby",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "164.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "6352.00",
            "description": "Baby v. premature 32-36 weeks",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "27662.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "6353.00",
            "description": "Baby extremely prem.28-32 week",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "17915.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "6356.00",
            "description": "Baby premature 26-28 weeks",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "29996.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "6357.00",
            "description": "Baby premature 24-26 weeks",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "45702.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "635A.00",
            "description": "Baby premature 37 weeks",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "19598.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "635B.00",
            "description": "Baby premature 36 weeks",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "17968.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "635C.00",
            "description": "Preterm infant status",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "106617.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "635C.11",
            "description": "Preterm",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "107078.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "Q110.00",
            "description": "Very premature - less than 1000g or less than 28 weeks",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "26683.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "Q110.11",
            "description": "Immature baby",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "23926.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "Q111.00",
            "description": "Premature - weight 1000g-2499g or gestation of 28-37weeks",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "23670.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "Q11..11",
            "description": "Baby born premature",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "20429.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "Q112.00",
            "description": "Extreme immaturity",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "48011.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "Q112.11",
            "description": "Extreme prematurity - less than 28 weeks",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "32439.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "Q116.00",
            "description": "Premature infant 28-37 weeks",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "35209.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "Q11z.00",
            "description": "Born premature NOS",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "1211.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "Q317100",
            "description": "Prematurity with interstitial pulmonary fibrosis",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "46795.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "Q432.00",
            "description": "Preterm delivery associated jaundice",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "7828.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "Q456.00",
            "description": "Anaemia of prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "19574.0",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "Qyu1100",
            "description": "[X]Other preterm infants",
            "attributes": {
              "Disease": "Prematurity",
              "Medcode": "47154.0",
              "Category": "Diagnosis of Prematurity"
            }
          }
        ]
      },
      {
        "concept_id": 1383,
        "concept_version_id": 3905,
        "concept_name": "Prematurity - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH246",
        "phenotype_version_id": 492,
        "phenotype_name": "Prematurity",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "106617.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Preterm infant status",
              "Readcode": "635C.00"
            }
          },
          {
            "code": "107078.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Preterm",
              "Readcode": "635C.11"
            }
          },
          {
            "code": "11829.0",
            "description": "History of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "H/O: premature delivery",
              "Readcode": "1546.00"
            }
          },
          {
            "code": "1211.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Born premature NOS",
              "Readcode": "Q11z.00"
            }
          },
          {
            "code": "164.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Premature baby",
              "Readcode": "635..13"
            }
          },
          {
            "code": "17915.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Baby extremely prem.28-32 week",
              "Readcode": "6353.00"
            }
          },
          {
            "code": "17968.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Baby premature 36 weeks",
              "Readcode": "635B.00"
            }
          },
          {
            "code": "19574.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Anaemia of prematurity",
              "Readcode": "Q456.00"
            }
          },
          {
            "code": "19598.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Baby premature 37 weeks",
              "Readcode": "635A.00"
            }
          },
          {
            "code": "20429.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Baby born premature",
              "Readcode": "Q11..11"
            }
          },
          {
            "code": "23670.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Premature - weight 1000g-2499g or gestation of 28-37weeks",
              "Readcode": "Q111.00"
            }
          },
          {
            "code": "23926.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Immature baby",
              "Readcode": "Q110.11"
            }
          },
          {
            "code": "26683.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Very premature - less than 1000g or less than 28 weeks",
              "Readcode": "Q110.00"
            }
          },
          {
            "code": "27662.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Baby v. premature 32-36 weeks",
              "Readcode": "6352.00"
            }
          },
          {
            "code": "29074.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Baby premature 36-38 weeks",
              "Readcode": "6351.00"
            }
          },
          {
            "code": "29996.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Baby premature 26-28 weeks",
              "Readcode": "6356.00"
            }
          },
          {
            "code": "32439.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Extreme prematurity - less than 28 weeks",
              "Readcode": "Q112.11"
            }
          },
          {
            "code": "35209.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Premature infant 28-37 weeks",
              "Readcode": "Q116.00"
            }
          },
          {
            "code": "45702.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Baby premature 24-26 weeks",
              "Readcode": "6357.00"
            }
          },
          {
            "code": "46795.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Prematurity with interstitial pulmonary fibrosis",
              "Readcode": "Q317100"
            }
          },
          {
            "code": "47154.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "[X]Other preterm infants",
              "Readcode": "Qyu1100"
            }
          },
          {
            "code": "48011.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Extreme immaturity",
              "Readcode": "Q112.00"
            }
          },
          {
            "code": "7828.0",
            "description": "Diagnosis of Prematurity",
            "attributes": {
              "Disease": "Prematurity",
              "ReadcodeDescr": "Preterm delivery associated jaundice",
              "Readcode": "Q432.00"
            }
          }
        ]
      },
      {
        "concept_id": 1384,
        "concept_version_id": 3907,
        "concept_name": "Prematurity - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH246",
        "phenotype_version_id": 492,
        "phenotype_name": "Prematurity",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "P07.2",
            "description": "Extreme immaturity",
            "attributes": {
              "Disease": "Prematurity",
              "Category": "Diagnosis of Prematurity"
            }
          },
          {
            "code": "P07.3",
            "description": "Other preterm infants",
            "attributes": {
              "Disease": "Prematurity",
              "Category": "Diagnosis of Prematurity"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/47xs-8x52",
    "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": 492,
        "version_name": "Prematurity",
        "version_date": "2021-10-06T16:09:29.327903Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]