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