Skip to content
MedicalCoreCoding

Try a topic like assisted living, critical care or a code like 99214.

ICD-10-CM

Chapter 15: Pregnancy, Childbirth & Puerperium (O00–O9A)

Obstetric coding has its own rules: O-codes come first, the trimester is part of the code, and the six weeks after delivery have their own set of codes.

  • 9 min read
  • Updated
On this page · 10 sections

Part 1 of 6

Chapter 15 comes first

Codes from Chapter 15 (O00–O9A) describe conditions related to, or made worse by, pregnancy, childbirth or the puerperium (the weeks right after delivery). When a patient is pregnant, these codes have sequencing priority over codes from other chapters. Codes from other chapters can still be added to say more about a condition.

Three simple rules to start with:

  • Maternal record only. Chapter 15 codes belong on the mother's record, never on the baby's.
  • Routine prenatal visit, no problems: use a code from category Z34.- (supervision of normal pregnancy) as the first-listed diagnosis. Z34 is never combined with Chapter 15 codes.
  • High-risk pregnancy, routine prenatal visit: use a category O09.- code first. O09 is for the prenatal period only.
Example

Cold in a pregnant patient, documented as incidental

A patient who is 20 weeks pregnant is seen for a common cold. The provider writes: "Pregnancy is incidental to today's visit; the URI does not affect the pregnancy."

  • J06.9: Acute upper respiratory infection, unspecified
  • Z33.1: Pregnant state, incidental

No O-code is used, because the provider said the pregnancy is incidental. Without that statement the coder would look at Chapter 15 first.

Picture it · one pregnancy, four stretches

1st2nd3rd6 wk0142840weeks from the last periodDeliveryAntepartumPuerperium

Before delivery

O10.-O13.-O24.-Z3A.-

Trimester character (1, 2 or 3) from the weeks. Z3A names the exact week.

Delivery episode

O80Z37.0

A complication-free full-term delivery is O80 alone, plus the outcome code Z37.- on the mother's record.

First six weeks after

O85O90.-O86.-

Puerperium codes. Z3A is not used here, because the pregnancy is over.

Much later

O94

Care for a lasting effect (sequela) of a pregnancy complication, at any time after the puerperium.

The trimester is counted from the first day of the last menstrual period. The six weeks after delivery are the puerperium.

Part 2 of 6

The trimester character

Most Chapter 15 codes end with a character for the trimester. The chapter's own note defines the trimesters, counted from the first day of the last menstrual period:

TrimesterWeeks
1stLess than 14 weeks 0 days
2nd14 weeks 0 days to less than 28 weeks 0 days
3rd28 weeks 0 days until delivery

The provider may state the trimester or just the number of weeks. Both are acceptable: the weeks are enough to find the trimester.

Use the trimester at this encounter. That is true for pre-existing conditions as well as conditions caused by the pregnancy.

Example

Spotting near the end of the first trimester

A patient at 13 weeks 6 days has light spotting and is evaluated.

  • O26.851: Spotting complicating pregnancy, first trimester
  • Z3A.13: 13 weeks gestation of pregnancy

"Completed weeks" means full weeks only. 13 weeks 6 days is 13 completed weeks, and it is still before 14 weeks 0 days, so the trimester is the first.

Rules to remember

  • No trimester character? Then the condition always occurs in one trimester, or trimester does not apply. For example, O21.0 (mild hyperemesis gravidarum) has no trimester character.
  • Delivery during this admission and an "in childbirth" code exists? Use the "in childbirth" code. If the code family has no "in childbirth" option, use the code for the current trimester.
  • A stay that crosses into a new trimester: for a complication that developed during the stay, use the trimester when it developed, not the trimester at discharge. For a condition that was there before the admission, or that is pre-existing, use the trimester at the time of admission.
  • Unspecified trimester (the code that ends in 0 or 9) should rarely be used: only when the record cannot tell the trimester and the provider cannot be asked.

Z3A: the week of pregnancy

Category Z3A, Weeks of gestation, is an add-on. The chapter note tells you to use an additional code from Z3A to give the specific week, if known. Z3A is not used for pregnancies that ended in an abortive outcome (O00–O08), for elective termination (Z33.2), or for postpartum conditions. For an admission that spans several weeks, the admission date decides the week.

