Skip to content
MedicalCoreCoding

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

ICD-10-CM

Chapters 16 and 17: Perinatal conditions and congenital anomalies (P00–Q99)

How to code the baby's birth record, when a perinatal condition belongs on it, how prematurity and weight are reported, and how congenital anomalies are coded at any age.

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

Part 1 of 5

Two patients, two records

The perinatal period runs from before birth through the 28th day after birth (I.C.16). Guideline I.C.16.a.1 sets two walls:

  • Chapter 16 (P codes) is never used on the mother's record.
  • Chapter 15 (the obstetric O codes) is never used on the newborn's record.

Picture it · two patients, two records

Mother's record

  • Chapter 15 obstetric codes: O80 and others
  • Z37.0 outcome of delivery (single live birth)
  • Z3A.- weeks of gestation

Never Z38, never P codes.

Baby's birth record

  1. 1. Z38.- liveborn infant, first, once
  2. 2. P codes for perinatal conditions, Q codes for anomalies
  3. 3. Z05.- observed, ruled out (healthy baby only)

Never O codes, never Z37.

Chapter 15 never goes on the baby. Chapter 16 never goes on the mother (I.C.16.a.1).

The Z38 code starts the birth record

When you code the birth episode in a newborn record, the principal diagnosis is a code from category Z38, liveborn infants according to place of birth and type of delivery (I.C.16.a.2). Three rules go with it:

  • It is assigned only once, at the time of birth.
  • A transferred newborn does not get Z38 at the receiving hospital.
  • It is used only on the newborn record, never on the mother's.
BabyZ38 code
Single baby, born in hospital, vaginalZ38.00
Single baby, born in hospital, cesareanZ38.01
Single baby, born outside the hospitalZ38.1
Twin, born in hospital, vaginalZ38.30
Twin, born in hospital, cesareanZ38.31
Triplet, born in hospital, cesareanZ38.62

Each baby of a multiple birth has their own record and their own Z38 code.

Example

Healthy term baby

A full-term baby is born vaginally in the hospital. The newborn exam is normal.

Code: Z38.00. Nothing else is needed.

On the mother's record the delivery is coded with the obstetric codes and Z37.0 for the outcome. That outcome code is never used on the baby's record.

Observed, then ruled out (Z05)

Category Z05 is for a healthy newborn who is suspected of having a condition that is ruled out after study (I.C.16.b).

  • Use it only when the baby has no signs or symptoms. If the baby has signs or symptoms of the suspected problem, code the sign or symptom instead.
  • On the birth record, Z05 is a secondary code after Z38 (I.C.16.b.3).
  • On a later readmission or visit, Z05 may be first-listed, when Z38 no longer applies (I.C.16.b.2).
Example

Cesarean baby watched for infection

A baby is born by cesarean in the hospital. The mother had a fever in labor, so the nursery watches the baby for infection, with blood tests. The baby has no signs of illness and all results are normal. The pediatrician documents "infection ruled out."

  1. Z38.01 Single liveborn infant, delivered by cesarean
  2. Z05.1 Observation and evaluation of newborn for suspected infectious condition ruled out

Part 2 of 5

What goes with Z38

Guideline I.C.16.a.3: codes from other chapters may be used with Chapter 16 codes when they give more detail. Codes for signs and symptoms may be assigned when a definitive diagnosis has not been made. If the reason for the encounter is a perinatal condition, the Chapter 16 code is sequenced first.

Which conditions to code

Guideline I.C.16.a.6: code all clinically significant conditions noted on the routine newborn exam. A condition is clinically significant if it requires one of these:

  • clinical evaluation
  • therapeutic treatment
  • diagnostic procedures
  • an extended hospital stay
  • increased nursing care or monitoring
  • or the provider says it has implications for future health care needs

That last point is added to the usual "additional diagnosis" rule. It applies to newborn records, not to adults (I.C.16.c.2).

Birth process or community acquired?

If a newborn condition could be either due to the birth process or community acquired and the note does not say which, the default is due to the birth process, so use the Chapter 16 code (I.C.16.a.5). If the provider documents it as community acquired, do not use a Chapter 16 code.

Example

Pneumonia on day two, no source stated

