← Pharmacy curriculum
Module 18712 lessonsRxPrep 2023 opportunistic-infection content, reconciled with the NIH adult and adolescent Pneumocystis guideline updated May 2026 and current TMP-SMX, atovaquone, and pentamidine labeling

Pneumocystis Pneumonia

Connect host immune risk and alveolar gas exchange to diagnosis, oxygenation severity, antimicrobial selection, adjunctive corticosteroids, toxicity, ART, prophylaxis, treatment response, and recurrence prevention.

01

Differentiate HIV-associated and non-HIV PCP risk without applying one population's thresholds to another.

02

Recognize the clinical, imaging, and gas-exchange pattern of Pneumocystis pneumonia.

03

Use induced sputum, BAL, staining, PCR, and beta-D-glucan with their actual diagnostic limits.

04

Calculate the A-a oxygen gradient and classify severity from a valid room-air arterial blood gas.

05

Calculate treatment exposure by the trimethoprim component and monitor renal, electrolyte, marrow, and hypersensitivity risk.

06

Select treatment by oxygenation severity, route reliability, G6PD activity, organ function, and toxicity.

07

Apply adjunctive corticosteroid criteria, timing, conversion, taper, and monitoring.

08

Build safe systems for pentamidine, dapsone, primaquine, clindamycin, and atovaquone.

09

Start, stop, and restart primary prophylaxis using current immune and virologic criteria.

10

Transition every completed PCP course into appropriate secondary prophylaxis and immune-recovery review.

11

Distinguish early inflammatory worsening, treatment toxicity, competing disease, and true efficacy failure.

12

Integrate pregnancy, non-HIV immunosuppression, ART, follow-up, and educational boundaries into one accountable plan.

187.01

Recognize the Host Before the Organism

Pneumocystis jirovecii causes pneumonia when cell-mediated defense is impaired. Host context changes risk, tempo, inflammatory burden, and the prevention strategy.

What to learn
  • P. jirovecii
  • Cell-mediated immunity
  • HIV
  • Transplant and malignancy
  • Alveolar injury
Host biologyTrace immune loss to alveolar injury
01Immune stateHIV or non-HIV

Carry the verified input forward.

02Organism burdenSusceptible host

Carry the verified input forward.

03Alveolar responseDiffusion barrier

Carry the verified input forward.

04Gas exchangeExertional to resting hypoxemia

Own the next clinical action.

Place the organism correctly

P. jirovecii is a human fungal pathogen. The clinical syndrome is still commonly abbreviated PCP. Exposure is widespread, and disease reflects acquisition or reactivation in a susceptible host rather than ordinary bacterial-pneumonia risk.

Identify HIV-associated risk

About 90 percent of HIV-associated cases occur with CD4 counts below 200 cells per cubic millimeter, with the greatest contemporary burden in people who are unaware of HIV, are outside continuous care, or have advanced immunosuppression.

Build a separate non-HIV risk model

Transplant, hematologic malignancy, lymphocyte-depleting therapy, prolonged or combined immunosuppression, and selected inflammatory-disease regimens can create risk. Use the current specialty protocol and complete regimen rather than applying HIV CD4 rules universally.

Connect inflammation to gas exchange

Organisms and inflammatory material occupy alveolar spaces and impair diffusion. Exertional desaturation can precede resting hypoxemia, and severe disease can exist despite a quiet early lung examination.

0 of 1 answered
01Which approach best assesses PCP risk outside HIV?
Answer every question to submit.
187.02

Move From Suspicion to Respiratory Evidence

No single symptom, image, biomarker, or molecular result proves PCP. Diagnosis joins a compatible host and syndrome to adequate respiratory evidence while preserving competing causes.

What to learn
  • Subacute syndrome
  • Ground-glass attenuation
  • Induced sputum
  • BAL
  • PCR and beta-D-glucan
Diagnostic architectureMove from syndrome to respiratory proof
01Compatible hostRisk plus symptoms

