zugferd_code_lists/zugferd_2_3_3/
item.rs

1#![allow(non_camel_case_types)]
2
3#[cfg_attr(feature = "specta", derive(specta::Type))]
4#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
5#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone, Copy, Hash)]
6pub enum Item {
7    /// Product version number
8    ProductVersionNumber,
9    /// Assembly
10    Assembly,
11    /// HIBC (Health Industry Bar Code)
12    HibcHealthIndustryBarCode,
13    /// Cold roll number
14    ColdRollNumber,
15    /// Hot roll number
16    HotRollNumber,
17    /// Slab number
18    SlabNumber,
19    /// Software revision number
20    SoftwareRevisionNumber,
21    /// UPC (Universal Product Code) Consumer package code (1-5-5)
22    UpcUniversalProductCodeConsumerPackageCode155,
23    /// UPC (Universal Product Code) Consumer package code (1-5-5-
24    UpcUniversalProductCodeConsumerPackageCode155_Dup,
25    /// Sample number
26    SampleNumber,
27    /// Pack number
28    PackNumber,
29    /// UPC (Universal Product Code) Shipping container code (1-2-
30    UpcUniversalProductCodeShippingContainerCode12,
31    /// UPC (Universal Product Code)/EAN (European article number)
32    UpcUniversalProductCodeEanEuropeanArticleNumber,
33    /// UPC (Universal Product Code) suffix
34    UpcUniversalProductCodeSuffix,
35    /// State label code
36    StateLabelCode,
37    /// Heat number
38    HeatNumber,
39    /// Coupon number
40    CouponNumber,
41    /// Resource number
42    ResourceNumber,
43    /// Work task number
44    WorkTaskNumber,
45    /// Price look up number
46    PriceLookUpNumber,
47    /// NSN (North Atlantic Treaty Organization Stock Number)
48    NsnNorthAtlanticTreatyOrganizationStockNumber,
49    /// Refined product code
50    RefinedProductCode,
51    /// Exhibit
52    Exhibit,
53    /// End item
54    EndItem,
55    /// Federal supply classification
56    FederalSupplyClassification,
57    /// Engineering data list
58    EngineeringDataList,
59    /// Milestone event number
60    MilestoneEventNumber,
61    /// Lot number
62    LotNumber,
63    /// National drug code 4-4-2 format
64    NationalDrugCode442Format,
65    /// National drug code 5-3-2 format
66    NationalDrugCode532Format,
67    /// National drug code 5-4-1 format
68    NationalDrugCode541Format,
69    /// National drug code 5-4-2 format
70    NationalDrugCode542Format,
71    /// National drug code
72    NationalDrugCode,
73    /// Part number
74    PartNumber,
75    /// Local Stock Number (LSN)
76    LocalStockNumberLsn,
77    /// Next higher assembly number
78    NextHigherAssemblyNumber,
79    /// Data category
80    DataCategory,
81    /// Control number
82    ControlNumber,
83    /// Special material identification code
84    SpecialMaterialIdentificationCode,
85    /// Locally assigned control number
86    LocallyAssignedControlNumber,
87    /// Buyer's colour
88    BuyersColour,
89    /// Buyer's part number
90    BuyersPartNumber,
91    /// Variable measure product code
92    VariableMeasureProductCode,
93    /// Financial phase
94    FinancialPhase,
95    /// Contract breakdown
96    ContractBreakdown,
97    /// Technical phase
98    TechnicalPhase,
99    /// Dye lot number
100    DyeLotNumber,
101    /// Daily statement of activities
102    DailyStatementActivities,
103    /// Periodical statement of activities within a bilaterally
104    PeriodicalStatementActivitiesWithinABilaterally,
105    /// Calendar week statement of activities
106    CalendarWeekStatementActivities,
107    /// Calendar month statement of activities
108    CalendarMonthStatementActivities,
109    /// Original equipment number
110    OriginalEquipmentNumber,
111    /// Industry commodity code
112    IndustryCommodityCode,
113    /// Commodity grouping
114    CommodityGrouping,
115    /// Colour number
116    ColourNumber,
117    /// Contract number
118    ContractNumber,
119    /// Customs article number
120    CustomsArticleNumber,
121    /// Drawing revision number
122    DrawingRevisionNumber,
123    /// Drawing
124    Drawing,
125    /// Engineering change level
126    EngineeringChangeLevel,
127    /// Material code
128    MaterialCode,
129    /// EMDN (European Medical Device Nomenclature)
130    EmdnEuropeanMedicalDeviceNomenclature,
131    /// International Article Numbering Association (EAN)
132    InternationalArticleNumberingAssociationEan,
133    /// Fish species
134    FishSpecies,
135    /// Buyer's internal product group code
136    BuyersInternalProductGroupCode,
137    /// Global model number
138    GlobalModelNumber,
139    /// National product group code
140    NationalProductGroupCode,
141    /// General specification number
142    GeneralSpecificationNumber,
143    /// Harmonised system
144    HarmonisedSystem,
145    /// ISBN (International Standard Book Number)
146    IsbnInternationalStandardBookNumber,
147    /// Buyer's item number
148    BuyersItemNumber,
149    /// ISSN (International Standard Serial Number)
150    IssnInternationalStandardSerialNumber,
151    /// Buyer's style number
152    BuyersStyleNumber,
153    /// Buyer's size code
154    BuyersSizeCode,
155    /// Machine number
156    MachineNumber,
157    /// Manufacturer's (producer's) article number
158    ManufacturersProducersArticleNumber,
159    /// Model number
160    ModelNumber,
161    /// Product/service identification number
162    ProductServiceIdentificationNumber,
163    /// Batch number
164    BatchNumber,
165    /// Customer order number
166    CustomerOrderNumber,
167    /// Part number description
168    PartNumberDescription,
169    /// Purchaser's order line number
170    PurchasersOrderLineNumber,
171    /// Purchase order number
172    PurchaseOrderNumber,
173    /// Phytosanitary Passport identifier
174    PhytosanitaryPassportIdentifier,
175    /// Promotional variant number
176    PromotionalVariantNumber,
177    /// Buyer's qualifier for size
178    BuyersQualifierForSize,
179    /// Returnable container number
180    ReturnableContainerNumber,
181    /// Release number
182    ReleaseNumber,
183    /// Run number
184    RunNumber,
185    /// Record keeping of model year
186    RecordKeepingModelYear,
187    /// Supplier's article number
188    SuppliersArticleNumber,
189    /// Standard group of products (mixed assortment)
190    StandardGroupProductsMixedAssortment,
191    /// SKU (Stock keeping unit)
192    SkuStockKeepingUnit,
193    /// Serial number
194    SerialNumber,
195    /// RSK number
196    RskNumber,
197    /// IFLS (Institut Francais du Libre Service) 5 digit product
198    IflsInstitutFrancaisDuLibreService5DigitProduct,
199    /// IFLS (Institut Francais du Libre Service) 9 digit product
200    IflsInstitutFrancaisDuLibreService9DigitProduct,
201    /// GS1 Global Trade Item Number
202    Gs1GlobalTradeItemNumber,
203    /// EDIS (Energy Data Identification System)
204    EdisEnergyDataIdentificationSystem,
205    /// Slaughter number
206    SlaughterNumber,
207    /// Official animal number
208    OfficialAnimalNumber,
209    /// Harmonized tariff schedule
210    HarmonizedTariffSchedule,
211    /// Supplier's supplier article number
212    SuppliersSupplierArticleNumber,
213    /// 46 Level DOT Code
214    _46LevelDotCode,
215    /// Airline Tariff 6D
216    AirlineTariff6d,
217    /// Title 49 Code of Federal Regulations
218    Title49CodeFederalRegulations,
219    /// International Civil Aviation Administration code
220    InternationalCivilAviationAdministrationCode,
221    /// Hazardous Materials ID DOT
222    HazardousMaterialsIdDot,
223    /// Endorsement
224    Endorsement,
225    /// Air Force Regulation 71-4
226    AirForceRegulation714,
227    /// Breed
228    Breed,
229    /// Chemical Abstract Service (CAS) registry number
230    ChemicalAbstractServiceCasRegistryNumber,
231    /// Engine model designation
232    EngineModelDesignation,
233    /// Institutional Meat Purchase Specifications (IMPS) Number
234    InstitutionalMeatPurchaseSpecificationsImpsNumber,
235    /// Price Look-Up code (PLU)
236    PriceLookUpCodePlu,
237    /// International Maritime Organization (IMO) Code
238    InternationalMaritimeOrganizationImoCode,
239    /// Bureau of Explosives 600-A (rail)
240    BureauExplosives600ARail,
241    /// United Nations Dangerous Goods List
242    UnitedNationsDangerousGoodsList,
243    /// International Code of Botanical Nomenclature (ICBN)
244    InternationalCodeBotanicalNomenclatureIcbn,
245    /// International Code of Zoological Nomenclature (ICZN)
246    InternationalCodeZoologicalNomenclatureIczn,
247    /// International Code of Nomenclature for Cultivated Plants
248    InternationalCodeNomenclatureForCultivatedPlants,
249    /// Distributor’s article identifier
250    DistributorSArticleIdentifier,
251    /// Norwegian Classification system ENVA
252    NorwegianClassificationSystemEnva,
253    /// Supplier assigned classification
254    SupplierAssignedClassification,
255    /// Mexican classification system AMECE
256    MexicanClassificationSystemAmece,
257    /// German classification system CCG
258    GermanClassificationSystemCcg,
259    /// Finnish classification system EANFIN
260    FinnishClassificationSystemEanfin,
261    /// Canadian classification system ICC
262    CanadianClassificationSystemIcc,
263    /// French classification system IFLS5
264    FrenchClassificationSystemIfls5,
265    /// Style number
266    StyleNumber,
267    /// Dutch classification system CBL
268    DutchClassificationSystemCbl,
269    /// Japanese classification system JICFS
270    JapaneseClassificationSystemJicfs,
271    /// European Union dairy subsidy eligibility classification
272    EuropeanUnionDairySubsidyEligibilityClassification,
273    /// GS1 Spain classification system
274    Gs1SpainClassificationSystem,
275    /// GS1 Poland classification system
276    Gs1PolandClassificationSystem,
277    /// Federal Agency on Technical Regulating and Metrology of the
278    FederalAgencyOnTechnicalRegulatingAndMetrology,
279    /// Efficient Consumer Response (ECR) Austria classification
280    EfficientConsumerResponseEcrAustriaClassification,
281    /// GS1 Italy classification system
282    Gs1ItalyClassificationSystem,
283    /// CPV (Common Procurement Vocabulary)
284    CpvCommonProcurementVocabulary,
285    /// IFDA (International Foodservice Distributors Association)
286    IfdaInternationalFoodserviceDistributorsAssociation,
287    /// AHFS (American Hospital Formulary Service) pharmacologic -
288    AhfsAmericanHospitalFormularyServicePharmacologic,
289    /// ATC (Anatomical Therapeutic Chemical) classification system
290    AtcAnatomicalTherapeuticChemicalClassificationSystem,
291    /// CLADIMED (Classification des Dispositifs Médicaux)
292    CladimedClassificationDesDispositifsMédicaux,
293    /// CMDR (Canadian Medical Device Regulations) classification
294    CmdrCanadianMedicalDeviceRegulationsClassification,
295    /// CNDM (Classificazione Nazionale dei Dispositivi Medici)
296    CndmClassificazioneNazionaleDeiDispositiviMedici,
297    /// UK DM&D (Dictionary of Medicines & Devices) standard coding
298    UkDmDDictionaryMedicinesDevicesStandardCoding,
299    /// eCl@ss
300    EclSs,
301    /// EDMA (European Diagnostic Manufacturers Association)
302    EdmaEuropeanDiagnosticManufacturersAssociation,
303    /// EGAR (European Generic Article Register)
304    EgarEuropeanGenericArticleRegister,
305    /// GMDN (Global Medical Devices Nomenclature)
306    GmdnGlobalMedicalDevicesNomenclature,
307    /// GPI (Generic Product Identifier)
308    GpiGenericProductIdentifier,
309    /// HCPCS (Healthcare Common Procedure Coding System)
310    HcpcsHealthcareCommonProcedureCodingSystem,
311    /// ICPS (International Classification for Patient Safety)
312    IcpsInternationalClassificationForPatientSafety,
313    /// MedDRA (Medical Dictionary for Regulatory Activities)
314    MeddraMedicalDictionaryForRegulatoryActivities,
315    /// Medical Columbus
316    MedicalColumbus,
317    /// NAPCS (North American Product Classification System)
318    NapcsNorthAmericanProductClassificationSystem,
319    /// NHS (National Health Services) eClass
320    NhsNationalHealthServicesEclass,
321    /// US FDA (Food and Drug Administration) Product Code
322    UsFdaFoodAndDrugAdministrationProductCode,
323    /// SNOMED CT (Systematized Nomenclature of Medicine-Clinical
324    SnomedCtSystematizedNomenclatureMedicineClinical,
325    /// UMDNS (Universal Medical Device Nomenclature System)
326    UmdnsUniversalMedicalDeviceNomenclatureSystem,
327    /// GS1 Global Returnable Asset Identifier, non-serialised
328    Gs1GlobalReturnableAssetIdentifierNonSerialised,
329    /// IMEI
330    Imei,
331    /// Waste Type (EMSA)
332    WasteTypeEmsa,
333    /// Ship's store classification type
334    ShipsStoreClassificationType,
335    /// Emergency fire code
336    EmergencyFireCode,
337    /// Emergency spillage code
338    EmergencySpillageCode,
339    /// IMDG packing group
340    ImdgPackingGroup,
341    /// MARPOL Code IBC
342    MarpolCodeIbc,
343    /// IMDG subsidiary risk class
344    ImdgSubsidiaryRiskClass,
345    /// Transport group number
346    TransportGroupNumber,
347    /// Taxonomic Serial Number
348    TaxonomicSerialNumber,
349    /// IMDG main hazard class
350    ImdgMainHazardClass,
351    /// EU Combined Nomenclature
352    EuCombinedNomenclature,
353    /// Therapeutic classification number
354    TherapeuticClassificationNumber,
355    /// European Waste Catalogue
356    EuropeanWasteCatalogue,
357    /// Price grouping code
358    PriceGroupingCode,
359    /// UNSPSC
360    Unspsc,
361    /// EU RoHS Directive
362    EuRohsDirective,
363    /// Ultimate customer's article number
364    UltimateCustomersArticleNumber,
365    /// UPC (Universal product code)
366    UpcUniversalProductCode,
367    /// Vendor item number
368    VendorItemNumber,
369    /// Vendor's (seller's) part number
370    VendorsSellersPartNumber,
371    /// Vendor's supplemental item number
372    VendorsSupplementalItemNumber,
373    /// Vendor specification number
374    VendorSpecificationNumber,
375    /// Mutually defined
376    MutuallyDefined,
377}
378
379impl std::fmt::Display for Item {
380    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
381        write!(f, "{}", <Self as crate::Code>::code(*self))
382    }
383}
384
385impl std::str::FromStr for Item {
386    type Err = ();
387    fn from_str(s: &str) -> Result<Self, Self::Err> {
388        <Self as crate::FromCode>::from_code(s).ok_or(())
389    }
390}
391
392impl crate::Code for Item {
393    fn code(self) -> &'static str {
394        match self {
395            Item::ProductVersionNumber => "AA",
396            Item::Assembly => "AB",
397            Item::HibcHealthIndustryBarCode => "AC",
398            Item::ColdRollNumber => "AD",
399            Item::HotRollNumber => "AE",
400            Item::SlabNumber => "AF",
401            Item::SoftwareRevisionNumber => "AG",
402            Item::UpcUniversalProductCodeConsumerPackageCode155 => "AH",
403            Item::UpcUniversalProductCodeConsumerPackageCode155_Dup => "AI",
404            Item::SampleNumber => "AJ",
405            Item::PackNumber => "AK",
406            Item::UpcUniversalProductCodeShippingContainerCode12 => "AL",
407            Item::UpcUniversalProductCodeEanEuropeanArticleNumber => "AM",
408            Item::UpcUniversalProductCodeSuffix => "AN",
409            Item::StateLabelCode => "AO",
410            Item::HeatNumber => "AP",
411            Item::CouponNumber => "AQ",
412            Item::ResourceNumber => "AR",
413            Item::WorkTaskNumber => "AS",
414            Item::PriceLookUpNumber => "AT",
415            Item::NsnNorthAtlanticTreatyOrganizationStockNumber => "AU",
416            Item::RefinedProductCode => "AV",
417            Item::Exhibit => "AW",
418            Item::EndItem => "AX",
419            Item::FederalSupplyClassification => "AY",
420            Item::EngineeringDataList => "AZ",
421            Item::MilestoneEventNumber => "BA",
422            Item::LotNumber => "BB",
423            Item::NationalDrugCode442Format => "BC",
424            Item::NationalDrugCode532Format => "BD",
425            Item::NationalDrugCode541Format => "BE",
426            Item::NationalDrugCode542Format => "BF",
427            Item::NationalDrugCode => "BG",
428            Item::PartNumber => "BH",
429            Item::LocalStockNumberLsn => "BI",
430            Item::NextHigherAssemblyNumber => "BJ",
431            Item::DataCategory => "BK",
432            Item::ControlNumber => "BL",
433            Item::SpecialMaterialIdentificationCode => "BM",
434            Item::LocallyAssignedControlNumber => "BN",
435            Item::BuyersColour => "BO",
436            Item::BuyersPartNumber => "BP",
437            Item::VariableMeasureProductCode => "BQ",
438            Item::FinancialPhase => "BR",
439            Item::ContractBreakdown => "BS",
440            Item::TechnicalPhase => "BT",
441            Item::DyeLotNumber => "BU",
442            Item::DailyStatementActivities => "BV",
443            Item::PeriodicalStatementActivitiesWithinABilaterally => "BW",
444            Item::CalendarWeekStatementActivities => "BX",
445            Item::CalendarMonthStatementActivities => "BY",
446            Item::OriginalEquipmentNumber => "BZ",
447            Item::IndustryCommodityCode => "CC",
448            Item::CommodityGrouping => "CG",
449            Item::ColourNumber => "CL",
450            Item::ContractNumber => "CR",
451            Item::CustomsArticleNumber => "CV",
452            Item::DrawingRevisionNumber => "DR",
453            Item::Drawing => "DW",
454            Item::EngineeringChangeLevel => "EC",
455            Item::MaterialCode => "EF",
456            Item::EmdnEuropeanMedicalDeviceNomenclature => "EMD",
457            Item::InternationalArticleNumberingAssociationEan => "EN",
458            Item::FishSpecies => "FS",
459            Item::BuyersInternalProductGroupCode => "GB",
460            Item::GlobalModelNumber => "GMN",
461            Item::NationalProductGroupCode => "GN",
462            Item::GeneralSpecificationNumber => "GS",
463            Item::HarmonisedSystem => "HS",
464            Item::IsbnInternationalStandardBookNumber => "IB",
465            Item::BuyersItemNumber => "IN",
466            Item::IssnInternationalStandardSerialNumber => "IS",
467            Item::BuyersStyleNumber => "IT",
468            Item::BuyersSizeCode => "IZ",
469            Item::MachineNumber => "MA",
470            Item::ManufacturersProducersArticleNumber => "MF",
471            Item::ModelNumber => "MN",
472            Item::ProductServiceIdentificationNumber => "MP",
473            Item::BatchNumber => "NB",
474            Item::CustomerOrderNumber => "ON",
475            Item::PartNumberDescription => "PD",
476            Item::PurchasersOrderLineNumber => "PL",
477            Item::PurchaseOrderNumber => "PO",
478            Item::PhytosanitaryPassportIdentifier => "PPI",
479            Item::PromotionalVariantNumber => "PV",
480            Item::BuyersQualifierForSize => "QS",
481            Item::ReturnableContainerNumber => "RC",
482            Item::ReleaseNumber => "RN",
483            Item::RunNumber => "RU",
484            Item::RecordKeepingModelYear => "RY",
485            Item::SuppliersArticleNumber => "SA",
486            Item::StandardGroupProductsMixedAssortment => "SG",
487            Item::SkuStockKeepingUnit => "SK",
488            Item::SerialNumber => "SN",
489            Item::RskNumber => "SRS",
490            Item::IflsInstitutFrancaisDuLibreService5DigitProduct => "SRT",
491            Item::IflsInstitutFrancaisDuLibreService9DigitProduct => "SRU",
492            Item::Gs1GlobalTradeItemNumber => "SRV",
493            Item::EdisEnergyDataIdentificationSystem => "SRW",
494            Item::SlaughterNumber => "SRX",
495            Item::OfficialAnimalNumber => "SRY",
496            Item::HarmonizedTariffSchedule => "SRZ",
497            Item::SuppliersSupplierArticleNumber => "SS",
498            Item::_46LevelDotCode => "SSA",
499            Item::AirlineTariff6d => "SSB",
500            Item::Title49CodeFederalRegulations => "SSC",
501            Item::InternationalCivilAviationAdministrationCode => "SSD",
502            Item::HazardousMaterialsIdDot => "SSE",
503            Item::Endorsement => "SSF",
504            Item::AirForceRegulation714 => "SSG",
505            Item::Breed => "SSH",
506            Item::ChemicalAbstractServiceCasRegistryNumber => "SSI",
507            Item::EngineModelDesignation => "SSJ",
508            Item::InstitutionalMeatPurchaseSpecificationsImpsNumber => "SSK",
509            Item::PriceLookUpCodePlu => "SSL",
510            Item::InternationalMaritimeOrganizationImoCode => "SSM",
511            Item::BureauExplosives600ARail => "SSN",
512            Item::UnitedNationsDangerousGoodsList => "SSO",
513            Item::InternationalCodeBotanicalNomenclatureIcbn => "SSP",
514            Item::InternationalCodeZoologicalNomenclatureIczn => "SSQ",
515            Item::InternationalCodeNomenclatureForCultivatedPlants => "SSR",
516            Item::DistributorSArticleIdentifier => "SSS",
517            Item::NorwegianClassificationSystemEnva => "SST",
518            Item::SupplierAssignedClassification => "SSU",
519            Item::MexicanClassificationSystemAmece => "SSV",
520            Item::GermanClassificationSystemCcg => "SSW",
521            Item::FinnishClassificationSystemEanfin => "SSX",
522            Item::CanadianClassificationSystemIcc => "SSY",
523            Item::FrenchClassificationSystemIfls5 => "SSZ",
524            Item::StyleNumber => "ST",
525            Item::DutchClassificationSystemCbl => "STA",
526            Item::JapaneseClassificationSystemJicfs => "STB",
527            Item::EuropeanUnionDairySubsidyEligibilityClassification => "STC",
528            Item::Gs1SpainClassificationSystem => "STD",
529            Item::Gs1PolandClassificationSystem => "STE",
530            Item::FederalAgencyOnTechnicalRegulatingAndMetrology => "STF",
531            Item::EfficientConsumerResponseEcrAustriaClassification => "STG",
532            Item::Gs1ItalyClassificationSystem => "STH",
533            Item::CpvCommonProcurementVocabulary => "STI",
534            Item::IfdaInternationalFoodserviceDistributorsAssociation => "STJ",
535            Item::AhfsAmericanHospitalFormularyServicePharmacologic => "STK",
536            Item::AtcAnatomicalTherapeuticChemicalClassificationSystem => "STL",
537            Item::CladimedClassificationDesDispositifsMédicaux => "STM",
538            Item::CmdrCanadianMedicalDeviceRegulationsClassification => "STN",
539            Item::CndmClassificazioneNazionaleDeiDispositiviMedici => "STO",
540            Item::UkDmDDictionaryMedicinesDevicesStandardCoding => "STP",
541            Item::EclSs => "STQ",
542            Item::EdmaEuropeanDiagnosticManufacturersAssociation => "STR",
543            Item::EgarEuropeanGenericArticleRegister => "STS",
544            Item::GmdnGlobalMedicalDevicesNomenclature => "STT",
545            Item::GpiGenericProductIdentifier => "STU",
546            Item::HcpcsHealthcareCommonProcedureCodingSystem => "STV",
547            Item::IcpsInternationalClassificationForPatientSafety => "STW",
548            Item::MeddraMedicalDictionaryForRegulatoryActivities => "STX",
549            Item::MedicalColumbus => "STY",
550            Item::NapcsNorthAmericanProductClassificationSystem => "STZ",
551            Item::NhsNationalHealthServicesEclass => "SUA",
552            Item::UsFdaFoodAndDrugAdministrationProductCode => "SUB",
553            Item::SnomedCtSystematizedNomenclatureMedicineClinical => "SUC",
554            Item::UmdnsUniversalMedicalDeviceNomenclatureSystem => "SUD",
555            Item::Gs1GlobalReturnableAssetIdentifierNonSerialised => "SUE",
556            Item::Imei => "SUF",
557            Item::WasteTypeEmsa => "SUG",
558            Item::ShipsStoreClassificationType => "SUH",
559            Item::EmergencyFireCode => "SUI",
560            Item::EmergencySpillageCode => "SUJ",
561            Item::ImdgPackingGroup => "SUK",
562            Item::MarpolCodeIbc => "SUL",
563            Item::ImdgSubsidiaryRiskClass => "SUM",
564            Item::TransportGroupNumber => "TG",
565            Item::TaxonomicSerialNumber => "TSN",
566            Item::ImdgMainHazardClass => "TSO",
567            Item::EuCombinedNomenclature => "TSP",
568            Item::TherapeuticClassificationNumber => "TSQ",
569            Item::EuropeanWasteCatalogue => "TSR",
570            Item::PriceGroupingCode => "TSS",
571            Item::Unspsc => "TST",
572            Item::EuRohsDirective => "TSU",
573            Item::UltimateCustomersArticleNumber => "UA",
574            Item::UpcUniversalProductCode => "UP",
575            Item::VendorItemNumber => "VN",
576            Item::VendorsSellersPartNumber => "VP",
577            Item::VendorsSupplementalItemNumber => "VS",
578            Item::VendorSpecificationNumber => "VX",
579            Item::MutuallyDefined => "ZZZ",
580        }
581    }
582}
583
584impl crate::Description for Item {
585    fn description(self) -> &'static str {
586        match self {
587            Item::ProductVersionNumber => "Product version number",
588            Item::Assembly => "Assembly",
589            Item::HibcHealthIndustryBarCode => "HIBC (Health Industry Bar Code)",
590            Item::ColdRollNumber => "Cold roll number",
591            Item::HotRollNumber => "Hot roll number",
592            Item::SlabNumber => "Slab number",
593            Item::SoftwareRevisionNumber => "Software revision number",
594            Item::UpcUniversalProductCodeConsumerPackageCode155 => {
595                "UPC (Universal Product Code) Consumer package code (1-5-5)"
596            }
597            Item::UpcUniversalProductCodeConsumerPackageCode155_Dup => {
598                "UPC (Universal Product Code) Consumer package code (1-5-5-"
599            }
600            Item::SampleNumber => "Sample number",
601            Item::PackNumber => "Pack number",
602            Item::UpcUniversalProductCodeShippingContainerCode12 => {
603                "UPC (Universal Product Code) Shipping container code (1-2-"
604            }
605            Item::UpcUniversalProductCodeEanEuropeanArticleNumber => {
606                "UPC (Universal Product Code)/EAN (European article number)"
607            }
608            Item::UpcUniversalProductCodeSuffix => "UPC (Universal Product Code) suffix",
609            Item::StateLabelCode => "State label code",
610            Item::HeatNumber => "Heat number",
611            Item::CouponNumber => "Coupon number",
612            Item::ResourceNumber => "Resource number",
613            Item::WorkTaskNumber => "Work task number",
614            Item::PriceLookUpNumber => "Price look up number",
615            Item::NsnNorthAtlanticTreatyOrganizationStockNumber => {
616                "NSN (North Atlantic Treaty Organization Stock Number)"
617            }
618            Item::RefinedProductCode => "Refined product code",
619            Item::Exhibit => "Exhibit",
620            Item::EndItem => "End item",
621            Item::FederalSupplyClassification => "Federal supply classification",
622            Item::EngineeringDataList => "Engineering data list",
623            Item::MilestoneEventNumber => "Milestone event number",
624            Item::LotNumber => "Lot number",
625            Item::NationalDrugCode442Format => "National drug code 4-4-2 format",
626            Item::NationalDrugCode532Format => "National drug code 5-3-2 format",
627            Item::NationalDrugCode541Format => "National drug code 5-4-1 format",
628            Item::NationalDrugCode542Format => "National drug code 5-4-2 format",
629            Item::NationalDrugCode => "National drug code",
630            Item::PartNumber => "Part number",
631            Item::LocalStockNumberLsn => "Local Stock Number (LSN)",
632            Item::NextHigherAssemblyNumber => "Next higher assembly number",
633            Item::DataCategory => "Data category",
634            Item::ControlNumber => "Control number",
635            Item::SpecialMaterialIdentificationCode => "Special material identification code",
636            Item::LocallyAssignedControlNumber => "Locally assigned control number",
637            Item::BuyersColour => "Buyer's colour",
638            Item::BuyersPartNumber => "Buyer's part number",
639            Item::VariableMeasureProductCode => "Variable measure product code",
640            Item::FinancialPhase => "Financial phase",
641            Item::ContractBreakdown => "Contract breakdown",
642            Item::TechnicalPhase => "Technical phase",
643            Item::DyeLotNumber => "Dye lot number",
644            Item::DailyStatementActivities => "Daily statement of activities",
645            Item::PeriodicalStatementActivitiesWithinABilaterally => {
646                "Periodical statement of activities within a bilaterally"
647            }
648            Item::CalendarWeekStatementActivities => "Calendar week statement of activities",
649            Item::CalendarMonthStatementActivities => "Calendar month statement of activities",
650            Item::OriginalEquipmentNumber => "Original equipment number",
651            Item::IndustryCommodityCode => "Industry commodity code",
652            Item::CommodityGrouping => "Commodity grouping",
653            Item::ColourNumber => "Colour number",
654            Item::ContractNumber => "Contract number",
655            Item::CustomsArticleNumber => "Customs article number",
656            Item::DrawingRevisionNumber => "Drawing revision number",
657            Item::Drawing => "Drawing",
658            Item::EngineeringChangeLevel => "Engineering change level",
659            Item::MaterialCode => "Material code",
660            Item::EmdnEuropeanMedicalDeviceNomenclature => {
661                "EMDN (European Medical Device Nomenclature)"
662            }
663            Item::InternationalArticleNumberingAssociationEan => {
664                "International Article Numbering Association (EAN)"
665            }
666            Item::FishSpecies => "Fish species",
667            Item::BuyersInternalProductGroupCode => "Buyer's internal product group code",
668            Item::GlobalModelNumber => "Global model number",
669            Item::NationalProductGroupCode => "National product group code",
670            Item::GeneralSpecificationNumber => "General specification number",
671            Item::HarmonisedSystem => "Harmonised system",
672            Item::IsbnInternationalStandardBookNumber => {
673                "ISBN (International Standard Book Number)"
674            }
675            Item::BuyersItemNumber => "Buyer's item number",
676            Item::IssnInternationalStandardSerialNumber => {
677                "ISSN (International Standard Serial Number)"
678            }
679            Item::BuyersStyleNumber => "Buyer's style number",
680            Item::BuyersSizeCode => "Buyer's size code",
681            Item::MachineNumber => "Machine number",
682            Item::ManufacturersProducersArticleNumber => {
683                "Manufacturer's (producer's) article number"
684            }
685            Item::ModelNumber => "Model number",
686            Item::ProductServiceIdentificationNumber => "Product/service identification number",
687            Item::BatchNumber => "Batch number",
688            Item::CustomerOrderNumber => "Customer order number",
689            Item::PartNumberDescription => "Part number description",
690            Item::PurchasersOrderLineNumber => "Purchaser's order line number",
691            Item::PurchaseOrderNumber => "Purchase order number",
692            Item::PhytosanitaryPassportIdentifier => "Phytosanitary Passport identifier",
693            Item::PromotionalVariantNumber => "Promotional variant number",
694            Item::BuyersQualifierForSize => "Buyer's qualifier for size",
695            Item::ReturnableContainerNumber => "Returnable container number",
696            Item::ReleaseNumber => "Release number",
697            Item::RunNumber => "Run number",
698            Item::RecordKeepingModelYear => "Record keeping of model year",
699            Item::SuppliersArticleNumber => "Supplier's article number",
700            Item::StandardGroupProductsMixedAssortment => {
701                "Standard group of products (mixed assortment)"
702            }
703            Item::SkuStockKeepingUnit => "SKU (Stock keeping unit)",
704            Item::SerialNumber => "Serial number",
705            Item::RskNumber => "RSK number",
706            Item::IflsInstitutFrancaisDuLibreService5DigitProduct => {
707                "IFLS (Institut Francais du Libre Service) 5 digit product"
708            }
709            Item::IflsInstitutFrancaisDuLibreService9DigitProduct => {
710                "IFLS (Institut Francais du Libre Service) 9 digit product"
711            }
712            Item::Gs1GlobalTradeItemNumber => "GS1 Global Trade Item Number",
713            Item::EdisEnergyDataIdentificationSystem => "EDIS (Energy Data Identification System)",
714            Item::SlaughterNumber => "Slaughter number",
715            Item::OfficialAnimalNumber => "Official animal number",
716            Item::HarmonizedTariffSchedule => "Harmonized tariff schedule",
717            Item::SuppliersSupplierArticleNumber => "Supplier's supplier article number",
718            Item::_46LevelDotCode => "46 Level DOT Code",
719            Item::AirlineTariff6d => "Airline Tariff 6D",
720            Item::Title49CodeFederalRegulations => "Title 49 Code of Federal Regulations",
721            Item::InternationalCivilAviationAdministrationCode => {
722                "International Civil Aviation Administration code"
723            }
724            Item::HazardousMaterialsIdDot => "Hazardous Materials ID DOT",
725            Item::Endorsement => "Endorsement",
726            Item::AirForceRegulation714 => "Air Force Regulation 71-4",
727            Item::Breed => "Breed",
728            Item::ChemicalAbstractServiceCasRegistryNumber => {
729                "Chemical Abstract Service (CAS) registry number"
730            }
731            Item::EngineModelDesignation => "Engine model designation",
732            Item::InstitutionalMeatPurchaseSpecificationsImpsNumber => {
733                "Institutional Meat Purchase Specifications (IMPS) Number"
734            }
735            Item::PriceLookUpCodePlu => "Price Look-Up code (PLU)",
736            Item::InternationalMaritimeOrganizationImoCode => {
737                "International Maritime Organization (IMO) Code"
738            }
739            Item::BureauExplosives600ARail => "Bureau of Explosives 600-A (rail)",
740            Item::UnitedNationsDangerousGoodsList => "United Nations Dangerous Goods List",
741            Item::InternationalCodeBotanicalNomenclatureIcbn => {
742                "International Code of Botanical Nomenclature (ICBN)"
743            }
744            Item::InternationalCodeZoologicalNomenclatureIczn => {
745                "International Code of Zoological Nomenclature (ICZN)"
746            }
747            Item::InternationalCodeNomenclatureForCultivatedPlants => {
748                "International Code of Nomenclature for Cultivated Plants"
749            }
750            Item::DistributorSArticleIdentifier => "Distributor’s article identifier",
751            Item::NorwegianClassificationSystemEnva => "Norwegian Classification system ENVA",
752            Item::SupplierAssignedClassification => "Supplier assigned classification",
753            Item::MexicanClassificationSystemAmece => "Mexican classification system AMECE",
754            Item::GermanClassificationSystemCcg => "German classification system CCG",
755            Item::FinnishClassificationSystemEanfin => "Finnish classification system EANFIN",
756            Item::CanadianClassificationSystemIcc => "Canadian classification system ICC",
757            Item::FrenchClassificationSystemIfls5 => "French classification system IFLS5",
758            Item::StyleNumber => "Style number",
759            Item::DutchClassificationSystemCbl => "Dutch classification system CBL",
760            Item::JapaneseClassificationSystemJicfs => "Japanese classification system JICFS",
761            Item::EuropeanUnionDairySubsidyEligibilityClassification => {
762                "European Union dairy subsidy eligibility classification"
763            }
764            Item::Gs1SpainClassificationSystem => "GS1 Spain classification system",
765            Item::Gs1PolandClassificationSystem => "GS1 Poland classification system",
766            Item::FederalAgencyOnTechnicalRegulatingAndMetrology => {
767                "Federal Agency on Technical Regulating and Metrology of the"
768            }
769            Item::EfficientConsumerResponseEcrAustriaClassification => {
770                "Efficient Consumer Response (ECR) Austria classification"
771            }
772            Item::Gs1ItalyClassificationSystem => "GS1 Italy classification system",
773            Item::CpvCommonProcurementVocabulary => "CPV (Common Procurement Vocabulary)",
774            Item::IfdaInternationalFoodserviceDistributorsAssociation => {
775                "IFDA (International Foodservice Distributors Association)"
776            }
777            Item::AhfsAmericanHospitalFormularyServicePharmacologic => {
778                "AHFS (American Hospital Formulary Service) pharmacologic -"
779            }
780            Item::AtcAnatomicalTherapeuticChemicalClassificationSystem => {
781                "ATC (Anatomical Therapeutic Chemical) classification system"
782            }
783            Item::CladimedClassificationDesDispositifsMédicaux => {
784                "CLADIMED (Classification des Dispositifs Médicaux)"
785            }
786            Item::CmdrCanadianMedicalDeviceRegulationsClassification => {
787                "CMDR (Canadian Medical Device Regulations) classification"
788            }
789            Item::CndmClassificazioneNazionaleDeiDispositiviMedici => {
790                "CNDM (Classificazione Nazionale dei Dispositivi Medici)"
791            }
792            Item::UkDmDDictionaryMedicinesDevicesStandardCoding => {
793                "UK DM&D (Dictionary of Medicines & Devices) standard coding"
794            }
795            Item::EclSs => "eCl@ss",
796            Item::EdmaEuropeanDiagnosticManufacturersAssociation => {
797                "EDMA (European Diagnostic Manufacturers Association)"
798            }
799            Item::EgarEuropeanGenericArticleRegister => "EGAR (European Generic Article Register)",
800            Item::GmdnGlobalMedicalDevicesNomenclature => {
801                "GMDN (Global Medical Devices Nomenclature)"
802            }
803            Item::GpiGenericProductIdentifier => "GPI (Generic Product Identifier)",
804            Item::HcpcsHealthcareCommonProcedureCodingSystem => {
805                "HCPCS (Healthcare Common Procedure Coding System)"
806            }
807            Item::IcpsInternationalClassificationForPatientSafety => {
808                "ICPS (International Classification for Patient Safety)"
809            }
810            Item::MeddraMedicalDictionaryForRegulatoryActivities => {
811                "MedDRA (Medical Dictionary for Regulatory Activities)"
812            }
813            Item::MedicalColumbus => "Medical Columbus",
814            Item::NapcsNorthAmericanProductClassificationSystem => {
815                "NAPCS (North American Product Classification System)"
816            }
817            Item::NhsNationalHealthServicesEclass => "NHS (National Health Services) eClass",
818            Item::UsFdaFoodAndDrugAdministrationProductCode => {
819                "US FDA (Food and Drug Administration) Product Code"
820            }
821            Item::SnomedCtSystematizedNomenclatureMedicineClinical => {
822                "SNOMED CT (Systematized Nomenclature of Medicine-Clinical"
823            }
824            Item::UmdnsUniversalMedicalDeviceNomenclatureSystem => {
825                "UMDNS (Universal Medical Device Nomenclature System)"
826            }
827            Item::Gs1GlobalReturnableAssetIdentifierNonSerialised => {
828                "GS1 Global Returnable Asset Identifier, non-serialised"
829            }
830            Item::Imei => "IMEI",
831            Item::WasteTypeEmsa => "Waste Type (EMSA)",
832            Item::ShipsStoreClassificationType => "Ship's store classification type",
833            Item::EmergencyFireCode => "Emergency fire code",
834            Item::EmergencySpillageCode => "Emergency spillage code",
835            Item::ImdgPackingGroup => "IMDG packing group",
836            Item::MarpolCodeIbc => "MARPOL Code IBC",
837            Item::ImdgSubsidiaryRiskClass => "IMDG subsidiary risk class",
838            Item::TransportGroupNumber => "Transport group number",
839            Item::TaxonomicSerialNumber => "Taxonomic Serial Number",
840            Item::ImdgMainHazardClass => "IMDG main hazard class",
841            Item::EuCombinedNomenclature => "EU Combined Nomenclature",
842            Item::TherapeuticClassificationNumber => "Therapeutic classification number",
843            Item::EuropeanWasteCatalogue => "European Waste Catalogue",
844            Item::PriceGroupingCode => "Price grouping code",
845            Item::Unspsc => "UNSPSC",
846            Item::EuRohsDirective => "EU RoHS Directive",
847            Item::UltimateCustomersArticleNumber => "Ultimate customer's article number",
848            Item::UpcUniversalProductCode => "UPC (Universal product code)",
849            Item::VendorItemNumber => "Vendor item number",
850            Item::VendorsSellersPartNumber => "Vendor's (seller's) part number",
851            Item::VendorsSupplementalItemNumber => "Vendor's supplemental item number",
852            Item::VendorSpecificationNumber => "Vendor specification number",
853            Item::MutuallyDefined => "Mutually defined",
854        }
855    }
856}
857
858impl crate::FromCode for Item {
859    fn from_code(code: &str) -> Option<Self>
860    where
861        Self: Sized,
862    {
863        match code {
864            "AA" => Some(Item::ProductVersionNumber),
865            "AB" => Some(Item::Assembly),
866            "AC" => Some(Item::HibcHealthIndustryBarCode),
867            "AD" => Some(Item::ColdRollNumber),
868            "AE" => Some(Item::HotRollNumber),
869            "AF" => Some(Item::SlabNumber),
870            "AG" => Some(Item::SoftwareRevisionNumber),
871            "AH" => Some(Item::UpcUniversalProductCodeConsumerPackageCode155),
872            "AI" => Some(Item::UpcUniversalProductCodeConsumerPackageCode155_Dup),
873            "AJ" => Some(Item::SampleNumber),
874            "AK" => Some(Item::PackNumber),
875            "AL" => Some(Item::UpcUniversalProductCodeShippingContainerCode12),
876            "AM" => Some(Item::UpcUniversalProductCodeEanEuropeanArticleNumber),
877            "AN" => Some(Item::UpcUniversalProductCodeSuffix),
878            "AO" => Some(Item::StateLabelCode),
879            "AP" => Some(Item::HeatNumber),
880            "AQ" => Some(Item::CouponNumber),
881            "AR" => Some(Item::ResourceNumber),
882            "AS" => Some(Item::WorkTaskNumber),
883            "AT" => Some(Item::PriceLookUpNumber),
884            "AU" => Some(Item::NsnNorthAtlanticTreatyOrganizationStockNumber),
885            "AV" => Some(Item::RefinedProductCode),
886            "AW" => Some(Item::Exhibit),
887            "AX" => Some(Item::EndItem),
888            "AY" => Some(Item::FederalSupplyClassification),
889            "AZ" => Some(Item::EngineeringDataList),
890            "BA" => Some(Item::MilestoneEventNumber),
891            "BB" => Some(Item::LotNumber),
892            "BC" => Some(Item::NationalDrugCode442Format),
893            "BD" => Some(Item::NationalDrugCode532Format),
894            "BE" => Some(Item::NationalDrugCode541Format),
895            "BF" => Some(Item::NationalDrugCode542Format),
896            "BG" => Some(Item::NationalDrugCode),
897            "BH" => Some(Item::PartNumber),
898            "BI" => Some(Item::LocalStockNumberLsn),
899            "BJ" => Some(Item::NextHigherAssemblyNumber),
900            "BK" => Some(Item::DataCategory),
901            "BL" => Some(Item::ControlNumber),
902            "BM" => Some(Item::SpecialMaterialIdentificationCode),
903            "BN" => Some(Item::LocallyAssignedControlNumber),
904            "BO" => Some(Item::BuyersColour),
905            "BP" => Some(Item::BuyersPartNumber),
906            "BQ" => Some(Item::VariableMeasureProductCode),
907            "BR" => Some(Item::FinancialPhase),
908            "BS" => Some(Item::ContractBreakdown),
909            "BT" => Some(Item::TechnicalPhase),
910            "BU" => Some(Item::DyeLotNumber),
911            "BV" => Some(Item::DailyStatementActivities),
912            "BW" => Some(Item::PeriodicalStatementActivitiesWithinABilaterally),
913            "BX" => Some(Item::CalendarWeekStatementActivities),
914            "BY" => Some(Item::CalendarMonthStatementActivities),
915            "BZ" => Some(Item::OriginalEquipmentNumber),
916            "CC" => Some(Item::IndustryCommodityCode),
917            "CG" => Some(Item::CommodityGrouping),
918            "CL" => Some(Item::ColourNumber),
919            "CR" => Some(Item::ContractNumber),
920            "CV" => Some(Item::CustomsArticleNumber),
921            "DR" => Some(Item::DrawingRevisionNumber),
922            "DW" => Some(Item::Drawing),
923            "EC" => Some(Item::EngineeringChangeLevel),
924            "EF" => Some(Item::MaterialCode),
925            "EMD" => Some(Item::EmdnEuropeanMedicalDeviceNomenclature),
926            "EN" => Some(Item::InternationalArticleNumberingAssociationEan),
927            "FS" => Some(Item::FishSpecies),
928            "GB" => Some(Item::BuyersInternalProductGroupCode),
929            "GMN" => Some(Item::GlobalModelNumber),
930            "GN" => Some(Item::NationalProductGroupCode),
931            "GS" => Some(Item::GeneralSpecificationNumber),
932            "HS" => Some(Item::HarmonisedSystem),
933            "IB" => Some(Item::IsbnInternationalStandardBookNumber),
934            "IN" => Some(Item::BuyersItemNumber),
935            "IS" => Some(Item::IssnInternationalStandardSerialNumber),
936            "IT" => Some(Item::BuyersStyleNumber),
937            "IZ" => Some(Item::BuyersSizeCode),
938            "MA" => Some(Item::MachineNumber),
939            "MF" => Some(Item::ManufacturersProducersArticleNumber),
940            "MN" => Some(Item::ModelNumber),
941            "MP" => Some(Item::ProductServiceIdentificationNumber),
942            "NB" => Some(Item::BatchNumber),
943            "ON" => Some(Item::CustomerOrderNumber),
944            "PD" => Some(Item::PartNumberDescription),
945            "PL" => Some(Item::PurchasersOrderLineNumber),
946            "PO" => Some(Item::PurchaseOrderNumber),
947            "PPI" => Some(Item::PhytosanitaryPassportIdentifier),
948            "PV" => Some(Item::PromotionalVariantNumber),
949            "QS" => Some(Item::BuyersQualifierForSize),
950            "RC" => Some(Item::ReturnableContainerNumber),
951            "RN" => Some(Item::ReleaseNumber),
952            "RU" => Some(Item::RunNumber),
953            "RY" => Some(Item::RecordKeepingModelYear),
954            "SA" => Some(Item::SuppliersArticleNumber),
955            "SG" => Some(Item::StandardGroupProductsMixedAssortment),
956            "SK" => Some(Item::SkuStockKeepingUnit),
957            "SN" => Some(Item::SerialNumber),
958            "SRS" => Some(Item::RskNumber),
959            "SRT" => Some(Item::IflsInstitutFrancaisDuLibreService5DigitProduct),
960            "SRU" => Some(Item::IflsInstitutFrancaisDuLibreService9DigitProduct),
961            "SRV" => Some(Item::Gs1GlobalTradeItemNumber),
962            "SRW" => Some(Item::EdisEnergyDataIdentificationSystem),
963            "SRX" => Some(Item::SlaughterNumber),
964            "SRY" => Some(Item::OfficialAnimalNumber),
965            "SRZ" => Some(Item::HarmonizedTariffSchedule),
966            "SS" => Some(Item::SuppliersSupplierArticleNumber),
967            "SSA" => Some(Item::_46LevelDotCode),
968            "SSB" => Some(Item::AirlineTariff6d),
969            "SSC" => Some(Item::Title49CodeFederalRegulations),
970            "SSD" => Some(Item::InternationalCivilAviationAdministrationCode),
971            "SSE" => Some(Item::HazardousMaterialsIdDot),
972            "SSF" => Some(Item::Endorsement),
973            "SSG" => Some(Item::AirForceRegulation714),
974            "SSH" => Some(Item::Breed),
975            "SSI" => Some(Item::ChemicalAbstractServiceCasRegistryNumber),
976            "SSJ" => Some(Item::EngineModelDesignation),
977            "SSK" => Some(Item::InstitutionalMeatPurchaseSpecificationsImpsNumber),
978            "SSL" => Some(Item::PriceLookUpCodePlu),
979            "SSM" => Some(Item::InternationalMaritimeOrganizationImoCode),
980            "SSN" => Some(Item::BureauExplosives600ARail),
981            "SSO" => Some(Item::UnitedNationsDangerousGoodsList),
982            "SSP" => Some(Item::InternationalCodeBotanicalNomenclatureIcbn),
983            "SSQ" => Some(Item::InternationalCodeZoologicalNomenclatureIczn),
984            "SSR" => Some(Item::InternationalCodeNomenclatureForCultivatedPlants),
985            "SSS" => Some(Item::DistributorSArticleIdentifier),
986            "SST" => Some(Item::NorwegianClassificationSystemEnva),
987            "SSU" => Some(Item::SupplierAssignedClassification),
988            "SSV" => Some(Item::MexicanClassificationSystemAmece),
989            "SSW" => Some(Item::GermanClassificationSystemCcg),
990            "SSX" => Some(Item::FinnishClassificationSystemEanfin),
991            "SSY" => Some(Item::CanadianClassificationSystemIcc),
992            "SSZ" => Some(Item::FrenchClassificationSystemIfls5),
993            "ST" => Some(Item::StyleNumber),
994            "STA" => Some(Item::DutchClassificationSystemCbl),
995            "STB" => Some(Item::JapaneseClassificationSystemJicfs),
996            "STC" => Some(Item::EuropeanUnionDairySubsidyEligibilityClassification),
997            "STD" => Some(Item::Gs1SpainClassificationSystem),
998            "STE" => Some(Item::Gs1PolandClassificationSystem),
999            "STF" => Some(Item::FederalAgencyOnTechnicalRegulatingAndMetrology),
1000            "STG" => Some(Item::EfficientConsumerResponseEcrAustriaClassification),
1001            "STH" => Some(Item::Gs1ItalyClassificationSystem),
1002            "STI" => Some(Item::CpvCommonProcurementVocabulary),
1003            "STJ" => Some(Item::IfdaInternationalFoodserviceDistributorsAssociation),
1004            "STK" => Some(Item::AhfsAmericanHospitalFormularyServicePharmacologic),
1005            "STL" => Some(Item::AtcAnatomicalTherapeuticChemicalClassificationSystem),
1006            "STM" => Some(Item::CladimedClassificationDesDispositifsMédicaux),
1007            "STN" => Some(Item::CmdrCanadianMedicalDeviceRegulationsClassification),
1008            "STO" => Some(Item::CndmClassificazioneNazionaleDeiDispositiviMedici),
1009            "STP" => Some(Item::UkDmDDictionaryMedicinesDevicesStandardCoding),
1010            "STQ" => Some(Item::EclSs),
1011            "STR" => Some(Item::EdmaEuropeanDiagnosticManufacturersAssociation),
1012            "STS" => Some(Item::EgarEuropeanGenericArticleRegister),
1013            "STT" => Some(Item::GmdnGlobalMedicalDevicesNomenclature),
1014            "STU" => Some(Item::GpiGenericProductIdentifier),
1015            "STV" => Some(Item::HcpcsHealthcareCommonProcedureCodingSystem),
1016            "STW" => Some(Item::IcpsInternationalClassificationForPatientSafety),
1017            "STX" => Some(Item::MeddraMedicalDictionaryForRegulatoryActivities),
1018            "STY" => Some(Item::MedicalColumbus),
1019            "STZ" => Some(Item::NapcsNorthAmericanProductClassificationSystem),
1020            "SUA" => Some(Item::NhsNationalHealthServicesEclass),
1021            "SUB" => Some(Item::UsFdaFoodAndDrugAdministrationProductCode),
1022            "SUC" => Some(Item::SnomedCtSystematizedNomenclatureMedicineClinical),
1023            "SUD" => Some(Item::UmdnsUniversalMedicalDeviceNomenclatureSystem),
1024            "SUE" => Some(Item::Gs1GlobalReturnableAssetIdentifierNonSerialised),
1025            "SUF" => Some(Item::Imei),
1026            "SUG" => Some(Item::WasteTypeEmsa),
1027            "SUH" => Some(Item::ShipsStoreClassificationType),
1028            "SUI" => Some(Item::EmergencyFireCode),
1029            "SUJ" => Some(Item::EmergencySpillageCode),
1030            "SUK" => Some(Item::ImdgPackingGroup),
1031            "SUL" => Some(Item::MarpolCodeIbc),
1032            "SUM" => Some(Item::ImdgSubsidiaryRiskClass),
1033            "TG" => Some(Item::TransportGroupNumber),
1034            "TSN" => Some(Item::TaxonomicSerialNumber),
1035            "TSO" => Some(Item::ImdgMainHazardClass),
1036            "TSP" => Some(Item::EuCombinedNomenclature),
1037            "TSQ" => Some(Item::TherapeuticClassificationNumber),
1038            "TSR" => Some(Item::EuropeanWasteCatalogue),
1039            "TSS" => Some(Item::PriceGroupingCode),
1040            "TST" => Some(Item::Unspsc),
1041            "TSU" => Some(Item::EuRohsDirective),
1042            "UA" => Some(Item::UltimateCustomersArticleNumber),
1043            "UP" => Some(Item::UpcUniversalProductCode),
1044            "VN" => Some(Item::VendorItemNumber),
1045            "VP" => Some(Item::VendorsSellersPartNumber),
1046            "VS" => Some(Item::VendorsSupplementalItemNumber),
1047            "VX" => Some(Item::VendorSpecificationNumber),
1048            "ZZZ" => Some(Item::MutuallyDefined),
1049            _ => None,
1050        }
1051    }
1052}