2024 ICD-10-CM Diagnosis Code O87.2

Hemorrhoids in the puerperium

ICD-10-CM Code:
O87.2
ICD-10 Code for:
Hemorrhoids in the puerperium
Is Billable?
Yes - Valid for Submission
Chronic Condition Indicator: [1]
Not chronic
Code Navigator:

Code Classification

  • Pregnancy, childbirth and the puerperium
    (O00-O9A)
    • Complications predominantly related to the puerperium
      (O85-O92)
      • Venous complications and hemorrhoids in the puerperium
        (O87)

O87.2 is a billable diagnosis code used to specify a medical diagnosis of hemorrhoids in the puerperium. The code is valid during the current fiscal year for the submission of HIPAA-covered transactions from October 01, 2023 through September 30, 2024.

The code O87.2 is applicable to female patients aged 12 through 55 years inclusive. It is clinically and virtually impossible to use this code on a non-female patient outside the stated age range.

Approximate Synonyms

The following clinical terms are approximate synonyms or lay terms that might be used to identify the correct diagnosis code:

  • Hemorrhoids in pregnancy
  • Hemorrhoids in pregnancy and puerperium
  • Hemorrhoids in puerperium
  • Hemorrhoids in puerperium
  • Varicose veins in pregnancy
  • Varicose veins in pregnancy
  • Varicose veins in puerperium
  • Varicose veins in puerperium
  • Venous complication of pregnancy

Clinical Classification

Clinical CategoryCCSR Category CodeInpatient Default CCSROutpatient Default CCSR
Complications specified during the puerperiumPRG027Y - Yes, default inpatient assignment for principal diagnosis or first-listed diagnosis.Y - Yes, default outpatient assignment for principal diagnosis or first-listed diagnosis.
HemorrhoidsDIG014N - Not default inpatient assignment for principal diagnosis or first-listed diagnosis.N - Not default outpatient assignment for principal diagnosis or first-listed diagnosis.

Index to Diseases and Injuries References

The following annotation back-references for this diagnosis code are found in the injuries and diseases index. The Index to Diseases and Injuries is an alphabetical listing of medical terms, with each term mapped to one or more ICD-10-CM code(s).

Code Edits

The Medicare Code Editor (MCE) detects and reports errors in the coding of claims data. The following ICD-10-CM Code Edits are applicable to this code:

  • Maternity diagnoses - The Medicare Code Editor detects inconsistencies in maternity cases by checking a patient's age and any diagnosis on the patient's record. The maternity code edits apply to patients age ange is 9–64 years inclusive (e.g., diabetes in pregnancy, antepartum pulmonary complication).
  • Diagnoses for females only - The Medicare Code Editor detects inconsistencies between a patient’s sex and any diagnosis on the patient’s record, these edits apply to FEMALES only .

Convert O87.2 to ICD-9-CM

  • ICD-9-CM Code: 671.82 - Ven comp NEC-deliv w p/p
    Approximate Flag - The approximate mapping means there is not an exact match between the ICD-10 and ICD-9 codes and the mapped code is not a precise representation of the original code.
  • ICD-9-CM Code: 671.84 - Venous compl NEC-postpar
    Approximate Flag - The approximate mapping means there is not an exact match between the ICD-10 and ICD-9 codes and the mapped code is not a precise representation of the original code.

Patient Education


Hemorrhoids

What are hemorrhoids?

Hemorrhoids are swollen, inflamed veins around your anus or the lower part of your rectum. There are two types:

  • External hemorrhoids, which form under the skin around your anus
  • Internal hemorrhoids, which form in the lining of your anus and lower rectum

What causes hemorrhoids?

Hemorrhoids happen when there is too much pressure on the veins around the anus. This can be caused by:

  • Straining during bowel movements
  • Sitting on the toilet for long periods of time
  • Chronic constipation or diarrhea
  • A low-fiber diet
  • Weakening of the supporting tissues in your anus and rectum. This can happen with aging and pregnancy.
  • Frequently lifting heavy objects

What are the symptoms of hemorrhoids?

The symptoms of hemorrhoids depend on which type you have:

With external hemorrhoids, you may have:

  • Anal itching
  • One or more hard, tender lumps near your anus
  • Anal pain, especially when sitting

Too much straining, rubbing, or cleaning around your anus may make your symptoms worse. For many people, the symptoms of external hemorrhoids go away within a few days.

With internal hemorrhoids, you may have:

  • Bleeding from your rectum - you would see bright red blood in your stool, on toilet paper, or in the toilet bowl after a bowel movement
  • Prolapse, which is a hemorrhoid that has fallen through your anal opening

