RESP-320 · Lesson 8 of 12 · 22 min

Code blue and rapid response

▶ Video coming soon A video version of this lesson is on the way.

The overhead page sounds at 14:12: "Code blue, 5 West, room 18." Mira Castellanos and Daniel Achterberg are already moving before the page repeats. By the time they reach the room, a nurse is performing chest compressions on Mr. Harold Pennick, 76, who was admitted two days ago with heart failure, and another nurse is attaching defibrillator pads. Daniel takes the head of the bed, opens the airway with a head tilt and jaw thrust, and inserts an oropharyngeal airway; Mira connects the manual resuscitator to high-flow oxygen and checks that the mask seal and PEEP valve are ready. Daniel holds the mask with two hands while Mira squeezes the bag, delivering two breaths after every thirty compressions, each breath just enough to make the chest rise. The code team leader, a hospitalist, arrives, introduces herself, and asks for a rhythm check. The monitor shows ventricular fibrillation. A shock is delivered, compressions resume immediately, and the team falls into the pattern every student rehearses in simulation but feels differently the first time with a real patient.

This lesson covers the respiratory therapist's role in in-hospital cardiac arrest and in rapid response to deteriorating patients. It builds on the airway skills of RESP-230 Airway Management and the resuscitation content of RESP-260 Critical Care and Hemodynamic Monitoring, and it looks at the practicum-specific questions: what a student does at a code, how teams communicate, how rapid response systems prevent arrests, how the post-arrest patient is ventilated, and how teams learn from events afterward. Resuscitation drugs are mentioned by class and role only, as ordered by the team leader; ventilation values are illustrative adult examples consistent with current resuscitation guidelines.

Resuscitation guidelines

Hospital resuscitation follows guidelines built on the International Liaison Committee on Resuscitation (ILCOR) evidence reviews. In the United States, the American Heart Association released its 2025 guidelines for CPR and emergency cardiovascular care in October 2025, and hospital training programs, including advanced cardiovascular life support, follow them. The core of adult resuscitation is unchanged: early recognition, immediate high-quality chest compressions with minimal interruption, early defibrillation for shockable rhythms, effective ventilation without hyperventilation, and treatment of reversible causes.

For ventilation, the guidelines continue the ratio of 30 compressions to 2 breaths before an advanced airway is placed, and one breath every 6 seconds (10 breaths per minute) with continuous compressions once an advanced airway is in place. Each breath should be given over about one second with just enough volume to produce visible chest rise. Excessive ventilation, a common error in real codes, raises intrathoracic pressure, reduces venous return and coronary perfusion, and inflates the stomach when the airway is not secured. Respiratory therapists often count aloud or use a timer or ventilation feedback device to avoid it.

The code team and its roles

Codes go best when roles are clear. A typical in-hospital code team includes a team leader, usually a physician; one or two people performing compressions, rotating every two minutes; an airway manager, often the respiratory therapist; a person managing the defibrillator and monitor; a person establishing intravenous or intraosseous access and giving medications as ordered; a recorder who documents times, rhythms, shocks and medications; and a pharmacist in some hospitals. Extra staff should stay outside the room unless called in, because crowding impairs communication.

A top-down diagram of a hospital bed during a code blue with team positions marked. At the head of the bed: airway manager, usually the respiratory therapist, with suction, oxygen, bag-valve-mask and capnography. On one side of the chest: compressor one, with compressor two waiting to rotate. On the other side: defibrillator and monitor operator. Near the foot of the bed: team leader with a clear view of the monitor. To one side: medications and vascular access. Near the door: recorder with a timer. Outside the room: additional staff available. A note states that the leader uses closed-loop communication with each role.
Figure 1. Typical positions at an in-hospital cardiac arrest. The team leader keeps a clear view and communicates in closed loop with each role.

The respiratory therapist's code tasks are concentrated at the head of the bed: opening and maintaining the airway, providing bag-mask ventilation with high-concentration oxygen, inserting a supraglottic airway or assisting with or performing intubation according to local scope and the team leader's direction, confirming advanced airway placement with waveform capnography, monitoring end-tidal carbon dioxide as an indicator of compression quality and return of spontaneous circulation, suctioning, and, after return of circulation, setting up the ventilator. Many respiratory therapists also take a turn on compressions, and in some hospitals they draw arterial blood gases during or after the code.

