Medical coding started as a way to track causes of death during outbreaks of the Black Death plague in the 14th century. Over time, standardized coding systems were developed to classify causes of mortality and morbidity. The current system used in the United States is ICD-10, an international standard endorsed by the World Health Organization in 1990. ICD-10 expanded the number of codes and added specificity compared to the previous ICD-9 system. ICD-10-CM is used for medical diagnoses and ICD-10-PCS for inpatient medical procedures.