How to Run a Mock Code for Medical Simulation

Running a mock code means staging a realistic cardiac arrest scenario so that a clinical team can practice resuscitation skills, communication, and coordination before someone’s life actually depends on it. The evidence behind mock codes is strong: hospitals that conduct them regularly have measurably higher survival rates after real in-hospital cardiac arrests. But the difference between a mock code that changes practice and one that feels like a waste of everyone’s time comes down to design choices, from where you run it and who participates to how you debrief afterward and what you measure.

Why Mock Codes Are Worth the Effort

Cardiac arrest survival inside hospitals has historically hovered around 25 to 30 percent, but institutions that commit to regular mock code programs see numbers well above that baseline. One pediatric program found that survival rates climbed to roughly 50 percent as the number of mock codes increased, and that correlation held steady for three consecutive years.1PubMed. Simulation-based mock codes significantly correlate with improved pediatric patient cardiopulmonary arrest survival rates A larger multi-hospital study showed a similar pattern: hospitals with more active participation in standardized in-situ mock codes had a mean survival rate of about 43 percent, compared with roughly 32 percent at less-active hospitals, a difference that translated to significantly lower odds of dying from an in-hospital cardiac arrest even after adjusting for expected mortality.2Resuscitation. Hospitals with more-active participation in conducting standardized in-situ mock codes have improved survival after in-hospital cardiopulmonary arrest

These are not small, ambiguous effects. The mechanism is straightforward: mock codes build muscle memory for high-stakes, low-frequency events. A nurse or physician who has practiced chest compressions, defibrillation, and epinephrine dosing dozens of times in simulation responds faster and more accurately when a real patient arrests. The practice also surfaces hidden problems in the system itself, which may matter just as much as individual skill.

Choosing Where to Run It

You have two broad options: bring the team to a dedicated simulation center, or bring the simulation to the team by running it in the actual clinical space where codes happen. The second approach, called in-situ simulation, has gained strong support. A systematic review of in-situ simulation programs found that seven out of nine prospective studies demonstrated significant improvements in patient morbidity or mortality outcomes after integrating in-situ training.3PubMed Central. In situ simulation and its effects on patient outcomes: a systematic review

The advantage of in-situ simulation is environmental realism. Your team uses the actual crash cart, the actual defibrillator, and the actual hallway they would sprint down during a real code. That realism exposes logistical problems a simulation center never could. One dual-hospital pediatric program discovered during its very first in-situ mock code that the code pager activation was unreliable, the elevator response was too slow for responders to arrive in time, and team members were unfamiliar with the layout and contents of the code cart.4International Journal of Pediatric Otorhinolaryngology. Quality improvement utilizing in-situ simulation for a dual-hospital pediatric code response team Those are exactly the kinds of problems that kill patients and that no classroom exercise would reveal.

The tradeoff is logistical disruption. Running a mock code in an active patient care area requires coordination with charge nurses, bed management, and sometimes security. You need a plan for what happens if a real emergency occurs mid-simulation (the answer: stop immediately and respond to the real event). Some institutions run in-situ mock codes during lower-census periods or on night shifts when the exercise also tests whether the overnight team can mount an effective response.

Designing the Scenario

A good mock code scenario has a clear clinical arc: a patient who deteriorates, arrests, and either responds or does not respond to interventions. The scenario should be detailed enough to feel real but flexible enough that the facilitator can adjust on the fly if the team gets stuck.

Start with the learning objectives. If the goal is to practice the basics of ACLS or PALS algorithms, a straightforward ventricular fibrillation or pulseless ventricular tachycardia scenario works well because the pathway is well-defined and gives the team clear decision points. If the goal is to challenge an experienced team, consider scenarios with ambiguous rhythms, medication complications, or reversible causes that the team leader needs to identify and address.

Write a brief patient backstory that gives the team enough context to make decisions: age, presenting complaint, relevant medical history, what was happening just before the arrest. Prepare the vital sign changes and rhythm progressions in advance so the person operating the simulator or calling out changes can do so consistently. Build in at least one or two branch points where the team’s actions determine what happens next, because real codes are not scripted and learners benefit from experiencing consequences.

How Realistic Does the Mannequin Need to Be

High-fidelity simulators that breathe, change color, produce heart sounds, and display real-time vital signs on a bedside monitor can create a powerfully immersive experience. Practitioners who train on them report greater satisfaction and confidence in their code management abilities, partly because watching a mannequin actually become apneic and cyanotic hits differently than being told “your patient has stopped breathing.”5PubMed Central. Utilizing High-fidelity Simulators in Improving Trainee Confidence and Competency in Code Management