A student at a code works within the supervision rules described in lesson 1. Common student tasks include squeezing the bag while the preceptor holds the mask, preparing suction and airway equipment, connecting capnography, performing compressions when certified and asked, and acting as an extra pair of hands for the airway manager. Students do not intubate during real cardiac arrests unless the program and site have explicitly authorized and supervised it, which is uncommon. The most valuable student contributions are often the least visible: having the right equipment ready, listening for instructions and responding in closed loop.

Airway management during cardiac arrest

Bag-mask ventilation is often adequate in the first minutes of arrest, especially with two rescuers, an oropharyngeal or nasopharyngeal airway and a good seal. Advanced airway placement, by supraglottic device or endotracheal tube, allows continuous compressions and protects against aspiration, but it must not interrupt compressions for long or delay defibrillation. Large trials in out-of-hospital arrest have not shown that early intubation improves survival compared with a supraglottic airway or bag-mask ventilation; the best approach depends on the skill of the operator and the setting. In hospital, intubation is usually performed by the most experienced available operator, often with video laryngoscopy, with compressions continuing during laryngoscopy and a pause of no more than a few seconds for tube passage if needed.

Waveform capnography is the standard for confirming and monitoring endotracheal tube placement during resuscitation. During CPR, an end-tidal carbon dioxide value that is very low suggests poor compression quality or a misplaced tube; a sudden sustained rise often signals return of spontaneous circulation before a pulse is felt. Guidelines describe persistently very low end-tidal carbon dioxide after prolonged resuscitation in intubated patients as one factor among several that may inform the team's decision to stop, never as a sole criterion.

Table 1. Ventilation during and after adult cardiac arrest, consistent with current resuscitation guidelines.
SituationVentilation approach (adult, illustrative)Key points
Cardiac arrest, no advanced airway30 compressions : 2 breaths, each breath about 1 second, visible chest riseTwo-person bag-mask technique; avoid excessive volume
Cardiac arrest, advanced airway in place1 breath every 6 seconds (10 per minute), continuous compressionsConfirm with waveform capnography; watch end-tidal CO2 trend
Respiratory arrest with a pulseAbout 1 breath every 6 secondsCheck pulse about every 2 minutes; treat cause
After return of spontaneous circulationVentilator per order: lung-protective tidal volume, SpO2 and PaCO2 targets per guidelineAvoid hypoxemia and hyperoxemia; aim for normocapnia; obtain a blood gas

After return of spontaneous circulation

Mr. Pennick has return of spontaneous circulation after two shocks and about eight minutes of CPR. He is intubated by the anesthesiologist on call, placement is confirmed with capnography, and Daniel connects him to a ventilator with lung-protective settings ordered by the team leader. Post-cardiac arrest care aims to prevent secondary injury to the brain and heart. Current guidance advises avoiding hypoxemia and hyperoxemia, commonly titrating oxygen to an SpO2 of about 92 to 98 percent once reliable measurement is possible, targeting normal PaCO2, supporting blood pressure, identifying and treating the cause, such as acute coronary occlusion, and providing temperature control. A blood gas confirms that the ventilator settings meet these goals. The patient is then transported to the intensive care unit or the catheterization laboratory with full transport preparation.

Rapid response systems

Most in-hospital cardiac arrests are preceded by hours of physiological deterioration, often documented in the chart but not acted on. Rapid response systems aim to identify and treat these patients earlier. They have two limbs: an afferent limb that detects deterioration and calls for help, using early warning scores or calling criteria, and an efferent limb, the rapid response team or critical care outreach team, that responds. Teams commonly include an ICU nurse and a respiratory therapist, with an intensivist or physician available. Calling criteria often include acute changes in respiratory rate, oxygen saturation, heart rate, blood pressure, level of consciousness or urine output, and, importantly, staff or family concern even when the numbers are normal. Several hospitals also allow patients and families to activate the team directly.

