[
  {
    "phenotype_id": "PH2794",
    "phenotype_version_id": 7061,
    "name": "Myocardial infarction (MI) diagnosis codes",
    "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\nTaken from the `MI_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3\\.0 (https://www.nationalarchives.gov.uk/doc/open\\-government\\-licence/version/3/).\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-26T22:44:07.692324Z",
    "author": "NHSD Primary Care Domain Refsets",
    "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-26T22:44:13.670169Z",
    "references": [
      {
        "url": "https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-collections/quality-and-outcomes-framework-qof/quality-and-outcome-framework-qof-business-rules/primary-care-domain-reference-set-portal",
        "title": "Primary Care Domain Reference Set Portal"
      }
    ],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "nhsd-primary-care-domain-refsets/mi_cod",
    "source_reference": "https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/mi_cod/20250912",
    "concept_information": [
      {
        "concept_id": 7238,
        "concept_version_id": 14723,
        "concept_name": "nhsd-primary-care-domain-refsets/mi_cod/20250912",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH2794",
        "phenotype_version_id": 7061,
        "phenotype_name": "Myocardial infarction (MI) diagnosis codes",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "10273003",
            "description": "Acute infarction of papillary muscle",
            "attributes": null
          },
          {
            "code": "1077002",
            "description": "Septal infarction by electrocardiogram",
            "attributes": null
          },
          {
            "code": "1089431000000107",
            "description": "Postoperative nontransmural myocardial infarction",
            "attributes": null
          },
          {
            "code": "1089441000000103",
            "description": "Postoperative transmural myocardial infarction",
            "attributes": null
          },
          {
            "code": "1089451000000100",
            "description": "Acute nontransmural myocardial infarction",
            "attributes": null
          },
          {
            "code": "1089471000000109",
            "description": "Acute transmural myocardial infarction",
            "attributes": null
          },
          {
            "code": "1142308000",
            "description": "Mitral valve regurgitation due to acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "1163420005",
            "description": "Pericardial effusion following myocardial infarction",
            "attributes": null
          },
          {
            "code": "1163440003",
            "description": "Postoperative acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "1204151009",
            "description": "Acute inferior non-ST segment elevation myocardial infarction of right ventricle",
            "attributes": null
          },
          {
            "code": "1204152002",
            "description": "Acute inferior non-ST segment elevation myocardial infarction",
            "attributes": null
          },
          {
            "code": "1204154001",
            "description": "Acute anterior non-ST segment elevation myocardial infarction with right ventricular involvement",
            "attributes": null
          },
          {
            "code": "1204155000",
            "description": "Acute anterior non-ST segment elevation myocardial infarction",
            "attributes": null
          },
          {
            "code": "1204222000",
            "description": "Acute non-ST segment elevation myocardial infarction of right ventricle",
            "attributes": null
          },
          {
            "code": "1208867006",
            "description": "Ventricular thrombus following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "1208872002",
            "description": "Subsequent anterior non-ST segment elevation myocardial infarction",
            "attributes": null
          },
          {
            "code": "1208873007",
            "description": "Subsequent inferior non-ST segment elevation myocardial infarction",
            "attributes": null
          },
          {
            "code": "12238111000119106",
            "description": "Acute ST segment elevation myocardial infarction of inferolateral wall",
            "attributes": null
          },
          {
            "code": "12238151000119107",
            "description": "Acute ST segment elevation myocardial infarction of inferoposterior wall",
            "attributes": null
          },
          {
            "code": "129574000",
            "description": "Postoperative myocardial infarction",
            "attributes": null
          },
          {
            "code": "15712841000119100",
            "description": "Acute ST segment elevation myocardial infarction of posterolateral wall",
            "attributes": null
          },
          {
            "code": "15712881000119105",
            "description": "Acute ST segment elevation myocardial infarction of anterolateral wall",
            "attributes": null
          },
          {
            "code": "15712921000119103",
            "description": "Acute ST segment elevation myocardial infarction of lateral wall",
            "attributes": null
          },
          {
            "code": "15712961000119108",
            "description": "Acute ST segment elevation myocardial infarction of anteroseptal wall",
            "attributes": null
          },
          {
            "code": "15713001000119100",
            "description": "Acute ST segment elevation myocardial infarction of atrium",
            "attributes": null
          },
          {
            "code": "15713041000119103",
            "description": "Acute ST segment elevation myocardial infarction of posterior wall",
            "attributes": null
          },
          {
            "code": "15713081000119108",
            "description": "Acute ST segment elevation myocardial infarction due to left coronary artery occlusion",
            "attributes": null
          },
          {
            "code": "15713121000119105",
            "description": "Acute ST segment elevation myocardial infarction due to right coronary artery occlusion",
            "attributes": null
          },
          {
            "code": "15713161000119100",
            "description": "Acute ST segment elevation myocardial infarction of septum",
            "attributes": null
          },
          {
            "code": "15713201000119105",
            "description": "Acute ST segment elevation myocardial infarction of posterobasal wall",
            "attributes": null
          },
          {
            "code": "15960981000119105",
            "description": "Mural thrombus of left ventricle following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "15990001",
            "description": "Acute myocardial infarction of posterolateral wall",
            "attributes": null
          },
          {
            "code": "16415081000119104",
            "description": "Supraventricular tachycardia following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "16528621000119102",
            "description": "Rupture of interventricular septum following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "16837681000119104",
            "description": "Myocardial infarction due to demand ischemia",
            "attributes": null
          },
          {
            "code": "17531000119105",
            "description": "Acute myocardial infarction due to left coronary artery occlusion",
            "attributes": null
          },
          {
            "code": "194802003",
            "description": "True posterior myocardial infarction",
            "attributes": null
          },
          {
            "code": "194809007",
            "description": "Acute atrial infarction",
            "attributes": null
          },
          {
            "code": "194856005",
            "description": "Subsequent myocardial infarction",
            "attributes": null
          },
          {
            "code": "194857001",
            "description": "Subsequent myocardial infarction of anterior wall",
            "attributes": null
          },
          {
            "code": "194858006",
            "description": "Subsequent myocardial infarction of inferior wall",
            "attributes": null
          },
          {
            "code": "194862000",
            "description": "Hemopericardium due to and following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "194863005",
            "description": "Atrial septal defect due to and following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "194865003",
            "description": "Rupture of cardiac wall without hemopericardium as current complication following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "194866002",
            "description": "Rupture of chordae tendinae due to and following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "194867006",
            "description": "Rupture of papillary muscle as current complication following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "194868001",
            "description": "Thrombosis of atrium, auricular appendage, and ventricle due to and following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "22298006",
            "description": "Myocardial infarction",
            "attributes": null
          },
          {
            "code": "23311000119105",
            "description": "Acute myocardial infarction due to right coronary artery occlusion",
            "attributes": null
          },
          {
            "code": "233825009",
            "description": "Acute Q wave infarction - anteroseptal",
            "attributes": null
          },
          {
            "code": "233826005",
            "description": "Acute non-Q wave infarction - anteroseptal",
            "attributes": null
          },
          {
            "code": "233827001",
            "description": "Acute Q wave infarction - anterolateral",
            "attributes": null
          },
          {
            "code": "233828006",
            "description": "Acute non-Q wave infarction - anterolateral",
            "attributes": null
          },
          {
            "code": "233829003",
            "description": "Acute Q wave infarction - inferior",
            "attributes": null
          },
          {
            "code": "233830008",
            "description": "Acute non-Q wave infarction - inferior",
            "attributes": null
          },
          {
            "code": "233831007",
            "description": "Acute Q wave infarction - inferolateral",
            "attributes": null
          },
          {
            "code": "233832000",
            "description": "Acute non-Q wave infarction - inferolateral",
            "attributes": null
          },
          {
            "code": "233833005",
            "description": "Acute Q wave infarction - lateral",
            "attributes": null
          },
          {
            "code": "233834004",
            "description": "Acute non-Q wave infarction - lateral",
            "attributes": null
          },
          {
            "code": "233835003",
            "description": "Acute widespread myocardial infarction",
            "attributes": null
          },
          {
            "code": "233836002",
            "description": "Acute Q wave infarction - widespread",
            "attributes": null
          },
          {
            "code": "233837006",
            "description": "Acute non-Q wave infarction - widespread",
            "attributes": null
          },
          {
            "code": "233838001",
            "description": "Acute posterior myocardial infarction",
            "attributes": null
          },
          {
            "code": "233843008",
            "description": "Silent myocardial infarction",
            "attributes": null
          },
          {
            "code": "233846000",
            "description": "Post-infarction ventricular septal defect",
            "attributes": null
          },
          {
            "code": "233847009",
            "description": "Cardiac rupture due to and following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "233885007",
            "description": "Post-infarction pericarditis",
            "attributes": null
          },
          {
            "code": "282006",
            "description": "Acute myocardial infarction of basal-lateral wall",
            "attributes": null
          },
          {
            "code": "285981000119103",
            "description": "Acute ST segment elevation myocardial infarction involving left anterior descending coronary artery",
            "attributes": null
          },
          {
            "code": "285991000119100",
            "description": "Acute ST segment elevation myocardial infarction involving left main coronary artery",
            "attributes": null
          },
          {
            "code": "30277009",
            "description": "Rupture of ventricle due to acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "304914007",
            "description": "Acute Q wave myocardial infarction",
            "attributes": null
          },
          {
            "code": "307140009",
            "description": "Acute non-Q wave infarction",
            "attributes": null
          },
          {
            "code": "311792005",
            "description": "Postoperative transmural myocardial infarction of anterior wall",
            "attributes": null
          },
          {
            "code": "311793000",
            "description": "Postoperative transmural myocardial infarction of inferior wall",
            "attributes": null
          },
          {
            "code": "311796008",
            "description": "Postoperative subendocardial myocardial infarction",
            "attributes": null
          },
          {
            "code": "314207007",
            "description": "Non-Q wave myocardial infarction",
            "attributes": null
          },
          {
            "code": "315287002",
            "description": "Diabetes mellitus insulin-glucose infusion in acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "35401000087106",
            "description": "Old infarct of myocardium of apex of heart",
            "attributes": null
          },
          {
            "code": "35411000087108",
            "description": "Old infarct of myocardium of anterolateral region",
            "attributes": null
          },
          {
            "code": "35421000087100",
            "description": "Old infarct of myocardium of inferolateral region",
            "attributes": null
          },
          {
            "code": "35431000087103",
            "description": "Old infarct of high lateral wall of myocardium",
            "attributes": null
          },
          {
            "code": "35441000087109",
            "description": "Old infarct of myocardium of posterolateral region",
            "attributes": null
          },
          {
            "code": "35451000087107",
            "description": "Old infarct of myocardium of ventricular septum",
            "attributes": null
          },
          {
            "code": "371068009",
            "description": "Myocardial infarction with complication",
            "attributes": null
          },
          {
            "code": "387785661000119105",
            "description": "History of myocardial infarction due to atherothrombotic coronary artery disease",
            "attributes": null
          },
          {
            "code": "394659003",
            "description": "Acute coronary syndrome",
            "attributes": null
          },
          {
            "code": "394710008",
            "description": "First myocardial infarction",
            "attributes": null
          },
          {
            "code": "401303003",
            "description": "Acute ST segment elevation myocardial infarction",
            "attributes": null
          },
          {
            "code": "401314000",
            "description": "Acute non-ST segment elevation myocardial infarction",
            "attributes": null
          },
          {
            "code": "413444003",
            "description": "Acute myocardial ischemia",
            "attributes": null
          },
          {
            "code": "418044006",
            "description": "Myocardial infarction in recovery phase",
            "attributes": null
          },
          {
            "code": "42531007",
            "description": "Microinfarct of heart",
            "attributes": null
          },
          {
            "code": "428196007",
            "description": "Mixed myocardial ischemia and infarction",
            "attributes": null
          },
          {
            "code": "429391004",
            "description": "New myocardial infarction compared to prior study",
            "attributes": null
          },
          {
            "code": "44811000087108",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of distal portion of circumflex branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "44821000087100",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of mid portion of circumflex branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "44831000087103",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of obtuse marginal branch of circumflex branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "44841000087109",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of posterior lateral branch of circumflex branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "44851000087107",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of proximal portion of circumflex branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "52035003",
            "description": "Acute anteroapical myocardial infarction",
            "attributes": null
          },
          {
            "code": "54329005",
            "description": "Acute myocardial infarction of anterior wall",
            "attributes": null
          },
          {
            "code": "57054005",
            "description": "Acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "58612006",
            "description": "Acute myocardial infarction of lateral wall",
            "attributes": null
          },
          {
            "code": "59063002",
            "description": "Acute myocardial infarction of apical-lateral wall",
            "attributes": null
          },
          {
            "code": "62695002",
            "description": "Acute anteroseptal myocardial infarction",
            "attributes": null
          },
          {
            "code": "64627002",
            "description": "Acute myocardial infarction of high lateral wall",
            "attributes": null
          },
          {
            "code": "65547006",
            "description": "Acute myocardial infarction of inferolateral wall",
            "attributes": null
          },
          {
            "code": "66189004",
            "description": "Postmyocardial infarction syndrome",
            "attributes": null
          },
          {
            "code": "70211005",
            "description": "Acute myocardial infarction of anterolateral wall",
            "attributes": null
          },
          {
            "code": "703164000",
            "description": "Acute ST segment elevation myocardial infarction of anterior wall",
            "attributes": null
          },
          {
            "code": "703165004",
            "description": "Acute ST segment elevation myocardial infarction of anterior wall involving right ventricle",
            "attributes": null
          },
          {
            "code": "703209002",
            "description": "Subsequent ST segment elevation myocardial infarction of inferior wall",
            "attributes": null
          },
          {
            "code": "703210007",
            "description": "Subsequent ST segment elevation myocardial infarction of anterior wall",
            "attributes": null
          },
          {
            "code": "703211006",
            "description": "Subsequent ST segment elevation myocardial infarction",
            "attributes": null
          },
          {
            "code": "703212004",
            "description": "Acute myocardial infarction during procedure",
            "attributes": null
          },
          {
            "code": "703213009",
            "description": "Acute ST segment elevation myocardial infarction of inferior wall",
            "attributes": null
          },
          {
            "code": "703251009",
            "description": "Acute myocardial infarction of inferior wall involving right ventricle",
            "attributes": null
          },
          {
            "code": "703252002",
            "description": "Acute myocardial infarction of anterior wall involving right ventricle",
            "attributes": null
          },
          {
            "code": "703253007",
            "description": "Acute ST segment elevation myocardial infarction of inferior wall involving right ventricle",
            "attributes": null
          },
          {
            "code": "703326006",
            "description": "Mitral valve regurgitation due to and following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "703328007",
            "description": "Mitral valve regurgitation due to acute myocardial infarction without papillary muscle and chordal rupture",
            "attributes": null
          },
          {
            "code": "703330009",
            "description": "Mitral valve regurgitation due to acute myocardial infarction with papillary muscle and chordal rupture",
            "attributes": null
          },
          {
            "code": "703360004",
            "description": "Subsequent non-ST segment elevation myocardial infarction",
            "attributes": null
          },
          {
            "code": "70422006",
            "description": "Acute subendocardial infarction",
            "attributes": null
          },
          {
            "code": "70998009",
            "description": "Acute myocardial infarction of basal inferior segment of left ventricle",
            "attributes": null
          },
          {
            "code": "71023004",
            "description": "Pericarditis due to acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "726499301000119105",
            "description": "Myocardial infarction due to atherothrombotic coronary artery disease",
            "attributes": null
          },
          {
            "code": "736978009",
            "description": "Mural thrombus of right ventricle following acute myocardial infarction",
            "attributes": null
          },
          {
            "code": "73795002",
            "description": "Acute myocardial infarction of inferior wall",
            "attributes": null
          },
          {
            "code": "76593002",
            "description": "Acute myocardial infarction of inferoposterior wall",
            "attributes": null
          },
          {
            "code": "79009004",
            "description": "Acute myocardial infarction of septum",
            "attributes": null
          },
          {
            "code": "827164008",
            "description": "Delayed postmyocardial infarction pericarditis",
            "attributes": null
          },
          {
            "code": "836293000",
            "description": "Acute myocardial infarction of right ventricle",
            "attributes": null
          },
          {
            "code": "836294006",
            "description": "Acute myocardial infarction of apex of heart",
            "attributes": null
          },
          {
            "code": "836295007",
            "description": "Acute myocardial infarction of inferolateral wall with posterior extension",
            "attributes": null
          },
          {
            "code": "840309000",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of proximal portion of anterior descending branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "840312002",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of mid portion of anterior descending branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "840316004",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of distal portion of anterior descending branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "840609007",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of anterior descending branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "840680009",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of septal branch of anterior descending branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "846668006",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of diagonal branch of anterior descending branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "846683001",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of intermediate artery",
            "attributes": null
          },
          {
            "code": "868214006",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of proximal portion of right coronary artery",
            "attributes": null
          },
          {
            "code": "868217004",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of distal portion of right coronary artery",
            "attributes": null
          },
          {
            "code": "868220007",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of mid portion of right coronary artery",
            "attributes": null
          },
          {
            "code": "868224003",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of marginal branch of right coronary artery",
            "attributes": null
          },
          {
            "code": "868225002",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of posterior descending branch of right coronary artery",
            "attributes": null
          },
          {
            "code": "868226001",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of posterior lateral branch of right coronary artery",
            "attributes": null
          },
          {
            "code": "879955009",
            "description": "Myocardial infarction with non-obstructive coronary artery",
            "attributes": null
          },
          {
            "code": "896689003",
            "description": "Acute myocardial infarction due to occlusion of circumflex branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "896691006",
            "description": "Acute ST segment elevation myocardial infarction due to occlusion of circumflex branch of left coronary artery",
            "attributes": null
          },
          {
            "code": "896696001",
            "description": "Acute ST segment elevation myocardial infarction of apex of heart",
            "attributes": null
          },
          {
            "code": "896697005",
            "description": "Acute ST segment elevation myocardial infarction of right ventricle",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "7ff95005",
    "open_codelist_version_tag": "20250912",
    "status": 1,
    "doi": "https://doi.org/10.48533/wxy4-bk88",
    "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": 7061,
        "version_name": "Myocardial infarction (MI) diagnosis codes",
        "version_date": "2026-01-26T22:44:13.682245Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 7060,
        "version_name": "Myocardial infarction (MI) diagnosis codes",
        "version_date": "2026-01-26T22:44:12.227348Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 7059,
        "version_name": "Myocardial infarction (MI) diagnosis codes",
        "version_date": "2026-01-26T22:44:10.674217Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 7058,
        "version_name": "Myocardial infarction (MI) diagnosis codes",
        "version_date": "2026-01-26T22:44:09.155238Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 7057,
        "version_name": "Myocardial infarction (MI) diagnosis codes",
        "version_date": "2026-01-26T22:44:07.702018Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]