But here is where the evidence gets more nuanced than the marketing materials suggest. In neonatal resuscitation training, a randomized trial found no difference in actual performance scores or non-technical skills between groups trained on high-fidelity versus low-fidelity simulators, even though stress responses were comparable between groups.6Journal of Perinatology. High-fidelity simulator technology may not be superior to traditional low-fidelity equipment for neonatal resuscitation training A separate randomized study confirmed that while learners trained on high-fidelity mannequins reported greater satisfaction and confidence, their objectively measured teamwork and integrated skills performance was similar to the low-fidelity group.7PubMed. A randomized controlled study of manikin simulator fidelity on neonatal resuscitation program learning outcomes

The practical takeaway: do not let the absence of an expensive simulator stop you from running mock codes. A basic mannequin, a cardiac monitor display (even on a laptop screen), and a committed facilitator will produce measurable learning gains. High-fidelity equipment is a nice-to-have that boosts learner engagement, but the core benefit of mock codes comes from the practice and the debriefing, not the technology.

Virtual reality is also entering the picture. A pilot randomized trial found that VR simulation produced comparable performance results to high-fidelity mannequin-based simulation, with no statistical difference in the time required to perform critical actions.8PubMed Central. Virtual Reality vs. High-Fidelity Mannequin-Based Simulation: A Pilot Randomized Trial Evaluating Learner Performance A larger randomized controlled trial for trauma resuscitation confirmed noninferiority of immersive VR compared to mannequin-based training, with nearly identical performance scores.9Military Medicine. Immersive Virtual Reality Versus Mannequin-based Simulation Training for Trauma Resuscitation: A Randomized Controlled Noninferiority Trial VR may eventually become an accessible option for institutions that cannot afford or store physical mannequins, though it currently lacks the tactile feedback of compressing an actual chest.

Assigning Roles and Managing Team Dynamics

One of the most common breakdowns during both mock and real codes is ambiguity about who is doing what. In a study evaluating team dynamics during mock codes, half of all evaluations found that participants did not clearly identify responsibilities or engage in closed-loop communication.10Circulation. Abstract 10112: Who is Leading the Code? Assessing Team Dynamics and Communication Skills During Mock Codes That failure cascades quickly: if nobody is clearly assigned to compressions, airway, medications, or documentation, gaps appear and tasks get duplicated or missed entirely.

Before starting the scenario, designate a team leader explicitly. This person does not perform procedures; they direct traffic, call for rhythm checks, order medications, and maintain situational awareness. Assign specific roles for compressions, airway management, vascular access and medication administration, defibrillation, and timekeeping or documentation. Some programs use physical role badges or colored vests so that anyone walking into the room can immediately see who is doing what. One study of this approach found that while role delineation badges did not change the objective time to medication administration, nurses perceived significantly better teamwork overall after the intervention.11PubMed Central. Role Delineation of the Code Blue Team: A Quasi-Experimental Study During COVID-19

A more structured approach is the “pit crew” model, borrowed from motorsport, where each team member has a predetermined physical position and a set of specific tasks. A study of this model showed that team communication went from adequate in only a third of cases before implementation to 100 percent after, with compression rates also improving significantly.12Resuscitation. Code blue pit crew model: A novel approach to in-hospital cardiac arrest resuscitation The pit crew model works well for mock codes because it gives every participant a clear script to follow, which makes debriefing easier: you can assess whether each person executed their specific role rather than trying to evaluate a chaotic group effort.

Hierarchy creates a subtler problem. Research consistently shows that power differences between team members inhibit speaking up: junior clinicians hesitate to correct senior physicians, new graduates defer to experienced colleagues, and nurses may not challenge a physician’s orders even when they spot an error.13PubMed Central. Classification of influencing factors of speaking-up behaviour in hospitals: a systematic review Mock codes are one of the few safe opportunities to practice flattening that hierarchy. Facilitators should explicitly encourage all team members to speak up during the scenario and should model that expectation during the debrief by asking junior participants what they noticed.

Announced Versus Unannounced Mock Codes

An announced mock code is scheduled in advance. Participants know it is coming, which reduces anxiety and allows for coordinated attendance. This format works well for teaching new skills or when working with learners who are early in training. The downside is that it tests preparation, not readiness: a team that knows a mock code is happening at 2 p.m. on Tuesday has already mentally rehearsed in a way they never would before a real arrest.

Unannounced mock codes are triggered without warning, mimicking the unpredictability of real events. A program using unannounced simulations for neonatal resuscitation found statistically significant gains in both self-confidence and objectively assessed performance across knowledge, technical, and teamwork skills.14Med Educ Online. Enhancing residents’ neonatal resuscitation competency through unannounced simulation-based training Unannounced drills also test the system: Can the paging system activate quickly? Does the right team assemble? Is the crash cart where it should be and fully stocked?

Most mature programs use a mix of both. Announced mock codes allow focused teaching on specific algorithms or skills. Unannounced mock codes test whether that teaching has translated into genuine readiness. If you are launching a program from scratch, start with announced sessions to build comfort and buy-in, then introduce unannounced drills once the team is accustomed to the format.