Carry the verified input forward.

02ImagingGround-glass pattern

Carry the verified input forward.

03Respiratory sampleInduced sputum or BAL

Carry the verified input forward.

04Integrated resultPCR burden and differential

Own the next clinical action.

Recognize the pattern

In HIV, progressive dyspnea, fever, nonproductive cough, chest discomfort, and exertional desaturation often evolve over days to weeks. Non-HIV disease may be more abrupt and severe. Pneumothorax or diffuse ground-glass disease in a susceptible host raises concern.

Escalate imaging appropriately

Chest radiography often shows diffuse bilateral interstitial or ground-glass infiltrates, but it can be normal early. Thin-section CT usually reveals patchy or diffuse ground-glass attenuation, while nodules, large effusions, or focal cavitation should widen the differential.

Obtain an adequate respiratory specimen

Definitive diagnosis requires organisms in induced sputum, BAL fluid, or tissue. Spontaneously expectorated sputum has low sensitivity. BAL generally has greater diagnostic yield and can evaluate concurrent infection or malignancy.

Interpret adjunctive tests honestly

PCR is highly sensitive but can detect colonization. Quantitative burden can help, but standardized cutoffs remain difficult. Low beta-D-glucan makes PCP less likely in the right context, while elevation is nonspecific and can have other fungal, dialysis, or drug causes.

0 of 1 answered
01What does a positive Pneumocystis PCR from BAL establish by itself?
Answer every question to submit.
187.03

Calculate Severity From Gas Exchange

Room-air PaO2 and the alveolar-arterial oxygen gradient classify pulmonary impairment and determine adjunctive-corticosteroid eligibility.

What to learn
  • PaO2
  • PAO2
  • A-a gradient
  • Room air
  • Steroid threshold
Gas exchangeCalculate before classifying
01Room-air ABGPaO2 and PaCO2

Carry the verified input forward.

02Estimate PAO2150 minus PaCO2 over 0.8

Carry the verified input forward.

03Calculate A-aPAO2 minus PaO2

Carry the verified input forward.

04Assign severityTreatment and steroid path

Own the next clinical action.

Use a valid arterial sample

Record FiO2 and oxygen device when the ABG is drawn. The NIH room-air thresholds cannot be copied onto a sample obtained after supplemental oxygen without an appropriate physiologic interpretation.

Estimate alveolar oxygen

At sea level on room air, PAO2 is commonly estimated as 150 minus PaCO2 divided by 0.8. The A-a gradient equals estimated PAO2 minus measured PaO2. Altitude, FiO2, barometric pressure, and respiratory quotient can require the complete alveolar gas equation.

Classify the gradient

NIH describes mild hypoxemia as room-air PaO2 at least 70 or A-a below 35, moderate disease as A-a 35 to below 45, and severe disease as A-a at least 45. Clinical instability can outweigh a reassuring single number.

Trigger adjunctive steroids

For HIV-associated PCP, room-air PaO2 below 70 or A-a at least 35 is sufficient. Either criterion qualifies. Capture the value early so treatment escalation is not delayed.

0 of 1 answered
01Room-air PaCO2 is 30 and PaO2 is 60 mmHg. What is the approximate A-a gradient at sea level?
Answer every question to submit.
187.04

Dose the Preferred Therapy by Trimethoprim

TMP-SMX blocks sequential microbial folate steps. Active PCP requires high, weight-based exposure expressed by the trimethoprim component, not a routine outpatient tablet schedule.

What to learn
  • Sequential folate blockade
  • TMP component
  • 15 to 20 mg/kg/day
  • Renal adjustment
  • Toxicity surveillance
Preferred pharmacologyBlock folate and control exposure
01SulfamethoxazoleDihydropteroate synthase

Carry the verified input forward.

02TrimethoprimDihydrofolate reductase

Carry the verified input forward.

03TMP mg/kg/day15 to 20

