added fields version, primary, value_set to coding