A newborn is diagnosed with pneumonia on the second day of life. The note does not say where it was acquired.

  • Z38.00 first on the birth record
  • P23.9 Congenital pneumonia, unspecified (the default is the birth process)

If the same pneumonia is documented as acquired at home in a 20-day-old infant who was readmitted, the Chapter 16 code does not apply and the pneumonia is coded from Chapter 10.

Sepsis of the newborn (I.C.16.f)

  • P36 (bacterial sepsis of newborn) includes congenital sepsis.
  • If the note says only "sepsis" without saying congenital or community acquired, the default is congenital: use P36.
  • When the P36 code includes the organism (for example P36.0 group B streptococcus), do not add a B95 or B96 code.
  • When the P36 code does not include the organism, add a code from B96 (for example P36.8 with B96.1 for Klebsiella).
  • Add R65.2- and any organ-dysfunction codes if documented.

Maternal conditions that affect the baby

Categories P00 to P04 are titled "Newborn affected by..." a condition in the mother, the pregnancy, the placenta or the labor. They carry a code first note: report any current condition in the newborn first.

SituationCode family
Maternal conditions that may be unrelated to the present pregnancyP00.- (for example P00.0, maternal hypertensive disorders)
Maternal complications of pregnancyP01.-
Complications of placenta, cord and membranesP02.-
Complications of labor and deliveryP03.- (for example P03.4, cesarean delivery)
Noxious substances through the placenta or breast milkP04.-
Neonatal withdrawal from the mother's drugs of addictionP96.1

The category title says the newborn is affected, so the provider has to document that the mother's condition or the delivery affected this baby. A baby born by cesarean who has no problem is simply Z38.01.

Example

Baby of a mother with gestational diabetes

A baby born vaginally in the hospital has low blood sugar in the nursery that needs a feed and glucose gel. The pediatrician documents "neonatal hypoglycemia, infant of a mother with gestational diabetes."

  1. Z38.00
  2. P70.0 Syndrome of infant of mother with gestational diabetes (the inclusion term covers the newborn with hypoglycemia affected by maternal gestational diabetes)

If the mother's diabetes were pre-existing, P70.1 would apply instead. Check the Excludes1 note at P70.0.

Part 3 of 5

Prematurity and weight

Different providers use different criteria for prematurity, so guideline I.C.16.d says:

  • A code for prematurity is not assigned unless it is documented.
  • Codes in P05 (slow fetal growth) and P07 (short gestation and low birth weight) are based on the recorded birth weight and estimated gestational age.
  • When both are available, assign two P07 codes, the birth weight first, then the gestational age.

Picture it · two P07 codes, weight first

First: birth weight

1,420 grams is in the 1,250 to 1,499 gram band

P07.15

Second: gestational age

31 completed weeks is preterm

P07.34

Both come after Z38.- on the birth record. Use them only when the provider documents prematurity or low birth weight.

Example: a baby born at 31 completed weeks weighing 1,420 grams (I.C.16.d).
TypeCodesMeaning
Birth weightP07.0- (extremely low, under 1,000 g) and P07.1- (other low, 1,000 to 2,499 g)Pick the weight band: for example P07.03 is 750 to 999 g
Extreme immaturityP07.2-Under 28 completed weeks, with a code per week: P07.25 is 26 weeks
Other pretermP07.3-28 weeks up to 37 weeks: P07.34 is 31 weeks
Slow fetal growthP05.-Light or small for gestational age, with weight bands for small-for-gestational-age

P07.1- has an Excludes1 note for low birth weight due to slow fetal growth (P05.-), so the two ideas are kept apart. A baby who is small for gestational age because of slow growth is not simply "low birth weight."

Example

A preterm baby with breathing trouble

A baby is born vaginally in the hospital at 31 completed weeks, weighing 1,420 grams. The baby has respiratory distress syndrome and is treated in the NICU.

  1. Z38.00 Single liveborn infant, delivered vaginally
  2. P22.0 Respiratory distress syndrome of newborn (the reason for the NICU care)
  3. P07.15 Other low birth weight newborn, 1250-1499 grams
  4. P07.34 Preterm newborn, gestational age 31 completed weeks

On the birth record Z38 is the principal diagnosis (I.C.16.a.2). Sequence the remaining codes by the circumstances of the record.

