2024 ICD-10-CM Diagnosis Code Z87.438

Personal history of other diseases of male genital organs

ICD-10-CM Code:
Z87.438
ICD-10 Code for:
Personal history of other diseases of male genital organs
Is Billable?
Yes - Valid for Submission
Code Navigator:

Code Classification

  • Factors influencing health status and contact with health services
    (Z00–Z99)
    • Persons with potential health hazards related to family and personal history and certain conditions influencing health status
      (Z77-Z99)
      • Personal history of other diseases and conditions
        (Z87)

Z87.438 is a billable diagnosis code used to specify a medical diagnosis of personal history of other diseases of male genital organs. 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 is exempt from present on admission (POA) reporting for inpatient admissions to general acute care hospitals.

This code is applicable to male patients only. It is clinically and virtually impossible to use this code on a non-male patient.

Approximate Synonyms

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

  • H/O: dyspareunia
  • H/O: genital prolapse
  • H/O: infertility - male
  • H/O: male genital disorder
  • H/O: prostatism
  • H/O: sexual function problem
  • H/O: sexual function problem
  • H/O:male sex function problem
  • History of hypospermatogenesis
  • History of male erectile disorder
  • History of maturation arrest of spermatogenesis
  • History of prostatic cyst
  • History of prostatitis
  • History of semen abnormality
  • History of sexually transmitted disease
  • History of testicular disorder

Clinical Classification

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:

  • Diagnoses for males only - The Medicare Code Editor detects inconsistencies between a patient’s sex and any diagnosis on the patient’s record, these edits apply to MALES only .
  • Unacceptable principal diagnosis - There are selected codes that describe a circumstance which influences an individual's health status but not a current illness or injury, or codes that are not specific manifestations but may be due to an underlying cause. These codes are considered unacceptable as a principal diagnosis.

Present on Admission (POA)

Z87.438 is exempt from POA reporting - The Present on Admission (POA) indicator is used for diagnosis codes included in claims involving inpatient admissions to general acute care hospitals. POA indicators must be reported to CMS on each claim to facilitate the grouping of diagnoses codes into the proper Diagnostic Related Groups (DRG). CMS publishes a listing of specific diagnosis codes that are exempt from the POA reporting requirement. Review other POA exempt codes here.

CMS POA Indicator Options and Definitions

POA IndicatorReason for CodeCMS will pay the CC/MCC DRG?
YDiagnosis was present at time of inpatient admission.YES
NDiagnosis was not present at time of inpatient admission.NO
UDocumentation insufficient to determine if the condition was present at the time of inpatient admission.NO
WClinically undetermined - unable to clinically determine whether the condition was present at the time of inpatient admission.YES
1Unreported/Not used - Exempt from POA reporting. NO

Convert Z87.438 to ICD-9-CM

  • ICD-9-CM Code: V13.89 - Hx diseases NEC
    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


Penis Disorders

Problems with the penis can cause pain and affect a man's sexual function and fertility. Penis disorders include:

  • Erectile dysfunction - inability to get or keep an erection
  • Priapism - a painful erection that does not go away
  • Peyronie's disease - bending of the penis during an erection due to a hard lump called a plaque
  • Balanitis - inflammation of the skin covering the head of the penis, most often in men and boys who have not been circumcised
  • Penile cancer - a rare form of cancer, highly curable when caught early

[Learn More in MedlinePlus]

Prostate Diseases

What is the prostate?

The prostate is a gland in the male reproductive system. It lies just below the bladder. It makes fluid that is part of semen.

What are prostate diseases?

