The 4 digit diagnostic codes are structured to provide a detailed description of a medical condition. They typically follow an alphanumeric format. The first character is a letter that represents the chapter of diseases, followed by three digits that specify the condition in detail. For example, the code "J45.9" refers to asthma, unspecified.