Carry the verified input forward.

04Safety loopKidney, electrolytes, marrow

Own the next clinical action.

Trace the two targets

Sulfamethoxazole competes with PABA at dihydropteroate synthase. Trimethoprim inhibits dihydrofolate reductase downstream. Sequential blockade limits tetrahydrofolate needed for organism growth.

Calculate active treatment exposure

Current NIH treatment uses TMP 15 to 20 mg per kg per day with SMX 75 to 100 mg per kg per day. Divide the TMP target every six or eight hours for IV treatment or into three oral doses for mild-to-moderate disease.

Make the product conversion visible

One single-strength tablet contains 80 mg TMP with 400 mg SMX. One double-strength tablet contains 160 mg TMP with 800 mg SMX. Verify liquid or IV concentration, measurable amount, final volume, infusion, and renal adaptation.

Monitor the exposure system

Trend CBC, platelets, creatinine clearance, urine output, potassium, sodium, liver tests, rash, fever, mucosa, interacting drugs, and clinical response. A creatinine rise can reflect inhibited secretion, true kidney injury, or both.

0 of 1 answered
01A 70 kg patient needs TMP 15 mg/kg/day divided every six hours. What is the approximate TMP per dose?
Answer every question to submit.
187.05

Secure Early Exposure in Moderate-to-Severe Disease

Hypoxemic PCP requires dependable systemic exposure, adjunctive corticosteroid review, close respiratory support, and a complete 21-day active course.

What to learn
  • IV TMP-SMX
  • Clindamycin plus primaquine
  • IV pentamidine
  • Oral transition
  • Twenty-one days
Hypoxemic diseaseSecure early active exposure
01IV TMP-SMXPreferred regimen

Carry the verified input forward.

02Steroid screenPaO2 or A-a

Carry the verified input forward.

03Respiratory supportTrend the patient

Carry the verified input forward.

04Twenty-one daysThen prophylaxis

Own the next clinical action.

Use preferred intravenous therapy

For moderate-to-severe HIV-associated PCP, use TMP 15 to 20 mg per kg per day with SMX 75 to 100 mg per kg per day intravenously in divided doses every six or eight hours before renal adjustment.

Choose a valid alternative

Primaquine 30 mg base orally daily plus clindamycin intravenously or orally, or pentamidine 4 mg per kg intravenously daily, are current alternatives. G6PD activity, kidney function, glucose, electrolytes, ECG, blood pressure, and route feasibility shape the decision.

Transition only after improvement

A switch from IV to oral TMP-SMX can follow clinical improvement when gastrointestinal absorption, adherence, renal dosing, monitoring, and follow-up are reliable. A calendar date alone does not prove readiness.

Complete the course

All current NIH treatment regimens continue for 21 days. Document effective start, missed doses, toxicity-driven switches, response, and the immediate handoff to secondary prophylaxis.

0 of 1 answered
01Which is a current alternative for moderate-to-severe PCP when TMP-SMX cannot be used?
Answer every question to submit.
187.06

Treat Mild-to-Moderate Disease Without Underexposure

Stable mild-to-moderate PCP can use oral therapy, but severity, absorption, food, G6PD status, renal function, adherence, and urgent follow-up still determine safety.

What to learn
  • Oral TMP-SMX
  • Atovaquone
  • Dapsone plus TMP
  • Primaquine plus clindamycin
  • Outpatient system
Oral treatmentMake absorption believable
01ClassifyStable physiology

Carry the verified input forward.

02SelectTMP-SMX or alternative

Carry the verified input forward.

03AdministerFood and G6PD matter

Carry the verified input forward.

04FollowLabs and urgent return

Own the next clinical action.

Keep TMP-SMX first

Oral TMP-SMX uses the same TMP 15 to 20 mg per kg per day target in three divided doses. NIH also lists two double-strength tablets three times daily before renal adjustment.

Administer atovaquone with food