There are many types of prostate diseases:

  • Prostatitis is inflammation (swelling and pain) in the prostate gland. It's the most common type of prostate problem in people under than age 50. There are different types:
    • Chronic prostatitis is also called chronic pelvic pain syndrome. It's the most common type of prostatitis.
    • Acute bacterial prostatitis starts suddenly from a bacterial infection and is treated with antibiotics. It is not common.
    • Chronic bacterial prostatitis happens when a bacterial infection keeps coming back. The symptoms usually start slowly. It may take longer to treat than acute bacterial prostatitis.
    • Asymptomatic prostatitis has no symptoms and usually doesn't need treatment. You may learn you have it after having tests for other health problems.
  • Enlarged prostate is also called benign prostatic hyperplasia (BPH). The prostate gland tends to grow larger with age. That's why enlarged prostate is very common in older people and rare in those who are under age 40. When the prostate grows larger, it may press on your urethra and cause problems with urination.
  • Prostate cancer happens when cancer cells form in the prostate gland. Prostate cancer is a common type of cancer in those aged 50 and older. Most prostate cancers grow slowly and may never cause health problems. But certain prostate cancers are serious.

Who is more likely to develop prostate diseases?

Anyone with a prostate can develop prostate problems. But some people are at higher risk.

You may be more likely to develop prostatitis if you have:

  • A lower urinary tract infection, also called a UTI. An infection in your lower urinary tract (bladder and urethra) may lead to acute or chronic bacterial prostatitis.
  • Nerve damage in your lower urinary tract from surgery or an injury. This may lead to chronic prostatitis.
  • Emotional stress, which can lead to chronic prostatitis.

You may be more likely to develop an enlarged prostate (BPH) if you:

  • Are age 40 or older.
  • Have family members who have had BPH.
  • Have certain health conditions such as:
    • Obesity.
    • Heart disease and problems with blood circulation.
    • Type 2 diabetes.
  • Don't get enough physical activity.

You may be more likely to develop prostate cancer if you:

  • Are older than age 50.
  • Have a parent, sibling, or child who has or had prostate cancer.
  • Are African American.

What are the symptoms of prostate diseases?

The symptoms of prostate problems include:

  • Needing to urinate a lot.
  • Needing to rush to the bathroom, but not being able to urinate or only going a little.
  • Leaking or dribbling urine.
  • Having a weak urine stream.

Other symptoms depend on the type of prostate problem you have and may include:

  • Not being able to urinate at all. This is a medical emergency.
  • Any problems, starting or controlling urine flow.
  • Waking up often to urinate.
  • Blood in your urine or urine that has an unusual smell or color.
  • Fever, chills, or body aches.
  • Great discomfort or pain:
    • While urinating or after ejaculation.
    • In your abdomen (belly), between your scrotum and anus, or in your scrotum or penis.

Contact your provider if you have any of these symptoms.

How are prostate diseases diagnosed?

To find out if you have a prostate problem, your provider will:

  • Ask about your medical history and symptoms.
  • Ask about your family health history.
  • Do a physical exam. The exam may include a digital rectal exam (DRE) of your prostate. In a DRE, your provider inserts a gloved finger into your rectum to feel the general size and condition of your prostate.
  • Order tests, if needed. Tests may include:
    • Blood and urine tests to look for infection.
    • Urodynamic testing to see how well you can hold and release urine.
    • Cystoscopy to look inside your urethra and bladder.
    • Ultrasound pictures of your prostate and urinary tract.
    • A PSA blood test (prostate-specific antigen test).
    • Prostate biopsy to diagnose or rule out cancer.

Treatment depends on what prostate disease you have and which symptoms bother you most.

NIH: National Institute of Diabetes and Digestive and Kidney Diseases


[Learn More in MedlinePlus]

Testicular Disorders

Testicles, or testes, make male hormones and sperm. They are two egg-shaped organs inside the scrotum, the loose sac of skin behind the penis. It's easy to injure your testicles because they are not protected by bones or muscles. Men and boys should wear athletic supporters when they play sports.

You should examine your testicles monthly and seek medical attention for lumps, redness, pain or other changes. Testicles can get inflamed or infected. They can also develop cancer. Testicular cancer is rare and highly treatable. It usually happens between the ages of 15 and 40.


[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.