# Es Preop Target Hba1c Bg

> For adult patients with diabetes undergoing elective surgical procedures, aim for preoperative hemoglobin A1c below 8% and blood glucose concentrations between 100 to 180 mg/dL. Triggered by questions such as "What preoperative glycemic targets should we set for this surgical patient?"

- Skill: `dromlakhani/es-preop-target-hba1c-bg` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dromlakhani/es-preop-target-hba1c-bg`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dromlakhani/es-preop-target-hba1c-bg/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dromlakhani (https://skillmd.com/u/dromlakhani)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/dromlakhani/es-preop-target-hba1c-bg

---


# Target preoperative HbA1c <8% and blood glucose 100-180 mg/dL for elective surgery

## STEP 1 — Gather Information
Collect diabetes type, recent HbA1c (within 3 months), recent blood glucose levels, comorbidities affecting HbA1c accuracy (e.g., anemia, hemoglobinopathies, chronic kidney disease, alcoholism), current diabetes medications, and timing of elective surgery. **Action:** If HbA1c unavailable, order stat HbA1c and obtain fasting/random BG; then proceed to step 2.

## STEP 2 — Rule In / Rule Out
Is it feasible to achieve HbA1c <8% before surgery? (Consider time until surgery ≥4 weeks and patient’s ability to intensify therapy). **Decision:** If yes, target HbA1c <8% and proceed to step 3; if no, skip HbA1c target and proceed to step 3 focusing on BG 100-180 mg/dL.

## STEP 3 — Classify or Stratify
Classify HbA1c: <8% (target met), 8-9% (moderately elevated), ≥9% (significantly elevated). **Action:** For HbA1c ≥8%, initiate or intensify glucose-lowering therapy (e.g., add basal insulin, adjust doses) and recheck HbA1c in 2-4 weeks; for HbA1c <8%, verify BG 100-180 mg/dL 1-4 hours pre-op.

## STEP 4 — Decide
Based on classification: If HbA1c <8% and BG 100-180 mg/dL 1-4 hours pre-op, proceed with surgery; if HbA1c ≥8% despite optimization, consider delaying elective surgery until target met; if BG persistently <100 or >180 mg/dL, adjust insulin regimen (e.g., reduce basal if hypoglycemia, add correctional insulin if hyperglycemia) and recheck. **Decision:** Clearance for surgery when both targets met or clinically deemed safe after optimization.

## Clinical Guardrails / Mimics / Pitfalls
Do not rely on HbA1c if patient has conditions affecting its accuracy (anemia, hemoglobinopathies, chronic renal failure, alcoholism, drugs causing falsely low/high HbA1c, large BG fluctuations); avoid hypoglycemia (<70 mg/dL) when intensifying therapy; do not administer preoperative carbohydrate-containing oral fluids; avoid delaying surgery unnecessarily for urgent cases; ensure BG measured 1-4 hours pre-op, not just fasting.

## Concrete Clinical Example
A 62-year-old man with type 2 diabetes scheduled for elective hernia repair in 3 weeks has HbA1c 8.6% and fasting BG 150 mg/dL. He has no anemia or CKD. Step 1: collect data. Step 2: feasible to lower HbA1c (3 weeks available). Step 3: HbA1c 8-9% → intensify therapy (add basal insulin 10 units nightly). Step 4: after 2 weeks, HbA1c 7.8%, BG 130 mg/dL pre-op → proceed with surgery.

**Source:** Management of Hyperglycemia in Hospitalized Adult Patients in Non-Critical Care Settings: An Endocrine Society Clinical Practice Guideline, Endocrine Society, 2022, https://doi.org/10.1210/clinem/dgac278
> **TODO:** consider adding scripts/calc.py for the es-preop-target-hba1c-bg calculator