Atovaquone suspension 750 mg twice daily with food for 21 days is an alternative when TMP-SMX cannot be used. Shake the suspension gently. Poor intake, gastrointestinal disease, rifamycins, tetracycline, or metoclopramide can reduce exposure.

Protect against oxidant injury

Dapsone 100 mg daily plus TMP 15 mg per kg per day in three doses, or primaquine 30 mg base daily plus clindamycin, require normal G6PD activity and monitoring for hemolysis or methemoglobinemia.

Make outpatient care real

Confirm stable oxygenation, oral tolerance, medication access, laboratory timing, adherence, transport, clear return precautions, and a named clinician responsible for response review.

0 of 1 answered
01What is the labeled atovaquone regimen for mild-to-moderate PCP?
Answer every question to submit.
187.07

Use the Complete Corticosteroid Pathway

Adjunctive corticosteroids improve outcomes in eligible hypoxemic HIV-associated PCP when started with active therapy and delivered through the full 21-day schedule.

What to learn
  • PaO2 below 70
  • A-a at least 35
  • Within 72 hours
  • Prednisone taper
  • Methylprednisolone
Inflammation controlDeliver the complete steroid pathway
01QualifyPaO2 below 70 or A-a 35

Carry the verified input forward.

02StartIdeally within 72 hours

Carry the verified input forward.

03Taper40, 40, then 20

Carry the verified input forward.

04MonitorOxygen and toxicity

Own the next clinical action.

Start when either criterion is met

Use adjunctive corticosteroids for room-air PaO2 below 70 mmHg or A-a gradient at least 35 mmHg. Begin as soon as possible and ideally within 72 hours of starting anti-PCP therapy.

Write the complete prednisone schedule

Give prednisone 40 mg twice daily on days 1 to 5, 40 mg daily on days 6 to 10, and 20 mg daily on days 11 to 21. Put the dates and phase transitions into inpatient and discharge orders.

Convert intravenous therapy correctly

When oral prednisone is not feasible, IV methylprednisolone can be given at 80 percent of the corresponding prednisone dose. Reconvert deliberately when oral administration resumes.

Monitor benefit and harm

Track oxygenation, work of breathing, glucose, blood pressure, mental status, fluid, gastrointestinal symptoms, infection, and pregnancy-specific maternal and fetal parameters when applicable.

0 of 1 answered
01Which patient meets the NIH adjunctive-steroid criterion?
Answer every question to submit.
187.08

Make Every Alternative Safer Than the Failure It Replaces

Alternative PCP regimens trade one toxicity profile for another. G6PD testing, infusion design, absorption, metabolic surveillance, and interaction review are part of the treatment.

What to learn
  • Pentamidine
  • Dapsone
  • Primaquine
  • Atovaquone
  • Methemoglobinemia
Alternative therapyMatch each option to its hazards
01PentamidineKidney, glucose, ECG

Carry the verified input forward.

02Oxidant drugsG6PD and methemoglobin

Carry the verified input forward.

03AtovaquoneFood and absorption

Carry the verified input forward.

04ResponseDo not hide failure

Own the next clinical action.

Control pentamidine infusion risk

Pentamidine 4 mg per kg intravenously daily is infused over at least 60 minutes and can be reduced to 3 mg per kg for toxicity. Do not use sodium chloride for initial reconstitution because precipitation can occur. Monitor blood pressure during and after infusion.

Monitor delayed metabolic toxicity

Pentamidine can cause nephrotoxicity, pancreatitis, severe hypotension, hypoglycemia, later hyperglycemia or diabetes, calcium and magnesium disturbances, cytopenias, liver injury, QT effects, and arrhythmia. Glucose monitoring continues after treatment.

Recognize oxidant injury

Check G6PD before dapsone or primaquine. New anemia, jaundice, cyanosis, saturation gap, headache, fatigue, or persistent apparent hypoxemia requires evaluation for hemolysis and methemoglobinemia.

