7.2 Megacode Execution
Key Takeaways
- The megacode is the ACLS skills test where you run a full arrest scenario as team leader, integrating BLS, rhythm recognition, defibrillation, drugs, airway, and post-ROSC care.
- The opening sequence is fixed: confirm unresponsiveness, no normal breathing and no pulse (within 10 seconds), start CPR, attach the monitor/defibrillator, and assign roles.
- Run tight 2-minute CPR cycles: high-quality compressions, brief pause for rhythm check, shock if shockable (VF/pVT), resume CPR immediately, then give the drug.
- Epinephrine 1 mg IV/IO every 3–5 minutes is given in every arrest; amiodarone 300 mg then 150 mg (or lidocaine) is added only for shockable rhythms that persist.
- Search for and treat reversible causes (H's and T's) throughout, and pivot cleanly to post-ROSC care when pulses return.
What the Megacode Tests
The megacode is the capstone skills station of an AHA ACLS course. An examiner presents a realistic, evolving cardiopulmonary scenario, and you must function as the team leader while directing a (real or simulated) team through a full resuscitation. To pass, you integrate everything from the prior chapters at once: high-quality BLS, rhythm recognition, defibrillation timing, ACLS drug selection and timing, advanced airway decisions, the H's and T's search, and the post-ROSC pivot. Course completion requires passing the skills test(s) and scoring at least 84% on the written exam.
The examiner is scoring behaviors and decisions, not eloquent narration. The most common reasons candidates struggle are interrupting compressions too long, missing the shockable-versus-nonshockable branch, forgetting to resume CPR immediately after a shock, mistiming epinephrine, or failing to recognize ROSC.
The fixed opening sequence
Every megacode starts the same way. Drill this so it is automatic:
| Step | Action |
|---|---|
| 1 | Ensure scene safety; confirm unresponsiveness. |
| 2 | Shout for help / activate the emergency response and call for the defibrillator and code team. |
| 3 | Check breathing and pulse simultaneously for no more than 10 seconds — no normal breathing + no pulse = cardiac arrest. |
| 4 | Start high-quality CPR (30:2 until an advanced airway) and assign roles by name. |
| 5 | Attach the monitor/defibrillator as soon as it arrives; get IV/IO access. |
State your plan out loud as you go so the examiner can score it — but never stop compressions to explain reasoning.
Running the CPR Cycles
The megacode is built around repeating 2-minute CPR cycles. Manage each cycle with the same rhythm:
- High-quality CPR for ~2 minutes — compressions 100–120/min, depth at least 2 in (5 cm) and not more than 2.4 in (6 cm), full recoil, chest-compression fraction (CCF) at least 60% (target 80%), switch compressors at the cycle end.
- Brief pause (under ~10 seconds) for a rhythm check — pre-charge the defibrillator during compressions if your device allows, to shorten the pause.
- Branch on the rhythm:
- Shockable (VF / pulseless VT): clear and defibrillate immediately, then resume CPR at once (do not check a pulse right after a shock).
- Nonshockable (PEA / asystole): resume CPR immediately; do not shock.
- Give the drug appropriate to the branch after CPR resumes, so the medication does not interrupt compressions.
- The recorder announces timing for the next rhythm check and next epinephrine dose.
Integrating drugs by branch
| Branch | Drugs (verify timing with recorder) |
|---|---|
| VF/pVT | Epinephrine 1 mg IV/IO every 3–5 min (typically after the second shock) plus an antiarrhythmic for refractory cases: amiodarone 300 mg, then 150 mg; or lidocaine 1–1.5 mg/kg, then 0.5–0.75 mg/kg. |
| PEA/Asystole | Epinephrine 1 mg IV/IO every 3–5 min, as soon as possible (no antiarrhythmic; not shockable). Aggressively hunt the H's and T's. |
A practical leader script: "We are in shockable arrest. Continue CPR while charging. Everyone clear — shock delivered. Resume CPR. Recorder, mark shock two. Maria, epinephrine 1 mg IV now. Prepare amiodarone 300 mg."
Airway, Reversible Causes, and the ROSC Pivot
Airway: Begin with bag-mask ventilation at 30:2. If you place an advanced airway (supraglottic device or endotracheal tube), switch to continuous compressions with one breath every 6 seconds (10 breaths/min) and confirm placement with waveform capnography. A sudden rise in ETCO2 (for example, to about 35–40 mmHg) is an early sign of ROSC; a persistently very low ETCO2 (under 10 mmHg) after 20 minutes suggests a poor prognosis.
Reversible causes — H's and T's: Throughout the code, the leader directs the team to search for and treat the underlying cause. Voice them explicitly. (The full list is drilled in section 7.3's cram tables.)
The ROSC pivot is a frequently missed megacode step. The moment a pulse returns, stop the arrest loop and switch to post-ROSC management:
| Post-ROSC priority | Action |
|---|---|
| Airway/breathing | Confirm airway; titrate O2 to SpO2 92–98% (avoid hyperoxia); ventilate to normocapnia (PaCO2 ~35–45 mmHg). |
| Circulation | Treat hypotension; target SBP ≥ 90 / MAP ≥ 65 mmHg with fluids and vasopressors. |
| Diagnostics | Obtain a 12-lead ECG; if STEMI, activate the cath lab for emergent reperfusion. |
| Neuroprotection | If the patient does not follow commands, start targeted temperature management (TTM), maintaining a constant temperature between 32°C and 37.5°C. |
| Cause | Continue treating the identified H's and T's; arrange ICU transfer. |
Termination: If the scenario calls for it, recognize that prolonged arrest with no ROSC, no reversible cause, and ETCO2 under 10 mmHg supports a team discussion about termination of resuscitation.
What examiners weight most
A passing megacode is judged far more on resuscitation quality and sequencing than on word-perfect drug recall. The heaviest-weighted behaviors are: starting compressions within seconds of recognizing arrest, keeping each rhythm-check pause under ~10 seconds, resuming CPR immediately after every shock, branching correctly between shockable and nonshockable rhythms, timing epinephrine on the 3–5 minute interval, and recognizing ROSC promptly. Closed-loop communication and clear role assignment run through all of it.
Candidates rarely fail for a single mis-stated dose; they fail for long pauses, shocking a nonshockable rhythm, or missing the ROSC transition. Lead decisively, keep the hands on the chest, and let the recorder track the clock so you can stay in the big-picture leader role.
Study action: rehearse the megacode out loud end-to-end — opening, two cycles of each branch, drug timing, an ROSC pivot — until the transitions are automatic, not reactive.
Immediately after delivering a defibrillation shock to a patient in ventricular fibrillation during a megacode, what should the team leader direct NEXT?
During an adult megacode, an advanced airway is placed. How should ventilations now be delivered?
In a PEA arrest megacode, which action is the LEADER's priority alongside high-quality CPR?