Rapid Cycle Deliberate Practice

Traditional simulation runs a full scenario from start to finish, then debriefs at the end. Rapid cycle deliberate practice, or RCDP, takes a different approach: the facilitator pauses the scenario the moment an error occurs, provides immediate corrective feedback, rewinds to the point just before the error, and lets the team try again. This cycle repeats until the team performs the action correctly, then the scenario moves forward.

A study comparing RCDP to traditional immersive simulation for resident CPR training found that RCDP groups had significantly shorter pauses in chest compressions (about 6 seconds versus 14 seconds), rated their own ability to participate in resuscitation more highly, and reported lower stress during the exercise.15PubMed Central. Rapid Cycle Deliberate Practice Training for Simulated Cardiopulmonary Resuscitation in Resident Education A systematic review with meta-analysis confirmed that RCDP produced significantly shorter times to defibrillation and to first epinephrine administration compared to traditional approaches.16Resuscitation Plus. Rapid cycle deliberate practice approach on resuscitation training: A systematic review

RCDP is particularly useful for training teams on time-sensitive actions like initiating compressions, delivering shocks, and pushing medications. It does not replace full-scenario simulation, which is better for practicing sustained team leadership, communication under pressure, and managing evolving clinical situations. Think of RCDP as drilling the individual plays and full-scenario simulation as scrimmaging the whole game.

The Debrief Is Where the Learning Happens

A mock code without a structured debrief is a missed opportunity. The scenario itself creates the shared experience, but the debrief is where participants process what happened, identify what went well, and commit to specific changes. A systematic review of team-based simulation debriefing found that a debriefing framework was used in every study examined, and that impact was measured through both satisfaction surveys and objective participant performance.17PubMed Central. Frameworks and quality measures used for debriefing in team-based simulation: a systematic review

Several structured frameworks exist. Two of the most studied for resuscitation debriefing, PCP (Promoting Clinical Performance) and DISCERN, produced nearly identical learner satisfaction scores in a head-to-head randomized trial, suggesting that the specific framework matters less than the discipline of using one consistently.18PubMed Central. Comparing two post-resuscitation debriefing frameworks: a randomized cross-over simulation study Most frameworks share a common structure: a reactions phase where participants express initial feelings, an analysis phase where the facilitator guides discussion of specific actions and decisions, and a summary phase where the team identifies takeaways.

Video-assisted debriefing adds another layer. In one obstetrical hemorrhage mock code program, 93 percent of participants agreed that watching videotaped playback of their performance improved their evaluation of team communication, and participants reported that reviewing themselves on video was the single most beneficial part of the exercise.19PubMed. Using High-Fidelity Simulation and Video-Assisted Debriefing to Enhance Obstetrical Hemorrhage Mock Code Training Video removes the “I thought I did that” problem: when someone believes they called out the rhythm but the video shows they mumbled it while facing the monitor, the feedback becomes concrete rather than debatable.

Facilitators should keep in mind that a debrief is not a lecture. The goal is guided reflection, not correction from an authority figure. Ask open-ended questions: “What were you thinking when the rhythm changed?” or “What would you do differently next time?” Let participants identify their own errors before filling in gaps. Learners who feel psychologically safe during simulation achieve better learning outcomes, and that safety is built largely through how the debrief is facilitated.20PubMed Central. The benefits and boundaries of psychological safety in simulation-based education: an integrative review

How Often to Run Mock Codes

There is no single evidence-based frequency that fits every institution, but the research is clear that consistency matters more than volume. A review of best practices for resuscitation team training found that successful programs used uniform policies for simulation practice reinforced at regular intervals: weekly, monthly, or quarterly depending on the institution’s resources and staffing model.21PubMed Central. Best Practices for Education and Training of Resuscitation Teams for In-Hospital Cardiac Arrest The key is picking a cadence your institution can sustain and sticking to it, rather than running a burst of mock codes after a bad outcome and then letting months pass.

Quarterly is a reasonable starting point for most units. High-acuity areas like emergency departments, ICUs, and labor and delivery may benefit from monthly or even more frequent drills. Units where cardiac arrests are rare but catastrophic when they occur, like outpatient procedure suites or rehabilitation floors, should aim for at least quarterly sessions because those teams have the least real-world practice to draw on.

Uncovering Hidden System Failures

Beyond individual skill-building, mock codes function as stress tests for hospital systems. One program that conducted in-situ simulations across emergency response teams catalogued 134 latent safety threats and knowledge gaps, categorized as medication errors, equipment problems, and resource or system threats. Identifying these errors led directly to system modifications designed to reduce the risk of the same failures during real events.22PubMed. High-reliability emergency response teams in the hospital: improving quality and safety using in situ simulation training

