2027 ICD-10-CM Diagnosis Code Z71.7Human immunodeficiency virus [HIV] counseling
Z71.7 is a billable ICD-10-CM diagnosis code for human immunodeficiency virus [HIV] counseling. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 951. The code is not accepted as a principal diagnosis by the Medicare Code Editor and exempt from POA reporting. Coders also document this condition as patient advised about the risks of HIV. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Other specified encounters and counseling.
Code Identity
Code Classification
Code EditsBilling
Medicare Code Editor checks that affect claim validity for Z71.7.
Present on Admission (POA)Billing
Z71.7 is exempt from POA reporting on inpatient claims to general acute care hospitals. Review the other POA exempt codes in Persons encountering health services in other circumstances (Z69-Z76).
Approximate SynonymsGuidance
Alternate terms and clinical phrases that map to this code.
- Patient advised about the risks of HIV
Instructional NotesGuidance
Instructions from the official ICD-10-CM Tabular List that apply to Z71.7: its own notes plus those printed at Z71 and Chapter 21. A note printed at a category, block or chapter applies to every code under it.
Excludes2
Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.
Notes
General instructions on how these codes are used.
- Z codes represent reasons for encounters. A corresponding procedure code must accompany a Z code if a procedure is performed. Categories Z00-Z99 are provided for occasions when circumstances other than a disease, injury or external cause classifiable to categories A00-Y89 are recorded as 'diagnoses' or 'problems'. This can arise in two main ways:
- (a) When a person who may or may not be sick encounters the health services for some specific purpose, such as to receive limited care or service for a current condition, to donate an organ or tissue, to receive prophylactic vaccination (immunization), or to discuss a problem which is in itself not a disease or injury.
- (b) When some circumstance or problem is present which influences the person's health status but is not in itself a current illness or injury.
Source: CMS ICD-10-CM Tabular List. How to read instructional notes.
Index to Diseases and InjuriesGuidance
Alphabetical index entries that point to this code.
Admission (for) See Also: Encounter (for);
counseling See Also: Counseling;
HIV Z71.7
Clinical ClassificationClinical
AHRQ’s CCSR groups this code into broader clinical categories.
Patient EducationClinical
HIV
HIV stands for human immunodeficiency virus. HIV harms your immune system by destroying a type of white blood cell that helps your body fight infection. This puts you at risk for other infections and diseases.
The full article covers:
- What is HIV?
- What is AIDS?
- How does HIV spread?
- Who is at risk for HIV infection?
- What are the symptoms of HIV?
- How do I know if I have HIV?
- What are the treatments for HIV?
- Can HIV infection be prevented?
Read the full article at MedlinePlus
Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.
Convert Z71.7 to ICD-9-CMHistory
The closest ICD-9-CM equivalents under the General Equivalence Mappings.
Code HistoryHistory
Questions About Z71.7Overview
What is the ICD-10 code for human immunodeficiency virus [HIV] counseling?
The ICD-10-CM code for human immunodeficiency virus [HIV] counseling is Z71.7 (sometimes written as Z717). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.
Is Z71.7 a billable code?
Yes. This is a billable ICD-10-CM code, specific enough to report human immunodeficiency virus [HIV] counseling on HIPAA-covered claims from October 1, 2026 through September 30, 2027.
What MS-DRG does Z71.7 group to?
On inpatient claims, human immunodeficiency virus [HIV] counseling maps to MS-DRG 951 (other Factors Influencing Health Status), which carries a relative weight of 0.5574. Higher weights mean higher Medicare reimbursement.
Can Z71.7 be a principal diagnosis?
No. The Medicare Code Editor rejects this code as a principal diagnosis because human immunodeficiency virus [HIV] counseling describes a circumstance that influences health status rather than a current illness. Report it as a secondary diagnosis.
Is Z71.7 exempt from POA reporting?
Yes. CMS lists this code among those exempt from present on admission reporting, so hospitals do not assign a POA indicator for human immunodeficiency virus [HIV] counseling on inpatient claims. The code appears in the Persons encountering health services in other circumstances (Z69-Z76) range of the CMS exempt list.