Example

Mild hyperemesis

A patient at 9 weeks is seen for mild hyperemesis gravidarum.

  • O21.0: Mild hyperemesis gravidarum
  • Z3A.09: 9 weeks gestation of pregnancy

Part 3 of 6

Was it there before the pregnancy?

Some Chapter 15 categories separate conditions the mother already had from conditions that came from the pregnancy. Ask that question first, then find the code. Categories that do not make the split can be used for either.

Hypertension

SituationCategoryNotes
Hypertension existed before pregnancy (essential, heart, kidney, secondary)O10.-Includes "any condition in I10" when it is a reason for obstetric care, so no separate I10 is needed for essential hypertension.
Hypertension started in the pregnancy, no significant proteinuriaO13.-Gestational hypertension.
Pre-eclampsia (mild to moderate, severe, HELLP, unspecified)O14.-Excludes1: pre-existing hypertension with pre-eclampsia, which is category O11.

For O10 codes that include hypertensive heart disease or hypertensive chronic kidney disease, the guideline adds a rule: also assign a secondary code from the hypertension chapter to say the type of heart failure or the kidney disease.

Example

Hypertension known before pregnancy

A patient with long-standing essential hypertension is seen at 30 weeks for a prenatal visit because of the hypertension.

  • O10.013: Pre-existing essential hypertension complicating pregnancy, third trimester
  • Z3A.30: 30 weeks gestation of pregnancy
Example

Pre-existing hypertensive heart disease

A patient at 22 weeks has known hypertensive heart disease without heart failure and is seen for it.

  • O10.112: Pre-existing hypertensive heart disease complicating pregnancy, second trimester
  • I11.9: Hypertensive heart disease without heart failure
  • Z3A.22: 22 weeks gestation of pregnancy

The I11.9 code is the "additional code" the guideline asks for. See the circulatory lesson for the I11 family.

Example

Severe pre-eclampsia

A patient at 36 weeks with no earlier hypertension is admitted with severe pre-eclampsia and is not yet in labor.

  • O14.13: Severe pre-eclampsia, third trimester
  • Z3A.36: 36 weeks gestation of pregnancy

Diabetes

Diabetes in pregnancy goes to category O24, and the guideline says to sequence the O24 code first, followed by the diabetes code from the E08–E13 range.

Example

Type 2 diabetes before pregnancy

A patient at 20 weeks with type 2 diabetes (no complications) is seen for a diabetes check.

  • O24.112: Pre-existing type 2 diabetes mellitus, in pregnancy, second trimester
  • E11.9: Type 2 diabetes mellitus without complications
  • Z3A.20: 20 weeks gestation of pregnancy

Gestational diabetes (diabetes that began in the pregnancy, in a patient who was not diabetic before) is in subcategory O24.4-. Its last character shows the control: diet, insulin or oral drugs. Rules from the guideline:

  • No other O24 code is used with an O24.4 code.
  • If diet and insulin are both used, report only the insulin code. If diet and oral drugs are both used, report only the oral-drug code.
  • Do not add the long-term-use codes (Z79.4, Z79.84, Z79.85) with O24.4.
  • A glucose test result that is abnormal in pregnancy, without a diabetes diagnosis, goes to subcategory O99.81-.
Example

Gestational diabetes treated with diet

A patient at 29 weeks has gestational diabetes controlled with diet and is seen to review her glucose log.

  • O24.410: Gestational diabetes mellitus in pregnancy, diet controlled
  • Z3A.29: 29 weeks gestation of pregnancy

Part 4 of 6

Normal delivery: O80

Code O80, Encounter for full-term uncomplicated delivery, is for a patient admitted for a full-term normal delivery of a single, healthy infant with no complication before, during or after delivery in that episode.

  • O80 is always the principal diagnosis.
  • It is not used if any other Chapter 15 code is needed for a current complication. It is a single diagnosis code for the delivery.
  • A complication earlier in the pregnancy that is gone by the time of the delivery admission does not stop you using O80.
  • Codes from other chapters may be added if they are not related to, and are not complicating, the pregnancy.

Outcome of delivery: Z37