Common system-level findings from mock codes include crash carts with expired medications or missing equipment, defibrillator pads stored in inaccessible locations, overhead paging systems that do not reach all areas of the building, and ambiguous processes for who calls the code and how the team is assembled. Each of these findings is fixable, but only if someone discovers the problem before it matters. A checklist review of the crash cart and a test of the code activation process should be standard parts of every mock code debrief, separate from the clinical performance discussion.

Pediatric Mock Codes and Medication Errors

Pediatric resuscitation carries unique risks because nearly every medication dose must be weight-based, and the equipment sizes vary dramatically between patients. When EMS teams were evaluated during pediatric advanced life support simulations, roughly 59 percent deviated from medication guidelines: about a third failed to give epinephrine at all, while others underdosed or overdosed by more than 20 percent. In some cases, errors in measuring the mannequin’s length contributed directly to incorrect dosing.23PubMed Central. Evaluating Pediatric Advanced Life Support in Emergency Medical Services with a Performance and Safety Scoring Tool These findings highlight why pediatric mock codes should specifically incorporate weight estimation, dose calculation, and equipment sizing as learning objectives. Length-based resuscitation tapes and pre-calculated dose reference cards should be part of every pediatric code cart, and mock codes should test whether the team actually uses them under pressure.

Practical Tips for Facilitators

Running the simulation itself requires someone to operate the mannequin (or call out clinical changes if using a low-fidelity setup), someone to observe and take notes for the debrief, and ideally someone to manage the technical environment so the lead instructor can focus on the educational content. Research shows that when a dedicated simulation technologist handles the mannequin and equipment, instructors experience less cognitive load related to technical tasks, freeing them to concentrate on teaching.24PubMed Central. Managing cognitive load in simulations: exploring the role of simulation technologists

If you are a one-person operation, simplify. Use a printed script with vital signs and rhythm changes at pre-specified time points. Have a confederate (a staff member playing the role of a bedside nurse or respiratory therapist) who can feed clinical information to the team. Focus your own attention on observing team dynamics and clinical decision-making so you can lead a useful debrief afterward. The debrief is your highest-value activity; do not sacrifice it by burning all your cognitive energy running the mannequin.

Pediatric residents who participated in simulation-based mock codes reported increased confidence and comfort with cardiorespiratory events, and specifically noted that practicing communication techniques improved their teamwork and handoff skills.25PubMed Central. Use of Simulation to Improve Cardiopulmonary Resuscitation Performance and Code Team Communication for Pediatric Residents That outcome is achievable with modest equipment and one committed facilitator. You do not need a million-dollar simulation center. You need a mannequin, a scenario, a team, and a structured conversation afterward.

Measuring Whether Your Program Works

Track both process metrics and outcomes. Process metrics include time to first compression, time to defibrillation, time to first epinephrine, compression rate and depth, and frequency of compression pauses. These can be measured during the mock code itself with a simple stopwatch and checklist. Validated checklists for overall team resuscitation performance exist and have demonstrated good inter-rater reliability, meaning two observers watching the same mock code will generally agree on how the team performed.26Carolina Digital Repository. Team Performance in Pediatric Resuscitation: Validation Study of a Checklist Tool

One program that combined code team reorganization with simulation training shortened the average time to shock delivery or medication administration from about 2 minutes 46 seconds to 2 minutes 3 seconds, a statistically significant improvement.27Medical Research Archives. Reducing Time to Medical Intervention Through Code Team Reorganization and Simulation Training Those kinds of gains, tracked over time, tell you whether your program is actually changing practice. If your metrics plateau or regress, that is a signal to change the scenario difficulty, adjust the frequency, or revisit team composition.

Outcome metrics are harder to measure because real cardiac arrests are infrequent in most units, but over time, tracking survival-to-discharge rates, return of spontaneous circulation rates, and time-to-intervention during actual codes gives the most meaningful picture of whether mock codes are translating to patient benefit. The multi-hospital data showing survival differences between high-participation and low-participation institutions is the strongest argument for institutional investment in these programs.

Simulation Roots in Aviation and Anesthesiology

The team-based simulation philosophy underlying modern mock codes traces back to cockpit crew resource management in aviation, where training emphasizes decision-making and teamwork under pressure rather than individual technical skill alone. Anesthesiologists adapted those principles into a simulation-based curriculum for managing operating-room crises, focusing on training single-discipline crews to work as coordinated teams.28Simulation & Gaming. Simulation-Based Training in Anesthesia Crisis Resource Management (ACRM): A Decade of Experience That cross-pollination reshaped how healthcare thinks about resuscitation training. The lesson from aviation is that even highly skilled individuals perform poorly in emergencies if they have not practiced working together under realistic conditions, and that lesson transfers directly to mock codes. The scenario matters, the fidelity matters somewhat, but what matters most is that the team practices functioning as a team, not just a collection of individuals who happen to be in the same room.