Protect atovaquone absorption

Use the suspension with food, review gastrointestinal disease and interacting drugs, and monitor liver tests and response. It is not established for severe PCP or as salvage after TMP-SMX failure.

0 of 1 answered
01A patient on dapsone has cyanosis despite improving lung mechanics. What is the priority test?
Answer every question to submit.
187.09

Prevent the First Episode With Current Risk Criteria

Primary prophylaxis in HIV follows CD4, ART, viral suppression, Toxoplasma serostatus, tolerance, and immune recovery rather than a permanent diagnosis label.

What to learn
  • CD4 below 200
  • Daily TMP-SMX
  • Toxoplasma status
  • Stop criteria
  • Restart criteria
First-episode preventionLet current risk choose prophylaxis
01StartCD4 and ART context

Carry the verified input forward.

02SelectTMP-SMX preferred

Carry the verified input forward.

03RecoverSustained immune response

Carry the verified input forward.

04RestartCD4 plus HIV RNA

Own the next clinical action.

Start in the correct HIV context

For people not on ART or starting ART, begin prophylaxis when CD4 is below 200 cells per cubic millimeter. For people already on ART, current CD4 and detectable HIV RNA determine start or restart.

Use preferred daily therapy

Preferred prophylaxis is one TMP-SMX double-strength tablet daily or one single-strength tablet daily. Double-strength three times weekly is an alternative. TMP-SMX also protects against toxoplasmosis and some respiratory bacterial infections.

Preserve Toxoplasma protection

Atovaquone or dapsone plus pyrimethamine plus leucovorin can cover both PCP and toxoplasmosis. Dapsone alone and aerosolized or IV pentamidine should be limited to Toxoplasma-seronegative patients.

Stop and restart deliberately

Stop after CD4 rises from below 200 to at least 200 for at least three months on ART. Selected patients with CD4 100 to 200 and sustained undetectable HIV RNA for three to six months may also be considered. Restart below 100 regardless of RNA, or at 100 to 200 with detectable RNA.

0 of 1 answered
01Which alternative should be avoided as sole dual prophylaxis in a Toxoplasma-seropositive patient?
Answer every question to submit.
187.10

Prevent Recurrence While Immunity Recovers

A prior PCP episode creates an immediate secondary-prophylaxis need, while ART and sustained immune recovery determine when prevention can safely stop.

What to learn
  • Prior PCP
  • Immediate prophylaxis
  • ART within two weeks
  • Immune recovery
  • IRIS
Recurrence preventionLink treatment to immune recovery
01Finish therapyComplete 21 days

Carry the verified input forward.

02Begin prophylaxisNo prevention gap

Carry the verified input forward.

03Start ARTWithin two weeks

Carry the verified input forward.

04ReassessSustained CD4 and RNA

Own the next clinical action.

Start without a gap

Begin secondary prophylaxis immediately after successful completion of the 21-day active course. Preferred regimens and most alternatives mirror primary prophylaxis, with Toxoplasma coverage and toxicity still considered.

Start ART promptly

If ART is not already active, begin within two weeks of PCP diagnosis when possible. Review resistance history, formulation, ICU delivery, absorption, interactions, adherence support, and access rather than delaying routinely until PCP therapy ends.

Stop after sustained recovery

Secondary prophylaxis can usually stop after CD4 rises from below 200 to at least 200 for at least three months on ART. Selected suppressed patients at 100 to 200 can be considered after three to six months.

Handle the high-CD4 exception

If PCP occurs above CD4 200 while the patient is already on ART, lifelong prophylaxis may be prudent. If it occurred above 200 while off ART, discontinuation can be considered after sustained viral suppression, although evidence is limited.

0 of 1 answered
01When should secondary prophylaxis begin?
Answer every question to submit.
187.11

Do Not Confuse Inflammation, Toxicity, and Failure

Early respiratory worsening, dangerous drug toxicity, competing disease, underexposure, and true antimicrobial failure require different responses and different clocks.