Example

Seven years later

A 7-year-old who was born at 26 weeks weighing 840 grams has chronic lung disease from that birth, documented as bronchopulmonary dysplasia. The pediatric pulmonologist documents that the prematurity still affects her.

  • P27.1 Bronchopulmonary dysplasia originating in the perinatal period
  • P07.03 and P07.25 to show the weight and gestation

Guideline I.C.16.e: P07 codes may be used for a child or adult who was premature or had a low birth weight as a newborn, when it is affecting the patient's current health status.

Part 4 of 5

What Chapter 17 holds

Chapter 17 covers congenital malformations, deformations, chromosomal abnormalities and genetic disorders. In FY2027 the range is Q00 to QA1. The chapter note says its codes are not for use on maternal records.

Guideline I.C.17 in plain terms:

  • Assign a Q code when the anomaly is documented. It may be the principal or first-listed diagnosis, or a secondary one.
  • A Q code may be used throughout life. A condition that is present at birth may not be found until adulthood. Whenever the provider diagnoses it, code it.
  • For the birth admission, Z38 is principal, followed by any Q codes.
  • If the code does not identify the malformation or syndrome uniquely, add codes for the manifestations that are present.
  • If the code does identify it, do not code the manifestations that are an inherent part of it. Code manifestations that are not an inherent component.
  • A corrected malformation is reported with a personal history code, not a Q code.
Example

Heart defect found on the birth admission

A baby is born vaginally in the hospital. A murmur is heard on the newborn exam and an echocardiogram shows a ventricular septal defect, which the pediatrician documents and refers for cardiology follow-up.

  1. Z38.00
  2. Q21.0 Ventricular septal defect

The murmur is a sign of the defect, so it is not coded separately.

Example

Cleft lip and palate together

A newborn has a cleft of the hard and soft palate and a cleft of the lip on one side.

Code: Q37.5 Cleft hard and soft palate with unilateral cleft lip.

Q35 (cleft palate) and Q36 (cleft lip) each carry an Excludes1 note that sends cleft palate with cleft lip to Q37.-. Do not report them separately.

Example

A combination code and a manifestation that is not inherent

A newborn has spina bifida with hydrocephalus and weakness of both legs that the neurologist documents as paraplegia.

  • Q05.4 Unspecified spina bifida with hydrocephalus. The hydrocephalus is part of this code, so you do not add a separate hydrocephalus code.
  • Add a code from G82.2- for the paraplegia: the Q05 note says to use an additional code for associated paraplegia, because it is not inherent in the code.
Example

Found at 45

A 45-year-old has a murmur. An echocardiogram shows congenital aortic valve insufficiency that was never diagnosed.

Code: Q23.1 Congenital insufficiency of aortic valve. It is present at birth, and the guideline allows the code at any age once it is diagnosed.

Corrected or still needing care?

The record saysCode
Cleft lip and palate repaired years ago, nothing left to treatZ87.730 Personal history of (corrected) cleft lip and palate
Hypospadias repaired in infancyZ87.710 Personal history of (corrected) hypospadias
Heart defect repaired in childhoodZ87.74 Personal history of (corrected) congenital malformations of heart and circulatory system
Anomaly partly corrected and still needing treatmentThe Q code for the condition (see the Excludes2 note at Z87.7-)

Part 5 of 5

Practice cases

Try these before you check the answers. Each case explains why the right choice is right and the others are wrong.

questions
12questions
exam time
15 minexam time
to pass
70%to pass
Choose a mode

End of the chapter: check what you remember

  • The birth record starts with one Z38 code, assigned once; P and Q codes follow it, and Chapter 15 obstetric codes never appear on the newborn
  • Chapter 16 codes are never used on the mother's record, and a perinatal condition that lasts keeps its P code at any age
  • Prematurity and low birth weight are coded only when documented: birth weight code first, then gestational age code
  • Code a condition noted on the newborn exam when it needs evaluation, treatment, monitoring or a longer stay, or the provider says it matters for future care
  • Congenital anomalies (Q codes) can be first-listed or secondary, and can be coded at any age; a corrected anomaly becomes a Z87.7- history code
Take the ICD-10-CM practice test12 questions on the ICD-10-CM guidelines