[
  {
    "phenotype_id": "PH274",
    "phenotype_version_id": 548,
    "name": "Ptosis of eyelid",
    "definition": "At the specified date, a patient is defined as having had 'Ptosis of eyelid' of eyelid 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. 'Ptosis of eyelid' of eyelid diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care (ICD10)\n\n\n1. ALL diagnoses of 'Ptosis of eyelid' of eyelid or history of diagnosis during a hospitalization\nOR\nSecondary care (OPCS4)\n\n\n1. ALL procedures for 'Ptosis of eyelid' 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:10:46.975663Z",
    "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:10:46.975692Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Ptosis-of-eyelid---c500fb30-17b5-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Ptosis-of-eyelid.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": 1466,
        "concept_version_id": 4071,
        "concept_name": "Ptosis of eyelid - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH274",
        "phenotype_version_id": 548,
        "phenotype_name": "Ptosis of eyelid",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "2BE..00",
            "description": "O/E - ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "8696.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "2BE2.00",
            "description": "O/E - ptosis present",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "38956.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "2BE3.00",
            "description": "O/E - Horner's syndrome",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "22097.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "2BEZ.00",
            "description": "O/E - ptosis NOS",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "35069.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "7218.00",
            "description": "Correction of ptosis of eyelid",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "1633.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "7218000.0",
            "description": "Correction of eyelid ptosis using levator muscle technique",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "17472.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "7218100.0",
            "description": "Correction of eyelid ptosis using frontalis muscle technique",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "43924.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "7218200.0",
            "description": "Correction of ptosis of eyelid using sling of fascia",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "27441.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "7218300.0",
            "description": "Correction of eyelid ptosis using superior rectus technique",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "36100.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "7218500.0",
            "description": "Correction of eyelid ptosis using aponeurosis technique",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "17932.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "7218y00",
            "description": "Other specified correction of ptosis of eyelid",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "49096.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "7218z00",
            "description": "Correction of ptosis of eyelid NOS",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "4141.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "F4E3.00",
            "description": "Ptosis of eyelid",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "2232.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "F4E3000",
            "description": "Unspecified ptosis of eyelid",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "38413.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "F4E3100",
            "description": "Paralytic ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "47614.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "F4E3200",
            "description": "Myogenic ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "66515.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "F4E3300",
            "description": "Mechanical ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "17923.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "F4E3z00",
            "description": "Ptosis of eyelid NOS",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "35130.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "P360.00",
            "description": "Congenital ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "8319.0",
              "Category": "Diagnosis of ptosis"
            }
          },
          {
            "code": "P360.11",
            "description": "Blepharoptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Medcode": "16690.0",
              "Category": "Diagnosis of ptosis"
            }
          }
        ]
      },
      {
        "concept_id": 1467,
        "concept_version_id": 4073,
        "concept_name": "Ptosis of eyelid - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH274",
        "phenotype_version_id": 548,
        "phenotype_name": "Ptosis of eyelid",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "1633.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Correction of ptosis of eyelid",
              "Readcode": "7218.00"
            }
          },
          {
            "code": "16690.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Blepharoptosis",
              "Readcode": "P360.11"
            }
          },
          {
            "code": "17472.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Correction of eyelid ptosis using levator muscle technique",
              "Readcode": "7218000.0"
            }
          },
          {
            "code": "17923.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Mechanical ptosis",
              "Readcode": "F4E3300"
            }
          },
          {
            "code": "17932.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Correction of eyelid ptosis using aponeurosis technique",
              "Readcode": "7218500.0"
            }
          },
          {
            "code": "22097.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "O/E - Horner's syndrome",
              "Readcode": "2BE3.00"
            }
          },
          {
            "code": "2232.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Ptosis of eyelid",
              "Readcode": "F4E3.00"
            }
          },
          {
            "code": "27441.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Correction of ptosis of eyelid using sling of fascia",
              "Readcode": "7218200.0"
            }
          },
          {
            "code": "35069.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "O/E - ptosis NOS",
              "Readcode": "2BEZ.00"
            }
          },
          {
            "code": "35130.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Ptosis of eyelid NOS",
              "Readcode": "F4E3z00"
            }
          },
          {
            "code": "36100.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Correction of eyelid ptosis using superior rectus technique",
              "Readcode": "7218300.0"
            }
          },
          {
            "code": "38413.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Unspecified ptosis of eyelid",
              "Readcode": "F4E3000"
            }
          },
          {
            "code": "38956.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "O/E - ptosis present",
              "Readcode": "2BE2.00"
            }
          },
          {
            "code": "4141.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Correction of ptosis of eyelid NOS",
              "Readcode": "7218z00"
            }
          },
          {
            "code": "43924.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Correction of eyelid ptosis using frontalis muscle technique",
              "Readcode": "7218100.0"
            }
          },
          {
            "code": "47614.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Paralytic ptosis",
              "Readcode": "F4E3100"
            }
          },
          {
            "code": "49096.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Other specified correction of ptosis of eyelid",
              "Readcode": "7218y00"
            }
          },
          {
            "code": "66515.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Myogenic ptosis",
              "Readcode": "F4E3200"
            }
          },
          {
            "code": "8319.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "Congenital ptosis",
              "Readcode": "P360.00"
            }
          },
          {
            "code": "8696.0",
            "description": "Diagnosis of ptosis",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "ReadcodeDescr": "O/E - ptosis",
              "Readcode": "2BE..00"
            }
          }
        ]
      },
      {
        "concept_id": 1468,
        "concept_version_id": 4075,
        "concept_name": "Ptosis of eyelid - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH274",
        "phenotype_version_id": 548,
        "phenotype_name": "Ptosis of eyelid",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "H02.4",
            "description": "Ptosis of eyelid",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Category": "Diagnosis of ptosis of eyelid"
            }
          }
        ]
      },
      {
        "concept_id": 1469,
        "concept_version_id": 4077,
        "concept_name": "Ptosis of eyelid - Secondary care - Procedures",
        "coding_system": {
          "id": 7,
          "name": "OPCS4 codes",
          "description": "OPCS4 codes"
        },
        "phenotype_id": "PH274",
        "phenotype_version_id": 548,
        "phenotype_name": "Ptosis of eyelid",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "C18.1",
            "description": "Correction of ptosis of eyelid using levator muscle technique",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Category": "Procedure for Ptosis of eyelid"
            }
          },
          {
            "code": "C18.2",
            "description": "Correction of ptosis of eyelid using frontalis muscle technique",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Category": "Procedure for Ptosis of eyelid"
            }
          },
          {
            "code": "C18.3",
            "description": "Correction of ptosis of eyelid using sling of fascia",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Category": "Procedure for Ptosis of eyelid"
            }
          },
          {
            "code": "C18.4",
            "description": "Correction of ptosis of eyelid using superior rectus muscle technique",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Category": "Procedure for Ptosis of eyelid"
            }
          },
          {
            "code": "C18.5",
            "description": "Tarsomullerectomy",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Category": "Procedure for Ptosis of eyelid"
            }
          },
          {
            "code": "C18.6",
            "description": "Correction of ptosis of eyelid using aponeurosis technique",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Category": "Procedure for Ptosis of eyelid"
            }
          },
          {
            "code": "C18.8",
            "description": "Other specified correction of ptosis of eyelid",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Category": "Procedure for Ptosis of eyelid"
            }
          },
          {
            "code": "C18.9",
            "description": "Unspecified correction of ptosis of eyelid",
            "attributes": {
              "Disease": "Ptosis of eyelid",
              "Category": "Procedure for Ptosis of eyelid"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/829c-3498",
    "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": 548,
        "version_name": "Ptosis of eyelid",
        "version_date": "2021-10-06T16:10:47.009481Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]