After giving 2gm magnesium iv Patient developed respiratory distress,tachycardia,tachyphenic audible wheezing Is this related to?

Reading File
Finding Sources
Searching PubMed

magnesium sulfate AND anaphylaxis

Searching the Web

magnesium sulfate injection prescribing information hypersensitivity wheezing respiratory distress tachycardia

This is most concerning for an acute hypersensitivity reaction / anaphylaxis with bronchospasm, temporally related to the IV magnesium preparation or another drug given at the same time.
Audible wheeze + respiratory distress + tachycardia shortly after a medication = treat as anaphylaxis until proven otherwise, even if there is no rash or hypotension.
Magnesium toxicity is less consistent with this presentation. It more typically causes flushing, hypotension, diminished reflexes, weakness, bradycardia, and respiratory depression/paralysis, rather than wheeze and tachycardia. Magnesium itself is often used as a bronchodilator in severe asthma.
Immediate actions
  • Stop the magnesium infusion and do not re-challenge.
  • Activate emergency/rapid-response support and assess airway, breathing, circulation.
  • Give high-flow oxygen, continuous cardiac monitoring, BP, and pulse oximetry.
  • If anaphylaxis is suspected: IM epinephrine is first-line, per local emergency protocol. Do not delay it for antihistamines or steroids.
  • Give IV fluids if hypotensive; add nebulized salbutamol/albuterol for persistent bronchospasm and prepare for advanced airway management if worsening.
  • Document magnesium sulfate as a suspected drug reaction, while reviewing all concurrent medications, diluents, and infusions.
The product label specifically warns that magnesium toxicity can cause respiratory depression and requires immediate discontinuation, but the wheezing pattern you describe favors an allergic/anaphylactic reaction rather than hypermagnesemia. See magnesium sulfate prescribing information.

Create a quick-reference PDF for acute anaphylaxis management

Reading File
Reading File
Finding Sources
Searching the Web

2023 anaphylaxis emergency management guideline intramuscular adrenaline adults children dose observation

Searching PubMed

anaphylaxis AND guideline

Reading File
Reading Web Page

https://www.resus.org.uk/professional-library/2025-resuscita…

Browsing Directory

~/

Running Command

