MINAP Importing Details This file describes the format for the Minap export file V10.3 Minap Dataset- ami.csv. At the end of this document is the previous V9.1 dataset, which is set up in the same way as the V10.3 dataset, but with different options. The file is a CSV (comma separated variable) file. All values (even empty ones) must be enclosed in quotes (""). Each line (record) of the file must be properly terminated with a CRLF (carriage return and line feed, ASCII characters 13 and 10 in decimal, 0D and 0A in hex). Each line (record) is made up of 132, 156, 165 or 189 variables (fields) in the prescribed order for V10.3 and 126 or 159 for V9.1. Lines 1 and 5 are part of the dataset but are not allocated dataset item numbers as they are non-standard. Version 10.3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.09 1.10 1.11 1.13 2.01 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 2.18 2.19 2.20 2.21 2.22 2.23 2.24 “v10.3” Hospital identifier Patient case record number NHS number NHS number verification status Patient surname Patient forename Patient date of birth Patient gender Patient admin status Patient postcode GP/PCT code Patient ethnicity Initial diagnosis ECG determining treatment Where was aspirin/other antiplatelet given? Previous AMI Previous angina Hypertension Hypercholesterolaemia Peripheral vascular disease Cerebrovascular disease Asthma or COPD Chronic renal failure Heart failure Cardiac markers raised? Serum cholesterol Smoking status Diabetes Previous PCI Previous CABG Systolic BP Heart rate Admitting consultant Place first 12 lead ECG performed Beta blocker use Text (single value) Free text Free text Text (single value) Free text Free text Date (dd/mm/yyyy) Text (single value) Text (single value) Free text Free text Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Numeric (real) Text (single value) Text (single value) Text (single value) Text (single value) Numeric (integer) Numeric (integer) Text (single value) Text (single value) Text (single value) 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 2.25 2.26 2.28 2.29 2.30 2.31 2.32 2.33 2.34 2.35 2.36 2.37 2.38 2.39 2.40 2.41 2.42 3.01 3.02 3.03 3.04 3.05 3.06 3.08 3.09 3.10 3.11 3.13 3.14 3.15 3.16 3.17 3.19 3.20 3.21 3.22 3.24 3.25 3.27 3.28 3.29 3.30 3.31 3.32 81 82 83 84 85 86 87 88 89 3.33 3.34 3.36 3.37 3.38 3.39 3.40 3.41 3.42 ACEI or ARB use Statin use Serum glucose Height Weight Left ventricular ejection fraction Family history of CHD Cardiological care during admission Creatinine Haemoglobin Site of infarction ECG QRS complex duration Thienopyridine inhibitor use Admission method Patient location at time of STEMI Killip class Stress echo Date/time of symptom onset Date/time of call for help Date/time of arrival of first responder Date/time of arrival of ambulance Ambulance job number Date/time arrival at hospital Reason reperfusion treatment not given Date/time of reperfusion treatment Delay before treatment Where was initial reperfusion treatment given? Cardiac arrest date/time – FIRST ARREST ONLY Cardiac arrest location Arrest presenting rhythm Outcome of arrest Admission ward Peak Troponin Unfractionated heparin Low molecular weight heparin Thienopyridine platelet inhibitor IV 2b/3a agent IV beta blocker Calcium channel blocker IV nitrate Oral nitrate Potassium channel modulator Warfarin Angiotensin converting enzyme inhibitor or angiotensin receptor blocker (ARB) Thiazide diuretic Loop diuretic Thrombolytic drug Troponin assay Fondaparinux Initial reperfusion treatment Additional reperfusion treatment In patient management of hyperglycaemia/diabetes Diabetic therapy at discharge Text (single value) Text (single value) Numeric (real) Numeric (integer) Numeric (real) Text (single value) Text (single value) Text (single value) Numeric (integer) Numeric (real) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) DateTime (dd/mm/yyyy hh:mm) DateTime (dd/mm/yyyy hh:mm) DateTime (dd/mm/yyyy hh:mm) DateTime (dd/mm/yyyy hh:mm) Free text DateTime (dd/mm/yyyy hh:mm) Text (single value) DateTime (dd/mm/yyyy hh:mm) Text (single value) Text (single value) DateTime (dd/mm/yyyy hh:mm) Text (single value) Text (single value) Text (single value) Text (single value) Numeric (real) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 3.43 3.44 3.45 3.46 3.47 3.48 3.49 3.50 3.51 3.52 3.53 4.01 4.02 4.03 4.04 4.05 4.06 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 4.07 4.08 4.09 4.10 4.11 4.12 4.13 4.14 4.15 4.16 4.17 4.18 4.19 4.20 4.21 4.23 4.24 4.26 4.27 4.28 4.29 128 129 130 131 132 4.30 4.31 4.32 5.01 5.02 Oral beta blocker Aldosterone antagonist Bivalirudin Date/time of arrival at non interventional hospital Assessment at non interventional hospital Assessment at interventional centre Intended reperfusion procedure Procedure performed Why was no angiogram performed? Why was no intervention performed? Date/time of start of insulin infusion Date of discharge Discharge diagnosis Bleeding complications Death in hospital Discharged on beta blocker Discharged on angiotensin converting enzyme inhibitor or angiotensin receptor blocker Discharged on statin Discharged on aspirin Cardiac rehabilitation Exercise test Echocardiography Radionuclide study Coronary angiography Coronary intervention Date/time of referral for investigation/intervention Discharge destination Daycase transfer date Angio date/time Local intervention date Interventional centre code Referring hospital code Followed up by Reinfarction Date of return to referring hospital Discharged on a thienopyridine inhibitor Discharged on an aldosterone antagonist What procedure was performed at the interventional hospital? Delay to performance of angiogram Discharged on Ticagrelor High risk nSTEMI Smoking cessation advice given Dietary advice given during this admission Text (single value) Text (single value) Text (single value) DateTime (dd/mm/yyyy hh:mm) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) DateTime (dd/mm/yyyy hh:mm) Date (dd/mm/yyyy) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) DateTime (dd/mm/yyyy hh:mm) Text (single value) Date (dd/mm/yyyy) DateTime (dd/mm/yyyy hh:mm) Date (dd/mm/yyyy) Text (single value) Text (single value) Text (single value) Text (single value) Date (dd/mm/yyyy) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) In April 2010, the 33 Hyperglycaemia fields became importable and these fields must also be tagged on to the end of the import file for both version 10 if required. 133 134 135 136 137 Date/time insulin infusion – start Date/time insulin infusion - finish Glucose 1 hour Glucose 2 hour Glucose 3 hour Date/time (dd/mm/yyyy hh:mm) Date/time (dd/mm/yyyy hh:mm) Numeric (real) Numeric (real) Numeric (real) 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 Glucose 4 hour Glucose 5 hour Glucose 6 hour Glucose 7 hour Glucose 8 hour Glucose 9 hour Glucose 10 hour Glucose 11 hour Glucose 12 hour Glucose 13 hour Glucose 14 hour Glucose 15 hour Glucose 16 hour Glucose 17 hour Glucose 18 hour Glucose 20 hour Glucose 22 hour Glucose 24 hour HbA1c Fasting glucose Treating for Hypoglycaemia Cardiac arrhythmia Was additional insulin prescribed Potassium at admission Potassium at 24 hours Potassium at arrhythmia Seen by diabetes team Was an oral glucose tolerance test arranged Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Text (single value) Text (single value) Text (single value) Numeric (real) Numeric (real) Numeric (real) Text (single value) Text (single value) In June 2013, the Takotsubo Cardiomyopathy fields became available for import. These 24 fields must be tagged on to the end of the import file, if required, either after the 33 hyperglycaemia fields or directly after the main dataset if the hyperglycaemia fields are not being imported. 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 Stress precipitant Stress precipitant - other Date/time of stressful precipitant Regional LV dysfunction distribution Regional LV dysfunction distribution - other Previous history of Takotsubo Cardiomyopathy (recurrence) Family history of Takotsubo Cardiomyopathy Thyroid disease Psychiatric disease Hormonal status (female patients) HRT or oral contraceptive Androgen modifying therapy Beta adrenergic receptor agonists QTc interval Atrial tachycardia or fibrillation Ventricular tachycardia or fibrillation Left ventricular apical thrombus Left ventricular outflow tract obstruction Bystander coronary artery disease LVEDP Text (multi value) Free text DateTime (dd/mm/yyyy hh:mm) Text (single value) Free text Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) 186 187 188 189 LVEDP Value Cardiac Magnetic Resonance Imaging Positive inotropic support Intraaortic balloon pump support Free text Text (single value) Text (multi value) Text (single value) Please bear in mind that if you submit the Takotsubo fields and don’t submit the Hyperglycaemia fields, the numbers above will change from 166 -189 to 133-156. In summary, import numbers should be: MINAP v10 dataset only MINAP v10 + Hyperglycaemia MINAP v10 + Hyperglycaemia + Takotsubo MINAP v10 + Takotsubo 132 fields 165 fields 189 fields 156 fields Version 9.1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.09 1.10 1.11 1.13 2.01 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 2.18 2.19 2.20 2.21 2.22 2.23 “v9.1” Hospital identifier Patient case record number NHS number NHS number verification status Patient surname Patient forename Patient date of birth Patient gender Patient admin status Patient postcode GP/PCT code Patient ethnicity Initial diagnosis ECG determining treatment Where was aspirin/other antiplatelet given Previous AMI Previous angina Hypertension Hypercholesterolaemia Peripheral vascular disease Cerebrovascular disease Asthma or COPD Chronic renal failure Heart failure Cardiac markers raised? Serum cholesterol Smoking status Diabetes Previous PCI Previous CABG Systolic BP Heart rate Admitting consultant Place first 12 lead ECG performed Text (single value) Free text Free text Text (single value) Free text Free text Date (dd/mm/yyyy) Text (single value) Text (single value) Free text Free text Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Numeric (real) Text (single value) Text (single value) Text (single value) Text (single value) Numeric (integer) Numeric (integer) Text (single value) Text (single value) 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 2.24 2.25 2.26 2.28 2.29 2.30 2.31 2.32 2.33 2.34 2.35 2.36 2.37 2.38 2.39 2.40 2.41 3.01 3.02 3.03 3.04 3.05 3.06 3.08 3.09 3.10 3.11 3.13 3.14 3.15 3.16 3.17 3.19 3.20 3.21 3.22 3.24 3.25 3.27 3.28 3.29 3.30 3.31 3.32 80 81 82 83 84 85 86 87 88 3.33 3.34 3.36 3.37 3.38 3.39 3.40 3.41 3.42 Beta blocker use ACEI or ARB use Statin use Serum glucose Height Weight Left ventricular ejection fraction Family history of CHD Cardiological care during admission Creatinine Haemoglobin Site of infarction ECG QRS complex duration Thienopyridine inhibitor use Admission method Patient location at time of STEMI Killip class Date/time of symptom onset Date/time of call for help Date/time of arrival of first responder Date/time of arrival of ambulance Ambulance job number Date/time arrival at hospital Reason reperfusion treatment not given Date/time of reperfusion treatment Delay before treatment Where was initial reperfusion treatment given? Cardiac arrest date/time – FIRST ARREST ONLY Cardiac arrest location Arrest presenting rhythm Outcome of arrest Admission ward Peak troponin Unfractionated heparin Low molecular weight heparin Thienopyridine platelet inhibitor IV 2b/3a agent IV beta blocker Calcium channel blocker IV nitrate Oral nitrate Potassium channel modulator Warfarin Angiotensin converting enzyme inhibitor or angiotensin receptor blocker (ARB) Thiazide diuretic Loop diuretic Thrombolytic drug Troponin assay Fondaparinux Initial reperfusion treatment Additional reperfusion treatment In patient management of hyperglycaemia/diabetes Diabetic therapy at discharge Text (single value) Text (single value) Text (single value) Numeric (real) Numeric (integer) Numeric (integer) Text (single value) Text (single value) Text (single value) Numeric (real) Numeric (real) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) DateTime (dd/mm/yyyy hh:mm) DateTime (dd/mm/yyyy hh:mm) DateTime (dd/mm/yyyy hh:mm) DateTime (dd/mm/yyyy hh:mm) Free text DateTime (dd/mm/yyyy hh:mm) Text (single value) DateTime (dd/mm/yyyy hh:mm) Text (single value) Text (single value) DateTime (dd/mm/yyyy hh:mm) Text (single value) Text (single value) Text (single value) Text (single value) Numeric (real) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 3.43 3.44 3.46 3.47 3.48 3.49 3.50 3.51 3.52 4.01 4.02 4.03 4.04 4.05 4.06 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 4.07 4.08 4.09 4.10 4.11 4.12 4.13 4.14 4.15 4.16 4.17 4.18 4.19 4.20 4.21 4.23 4.24 4.26 4.27 4.28 4.29 125 126 5.01 5.02 Oral beta blocker Aldosterone antagonist Date/time of arrival at non interventional hospital Assessment at non interventional hospital Assessment at interventional centre Intended reperfusion procedure Procedure performed Why was no angiogram performed? Why was no intervention performed? Date of discharge Discharge diagnosis Bleeding complications Death in hospital Discharged on beta blocker Angiotensin converting enzyme inhibitor or angiotensin receptor blocker Discharged on statin Discharged on aspirin Cardiac rehabilitation Exercise test Echocardiography Radionuclide study Coronary angiography Coronary intervention Date/time of referral for investigation/intervention Discharge destination Daycase transfer date Local angio date/time Local intervention date Interventional centre code Referring hospital code Followed up by Reinfarction Date of return to referring hospital Discharged on a thienopyridine inhibitor Discharged on aldosterone antagonist What procedure was performed at the interventional hospital? Smoking cessation advice given Dietary advice given during this admission Text (single value) Text (single value) DateTime (dd/mm/yyyy hh:mm) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Date (dd/mm/yyyy) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) Date (dd/mm/yyyy hh:mm) Text (single value) Date (dd/mm/yyyy) DateTime (dd/mm/yyyy hh:mm) Date (dd/mm/yyyy) Text (single value) Text (single value) Text (single value) Text (single value) Date (dd/mm/yyyy) Text (single value) Text (single value) Text (single value) Text (single value) Text (single value) In April 2010, the 33 Hyperglycaemia fields became importable and these fields must also be tagged on to the end of the import file, if required. 127 128 129 130 131 132 133 134 135 136 Date/time insulin infusion - start Date/time insulin infusion - finish Glucose 1 hour Glucose 2 hour Glucose 3 hour Glucose 4 hour Glucose 5 hour Glucose 6 hour Glucose 7 hour Glucose 8 hour Date/time (dd/mm/yyyy hh:mm) Date/time (dd/mm/yyyy hh:mm) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 Glucose 9 hour Glucose 10 hour Glucose 11 hour Glucose 12 hour Glucose 13 hour Glucose 14 hour Glucose 15 hour Glucose 16 hour Glucose 17 hour Glucose 18 hour Glucose 20 hour Glucose 22 hour Glucose 24 hour HbA1c Fasting glucose Treating for Hypoglycaemia Cardiac arrhythmia Was additional insulin prescribed Potassium at admission Potassium at 24 hours Potassium at arrhythmia Seen by diabetes team Was an oral glucose tolerance test arranged Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Numeric (real) Text (single value) Text (single value) Text (single value) Numeric (real) Numeric (real) Numeric (real) Text (single value) Text (single value) Format of an export file The file must be in a CSV format (Comma Separated Value) and should look like this:# "value 1","value 2","","",......"value 112","Value 132" "value 1","value 2","","",......"value 112","Value 132" "value 1","value 2","","",......"value 112","Value 132" Note: Empty quotes ("") to highlight how to handle empty values. ..... signifies the continuation of the values