This document provides coding guidelines for chapter 4 of ICD-10-CM, which covers endocrine, nutritional, and metabolic diseases. It describes the blocks of codes within the chapter and provides guidance on coding various conditions related to diabetes mellitus, including distinguishing between types of diabetes, complications, and proper use of insulin codes. The guidelines also address coding pregnancies complicated by diabetes and issues involving insulin pump malfunctions.