A code from category Z37, Outcome of delivery, goes on every maternal record where a delivery happened. It is always a secondary code. It is not used on later records or on the newborn's record. With O80, the only Z37 code allowed is Z37.0 (single live birth).

Example

Normal delivery at 39 weeks

A patient is admitted at 39 weeks 2 days and delivers one healthy baby vaginally. There are no complications.

  • O80: Encounter for full-term uncomplicated delivery
  • Z3A.39: 39 weeks gestation of pregnancy
  • Z37.0: Single live birth

The 7th character: which fetus?

For some categories (O31, O32, O33.3–O33.6, O35, O36, O40, O41, O60.1, O60.2, O64 and O69) the code ends with a 7th character that names the fetus the complication applies to: 1, 2, 3, 4 or 5 for the numbered fetus, 9 for another fetus. Use 0 when:

  • there is only one fetus,
  • the record does not say which fetus is affected and the provider cannot be asked, or
  • it is not possible to tell clinically which fetus is affected.

The placeholder letter X fills the empty places so the 7th character lands in the seventh position.

Example

Twin pregnancy, the second twin is breech

At 35 weeks, a patient with a twin pregnancy (unspecified number of placentas and sacs) is seen because twin 2 is breech.

  • O30.003: Twin pregnancy, unspecified number of placenta and unspecified number of amniotic sacs, third trimester
  • O32.1XX2: Maternal care for breech presentation, fetus 2
  • Z3A.35: 35 weeks gestation of pregnancy

Same breech baby in a single pregnancy: the 7th character would be 0, O32.1XX0.

Part 5 of 6

The puerperium (six weeks)

The postpartum period starts right after delivery and lasts six weeks. Any complication in those six weeks is a postpartum complication. The codes for it sit in the O85–O92 range, for example:

CodeWhat it says
O86.12Endometritis following delivery
O90.81Anemia of the puerperium
O90.3Peripartum cardiomyopathy

A few more points from the guideline:

  • Z3A is not used with postpartum conditions.
  • Chapter 15 codes can still be used after six weeks when the provider documents that the condition is pregnancy related.
  • Mother delivers outside the hospital, then is admitted for routine postpartum care and has no problems: Z39.0 is the principal diagnosis.
  • O90.3 (peripartum cardiomyopathy) is only for a cardiomyopathy that developed as a result of pregnancy in a patient without earlier heart disease.
  • Puerperal sepsis (O85) is paired with a code for the organism, and A40 or A41 are not used with it.
Example

Fever and a tender uterus on day 10

Ten days after a vaginal delivery, a patient is diagnosed with endometritis.

  • O86.12: Endometritis following delivery

No Z3A code, because the pregnancy is over. No Z37 either, because the delivery is not part of this record.

O94: a sequela of a pregnancy complication

O94 is used when a complication of pregnancy or childbirth has left a lasting effect (a sequela) that needs care later. It may be used at any time after the first postpartum period. Like all sequela codes, it is sequenced after the code for the sequela itself.

Example

A fistula years after a delivery injury

A patient is treated for a fistula between the vagina and the large bowel. The provider documents it as a late result of a severe tear during a delivery three years ago.

  • N82.3: Fistula of vagina to large intestine
  • O94: Sequelae of complication of pregnancy, childbirth, and the puerperium

Part 6 of 6

Practice scenarios

Short cases on this chapter, in study mode (answer after each) or timed.

questions
11questions
exam time
14 minexam time
to pass
70%to pass
Choose a mode

End of the chapter: check what you remember

  • Chapter 15 codes go first, unless the provider says the pregnancy is incidental (Z33.1)
  • How to find the trimester from the weeks, and what Z3A adds
  • Pre-existing versus pregnancy-caused hypertension and diabetes
  • O80 for a normal delivery, Z37 for the outcome, the 7th character for each fetus
  • The six-week puerperium and the O94 sequela code

Code descriptions, the chapter notes (trimester definitions, Z3A instruction) and the Includes and Excludes notes come from the FY2027 ICD-10-CM Tabular List, Chapter 15 and categories O10, O13, O14, O24, O30, O32, O80, O86, O90, O94, Z33, Z37 and Z3A.