Z codes get dismissed as filler — the codes you reach for when there is no “real” diagnosis to report. In orthopedic coding that mindset is expensive. The Z code family carries the encounters that have no acute disease or injury to anchor them, the status of every implant and amputation a patient walks in with, and the surveillance visits that follow completed treatment. Choose the wrong one and the claim either fails medical necessity or tells the payer a story the record does not support.
The hardest part is not the Z codes themselves. It is knowing when a Z code is correct and when the rules send you somewhere else entirely — most often to an injury code carrying a 7th character. The authority for all of it is the ICD-10-CM Official Guidelines for Coding and Reporting, Section I.C.21 for Z codes and Section I.C.19 for injuries, read against the Tabular conventions. What follows is how those rules play out in an orthopedic practice.
“Encounter For” Z Codes: The Aftercare Family
The “encounter for” Z codes most relevant to orthopedics are the aftercare codes. Aftercare describes the situation in which initial treatment of a disease has been completed and the patient needs continued care during the healing or recovery phase, or for the long-term consequences of that disease. The aftercare code is generally first-listed because it is the reason for the visit.
The orthopedic aftercare codes worth knowing on sight:
- Z47.1 — Aftercare following joint replacement surgery
- Z47.2 — Encounter for removal of internal fixation device
- Z47.31, Z47.32, Z47.33 — Aftercare following explantation of a shoulder, knee, or hip joint prosthesis (the staged-revision interval after a prosthesis comes out)
- Z47.81 — Orthopedic aftercare following surgical amputation
- Z47.82 — Orthopedic aftercare following scoliosis surgery
- Z47.89 — Other orthopedic aftercare
- Z48.812 — Aftercare following surgery on the musculoskeletal system
- Z44.-, Z45.-, Z46.- — Fitting and adjustment of an external prosthetic device, an implanted device, and other devices, respectively
The cardinal rule lives in Section I.C.21.c.7, and it is the one most often broken: aftercare Z codes are not used for the aftercare of an injury. When a patient is healing from a fracture, dislocation, or other injury, the aftercare is reported with the acute injury code and the 7th character for a subsequent encounter — not with a Z code. The 7th character already carries the “healing phase” meaning that the aftercare code would otherwise supply, so using both double-reports the same idea and misstates the encounter.
This is why Z47.1 (joint replacement) sits comfortably in the aftercare family while routine fracture follow-up does not. A joint replacement is performed for a disease — osteoarthritis, most often — so its aftercare is disease aftercare and a Z code fits. A healing fracture is injury aftercare, and the rules route it to the injury code instead.
The “D” 7th Character: Where Injury Aftercare Actually Lives
For injuries in Chapter 19, the 7th character does the work that an aftercare Z code does elsewhere. The two characters that drive most orthopedic encounters are A and D, and the single most common error is reading them as “first visit” versus “later visit.” They are not about visit sequence. They are about the phase of care.
A — initial encounter applies as long as the patient is receiving active treatment for the injury. The guideline’s own examples are surgical treatment, an emergency department encounter, and evaluation and continuing treatment by the same or a different physician. A patient seen for the first time by a new surgeon who is actively treating the injury is still an initial encounter. “Initial” is the active-treatment phase, not the first calendar visit.
D — subsequent encounter applies once active treatment is complete and the patient is in routine care during the healing or recovery phase. The examples are the bread and butter of an orthopedic clinic: a cast change or removal, an X-ray to check healing status, removal of an external fixation device, and follow-up visits after the injury was treated. A patient returning six times during healing is reporting D each time, not escalating numbers.
For the long-bone fracture families — forearm, humerus, femur, tibia and fibula — the 7th character set expands well beyond A and D, and the expansion is where documentation has to be specific:
- A / D — initial (active treatment) and subsequent routine healing, closed fracture
- G — subsequent encounter, delayed healing
- K — subsequent encounter, nonunion
- P — subsequent encounter, malunion
- S — sequela (a late effect such as a contracture or deformity resulting from the injury)
- Open fractures add their own initial and subsequent characters keyed to the Gustilo type (B and C at the initial encounter; E, F, and the corresponding delayed-, nonunion-, and malunion-healing characters thereafter)
Two points on the edges of this set. A sequela code (7th character S) is never first-listed; the condition resulting from the injury is sequenced first, then the injury code with S. And delayed healing, nonunion, and malunion are distinct documented states — G, K, and P are not interchangeable, and the operative or clinic note has to support which one applies.
Where the Two Systems Collide
The most testable orthopedic scenario is a patient returning after a fracture, and three different answers are correct depending on what is actually happening:
- Routine healing follow-up. The patient is still healing and the visit is routine surveillance. Report the fracture code with 7th character D (or G, K, or P if healing is delayed, nonunited, or malunited). Do not use an aftercare Z code.
- Planned hardware removal. The encounter exists specifically to remove internal fixation from a healed fracture. Report Z47.2, Encounter for removal of internal fixation device. Here the purpose of the visit is the device removal itself, which is what the Z code names.
- A device complication. The hardware is loose, infected, broken, or the patient has a periprosthetic fracture. This is neither a routine 7th character nor an aftercare Z code — it is a complication, reported from T84.- (complications of internal orthopedic devices) or M97.- for a periprosthetic fracture around a prosthetic joint.
The same patient, the same hardware, three different code paths. The note decides which one.
Finally, the lifecycle closes with a transition coders often miss. Once a fracture has fully healed and the patient is no longer receiving any care directed at it, the encounter is no longer a subsequent injury encounter at all. At that point the past fracture is reported as Z87.81, Personal history of (healed) traumatic fracture. The arc runs from the injury code with A during active treatment, to the same code with D through healing, to Z87.81 once healing is complete and the fracture is history.
Status Z Codes: The Patient’s Standing Hardware and Anatomy
Status codes report a current state that affects care — most often the presence of a device or the absence of a body part. They are distinct from history codes: history (the Z85–Z87 range, including Z87.81 above) describes a past condition no longer present, while a status code describes something that is still true today. The orthopedic status codes that belong in a coder’s working memory:
- Z96.61–Z96.69 — Presence of artificial joints (shoulder, elbow, wrist, hip, knee, ankle, and other), with laterality at the final character
- Z96.7 — Presence of other bone and tendon implants
- Z97.1- — Presence of an artificial limb
- Z89.- — Acquired absence of limb (amputation status), specified by level and laterality
- Z98.1 — Arthrodesis status (a fused joint)
Status codes are generally reported as secondary, but they are not optional decoration — they belong on the claim when they affect the encounter. The presence of a hip prosthesis (Z96.641) is directly relevant when that patient presents with hip pain, because it shapes the differential and the workup.
Two boundaries keep status codes used correctly. First, do not pair a status code with a diagnosis code that already contains the same information; the Tabular’s Excludes notes flag these overlaps. Second, and more important in orthopedics, a status code is not a complication code. The presence of an artificial knee is Z96.65; a mechanically loosened, infected, or failed artificial knee is a T84.- complication, and reporting only the status code understates what is actually being treated.
Other Scenarios Worth Distinguishing
A few additional encounter types round out orthopedic Z-code use:
Follow-up versus aftercare. These are not synonyms. Aftercare (the Z47/Z48 codes) means the patient is still in the healing or recovery phase of completed treatment. Follow-up — Z09, encounter for follow-up examination after completed treatment for conditions other than malignant neoplasm — means treatment is finished and the visit is surveillance of a resolved condition. The question is whether care is still ongoing or genuinely complete.
Screening. A screening encounter with no current sign or symptom uses a screening Z code, such as Z13.820 for osteoporosis screening, as the first-listed code.
Long-term drug therapy. Continued medication management is captured with the Z79.- family — for example Z79.1 for long-term NSAID use or the Z79.89- codes for other long-term drug therapy — reported as a secondary code that supports the ongoing management documented in the note.
Body mass index. The Z68.- codes report BMI and are frequently relevant to surgical risk documentation, but they are reported as secondary and only when an associated condition (such as obesity) is also documented.
The Takeaway
None of these are throwaway codes. The choice between an aftercare Z code and an injury code with a 7th character determines whether a follow-up visit reads as injury healing or disease aftercare. The choice between A and D turns on the phase of care, not the visit number. A status code that is present but omitted weakens the medical-necessity picture for the very service being billed, and a status code reported where a complication code belongs understates the work performed.
Coders who treat the Z-code chapter and the 7th-character conventions as two halves of the same decision — grounded in Sections I.C.21 and I.C.19 of the Official Guidelines and confirmed against the current Tabular — are the ones whose orthopedic claims hold up. The codes are not the hard part. Knowing which story the encounter is actually telling is.