A flow diagram of a rapid response system. On the left, the afferent limb: early warning score above threshold, or a calling criterion such as acute change in respiratory rate, saturation, heart rate, blood pressure or consciousness, or staff or family concern. This leads to a box labeled call the rapid response team. The efferent limb follows: team arrives and assesses using a structured approach, airway, breathing, circulation, disability and exposure. From assessment, three outcomes: treat and stay on the ward with a plan and follow-up; transfer to a higher level of care such as the ICU; or clarify goals of care and transition to comfort-focused care where appropriate. A feedback arrow returns from outcomes to a box labeled audit and system learning.
Figure 2. A rapid response system: detection and calling, team response, and the three common outcomes.

The evidence for rapid response systems is mixed in randomized trials but generally supportive in before-and-after studies and meta-analyses, which show fewer cardiac arrests outside the ICU and, in some analyses, lower hospital mortality. The systems also bring structure to goals-of-care conversations: a substantial share of rapid response calls end with a decision to focus on comfort or to limit escalation, in keeping with the patient's wishes.

Worked problem

A rapid response call

At 03:00 the night nurse on 4 East calls the rapid response team for Ms. Abigail Torvund, 54, two days after bowel surgery. Her respiratory rate is 30, SpO2 88 percent on 4 L/min nasal cannula, heart rate 118, blood pressure 96/58, temperature 38.6 C, and she is anxious but oriented. Her early warning score has risen steadily since midnight. Daniel, on the team with an ICU nurse, brings Mira. What should the team do?

Show solution
  1. Structured assessment: airway patent; breathing fast with reduced breath sounds at both bases; circulation tachycardic with borderline blood pressure; disability alert; exposure shows a distended abdomen and warm peripheries.
  2. Immediate support: increase oxygen to restore the target range, considering high-flow nasal cannula if conventional oxygen is insufficient; sit her upright.
  3. Investigations as ordered by the physician: arterial blood gas with lactate, blood cultures, chest radiograph, and assessment for sepsis from an intra-abdominal or pulmonary source.
  4. Treatment directed by the physician: sepsis care including antimicrobials and fluids, and surgical review.
  5. Disposition: if she needs high-flow oxygen, vasopressors or close monitoring, transfer to the ICU or step-down unit; otherwise a written plan with clear reassessment triggers.

Answer: The team identifies probable sepsis with hypoxemia, starts high-flow nasal cannula under Daniel's supervision with Mira titrating to target, supports the physician's sepsis workup and treatment, and transfers her to the step-down unit. The call is documented with times, findings, interventions and the escalation plan.

Codes in special situations

Some arrests need adjustments to the usual approach. A patient with a tracheostomy who arrests should be ventilated through the tracheostomy if the tube is patent, after removing any speaking valve or cap and inflating the cuff if present; if the tube is blocked and cannot be cleared with a suction catheter, it is removed and the patient is oxygenated and ventilated via the upper airway or the stoma, following the emergency tracheostomy algorithm. A patient with a laryngectomy has no connection between the mouth and the trachea, so oxygen and ventilation must be delivered to the neck stoma, for example with a pediatric face mask or a supraglottic device applied to the stoma. Bedside signs that state the airway type exist precisely for these moments.

Code status matters too. Before or during the response, the team must know whether the patient has a documented decision not to receive cardiopulmonary resuscitation; respiratory therapists responding to a deteriorating patient should check the code status as part of the first assessment when time allows. Infection control applies in codes as everywhere: when an airborne infection is suspected, the airway team wears fit-tested respirators, eye protection, gowns and gloves, and many hospitals limit the number of people in the room and use a filter between the bag and the mask or tube. Students should know where protected-code equipment is kept and how to put on protective equipment quickly and correctly.

Communication in emergencies

Communication failures contribute to many adverse events during emergencies. Teams use a few simple techniques. Closed-loop communication means the team leader gives a clear instruction to a named person, that person repeats it back, and reports when it is done: "Mira, increase the oxygen to 15 liters." "Increasing the oxygen to 15 liters." "Oxygen is at 15 liters." The team leader periodically summarizes aloud what has been done and what is planned, inviting input. Anyone who sees a problem should speak up clearly, for example using the CUS phrases from team training ("I am Concerned, I am Uncomfortable, this is a Safety issue") or a two-challenge approach: state the concern twice, and if it is not addressed, escalate.

Students sometimes see things others miss, such as a disconnected oxygen tube, a bag being squeezed too fast, or a capnography waveform that has disappeared. Speaking up is expected, and the respectful, specific phrasing practiced in simulation works in real codes: "Excuse me, the capnography waveform has gone flat."

