[
  {
    "phenotype_id": "PH329",
    "phenotype_version_id": 658,
    "name": "Unstable Angina",
    "definition": "Use MODIFIED CALIBER 'Unstable Angina' phenotyping algorithm:\n\n\nAt the specified date, a patient is considered to have had 'Unstable Angina' IF they meet the criteria for any of the following on or before the specified date: \n\nA hospitalization with the non-specific diagnosis of 'angina' as the primary diagnosis, where there is no procedure giving a reason for admission (PCI or CABG), is considered to be 'Unstable Angina'.\n\n\nThe 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\n1.  Primary care\n\n\n    a)  Diagnosis of 'Unstable Angina'; unangina_gprd,  category 2, 3\n\n\n    b)  Diagnosis of acute coronary syndrome not otherwise specified; acs_gprd, category 3\n\n\n2.  Secondary care\n\n\n    a)  Primary or secondary diagnosis of unspecified angina (ICD-10 I20.9) during a hospitalization that did not have a PCI or CABG procedure performed\n\n\n    b)  Primary or secondary diagnosis of acute ischaemic heart disease during a hospitalization; acute_ihd_hes, category 3\n\n\n    c)  Primary or secondary diagnosis of 'Unstable Angina' during a hospitalization; uangina_hes, category 1\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:13:06.033843Z",
    "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:13:06.033870Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Unstable-Angina---ae1f2a60-17cc-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Unstable-Angina.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": 1631,
        "concept_version_id": 4401,
        "concept_name": "Unstable Angina - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH329",
        "phenotype_version_id": 658,
        "phenotype_name": "Unstable Angina",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "662K300",
            "description": "Angina control - worsening",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "29300",
              "Category": "Worsening angina (2)"
            }
          },
          {
            "code": "G311.00",
            "description": "Preinfarction syndrome",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "36523",
              "Category": "Unstable angina (3)"
            }
          },
          {
            "code": "G311100",
            "description": "Unstable angina",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "7347",
              "Category": "Unstable angina (3)"
            }
          },
          {
            "code": "G311.11",
            "description": "Crescendo angina",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "4656",
              "Category": "Unstable angina (3)"
            }
          },
          {
            "code": "G311.12",
            "description": "Impending infarction",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "39655",
              "Category": "Unstable angina (3)"
            }
          },
          {
            "code": "G311.13",
            "description": "Unstable angina",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "1431",
              "Category": "Unstable angina (3)"
            }
          },
          {
            "code": "G311.14",
            "description": "Angina at rest",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "19655",
              "Category": "Unstable angina (3)"
            }
          },
          {
            "code": "G311200",
            "description": "Angina at rest",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "17307",
              "Category": "Unstable angina (3)"
            }
          },
          {
            "code": "G311300",
            "description": "Refractory angina",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "34328",
              "Category": "Worsening angina (2)"
            }
          },
          {
            "code": "G311400",
            "description": "Worsening angina",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "18118",
              "Category": "Worsening angina (2)"
            }
          },
          {
            "code": "G311500",
            "description": "Acute coronary syndrome",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "11983",
              "Category": "ACS diagnosed (3)"
            }
          },
          {
            "code": "G311z00",
            "description": "Preinfarction syndrome NOS",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "54251",
              "Category": "Unstable angina (3)"
            }
          },
          {
            "code": "G312.00",
            "description": "Coronary thrombosis not resulting in myocardial infarction",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "39449",
              "Category": "Unstable angina (3)"
            }
          },
          {
            "code": "G31y000",
            "description": "Acute coronary insufficiency",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "9276",
              "Category": "Unstable angina (3)"
            }
          },
          {
            "code": "G33z000",
            "description": "Status anginosus",
            "attributes": {
              "Disease": "Unstable Angina",
              "Medcode": "66388",
              "Category": "Unstable angina (3)"
            }
          }
        ]
      },
      {
        "concept_id": 1632,
        "concept_version_id": 4403,
        "concept_name": "Unstable Angina - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH329",
        "phenotype_version_id": 658,
        "phenotype_name": "Unstable Angina",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "11983",
            "description": "ACS diagnosed (3)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Acute coronary syndrome",
              "Readcode": "G311500"
            }
          },
          {
            "code": "1431",
            "description": "Unstable angina (3)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Unstable angina",
              "Readcode": "G311.13"
            }
          },
          {
            "code": "17307",
            "description": "Unstable angina (3)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Angina at rest",
              "Readcode": "G311200"
            }
          },
          {
            "code": "18118",
            "description": "Worsening angina (2)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Worsening angina",
              "Readcode": "G311400"
            }
          },
          {
            "code": "19655",
            "description": "Unstable angina (3)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Angina at rest",
              "Readcode": "G311.14"
            }
          },
          {
            "code": "29300",
            "description": "Worsening angina (2)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Angina control - worsening",
              "Readcode": "662K300"
            }
          },
          {
            "code": "34328",
            "description": "Worsening angina (2)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Refractory angina",
              "Readcode": "G311300"
            }
          },
          {
            "code": "36523",
            "description": "Unstable angina (3)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Preinfarction syndrome",
              "Readcode": "G311.00"
            }
          },
          {
            "code": "39449",
            "description": "Unstable angina (3)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Coronary thrombosis not resulting in myocardial infarction",
              "Readcode": "G312.00"
            }
          },
          {
            "code": "39655",
            "description": "Unstable angina (3)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Impending infarction",
              "Readcode": "G311.12"
            }
          },
          {
            "code": "4656",
            "description": "Unstable angina (3)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Crescendo angina",
              "Readcode": "G311.11"
            }
          },
          {
            "code": "54251",
            "description": "Unstable angina (3)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Preinfarction syndrome NOS",
              "Readcode": "G311z00"
            }
          },
          {
            "code": "66388",
            "description": "Unstable angina (3)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Status anginosus",
              "Readcode": "G33z000"
            }
          },
          {
            "code": "7347",
            "description": "Unstable angina (3)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Unstable angina",
              "Readcode": "G311100"
            }
          },
          {
            "code": "9276",
            "description": "Unstable angina (3)",
            "attributes": {
              "Disease": "Unstable Angina",
              "ReadcodeDescr": "Acute coronary insufficiency",
              "Readcode": "G31y000"
            }
          }
        ]
      },
      {
        "concept_id": 1633,
        "concept_version_id": 4405,
        "concept_name": "Unstable Angina - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH329",
        "phenotype_version_id": 658,
        "phenotype_name": "Unstable Angina",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "I200",
            "description": "Unstable angina",
            "attributes": {
              "Disease": "Unstable Angina",
              "Category": "yes (1)"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/wwxt-hk83",
    "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": 658,
        "version_name": "Unstable Angina",
        "version_date": "2021-10-06T16:13:06.061237Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]