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 = crate::ParseError<Self>;
387    fn from_str(s: &str) -> Result<Self, Self::Err> {
388        <Self as crate::FromCode>::from_code(s)
389            .ok_or_else(|| crate::ParseError::<Self>::new(s.to_owned()))
390    }
391}
392
393impl crate::Code for Item {
394    fn code(self) -> &'static str {
395        match self {
396            Item::ProductVersionNumber => "AA",
397            Item::Assembly => "AB",
398            Item::HibcHealthIndustryBarCode => "AC",
399            Item::ColdRollNumber => "AD",
400            Item::HotRollNumber => "AE",
401            Item::SlabNumber => "AF",
402            Item::SoftwareRevisionNumber => "AG",
403            Item::UpcUniversalProductCodeConsumerPackageCode155 => "AH",
404            Item::UpcUniversalProductCodeConsumerPackageCode155_Dup => "AI",
405            Item::SampleNumber => "AJ",
406            Item::PackNumber => "AK",
407            Item::UpcUniversalProductCodeShippingContainerCode12 => "AL",
408            Item::UpcUniversalProductCodeEanEuropeanArticleNumber => "AM",
409            Item::UpcUniversalProductCodeSuffix => "AN",
410            Item::StateLabelCode => "AO",
411            Item::HeatNumber => "AP",
412            Item::CouponNumber => "AQ",
413            Item::ResourceNumber => "AR",
414            Item::WorkTaskNumber => "AS",
415            Item::PriceLookUpNumber => "AT",
416            Item::NsnNorthAtlanticTreatyOrganizationStockNumber => "AU",
417            Item::RefinedProductCode => "AV",
418            Item::Exhibit => "AW",
419            Item::EndItem => "AX",
420            Item::FederalSupplyClassification => "AY",
421            Item::EngineeringDataList => "AZ",
422            Item::MilestoneEventNumber => "BA",
423            Item::LotNumber => "BB",
424            Item::NationalDrugCode442Format => "BC",
425            Item::NationalDrugCode532Format => "BD",
426            Item::NationalDrugCode541Format => "BE",
427            Item::NationalDrugCode542Format => "BF",
428            Item::NationalDrugCode => "BG",
429            Item::PartNumber => "BH",
430            Item::LocalStockNumberLsn => "BI",
431            Item::NextHigherAssemblyNumber => "BJ",
432            Item::DataCategory => "BK",
433            Item::ControlNumber => "BL",
434            Item::SpecialMaterialIdentificationCode => "BM",
435            Item::LocallyAssignedControlNumber => "BN",
436            Item::BuyersColour => "BO",
437            Item::BuyersPartNumber => "BP",
438            Item::VariableMeasureProductCode => "BQ",
439            Item::FinancialPhase => "BR",
440            Item::ContractBreakdown => "BS",
441            Item::TechnicalPhase => "BT",
442            Item::DyeLotNumber => "BU",
443            Item::DailyStatementActivities => "BV",
444            Item::PeriodicalStatementActivitiesWithinABilaterally => "BW",
445            Item::CalendarWeekStatementActivities => "BX",
446            Item::CalendarMonthStatementActivities => "BY",
447            Item::OriginalEquipmentNumber => "BZ",
448            Item::IndustryCommodityCode => "CC",
449            Item::CommodityGrouping => "CG",
450            Item::ColourNumber => "CL",
451            Item::ContractNumber => "CR",
452            Item::CustomsArticleNumber => "CV",
453            Item::DrawingRevisionNumber => "DR",
454            Item::Drawing => "DW",
455            Item::EngineeringChangeLevel => "EC",
456            Item::MaterialCode => "EF",
457            Item::EmdnEuropeanMedicalDeviceNomenclature => "EMD",
458            Item::InternationalArticleNumberingAssociationEan => "EN",
459            Item::FishSpecies => "FS",
460            Item::BuyersInternalProductGroupCode => "GB",
461            Item::GlobalModelNumber => "GMN",
462            Item::NationalProductGroupCode => "GN",
463            Item::GeneralSpecificationNumber => "GS",
464            Item::HarmonisedSystem => "HS",
465            Item::IsbnInternationalStandardBookNumber => "IB",
466            Item::BuyersItemNumber => "IN",
467            Item::IssnInternationalStandardSerialNumber => "IS",
468            Item::BuyersStyleNumber => "IT",
469            Item::BuyersSizeCode => "IZ",
470            Item::MachineNumber => "MA",
471            Item::ManufacturersProducersArticleNumber => "MF",
472            Item::ModelNumber => "MN",
473            Item::ProductServiceIdentificationNumber => "MP",
474            Item::BatchNumber => "NB",
475            Item::CustomerOrderNumber => "ON",
476            Item::PartNumberDescription => "PD",
477            Item::PurchasersOrderLineNumber => "PL",
478            Item::PurchaseOrderNumber => "PO",
479            Item::PhytosanitaryPassportIdentifier => "PPI",
480            Item::PromotionalVariantNumber => "PV",
481            Item::BuyersQualifierForSize => "QS",
482            Item::ReturnableContainerNumber => "RC",
483            Item::ReleaseNumber => "RN",
484            Item::RunNumber => "RU",
485            Item::RecordKeepingModelYear => "RY",
486            Item::SuppliersArticleNumber => "SA",
487            Item::StandardGroupProductsMixedAssortment => "SG",
488            Item::SkuStockKeepingUnit => "SK",
489            Item::SerialNumber => "SN",
490            Item::RskNumber => "SRS",
491            Item::IflsInstitutFrancaisDuLibreService5DigitProduct => "SRT",
492            Item::IflsInstitutFrancaisDuLibreService9DigitProduct => "SRU",
493            Item::Gs1GlobalTradeItemNumber => "SRV",
494            Item::EdisEnergyDataIdentificationSystem => "SRW",
495            Item::SlaughterNumber => "SRX",
496            Item::OfficialAnimalNumber => "SRY",
497            Item::HarmonizedTariffSchedule => "SRZ",
498            Item::SuppliersSupplierArticleNumber => "SS",
499            Item::_46LevelDotCode => "SSA",
500            Item::AirlineTariff6d => "SSB",
501            Item::Title49CodeFederalRegulations => "SSC",
502            Item::InternationalCivilAviationAdministrationCode => "SSD",
503            Item::HazardousMaterialsIdDot => "SSE",
504            Item::Endorsement => "SSF",
505            Item::AirForceRegulation714 => "SSG",
506            Item::Breed => "SSH",
507            Item::ChemicalAbstractServiceCasRegistryNumber => "SSI",
508            Item::EngineModelDesignation => "SSJ",
509            Item::InstitutionalMeatPurchaseSpecificationsImpsNumber => "SSK",
510            Item::PriceLookUpCodePlu => "SSL",
511            Item::InternationalMaritimeOrganizationImoCode => "SSM",
512            Item::BureauExplosives600ARail => "SSN",
513            Item::UnitedNationsDangerousGoodsList => "SSO",
514            Item::InternationalCodeBotanicalNomenclatureIcbn => "SSP",
515            Item::InternationalCodeZoologicalNomenclatureIczn => "SSQ",
516            Item::InternationalCodeNomenclatureForCultivatedPlants => "SSR",
517            Item::DistributorSArticleIdentifier => "SSS",
518            Item::NorwegianClassificationSystemEnva => "SST",
519            Item::SupplierAssignedClassification => "SSU",
520            Item::MexicanClassificationSystemAmece => "SSV",
521            Item::GermanClassificationSystemCcg => "SSW",
522            Item::FinnishClassificationSystemEanfin => "SSX",
523            Item::CanadianClassificationSystemIcc => "SSY",
524            Item::FrenchClassificationSystemIfls5 => "SSZ",
525            Item::StyleNumber => "ST",
526            Item::DutchClassificationSystemCbl => "STA",
527            Item::JapaneseClassificationSystemJicfs => "STB",
528            Item::EuropeanUnionDairySubsidyEligibilityClassification => "STC",
529            Item::Gs1SpainClassificationSystem => "STD",
530            Item::Gs1PolandClassificationSystem => "STE",
531            Item::FederalAgencyOnTechnicalRegulatingAndMetrology => "STF",
532            Item::EfficientConsumerResponseEcrAustriaClassification => "STG",
533            Item::Gs1ItalyClassificationSystem => "STH",
534            Item::CpvCommonProcurementVocabulary => "STI",
535            Item::IfdaInternationalFoodserviceDistributorsAssociation => "STJ",
536            Item::AhfsAmericanHospitalFormularyServicePharmacologic => "STK",
537            Item::AtcAnatomicalTherapeuticChemicalClassificationSystem => "STL",
538            Item::CladimedClassificationDesDispositifsMédicaux => "STM",
539            Item::CmdrCanadianMedicalDeviceRegulationsClassification => "STN",
540            Item::CndmClassificazioneNazionaleDeiDispositiviMedici => "STO",
541            Item::UkDmDDictionaryMedicinesDevicesStandardCoding => "STP",
542            Item::EclSs => "STQ",
543            Item::EdmaEuropeanDiagnosticManufacturersAssociation => "STR",
544            Item::EgarEuropeanGenericArticleRegister => "STS",
545            Item::GmdnGlobalMedicalDevicesNomenclature => "STT",
546            Item::GpiGenericProductIdentifier => "STU",
547            Item::HcpcsHealthcareCommonProcedureCodingSystem => "STV",
548            Item::IcpsInternationalClassificationForPatientSafety => "STW",
549            Item::MeddraMedicalDictionaryForRegulatoryActivities => "STX",
550            Item::MedicalColumbus => "STY",
551            Item::NapcsNorthAmericanProductClassificationSystem => "STZ",
552            Item::NhsNationalHealthServicesEclass => "SUA",
553            Item::UsFdaFoodAndDrugAdministrationProductCode => "SUB",
554            Item::SnomedCtSystematizedNomenclatureMedicineClinical => "SUC",
555            Item::UmdnsUniversalMedicalDeviceNomenclatureSystem => "SUD",
556            Item::Gs1GlobalReturnableAssetIdentifierNonSerialised => "SUE",
557            Item::Imei => "SUF",
558            Item::WasteTypeEmsa => "SUG",
559            Item::ShipsStoreClassificationType => "SUH",
560            Item::EmergencyFireCode => "SUI",
561            Item::EmergencySpillageCode => "SUJ",
562            Item::ImdgPackingGroup => "SUK",
563            Item::MarpolCodeIbc => "SUL",
564            Item::ImdgSubsidiaryRiskClass => "SUM",
565            Item::TransportGroupNumber => "TG",
566            Item::TaxonomicSerialNumber => "TSN",
567            Item::ImdgMainHazardClass => "TSO",
568            Item::EuCombinedNomenclature => "TSP",
569            Item::TherapeuticClassificationNumber => "TSQ",
570            Item::EuropeanWasteCatalogue => "TSR",
571            Item::PriceGroupingCode => "TSS",
572            Item::Unspsc => "TST",
573            Item::EuRohsDirective => "TSU",
574            Item::UltimateCustomersArticleNumber => "UA",
575            Item::UpcUniversalProductCode => "UP",
576            Item::VendorItemNumber => "VN",
577            Item::VendorsSellersPartNumber => "VP",
578            Item::VendorsSupplementalItemNumber => "VS",
579            Item::VendorSpecificationNumber => "VX",
580            Item::MutuallyDefined => "ZZZ",
581        }
582    }
583}
584
585impl crate::Description for Item {
586    fn description(self) -> &'static str {
587        match self {
588            Item::ProductVersionNumber => "Product version number",
589            Item::Assembly => "Assembly",
590            Item::HibcHealthIndustryBarCode => "HIBC (Health Industry Bar Code)",
591            Item::ColdRollNumber => "Cold roll number",
592            Item::HotRollNumber => "Hot roll number",
593            Item::SlabNumber => "Slab number",
594            Item::SoftwareRevisionNumber => "Software revision number",
595            Item::UpcUniversalProductCodeConsumerPackageCode155 => {
596                "UPC (Universal Product Code) Consumer package code (1-5-5)"
597            }
598            Item::UpcUniversalProductCodeConsumerPackageCode155_Dup => {
599                "UPC (Universal Product Code) Consumer package code (1-5-5-"
600            }
601            Item::SampleNumber => "Sample number",
602            Item::PackNumber => "Pack number",
603            Item::UpcUniversalProductCodeShippingContainerCode12 => {
604                "UPC (Universal Product Code) Shipping container code (1-2-"
605            }
606            Item::UpcUniversalProductCodeEanEuropeanArticleNumber => {
607                "UPC (Universal Product Code)/EAN (European article number)"
608            }
609            Item::UpcUniversalProductCodeSuffix => "UPC (Universal Product Code) suffix",
610            Item::StateLabelCode => "State label code",
611            Item::HeatNumber => "Heat number",
612            Item::CouponNumber => "Coupon number",
613            Item::ResourceNumber => "Resource number",
614            Item::WorkTaskNumber => "Work task number",
615            Item::PriceLookUpNumber => "Price look up number",
616            Item::NsnNorthAtlanticTreatyOrganizationStockNumber => {
617                "NSN (North Atlantic Treaty Organization Stock Number)"
618            }
619            Item::RefinedProductCode => "Refined product code",
620            Item::Exhibit => "Exhibit",
621            Item::EndItem => "End item",
622            Item::FederalSupplyClassification => "Federal supply classification",
623            Item::EngineeringDataList => "Engineering data list",
624            Item::MilestoneEventNumber => "Milestone event number",
625            Item::LotNumber => "Lot number",
626            Item::NationalDrugCode442Format => "National drug code 4-4-2 format",
627            Item::NationalDrugCode532Format => "National drug code 5-3-2 format",
628            Item::NationalDrugCode541Format => "National drug code 5-4-1 format",
629            Item::NationalDrugCode542Format => "National drug code 5-4-2 format",
630            Item::NationalDrugCode => "National drug code",
631            Item::PartNumber => "Part number",
632            Item::LocalStockNumberLsn => "Local Stock Number (LSN)",
633            Item::NextHigherAssemblyNumber => "Next higher assembly number",
634            Item::DataCategory => "Data category",
635            Item::ControlNumber => "Control number",
636            Item::SpecialMaterialIdentificationCode => "Special material identification code",
637            Item::LocallyAssignedControlNumber => "Locally assigned control number",
638            Item::BuyersColour => "Buyer's colour",
639            Item::BuyersPartNumber => "Buyer's part number",
640            Item::VariableMeasureProductCode => "Variable measure product code",
641            Item::FinancialPhase => "Financial phase",
642            Item::ContractBreakdown => "Contract breakdown",
643            Item::TechnicalPhase => "Technical phase",
644            Item::DyeLotNumber => "Dye lot number",
645            Item::DailyStatementActivities => "Daily statement of activities",
646            Item::PeriodicalStatementActivitiesWithinABilaterally => {
647                "Periodical statement of activities within a bilaterally"
648            }
649            Item::CalendarWeekStatementActivities => "Calendar week statement of activities",
650            Item::CalendarMonthStatementActivities => "Calendar month statement of activities",
651            Item::OriginalEquipmentNumber => "Original equipment number",
652            Item::IndustryCommodityCode => "Industry commodity code",
653            Item::CommodityGrouping => "Commodity grouping",
654            Item::ColourNumber => "Colour number",
655            Item::ContractNumber => "Contract number",
656            Item::CustomsArticleNumber => "Customs article number",
657            Item::DrawingRevisionNumber => "Drawing revision number",
658            Item::Drawing => "Drawing",
659            Item::EngineeringChangeLevel => "Engineering change level",
660            Item::MaterialCode => "Material code",
661            Item::EmdnEuropeanMedicalDeviceNomenclature => {
662                "EMDN (European Medical Device Nomenclature)"
663            }
664            Item::InternationalArticleNumberingAssociationEan => {
665                "International Article Numbering Association (EAN)"
666            }
667            Item::FishSpecies => "Fish species",
668            Item::BuyersInternalProductGroupCode => "Buyer's internal product group code",
669            Item::GlobalModelNumber => "Global model number",
670            Item::NationalProductGroupCode => "National product group code",
671            Item::GeneralSpecificationNumber => "General specification number",
672            Item::HarmonisedSystem => "Harmonised system",
673            Item::IsbnInternationalStandardBookNumber => {
674                "ISBN (International Standard Book Number)"
675            }
676            Item::BuyersItemNumber => "Buyer's item number",
677            Item::IssnInternationalStandardSerialNumber => {
678                "ISSN (International Standard Serial Number)"
679            }
680            Item::BuyersStyleNumber => "Buyer's style number",
681            Item::BuyersSizeCode => "Buyer's size code",
682            Item::MachineNumber => "Machine number",
683            Item::ManufacturersProducersArticleNumber => {
684                "Manufacturer's (producer's) article number"
685            }
686            Item::ModelNumber => "Model number",
687            Item::ProductServiceIdentificationNumber => "Product/service identification number",
688            Item::BatchNumber => "Batch number",
689            Item::CustomerOrderNumber => "Customer order number",
690            Item::PartNumberDescription => "Part number description",
691            Item::PurchasersOrderLineNumber => "Purchaser's order line number",
692            Item::PurchaseOrderNumber => "Purchase order number",
693            Item::PhytosanitaryPassportIdentifier => "Phytosanitary Passport identifier",
694            Item::PromotionalVariantNumber => "Promotional variant number",
695            Item::BuyersQualifierForSize => "Buyer's qualifier for size",
696            Item::ReturnableContainerNumber => "Returnable container number",
697            Item::ReleaseNumber => "Release number",
698            Item::RunNumber => "Run number",
699            Item::RecordKeepingModelYear => "Record keeping of model year",
700            Item::SuppliersArticleNumber => "Supplier's article number",
701            Item::StandardGroupProductsMixedAssortment => {
702                "Standard group of products (mixed assortment)"
703            }
704            Item::SkuStockKeepingUnit => "SKU (Stock keeping unit)",
705            Item::SerialNumber => "Serial number",
706            Item::RskNumber => "RSK number",
707            Item::IflsInstitutFrancaisDuLibreService5DigitProduct => {
708                "IFLS (Institut Francais du Libre Service) 5 digit product"
709            }
710            Item::IflsInstitutFrancaisDuLibreService9DigitProduct => {
711                "IFLS (Institut Francais du Libre Service) 9 digit product"
712            }
713            Item::Gs1GlobalTradeItemNumber => "GS1 Global Trade Item Number",
714            Item::EdisEnergyDataIdentificationSystem => "EDIS (Energy Data Identification System)",
715            Item::SlaughterNumber => "Slaughter number",
716            Item::OfficialAnimalNumber => "Official animal number",
717            Item::HarmonizedTariffSchedule => "Harmonized tariff schedule",
718            Item::SuppliersSupplierArticleNumber => "Supplier's supplier article number",
719            Item::_46LevelDotCode => "46 Level DOT Code",
720            Item::AirlineTariff6d => "Airline Tariff 6D",
721            Item::Title49CodeFederalRegulations => "Title 49 Code of Federal Regulations",
722            Item::InternationalCivilAviationAdministrationCode => {
723                "International Civil Aviation Administration code"
724            }
725            Item::HazardousMaterialsIdDot => "Hazardous Materials ID DOT",
726            Item::Endorsement => "Endorsement",
727            Item::AirForceRegulation714 => "Air Force Regulation 71-4",
728            Item::Breed => "Breed",
729            Item::ChemicalAbstractServiceCasRegistryNumber => {
730                "Chemical Abstract Service (CAS) registry number"
731            }
732            Item::EngineModelDesignation => "Engine model designation",
733            Item::InstitutionalMeatPurchaseSpecificationsImpsNumber => {
734                "Institutional Meat Purchase Specifications (IMPS) Number"
735            }
736            Item::PriceLookUpCodePlu => "Price Look-Up code (PLU)",
737            Item::InternationalMaritimeOrganizationImoCode => {
738                "International Maritime Organization (IMO) Code"
739            }
740            Item::BureauExplosives600ARail => "Bureau of Explosives 600-A (rail)",
741            Item::UnitedNationsDangerousGoodsList => "United Nations Dangerous Goods List",
742            Item::InternationalCodeBotanicalNomenclatureIcbn => {
743                "International Code of Botanical Nomenclature (ICBN)"
744            }
745            Item::InternationalCodeZoologicalNomenclatureIczn => {
746                "International Code of Zoological Nomenclature (ICZN)"
747            }
748            Item::InternationalCodeNomenclatureForCultivatedPlants => {
749                "International Code of Nomenclature for Cultivated Plants"
750            }
751            Item::DistributorSArticleIdentifier => "Distributor’s article identifier",
752            Item::NorwegianClassificationSystemEnva => "Norwegian Classification system ENVA",
753            Item::SupplierAssignedClassification => "Supplier assigned classification",
754            Item::MexicanClassificationSystemAmece => "Mexican classification system AMECE",
755            Item::GermanClassificationSystemCcg => "German classification system CCG",
756            Item::FinnishClassificationSystemEanfin => "Finnish classification system EANFIN",
757            Item::CanadianClassificationSystemIcc => "Canadian classification system ICC",
758            Item::FrenchClassificationSystemIfls5 => "French classification system IFLS5",
759            Item::StyleNumber => "Style number",
760            Item::DutchClassificationSystemCbl => "Dutch classification system CBL",
761            Item::JapaneseClassificationSystemJicfs => "Japanese classification system JICFS",
762            Item::EuropeanUnionDairySubsidyEligibilityClassification => {
763                "European Union dairy subsidy eligibility classification"
764            }
765            Item::Gs1SpainClassificationSystem => "GS1 Spain classification system",
766            Item::Gs1PolandClassificationSystem => "GS1 Poland classification system",
767            Item::FederalAgencyOnTechnicalRegulatingAndMetrology => {
768                "Federal Agency on Technical Regulating and Metrology of the"
769            }
770            Item::EfficientConsumerResponseEcrAustriaClassification => {
771                "Efficient Consumer Response (ECR) Austria classification"
772            }
773            Item::Gs1ItalyClassificationSystem => "GS1 Italy classification system",
774            Item::CpvCommonProcurementVocabulary => "CPV (Common Procurement Vocabulary)",
775            Item::IfdaInternationalFoodserviceDistributorsAssociation => {
776                "IFDA (International Foodservice Distributors Association)"
777            }
778            Item::AhfsAmericanHospitalFormularyServicePharmacologic => {
779                "AHFS (American Hospital Formulary Service) pharmacologic -"
780            }
781            Item::AtcAnatomicalTherapeuticChemicalClassificationSystem => {
782                "ATC (Anatomical Therapeutic Chemical) classification system"
783            }
784            Item::CladimedClassificationDesDispositifsMédicaux => {
785                "CLADIMED (Classification des Dispositifs Médicaux)"
786            }
787            Item::CmdrCanadianMedicalDeviceRegulationsClassification => {
788                "CMDR (Canadian Medical Device Regulations) classification"
789            }
790            Item::CndmClassificazioneNazionaleDeiDispositiviMedici => {
791                "CNDM (Classificazione Nazionale dei Dispositivi Medici)"
792            }
793            Item::UkDmDDictionaryMedicinesDevicesStandardCoding => {
794                "UK DM&D (Dictionary of Medicines & Devices) standard coding"
795            }
796            Item::EclSs => "eCl@ss",
797            Item::EdmaEuropeanDiagnosticManufacturersAssociation => {
798                "EDMA (European Diagnostic Manufacturers Association)"
799            }
800            Item::EgarEuropeanGenericArticleRegister => "EGAR (European Generic Article Register)",
801            Item::GmdnGlobalMedicalDevicesNomenclature => {
802                "GMDN (Global Medical Devices Nomenclature)"
803            }
804            Item::GpiGenericProductIdentifier => "GPI (Generic Product Identifier)",
805            Item::HcpcsHealthcareCommonProcedureCodingSystem => {
806                "HCPCS (Healthcare Common Procedure Coding System)"
807            }
808            Item::IcpsInternationalClassificationForPatientSafety => {
809                "ICPS (International Classification for Patient Safety)"
810            }
811            Item::MeddraMedicalDictionaryForRegulatoryActivities => {
812                "MedDRA (Medical Dictionary for Regulatory Activities)"
813            }
814            Item::MedicalColumbus => "Medical Columbus",
815            Item::NapcsNorthAmericanProductClassificationSystem => {
816                "NAPCS (North American Product Classification System)"
817            }
818            Item::NhsNationalHealthServicesEclass => "NHS (National Health Services) eClass",
819            Item::UsFdaFoodAndDrugAdministrationProductCode => {
820                "US FDA (Food and Drug Administration) Product Code"
821            }
822            Item::SnomedCtSystematizedNomenclatureMedicineClinical => {
823                "SNOMED CT (Systematized Nomenclature of Medicine-Clinical"
824            }
825            Item::UmdnsUniversalMedicalDeviceNomenclatureSystem => {
826                "UMDNS (Universal Medical Device Nomenclature System)"
827            }
828            Item::Gs1GlobalReturnableAssetIdentifierNonSerialised => {
829                "GS1 Global Returnable Asset Identifier, non-serialised"
830            }
831            Item::Imei => "IMEI",
832            Item::WasteTypeEmsa => "Waste Type (EMSA)",
833            Item::ShipsStoreClassificationType => "Ship's store classification type",
834            Item::EmergencyFireCode => "Emergency fire code",
835            Item::EmergencySpillageCode => "Emergency spillage code",
836            Item::ImdgPackingGroup => "IMDG packing group",
837            Item::MarpolCodeIbc => "MARPOL Code IBC",
838            Item::ImdgSubsidiaryRiskClass => "IMDG subsidiary risk class",
839            Item::TransportGroupNumber => "Transport group number",
840            Item::TaxonomicSerialNumber => "Taxonomic Serial Number",
841            Item::ImdgMainHazardClass => "IMDG main hazard class",
842            Item::EuCombinedNomenclature => "EU Combined Nomenclature",
843            Item::TherapeuticClassificationNumber => "Therapeutic classification number",
844            Item::EuropeanWasteCatalogue => "European Waste Catalogue",
845            Item::PriceGroupingCode => "Price grouping code",
846            Item::Unspsc => "UNSPSC",
847            Item::EuRohsDirective => "EU RoHS Directive",
848            Item::UltimateCustomersArticleNumber => "Ultimate customer's article number",
849            Item::UpcUniversalProductCode => "UPC (Universal product code)",
850            Item::VendorItemNumber => "Vendor item number",
851            Item::VendorsSellersPartNumber => "Vendor's (seller's) part number",
852            Item::VendorsSupplementalItemNumber => "Vendor's supplemental item number",
853            Item::VendorSpecificationNumber => "Vendor specification number",
854            Item::MutuallyDefined => "Mutually defined",
855        }
856    }
857}
858
859impl crate::FromCode for Item {
860    fn from_code(code: &str) -> Option<Self>
861    where
862        Self: Sized,
863    {
864        match code {
865            "AA" => Some(Item::ProductVersionNumber),
866            "AB" => Some(Item::Assembly),
867            "AC" => Some(Item::HibcHealthIndustryBarCode),
868            "AD" => Some(Item::ColdRollNumber),
869            "AE" => Some(Item::HotRollNumber),
870            "AF" => Some(Item::SlabNumber),
871            "AG" => Some(Item::SoftwareRevisionNumber),
872            "AH" => Some(Item::UpcUniversalProductCodeConsumerPackageCode155),
873            "AI" => Some(Item::UpcUniversalProductCodeConsumerPackageCode155_Dup),
874            "AJ" => Some(Item::SampleNumber),
875            "AK" => Some(Item::PackNumber),
876            "AL" => Some(Item::UpcUniversalProductCodeShippingContainerCode12),
877            "AM" => Some(Item::UpcUniversalProductCodeEanEuropeanArticleNumber),
878            "AN" => Some(Item::UpcUniversalProductCodeSuffix),
879            "AO" => Some(Item::StateLabelCode),
880            "AP" => Some(Item::HeatNumber),
881            "AQ" => Some(Item::CouponNumber),
882            "AR" => Some(Item::ResourceNumber),
883            "AS" => Some(Item::WorkTaskNumber),
884            "AT" => Some(Item::PriceLookUpNumber),
885            "AU" => Some(Item::NsnNorthAtlanticTreatyOrganizationStockNumber),
886            "AV" => Some(Item::RefinedProductCode),
887            "AW" => Some(Item::Exhibit),
888            "AX" => Some(Item::EndItem),
889            "AY" => Some(Item::FederalSupplyClassification),
890            "AZ" => Some(Item::EngineeringDataList),
891            "BA" => Some(Item::MilestoneEventNumber),
892            "BB" => Some(Item::LotNumber),
893            "BC" => Some(Item::NationalDrugCode442Format),
894            "BD" => Some(Item::NationalDrugCode532Format),
895            "BE" => Some(Item::NationalDrugCode541Format),
896            "BF" => Some(Item::NationalDrugCode542Format),
897            "BG" => Some(Item::NationalDrugCode),
898            "BH" => Some(Item::PartNumber),
899            "BI" => Some(Item::LocalStockNumberLsn),
900            "BJ" => Some(Item::NextHigherAssemblyNumber),
901            "BK" => Some(Item::DataCategory),
902            "BL" => Some(Item::ControlNumber),
903            "BM" => Some(Item::SpecialMaterialIdentificationCode),
904            "BN" => Some(Item::LocallyAssignedControlNumber),
905            "BO" => Some(Item::BuyersColour),
906            "BP" => Some(Item::BuyersPartNumber),
907            "BQ" => Some(Item::VariableMeasureProductCode),
908            "BR" => Some(Item::FinancialPhase),
909            "BS" => Some(Item::ContractBreakdown),
910            "BT" => Some(Item::TechnicalPhase),
911            "BU" => Some(Item::DyeLotNumber),
912            "BV" => Some(Item::DailyStatementActivities),
913            "BW" => Some(Item::PeriodicalStatementActivitiesWithinABilaterally),
914            "BX" => Some(Item::CalendarWeekStatementActivities),
915            "BY" => Some(Item::CalendarMonthStatementActivities),
916            "BZ" => Some(Item::OriginalEquipmentNumber),
917            "CC" => Some(Item::IndustryCommodityCode),
918            "CG" => Some(Item::CommodityGrouping),
919            "CL" => Some(Item::ColourNumber),
920            "CR" => Some(Item::ContractNumber),
921            "CV" => Some(Item::CustomsArticleNumber),
922            "DR" => Some(Item::DrawingRevisionNumber),
923            "DW" => Some(Item::Drawing),
924            "EC" => Some(Item::EngineeringChangeLevel),
925            "EF" => Some(Item::MaterialCode),
926            "EMD" => Some(Item::EmdnEuropeanMedicalDeviceNomenclature),
927            "EN" => Some(Item::InternationalArticleNumberingAssociationEan),
928            "FS" => Some(Item::FishSpecies),
929            "GB" => Some(Item::BuyersInternalProductGroupCode),
930            "GMN" => Some(Item::GlobalModelNumber),
931            "GN" => Some(Item::NationalProductGroupCode),
932            "GS" => Some(Item::GeneralSpecificationNumber),
933            "HS" => Some(Item::HarmonisedSystem),
934            "IB" => Some(Item::IsbnInternationalStandardBookNumber),
935            "IN" => Some(Item::BuyersItemNumber),
936            "IS" => Some(Item::IssnInternationalStandardSerialNumber),
937            "IT" => Some(Item::BuyersStyleNumber),
938            "IZ" => Some(Item::BuyersSizeCode),
939            "MA" => Some(Item::MachineNumber),
940            "MF" => Some(Item::ManufacturersProducersArticleNumber),
941            "MN" => Some(Item::ModelNumber),
942            "MP" => Some(Item::ProductServiceIdentificationNumber),
943            "NB" => Some(Item::BatchNumber),
944            "ON" => Some(Item::CustomerOrderNumber),
945            "PD" => Some(Item::PartNumberDescription),
946            "PL" => Some(Item::PurchasersOrderLineNumber),
947            "PO" => Some(Item::PurchaseOrderNumber),
948            "PPI" => Some(Item::PhytosanitaryPassportIdentifier),
949            "PV" => Some(Item::PromotionalVariantNumber),
950            "QS" => Some(Item::BuyersQualifierForSize),
951            "RC" => Some(Item::ReturnableContainerNumber),
952            "RN" => Some(Item::ReleaseNumber),
953            "RU" => Some(Item::RunNumber),
954            "RY" => Some(Item::RecordKeepingModelYear),
955            "SA" => Some(Item::SuppliersArticleNumber),
956            "SG" => Some(Item::StandardGroupProductsMixedAssortment),
957            "SK" => Some(Item::SkuStockKeepingUnit),
958            "SN" => Some(Item::SerialNumber),
959            "SRS" => Some(Item::RskNumber),
960            "SRT" => Some(Item::IflsInstitutFrancaisDuLibreService5DigitProduct),
961            "SRU" => Some(Item::IflsInstitutFrancaisDuLibreService9DigitProduct),
962            "SRV" => Some(Item::Gs1GlobalTradeItemNumber),
963            "SRW" => Some(Item::EdisEnergyDataIdentificationSystem),
964            "SRX" => Some(Item::SlaughterNumber),
965            "SRY" => Some(Item::OfficialAnimalNumber),
966            "SRZ" => Some(Item::HarmonizedTariffSchedule),
967            "SS" => Some(Item::SuppliersSupplierArticleNumber),
968            "SSA" => Some(Item::_46LevelDotCode),
969            "SSB" => Some(Item::AirlineTariff6d),
970            "SSC" => Some(Item::Title49CodeFederalRegulations),
971            "SSD" => Some(Item::InternationalCivilAviationAdministrationCode),
972            "SSE" => Some(Item::HazardousMaterialsIdDot),
973            "SSF" => Some(Item::Endorsement),
974            "SSG" => Some(Item::AirForceRegulation714),
975            "SSH" => Some(Item::Breed),
976            "SSI" => Some(Item::ChemicalAbstractServiceCasRegistryNumber),
977            "SSJ" => Some(Item::EngineModelDesignation),
978            "SSK" => Some(Item::InstitutionalMeatPurchaseSpecificationsImpsNumber),
979            "SSL" => Some(Item::PriceLookUpCodePlu),
980            "SSM" => Some(Item::InternationalMaritimeOrganizationImoCode),
981            "SSN" => Some(Item::BureauExplosives600ARail),
982            "SSO" => Some(Item::UnitedNationsDangerousGoodsList),
983            "SSP" => Some(Item::InternationalCodeBotanicalNomenclatureIcbn),
984            "SSQ" => Some(Item::InternationalCodeZoologicalNomenclatureIczn),
985            "SSR" => Some(Item::InternationalCodeNomenclatureForCultivatedPlants),
986            "SSS" => Some(Item::DistributorSArticleIdentifier),
987            "SST" => Some(Item::NorwegianClassificationSystemEnva),
988            "SSU" => Some(Item::SupplierAssignedClassification),
989            "SSV" => Some(Item::MexicanClassificationSystemAmece),
990            "SSW" => Some(Item::GermanClassificationSystemCcg),
991            "SSX" => Some(Item::FinnishClassificationSystemEanfin),
992            "SSY" => Some(Item::CanadianClassificationSystemIcc),
993            "SSZ" => Some(Item::FrenchClassificationSystemIfls5),
994            "ST" => Some(Item::StyleNumber),
995            "STA" => Some(Item::DutchClassificationSystemCbl),
996            "STB" => Some(Item::JapaneseClassificationSystemJicfs),
997            "STC" => Some(Item::EuropeanUnionDairySubsidyEligibilityClassification),
998            "STD" => Some(Item::Gs1SpainClassificationSystem),
999            "STE" => Some(Item::Gs1PolandClassificationSystem),
1000            "STF" => Some(Item::FederalAgencyOnTechnicalRegulatingAndMetrology),
1001            "STG" => Some(Item::EfficientConsumerResponseEcrAustriaClassification),
1002            "STH" => Some(Item::Gs1ItalyClassificationSystem),
1003            "STI" => Some(Item::CpvCommonProcurementVocabulary),
1004            "STJ" => Some(Item::IfdaInternationalFoodserviceDistributorsAssociation),
1005            "STK" => Some(Item::AhfsAmericanHospitalFormularyServicePharmacologic),
1006            "STL" => Some(Item::AtcAnatomicalTherapeuticChemicalClassificationSystem),
1007            "STM" => Some(Item::CladimedClassificationDesDispositifsMédicaux),
1008            "STN" => Some(Item::CmdrCanadianMedicalDeviceRegulationsClassification),
1009            "STO" => Some(Item::CndmClassificazioneNazionaleDeiDispositiviMedici),
1010            "STP" => Some(Item::UkDmDDictionaryMedicinesDevicesStandardCoding),
1011            "STQ" => Some(Item::EclSs),
1012            "STR" => Some(Item::EdmaEuropeanDiagnosticManufacturersAssociation),
1013            "STS" => Some(Item::EgarEuropeanGenericArticleRegister),
1014            "STT" => Some(Item::GmdnGlobalMedicalDevicesNomenclature),
1015            "STU" => Some(Item::GpiGenericProductIdentifier),
1016            "STV" => Some(Item::HcpcsHealthcareCommonProcedureCodingSystem),
1017            "STW" => Some(Item::IcpsInternationalClassificationForPatientSafety),
1018            "STX" => Some(Item::MeddraMedicalDictionaryForRegulatoryActivities),
1019            "STY" => Some(Item::MedicalColumbus),
1020            "STZ" => Some(Item::NapcsNorthAmericanProductClassificationSystem),
1021            "SUA" => Some(Item::NhsNationalHealthServicesEclass),
1022            "SUB" => Some(Item::UsFdaFoodAndDrugAdministrationProductCode),
1023            "SUC" => Some(Item::SnomedCtSystematizedNomenclatureMedicineClinical),
1024            "SUD" => Some(Item::UmdnsUniversalMedicalDeviceNomenclatureSystem),
1025            "SUE" => Some(Item::Gs1GlobalReturnableAssetIdentifierNonSerialised),
1026            "SUF" => Some(Item::Imei),
1027            "SUG" => Some(Item::WasteTypeEmsa),
1028            "SUH" => Some(Item::ShipsStoreClassificationType),
1029            "SUI" => Some(Item::EmergencyFireCode),
1030            "SUJ" => Some(Item::EmergencySpillageCode),
1031            "SUK" => Some(Item::ImdgPackingGroup),
1032            "SUL" => Some(Item::MarpolCodeIbc),
1033            "SUM" => Some(Item::ImdgSubsidiaryRiskClass),
1034            "TG" => Some(Item::TransportGroupNumber),
1035            "TSN" => Some(Item::TaxonomicSerialNumber),
1036            "TSO" => Some(Item::ImdgMainHazardClass),
1037            "TSP" => Some(Item::EuCombinedNomenclature),
1038            "TSQ" => Some(Item::TherapeuticClassificationNumber),
1039            "TSR" => Some(Item::EuropeanWasteCatalogue),
1040            "TSS" => Some(Item::PriceGroupingCode),
1041            "TST" => Some(Item::Unspsc),
1042            "TSU" => Some(Item::EuRohsDirective),
1043            "UA" => Some(Item::UltimateCustomersArticleNumber),
1044            "UP" => Some(Item::UpcUniversalProductCode),
1045            "VN" => Some(Item::VendorItemNumber),
1046            "VP" => Some(Item::VendorsSellersPartNumber),
1047            "VS" => Some(Item::VendorsSupplementalItemNumber),
1048            "VX" => Some(Item::VendorSpecificationNumber),
1049            "ZZZ" => Some(Item::MutuallyDefined),
1050            _ => None,
1051        }
1052    }
1053}