ICD codes are structured in a hierarchical manner. The latest version, ICD-11, includes a more complex and detailed coding system compared to its predecessors. Each code consists of an alphanumeric structure that allows for precise identification of diseases and conditions. For instance, ICD-11 codes can include up to seven characters, offering a high level of specificity.