Angiogram Study – Data Dictionary

All variables are coded as integers or ISO dates (YYYY-MM-DD). No free text is stored.

Convention: 9 = Not applicable / Unknown across the entire dataset.

Study_ID

Auto-assigned sequential integer starting at 1. Primary key.

DOB

Date of birth. Format: YYYY-MM-DD (ISO 8601).

Note: Sex and Procedure_Date are not collected in this tool; they can be added later to the exported dataset (e.g. in Excel) matched by Study_ID.

Setting

CodeMeaning
0Outpatient
1Inpatient
Rules driven by Setting:
  • If Outpatient (0): Troponin_Positive is set to 9 (N/A). NSTEMI is not available as an Indication_Type. OP_Referral_Route is asked.
  • If Inpatient (1): Troponin_Positive must be 0 or 1. OP_Referral_Route / Non_Invasive_Test fields are set to 9 (N/A).

Troponin_Positive

Definition: Positive = any troponin value above the upper reference limit in the admission period before the angiogram. Thresholds: >14 ng/L (women), >35 ng/L (men).

CodeMeaning
0No
1Yes
9N/A (auto-set when Setting = 0 Outpatient)

OP_Referral_Route (Outpatient only)

CodeMeaning
1Direct referral
2After non-invasive testing
9N/A (auto-set when Setting = 1 Inpatient)
If After non-invasive testing (2): Non_Invasive_Test_Type and Non_Invasive_Test_Result are asked.
If Direct (1) or Inpatient: both test fields are set to 9.

Non_Invasive_Test_Type (OP + after testing)

CodeMeaning
1CTCA
2DSE (Dobutamine Stress Echo)
3Exercise Echo
4MPS (Myocardial Perfusion Scan)
5Cardiac MRI
9N/A (Inpatient, or direct OP referral)

Non_Invasive_Test_Result (OP + after testing)

CodeMeaning
1Positive / Abnormal
2Negative / Normal
3Equivocal / Inconclusive
9N/A (Inpatient, or direct OP referral)

Indication_Type

CodeMeaning
1Stable chest pain
2NSTEMI (Inpatient, troponin positive only)
3Unstable angina
4LV dysfunction / cardiomyopathy
5Pre-op / valve work-up
6Other
NSTEMI (2) is not available when Setting = 0 (Outpatient) or when Troponin_Positive = 0 (No). Codes run 1–6 only.

Hypertension

Definition: Positive = documented diagnosis of hypertension and/or on antihypertensive therapy prior to admission/procedure.

CodeMeaning
0No
1Yes
9Unknown

Diabetes

Definition: Positive = documented diagnosis of diabetes and/or on glucose-lowering therapy prior to admission/procedure.

CodeMeaning
0No
1Yes
9Unknown

Hyperlipidaemia

Definition: Positive = documented diagnosis of hyperlipidaemia/dyslipidaemia and/or on lipid-lowering therapy (e.g. statin, ezetimibe, PCSK9 inhibitor) prior to admission/procedure. If neither is documented, a common fallback is total cholesterol ≥200 mg/dL (≈5.18 mmol/L) or LDL-C ≥130 mg/dL (≈3.37 mmol/L).

CodeMeaning
0No
1Yes
9Unknown

Smoking_Status

CodeMeaning
0Never
1Ex-smoker
2Current
9Unknown

Family_Hx_Premature_CAD

Definition: Positive = first-degree relative (parent, sibling, or child) with MI, angina, sudden cardiac death and/or coronary revascularisation (PCI or CABG) occurring before 55 years in male relatives or 65 years in female relatives.

CodeMeaning
0No
1Yes
9Unknown

Hx_CAD

Prior history of coronary artery disease (MI, PCI, or CABG).

CodeMeaning
0No
1Yes
9Unknown

Angio_Outcome

CodeMeaning
0Normal (<50%)
1Non-obstructive (50–69%)
2Obstructive (≥70% or LM ≥50%)

Management_Strategy

CodeMeaning
1Medical therapy only
2PCI referral
3CABG referral
4Further investigation required
5Diagnostic only / no change
If PCI referral (2): PCI_Outcome is asked.
Otherwise PCI_Outcome is set to 9 (N/A).

PCI_Outcome (PCI referral only)

CodeMeaning
1Stented
2Not stented (PCI done, no stent placed)
3Not done
9N/A (Management_Strategy ≠ 2)

created_by_user

Username of the collector who created the case. Used for Study_ID range assignment and audit. Not exported in CSV.

Coding Convention Summary

CodeMeaningUsed In
9Not applicable / UnknownAll conditional & yes/no/unknown fields
0No (or Outpatient, or Normal)Binary fields, Setting, Angio_Outcome
1Yes (or first option)All coded fields
2+Additional categoriesSee individual field tables above

No cell in the dataset is ever empty. Every field always contains a coded integer or an ISO date.

Conditional Logic Summary

ConditionFields affectedAction
Setting = 0 (OP)Troponin_PositiveAuto-set to 9
Setting = 0 (OP)Indication_TypeNSTEMI (2) hidden
Troponin_Positive = 0 (No)Indication_TypeNSTEMI (2) hidden
Setting = 1 (IP)OP_Referral_Route, Non_Invasive_Test_Type, Non_Invasive_Test_ResultAuto-set to 9
OP_Referral_Route = 1 (Direct)Non_Invasive_Test_Type, Non_Invasive_Test_ResultAuto-set to 9
Management_Strategy ≠ 2PCI_OutcomeAuto-set to 9