extract code list attribute