What to learn
  • Early worsening
  • Four to eight days
  • ABG trajectory
  • Competing disease
  • Toxicity switch
Failure analysisName the failure before changing
01Early courseInflammation can worsen

Carry the verified input forward.

02Objective trendABG after 4 to 8 days

Carry the verified input forward.

03Competing causeBAL and differential

Carry the verified input forward.

04Change safelyEfficacy or toxicity

Own the next clinical action.

Expect an early inflammatory window

Without adjunctive corticosteroids, reversible deterioration can occur during the first three to five days as killed organisms amplify pulmonary inflammation. Reassess urgently, but do not declare efficacy failure from one early difficult day.

Use the current failure definition

Clinical failure is lack of improvement or worsening respiratory function documented by ABG after four to eight days of adequate therapy. Verify dose, renal adjustment, administration, absorption, and adherence before blaming resistance.

Reopen the differential

Evaluate bacterial, viral, fungal, or mycobacterial co-infection, malignancy, edema, embolism, pneumothorax, respiratory-support complications, and the original diagnosis. BAL should be strongly considered when uncertainty persists.

Act immediately on dangerous toxicity

The four-to-eight-day wait applies to efficacy, not life-threatening toxicity. Severe hypersensitivity, cytopenia, kidney or electrolyte injury, pancreatitis, arrhythmia, hypotension, hemolysis, or methemoglobinemia can require prompt regimen change.

0 of 1 answered
01A patient develops SJS on treatment day two. Should the team wait until day eight before changing therapy?
Answer every question to submit.
187.12

Close the PCP Loop

A complete PCP plan moves from host and evidence through oxygenation, treatment, toxicity, immune restoration, recurrence prevention, and accountable follow-up.

What to learn
  • Pregnancy
  • Non-HIV risk
  • Complete plan
  • Follow-up owner
  • Educational boundary
Clinical loopKeep every PCP decision accountable
01ProveHost, lung, oxygen

Carry the verified input forward.

02TreatRegimen plus steroid

Carry the verified input forward.

03MonitorResponse and toxicity

Carry the verified input forward.

04PreventART and prophylaxis

Own the next clinical action.

Use current pregnancy reasoning

TMP-SMX remains preferred for active PCP during pregnancy because maternal morbidity and mortality reduction outweigh potential exposure risk. Current guidance adds trimester-specific folic acid and fetal anatomy assessment rather than relying on obsolete pregnancy letters.

Keep non-HIV prevention specific

Use current oncology, transplant, rheumatology, or immune-therapy protocols. Evaluate the complete immunosuppressive regimen, duration, lymphocyte state, prior PCP, comorbidity, organ function, and local epidemiology.

Audit the complete plan

Verify host, diagnostic evidence, room-air oxygenation, regimen, TMP-based dose when used, route, renal function, G6PD, CBC, electrolytes, interactions, steroid eligibility, response, ART, 21-day duration, prophylaxis, and follow-up.

Keep education within its role

This module develops clinical reasoning and cannot diagnose or prescribe for an individual. Real PCP care requires current patient data, urgent respiratory assessment, institutional protocols, and accountable infectious-disease, HIV, pulmonary, pharmacy, and critical-care teams when indicated.

0 of 1 answered
01Which plan is complete?
Answer every question to submit.

Check the connections.

Each attempt draws 10 questions from the complete 208 question bank.

208 questions in this module bank10 questions per attempt

Each attempt draws a fresh set and rearranges the answer choices.

Current clinical foundation.

Lecture material was synthesized with the following contemporary guidance. Verify local policy and current guidance before applying clinical information.

  1. NIH Pneumocystis Pneumonia guideline, updated May 2026
  2. Current BACTRIM prescribing information
  3. Atovaquone oral suspension prescribing information, November 2025
  4. Pentamidine isethionate prescribing information, April 2025
PharmacyOpen tools