[
  {
    "phenotype_id": "PH3581",
    "phenotype_version_id": 8669,
    "name": "Myocardial infarction",
    "definition": "This codelist was taken from [OpenCodelists](https://www.opencodelists.org/), created by [OpenSAFELY](https://www.opensafely.org/). We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.\n\n\nThis is a list of codes denoting a heart attack / myocardial infarction.\n\n\n© University of Oxford for the Bennett Institute for Applied Data Science 2025\\. This work may be copied freely for non\\-commercial research and study.\n\n",
    "implementation": null,
    "publications": null,
    "validation": null,
    "citation_requirements": null,
    "created": "2026-01-26T23:24:56.532501Z",
    "author": "OpenSAFELY",
    "collections": [
      {
        "name": "OpenCodelist",
        "value": 31
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 1,
      "slug": "opensafely",
      "name": "OpenSAFELY"
    },
    "world_access": 1,
    "updated": "2026-01-26T23:24:56.523756Z",
    "references": [
      {
        "url": "https://github.com/opensafely/nsaids-research/issues/17",
        "title": "GitHub Discussion"
      }
    ],
    "signed_off": [],
    "methodology": "The codelist was generated in a stepwise process (see GitHub discussion for more detail)\n\n\n- A READ2 code list previously compiled at LSHTM was used as the source list and mapped to CTV3\\.\n- Adding in key clusters from QOF and mapping to CTV3\\.\n- Adding in high level snowmed codes and mapping to CTV3\n- The final list was manually reviewed by clinicians\n",
    "coding_system": [
      {
        "name": "Read codes v3",
        "value": 6
      }
    ],
    "open_codelist_id": "opensafely/myocardial-infarction",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/myocardial-infarction/2020-06-25",
    "concept_information": [
      {
        "concept_id": 8846,
        "concept_version_id": 16331,
        "concept_name": "opensafely/myocardial-infarction/2020-06-25",
        "coding_system": {
          "id": 6,
          "name": "Read codes v3",
          "description": "Read codes v3"
        },
        "phenotype_id": "PH3581",
        "phenotype_version_id": 8669,
        "phenotype_name": "Myocardial infarction",
        "code_attribute_header": [
          "CTV3Source"
        ],
        "codes": [
          {
            "code": "14A3.",
            "description": "H/O: myocardial infarct at less than 60",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "14A4.",
            "description": "H/O: myocardial infarct at greater than 60",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "323..",
            "description": "ECG: myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "3232.",
            "description": "ECG: old myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "3233.",
            "description": "ECG: anteroseptal infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "3234.",
            "description": "ECG:posterior/inferior infarct",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "3235.",
            "description": "ECG: subendocardial infarct",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "3236.",
            "description": "ECG: lateral infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "323Z.",
            "description": "ECG: myocardial infarct NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "32B..",
            "description": "Q wave",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "32B2.",
            "description": "ECG: Q wave abnormal",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "32B3.",
            "description": "Pathological Q wave",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "32BZ.",
            "description": "ECG: Q wave NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "79291",
            "description": "Percut transluminal coronary thrombolysis with streptokinase",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G30..",
            "description": "(Myocard inf (&amp; [ac][silent][card rupt])) or (coron thromb)",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "G300.",
            "description": "Acute anterolateral myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G301.",
            "description": "Other specified anterior myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G3010",
            "description": "Acute anteroapical infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G3011",
            "description": "Acute anteroseptal myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G301z",
            "description": "Anterior myocardial infarction NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G302.",
            "description": "Acute inferolateral myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G303.",
            "description": "Acute inferoposterior infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G304.",
            "description": "Posterior myocardial infarction NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G305.",
            "description": "Lateral myocardial infarction NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G306.",
            "description": "True posterior myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G307.",
            "description": "Acute subendocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G308.",
            "description": "Inferior myocardial infarction NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G30y.",
            "description": "Other acute myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G30y0",
            "description": "Acute atrial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G30y1",
            "description": "Acute papillary muscle infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G30y2",
            "description": "Acute septal infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G30yz",
            "description": "Other acute myocardial infarction NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G30z.",
            "description": "Acute myocardial infarction NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G310.",
            "description": "Post-myocardial infarction syndrome",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G311.",
            "description": "(Angina:[cresc][unstabl][at rest])(preinfar syn)(imp infarc)",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "G3110",
            "description": "Aborted myocardial infarction",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "G31y1",
            "description": "Microinfarction of heart",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G32..",
            "description": "Myocard infarct: [old] or [healed] or [personal history of]",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "G35..",
            "description": "Subsequent myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G350.",
            "description": "Subsequent myocardial infarction of anterior wall",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G351.",
            "description": "Subsequent myocardial infarction of inferior wall",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G353.",
            "description": "Subsequent myocardial infarction of other sites",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G36..",
            "description": "Certain current complication follow acute myocardial infarct",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G360.",
            "description": "Haemopericardium/current comp folow acut myocard infarct",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G361.",
            "description": "Atrial septal defect/curr comp folow acut myocardal infarct",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G363.",
            "description": "Ruptur cardiac wall w'out haemopericard/cur comp fol ac MI",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G364.",
            "description": "Ruptur chordae tendinae/curr comp fol acute myocard infarct",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G365.",
            "description": "Rupture papillary muscle/curr comp fol acute myocard infarct",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "G366.",
            "description": "Thrombosis atrium,auric append&amp;vent/curr comp foll acute MI",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "Gyu31",
            "description": "[X]Other current complicatns following acute myocard infarct",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "Gyu34",
            "description": "[X]Acute transmural myocardial infarction of unspecif site",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "Gyu35",
            "description": "[X]Subsequent myocardial infarction of other sites",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "Gyu36",
            "description": "[X]Subsequent myocardial infarction of unspecified site",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "X200a",
            "description": "Silent myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "X200d",
            "description": "Post-infarction ventricular septal defect",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "X200D",
            "description": "Silent myocardial ischaemia",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "X200e",
            "description": "Cardiac rupture after acute myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "X200E",
            "description": "Myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "X200G",
            "description": "Acute Q wave infarction - anteroseptal",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200H",
            "description": "Acute non-Q wave infarction - anteroseptal",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200I",
            "description": "Acute Q wave infarction - anterolateral",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200J",
            "description": "Acute non-Q wave infarction - anterolateral",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200K",
            "description": "Acute inferior myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200L",
            "description": "Acute Q wave infarction - inferior",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200M",
            "description": "Acute non-Q wave infarction - inferior",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200N",
            "description": "Acute Q wave infarction - inferolateral",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200O",
            "description": "Acute non-Q wave infarction - inferolateral",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200P",
            "description": "Acute lateral myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200Q",
            "description": "Acute Q wave infarction - lateral",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200R",
            "description": "Acute non-Q wave infarction - lateral",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200S",
            "description": "Acute widespread myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200T",
            "description": "Acute Q wave infarction - widespread",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200U",
            "description": "Acute non-Q wave infarction - widespread",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200V",
            "description": "Acute posterior myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200W",
            "description": "Old anterior myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200x",
            "description": "Post-infarction mitral papillary muscle rupture",
            "attributes": {
              "CTV3Source": "High_Level_SNOMED"
            }
          },
          {
            "code": "X200X",
            "description": "Old inferior myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200Y",
            "description": "Old lateral myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X200Z",
            "description": "Old posterior myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X201u",
            "description": "Post-infarction pericarditis",
            "attributes": {
              "CTV3Source": "High_Level_SNOMED"
            }
          },
          {
            "code": "X203v",
            "description": "Coronary artery thrombosis",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "X77Cr",
            "description": "Q wave height",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X77Cs",
            "description": "Q wave height increased",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X77Ct",
            "description": "Q wave height decreased",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X77DK",
            "description": "Q wave shape",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "Xa0YL",
            "description": "Acute anterior myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "Xa1dP",
            "description": "Ischaemic myocardial dysfunction",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XaAC3",
            "description": "Acute Q wave myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaAzi",
            "description": "Acute non-Q wave infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaBL1",
            "description": "H/O: Myocardial infarction in last year",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaD2b",
            "description": "Postoperative myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaD2d",
            "description": "Postoperative transmural myocardial infarction anterior wall",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaD2e",
            "description": "Postoperative transmural myocardial infarction inferior wall",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaD2f",
            "description": "Postoperative transmural myocardial infarction other sites",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XaD2g",
            "description": "Postoperative transmural myocardial infarction unspec site",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XaD2h",
            "description": "Postoperative subendocardial myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaD2i",
            "description": "Postoperative myocardial infarction, unspecified",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaEgZ",
            "description": "Non-Q wave myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XaEXt",
            "description": "Post infarct angina",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XaFx7",
            "description": "Diab mellit insulin-glucose infus acute myocardial infarct",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaIf1",
            "description": "First myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XaIwM",
            "description": "Acute ST segment elevation myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaIwY",
            "description": "Acute non-ST segment elevation myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaJIU",
            "description": "Coronary artery bypass graft occlusion",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XaJX0",
            "description": "Acute posterolateral myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaQk7",
            "description": "History of myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaRFL",
            "description": "Exception reporting: myocardial infarction quality indicator",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XaRFO",
            "description": "Exc myocard infarction quality indicators: informed dissent",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XaRFP",
            "description": "Exc myocar infarction quality indicators: patient unsuitable",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XE0Uh",
            "description": "Acute myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XE0WA",
            "description": "Myocardial infarction (&amp; [acute]) or coronary thrombosis",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XE2aA",
            "description": "Old myocardial infarction",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "Y1eef",
            "description": "Mixed myocardial ischaemia and infarction",
            "attributes": {
              "CTV3Source": "QOF"
            }
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "2d180bc7",
    "open_codelist_version_tag": "2020-06-25",
    "status": 1,
    "doi": "https://doi.org/10.48533/wnf6-4t40",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 3,
      "name": "OpenCodelists Phenotype",
      "description": "OpenSafely's OpenCodelist Phenotype, visit https://www.opencodelists.org/ to learn more",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 8669,
        "version_name": "Myocardial infarction",
        "version_date": "2026-01-26T23:24:56.542086Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]