mkdir -p "/tmp/workspace/anaphylaxis-quick-reference/src" "/tmp/workspace/anaphylaxis-quick-reference/output" && python - <<'PY' from reportlab.lib import colors from reportlab.lib.pagesizes import A4 from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib.enums import TA_CENTER, TA_LEFT from reportlab.lib.units import mm from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, KeepTogether from reportlab.pdfbase.pdfmetrics import stringWidth from reportlab.pdfbase.ttfonts import TTFont from reportlab.pdfbase import pdfmetrics from reportlab.lib.colors import HexColor from reportlab.pdfgen import canvas from reportlab.lib import utils from reportlab.pdfbase.pdfmetrics import registerFontFamily import os out='/tmp/workspace/anaphylaxis-quick-reference/output/Acute_Anaphylaxis_Quick_Reference.pdf' PAGE_W, PAGE_H=A4 class NumberedCanvas(canvas.Canvas): def __init__(self,*a,**kw): canvas.Canvas.__init__(self,*a,**kw); self.pages=[] def showPage(self): self.pages.append(dict(self.__dict__)); self._startPage() def save(self): n=len(self.pages) for state in self.pages: self.__dict__.update(state) self.setStrokeColor(HexColor('#CBD5E1')); self.line(14*mm,12*mm,PAGE_W-14*mm,12*mm) self.setFillColor(HexColor('#475569')); self.setFont('Helvetica',7.5) self.drawString(14*mm,7.7*mm,'Acute Anaphylaxis Management - clinician quick reference') self.drawRightString(PAGE_W-14*mm,7.7*mm,f'Page {self._pageNumber} of {n}') canvas.Canvas.showPage(self) canvas.Canvas.save(self) styles=getSampleStyleSheet() styles.add(ParagraphStyle(name='Title2', parent=styles['Title'], fontName='Helvetica-Bold', fontSize=19, leading=22, textColor=HexColor('#FFFFFF'), alignment=TA_LEFT, spaceAfter=0)) styles.add(ParagraphStyle(name='Sub', parent=styles['Normal'], fontName='Helvetica', fontSize=8.5, leading=10.5, textColor=HexColor('#E2E8F0'))) styles.add(ParagraphStyle(name='H', parent=styles['Heading2'], fontName='Helvetica-Bold', fontSize=10.5, leading=13, textColor=HexColor('#0F172A'), spaceBefore=5, spaceAfter=3)) styles.add(ParagraphStyle(name='Body2', parent=styles['BodyText'], fontName='Helvetica', fontSize=8.35, leading=10.3, textColor=HexColor('#172033'))) styles.add(ParagraphStyle(name='Small', parent=styles['BodyText'], fontName='Helvetica', fontSize=7.25, leading=8.7, textColor=HexColor('#334155'))) styles.add(ParagraphStyle(name='Step', parent=styles['BodyText'], fontName='Helvetica-Bold', fontSize=9, leading=11, textColor=HexColor('#FFFFFF'), alignment=TA_CENTER)) styles.add(ParagraphStyle(name='Cell', parent=styles['BodyText'], fontName='Helvetica', fontSize=8, leading=9.5, textColor=HexColor('#172033'))) styles.add(ParagraphStyle(name='CellBold', parent=styles['BodyText'], fontName='Helvetica-Bold', fontSize=8, leading=9.5, textColor=HexColor('#172033'))) def P(s, st='Body2'): return Paragraph(s,styles[st]) def bullet(s): return P('&bull; '+s,'Body2') def box(title, content, color='#E8F1FF', titlecolor='#0B3B74'): t=Table([[P(title,'H')],[content]],colWidths=[182*mm]) t.setStyle(TableStyle([('BACKGROUND',(0,0),(-1,0),HexColor(color)),('BACKGROUND',(0,1),(-1,-1),HexColor('#F8FAFC')),('BOX',(0,0),(-1,-1),0.45,HexColor('#CBD5E1')),('LEFTPADDING',(0,0),(-1,-1),5),('RIGHTPADDING',(0,0),(-1,-1),5),('TOPPADDING',(0,0),(-1,-1),3),('BOTTOMPADDING',(0,0),(-1,-1),4)])) return t doc=SimpleDocTemplate(out,pagesize=A4,rightMargin=14*mm,leftMargin=14*mm,topMargin=13*mm,bottomMargin=17*mm,title='Acute Anaphylaxis Management - Quick Reference',author='Orris') story=[] # Header header=Table([[P('ACUTE ANAPHYLAXIS MANAGEMENT','Title2')],[P('Clinician quick reference | Adult and pediatric emergency care | Use alongside local protocol','Sub')]],colWidths=[182*mm]) header.setStyle(TableStyle([('BACKGROUND',(0,0),(-1,-1),HexColor('#0B3B74')),('LEFTPADDING',(0,0),(-1,-1),7),('RIGHTPADDING',(0,0),(-1,-1),7),('TOPPADDING',(0,0),(-1,0),7),('BOTTOMPADDING',(0,1),(-1,-1),7)])) story += [header, Spacer(1,4*mm)] warning=Table([[P('<b>TIME-CRITICAL:</b> Airway, breathing or circulation problems after a likely allergen = anaphylaxis until proven otherwise. Skin findings may be absent. <b>Give IM epinephrine promptly.</b>','Body2')]],colWidths=[182*mm]) warning.setStyle(TableStyle([('BACKGROUND',(0,0),(-1,-1),HexColor('#FFF3CD')),('BOX',(0,0),(-1,-1),0.8,HexColor('#D97706')),('LEFTPADDING',(0,0),(-1,-1),6),('RIGHTPADDING',(0,0),(-1,-1),6),('TOPPADDING',(0,0),(-1,-1),5),('BOTTOMPADDING',(0,0),(-1,-1),5)])) story += [warning, Spacer(1,3*mm)] steps=[('1','RECOGNIZE & CALL FOR HELP','Acute onset with <b>airway</b> swelling/hoarseness/stridor, <b>breathing</b> wheeze, dyspnea or hypoxia, and/or <b>circulation</b> collapse, hypotension or syncope, usually after an exposure. Stop/remove trigger if feasible. Call emergency/critical-care help.'),('2','POSITION & MONITOR','Lay flat. Elevate legs if hypotensive. If breathing is difficult, allow sitting with legs outstretched. Do <b>not</b> allow standing or walking. Left lateral position in pregnancy; recovery position if unconscious/vomiting. Continuous SpO2, ECG, BP and respiratory monitoring.'),('3','IM EPINEPHRINE NOW','Inject <b>1 mg/mL (1:1000)</b> epinephrine into the mid-anterolateral thigh. <b>Repeat after 5 min</b> if airway, breathing or circulation symptoms persist. There are no absolute contraindications when anaphylaxis is suspected.'),('4','ABC SUPPORT','High-flow oxygen. Establish IV/IO access. Give rapid isotonic crystalloid if hypotension/shock. Prepare for early expert airway management if progressive airway edema, stridor, exhaustion, altered consciousness or refractory hypoxemia.')] for n,title,text in steps: row=Table([[P(n,'Step'),P('<b>'+title+'</b><br/>'+text,'Cell')]],colWidths=[11*mm,171*mm]) row.setStyle(TableStyle([('BACKGROUND',(0,0),(0,0),HexColor('#0B3B74')),('BACKGROUND',(1,0),(1,0),HexColor('#F1F5F9')),('BOX',(0,0),(-1,-1),0.45,HexColor('#CBD5E1')),('VALIGN',(0,0),(-1,-1),'MIDDLE'),('LEFTPADDING',(0,0),(-1,-1),5),('RIGHTPADDING',(0,0),(-1,-1),5),('TOPPADDING',(0,0),(-1,-1),4),('BOTTOMPADDING',(0,0),(-1,-1),4)])) story += [row, Spacer(1,1.8*mm)] story += [Spacer(1,1*mm),P('IM EPINEPHRINE DOSING','H')] dose_data=[[P('<b>Patient</b>','CellBold'),P('<b>Dose: 1 mg/mL (1:1000) IM</b>','CellBold'),P('<b>Volume</b>','CellBold')], [P('Adult / adolescent','Cell'),P('0.5 mg','Cell'),P('0.5 mL','Cell')], [P('Child','Cell'),P('0.01 mg/kg, maximum 0.5 mg','Cell'),P('0.01 mL/kg, maximum 0.5 mL','Cell')], [P('Practical pediatric bands*','Cell'),P('6 mo to 6 y: 0.15 mg | 6 to 12 y: 0.3 mg | >12 y: 0.5 mg','Cell'),P('0.15 mL | 0.3 mL | 0.5 mL','Cell')]] dt=Table(dose_data,colWidths=[43*mm,96*mm,43*mm],repeatRows=1) dt.setStyle(TableStyle([('BACKGROUND',(0,0),(-1,0),HexColor('#DCEAF7')),('GRID',(0,0),(-1,-1),0.35,HexColor('#94A3B8')),('VALIGN',(0,0),(-1,-1),'MIDDLE'),('LEFTPADDING',(0,0),(-1,-1),4),('RIGHTPADDING',(0,0),(-1,-1),4),('TOPPADDING',(0,0),(-1,-1),3),('BOTTOMPADDING',(0,0),(-1,-1),3),('BACKGROUND',(0,1),(-1,-1),HexColor('#FAFCFE'))])) story += [dt,P('*Age bands vary internationally. Use weight-based dosing and your local pediatric medication policy where possible.','Small'),Spacer(1,2*mm)] story += [box('FLUIDS, REFRACTORY REACTION, AND ADJUNCTS',P('<b>Shock:</b> rapid IV isotonic crystalloid. Typical initial bolus: adult 500 to 1,000 mL; child 10 to 20 mL/kg. Reassess and repeat as needed.<br/><br/><b>Persistent symptoms after 2 IM doses:</b> urgent critical-care/anaesthesia input. Use a titrated IV epinephrine infusion only where staff, pump and continuous monitoring are available. <b>Do not give IV epinephrine boluses for routine anaphylaxis.</b><br/><br/><b>Bronchospasm:</b> nebulized/inhaled salbutamol is an adjunct, never a substitute for epinephrine. <b>Upper-airway obstruction:</b> early airway expert; nebulized epinephrine may be used as an adjunct under protocol.<br/><br/><b>Beta-blocker with refractory shock:</b> consider IV glucagon under specialist direction.','Body2'),'#E8F1FF'),Spacer(1,2*mm)] story += [box('WHAT NOT TO DELAY FOR',P('<b>Antihistamines:</b> only for residual skin symptoms after stabilization. They do not treat airway obstruction or shock.<br/><b>Corticosteroids:</b> not routine first-line emergency treatment; consider only after initial resuscitation for selected situations such as persistent asthma/wheeze, according to local policy.<br/><b>Never delay IM epinephrine</b> to obtain IV access, give antihistamine/steroid, or wait for rash/hypotension.','Body2'),'#FDECEC'),Spacer(1,2*mm)] story += [P('OBSERVATION, DISCHARGE & DOCUMENTATION','H')] obs=Table([[P('<b>Observe at least 4 hours after the last epinephrine dose.</b> Consider prolonged observation/admission for severe initial reaction, hypotension/hypoxia, airway involvement, repeated IM doses, IV epinephrine, asthma, protracted symptoms, significant comorbidity, remote/unsafe discharge setting, or poor access to emergency care.','Cell')]],colWidths=[182*mm]) obs.setStyle(TableStyle([('BACKGROUND',(0,0),(-1,-1),HexColor('#F1F5F9')),('BOX',(0,0),(-1,-1),0.45,HexColor('#CBD5E1')),('LEFTPADDING',(0,0),(-1,-1),5),('RIGHTPADDING',(0,0),(-1,-1),5),('TOPPADDING',(0,0),(-1,-1),4),('BOTTOMPADDING',(0,0),(-1,-1),4)])) story += [obs,Spacer(1,1.5*mm),bullet('At discharge: prescribe and teach use of epinephrine auto-injector(s) where indicated; provide written action plan; allergy referral; document suspected trigger, timing, treatments, response and any serum tryptase plan per local protocol.'),Spacer(1,2*mm)] refs=P('<b>Sources:</b> Resuscitation Council UK, Special Circumstances Guidelines (2025); ASCIA/Australian Prescriber emergency management guidance; Golden et al, 2023 Anaphylaxis Practice Parameter; Rosen\'s Emergency Medicine, Key Concepts (textbook library). <br/><b>Scope:</b> This is a clinical aide, not a substitute for local policy, medication concentrations, resuscitation training, or senior/critical-care support. Verify drug concentrations before administration.','Small') story += [refs] doc.build(story,canvasmaker=NumberedCanvas) print(out) PY python - <<'PY' from pypdf import PdfReader p='/tmp/workspace/anaphylaxis-quick-reference/output/Acute_Anaphylaxis_Quick_Reference.pdf' r=PdfReader(p) print('pages=',len(r.pages),'bytes=',os.path.getsize(p) if __import__('os') else 0) for i,page in enumerate(r.pages): t=page.extract_text() or '' print('PAGE',i+1,'chars',len(t),'has_epinephrine', 'EPINEPHRINE' in t) PY

Running Command

python - <<'PY' import os from pypdf import PdfReader p='/tmp/workspace/anaphylaxis-quick-reference/output/Acute_Anaphylaxis_Quick_Reference.pdf' assert os.path.exists(p), 'PDF missing' r=PdfReader(p) print('pages=',len(r.pages),'bytes=',os.path.getsize(p)) for i,page in enumerate(r.pages): t=page.extract_text() or '' print('PAGE',i+1,'chars=',len(t),'epinephrine=',('EPINEPHRINE' in t),'dose=',('0.5 mg' in t)) PY

Acute Anaphylaxis Quick Reference

PDF Document · PDF

This is a shared conversation. Sign in to Orris to start your own chat.