Debriefing and learning after events

After a code or significant rapid response, a short team debrief, ideally within minutes, allows the team to share what went well, what could be improved and how team members are feeling. Structured approaches include a reaction phase, a description of events, analysis of what happened and why, and a summary of lessons. Data from defibrillators, capnography and the recorder's sheet support the discussion. Hospitals also review codes systematically, tracking measures such as time to first compression, time to defibrillation and compression fraction, and feed the findings back into training. Some events are distressing, particularly when a patient dies or when staff feel they made a mistake; peer support and employee assistance programs should be offered.

Mira's first code ends with return of circulation and transfer to the ICU. In the debrief, the team leader thanks everyone and notes that the first shock was delivered within two minutes of the call. Mira says she found it hard to keep her bag rate slow while her heart was racing. Daniel says that is the most common error he sees, in students and experienced staff alike, and suggests she count aloud next time. Her reflection on the event, including her own physical stress response, goes into her portfolio.

Common mistakes

  • MistakeMore ventilation is better during CPR.

    InsteadExcessive ventilation reduces venous return and coronary perfusion; give each breath over about one second with just enough volume for chest rise, at the recommended rate.

  • MistakeIntubation should be performed as early as possible in every cardiac arrest.

    InsteadAdvanced airway placement must not interrupt compressions or delay defibrillation; the method and timing depend on operator skill and the situation.

  • MistakeA rapid response call should wait until vital signs meet a criterion.

    InsteadStaff or family concern is itself a valid reason to call.

  • MistakeStudents should stay silent during codes.

    InsteadStudents should speak up clearly about safety concerns using structured phrases.

  • MistakeAfter return of circulation, high-concentration oxygen should continue indefinitely.

    InsteadOnce reliable measurement is available, oxygen is titrated to avoid both hypoxemia and hyperoxemia, with normocapnia as the ventilation goal.

Summary and key terms

  • United States hospitals follow the 2025 resuscitation guidelines released in October 2025, based on ILCOR evidence reviews.
  • Before an advanced airway, use 30 compressions to 2 breaths; with an advanced airway, give 1 breath every 6 seconds with continuous compressions.
  • The respiratory therapist usually manages the airway at codes, confirms placement with waveform capnography and sets up post-arrest ventilation.
  • End-tidal carbon dioxide reflects compression quality and can signal return of circulation.
  • Post-arrest care avoids hypoxemia and hyperoxemia and targets normocapnia.
  • Rapid response systems detect deterioration and bring critical care skills to the ward; concern alone is a valid trigger.
  • Closed-loop communication, speaking up and structured debriefing improve team performance.
Code blue
The common hospital term for a cardiac or respiratory arrest emergency response.
Rapid response team
A team that brings critical care expertise to deteriorating patients outside the ICU.
Closed-loop communication
An instruction directed to a named person, repeated back and confirmed when complete.
Return of spontaneous circulation
Resumption of a sustained perfusing heart rhythm after cardiac arrest.
Compression fraction
The proportion of resuscitation time during which chest compressions are performed.
Debriefing
A structured team discussion after an event to review performance and support team members.
Afferent limb
The part of a rapid response system that detects deterioration and triggers a call.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. An intubated patient is receiving CPR. At what rate should breaths be given, and how should placement be confirmed?

    Show answer

    One breath every 6 seconds (10 per minute) with continuous compressions; placement is confirmed and monitored with waveform capnography.

  2. During CPR, the end-tidal CO2 rises suddenly from 14 to 38 mmHg. What might this indicate?

    Show answer

    Probable return of spontaneous circulation; the team should check for a pulse at the next rhythm check or as directed.

  3. Give an example of closed-loop communication between a team leader and a respiratory therapist.

    Show answer

    Leader: "Daniel, please prepare for intubation with a 7.5 tube." Daniel: "Preparing for intubation with a 7.5 tube." Then: "Intubation equipment is ready."

  4. Name three possible outcomes of a rapid response call.

    Show answer

    Treatment with the patient remaining on the ward with a plan; transfer to a higher level of care; clarification of goals of care, including a transition to comfort-focused care.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz