ICD parsing