Internal hemorrhoids are usually not painful unless they are prolapsed. Prolapsed internal hemorrhoids may cause pain and discomfort.

How can I treat hemorrhoids at home?

You can most often treat your hemorrhoids at home by:

  • Eating foods that are high in fiber
  • Taking a stool softener or a fiber supplement
  • Drinking enough fluids every day
  • Not straining during bowel movements
  • Not sitting on the toilet for long periods of time
  • Taking over-the-counter pain relievers
  • Taking warm baths several times a day to help relieve pain. This could be a regular bath or a sitz bath. With a sitz bath, you use a special plastic tub that allows you to sit in a few inches of warm water.
  • Using over-the-counter hemorrhoid creams, ointments, or suppositories to relieve mild pain, swelling, and itching of external hemorrhoids

When do I need to see a health care provider for hemorrhoids?

You should see your health care provider if you:

  • Still have symptoms after 1 week of at-home treatment
  • Have bleeding from your rectum. Hemorrhoids are a common cause of bleeding, but other conditions can also cause bleeding. They include Crohn's disease, ulcerative colitis, colorectal cancer, and anal cancer. So it's important to see your provider to find the cause of the bleeding.

How are hemorrhoids diagnosed?

To make a diagnosis, your health care provider:

  • Will ask about your medical history
  • Will do a physical exam. Often providers can diagnose external hemorrhoids by looking at the area around your anus.
  • Will do a digital rectal exam to check for internal hemorrhoids. For this, the provider will insert a lubricated, gloved finger into the rectum to feel for anything that is abnormal.
  • May do procedures such as an anoscopy to check for internal hemorrhoids

What are the treatments for hemorrhoids?

If at-home treatments for hemorrhoids don't help you, you may need a medical procedure. There are several different procedures that your provider can do in the office. These procedures use different techniques to cause scar tissue to form in the hemorrhoids. This cuts off the blood supply, which usually shrinks the hemorrhoids. In severe cases, you may need surgery.

Can hemorrhoids be prevented?

You can help prevent hemorrhoids by:

  • Eating foods that are high in fiber
  • Taking a stool softener or a fiber supplement
  • Drinking enough fluids every day
  • Not straining during bowel movements
  • Not sitting on the toilet for long periods of time

NIH: National Institute of Diabetes and Digestive and Kidney Diseases


[Learn More in MedlinePlus]

Postpartum Care

Taking home a new baby is one of the happiest times in a woman's life. But it also presents both physical and emotional challenges. :

  • Get as much rest as possible. You may find that all you can do is eat, sleep, and care for your baby. And that is perfectly okay. You will have spotting or bleeding, like a menstrual period, off and on for up to six weeks.
  • You might also have swelling in your legs and feet, feel constipated, have menstrual-like cramping. Even if you are not breastfeeding, you can have milk leaking from your nipples, and your breasts might feel full, tender, or uncomfortable.
  • Follow your doctor's instructions on how much activity, like climbing stairs or walking, you can do for the next few weeks.
  • Doctors usually recommend that you abstain from sexual intercourse for four to six weeks after birth.

In addition to physical changes, you may feel sad or have the "baby blues." If you are extremely sad or are unable to care for yourself or your baby, you might have a serious condition called postpartum depression.

Dept. of Health and Human Services Office on Women's Health


[Learn More in MedlinePlus]

Code History

  • FY 2024 - No Change, effective from 10/1/2023 through 9/30/2024
  • FY 2023 - No Change, effective from 10/1/2022 through 9/30/2023
  • FY 2022 - No Change, effective from 10/1/2021 through 9/30/2022
  • FY 2021 - No Change, effective from 10/1/2020 through 9/30/2021
  • FY 2020 - No Change, effective from 10/1/2019 through 9/30/2020
  • FY 2019 - No Change, effective from 10/1/2018 through 9/30/2019
  • FY 2018 - No Change, effective from 10/1/2017 through 9/30/2018
  • FY 2017 - No Change, effective from 10/1/2016 through 9/30/2017
  • FY 2016 - New Code, effective from 10/1/2015 through 9/30/2016. This was the first year ICD-10-CM was implemented into the HIPAA code set.

Footnotes

[1] Not chronic - A diagnosis code that does not fit the criteria for chronic condition (duration, ongoing medical treatment, and limitations) is considered not chronic. Some codes designated as not chronic are acute conditions. Other diagnosis codes that indicate a possible chronic condition, but for which the duration of the illness is not specified in the code description (i.e., we do not know the condition has lasted 12 months or longer) also are considered not chronic.