use std::fmt;
use serde::{de, Deserialize, ser, Serialize};
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum UnitOrBasisForMeasurementCode {
ActualPounds,
CarMile,
CarCount,
LocomotiveCount,
CabooseCount,
EmptyCar,
TrainMile,
Code1G,
CabooseMile,
FixedRate,
TonMiles,
LocomotiveMile,
TotalCarCount,
TotalCarMile,
Count,
Season,
TankCar,
Frames,
Transactions,
Millimole,
Terabecquerel,
Dose,
Slab,
QuarterMile,
BaseUnit,
StatuteMile,
RadiansPerSecond,
RadiansPerSecondSquared,
Roentgen,
ShipSet,
VoltsPerMeter,
Code2G,
Code2H,
Code2I,
CubicCentimetersPerSecond,
CubicFeetPerHour,
CubicFeetPerMinute,
CentimetersPerSecond,
Decibels,
Kilobyte,
Kilobecquerel,
Kilocurie,
Megagram,
MegagramsPerHour,
Bin,
MetersPerMinute,
Milliroentgen,
Millivolts,
Seconds,
DegreesLovibond,
Megajoule,
Manmonth,
PiecesPer100Grams,
PoundsPerPoundOfProduct,
KilogramsPerLiterOfProduct,
PoundsPerPieceOfProduct,
KilogramsPerKilogramOfProduct,
KilogramsPerPieceOfProduct,
PiecesPer10Pounds,
Proof,
ScovilleUnits,
WaterActivity,
Terabytes,
SmallSpray,
Bobbin,
Cap,
Centistokes,
Curie,
Code4E,
Code4F,
Microliter,
MetersPerSecond,
MetersPerSecondPerSecond,
Milliamperes,
Megabyte,
MilligramsPerHour,
Megabecquerel,
Microfarad,
NewtonsPerMeter,
OunceInch,
OunceFoot,
Pascal,
Picofarad,
PoundsPerHour,
CubicMeterPerHour,
TonPerHour,
KiloliterPerHour,
Lifts,
BarrelsPerMinute,
Batch,
GallonsPerThousand,
ProofGallons,
MmscfDay,
PoundsPerThousand,
Pump,
Stage,
StandardCubicFoot,
HydraulicHorsePower,
CountPerMinute,
SeismicLevel,
SeismicLine,
Digits,
Strand,
Landings,
FlightHours,
HeatLots,
Cord,
Duty,
Project,
Program,
Session,
SquareKilometer,
Tire,
ApothecaryPound,
Briquet,
Fold,
ApothecaryOunce,
Pillow,
Seat,
FamilyUnit,
Code9Z,
Group,
Outfit,
Packet,
Ration,
Shot,
Stick,
Code16,
Code17,
Code18,
TankTruck,
Code20,
Code21,
DeciliterPerGram,
GramsPerCubicCentimeter,
TheoreticalPounds,
GramsPerSquareCentimeter,
ActualTons,
TheoreticalTons,
KilogramsPerSquareMeter,
PoundsPer1000SquareFeet,
HorsepowerDaysPerAirDryMetricTons,
Catchweight,
KilogramsPerAirDryMetricTons,
KilopascalSquareMetersPerGram,
KilopascalsPerMillimeter,
MillilitersPerSquareCentimeterSecond,
CubicFeetPerMinutePerSquareFoot,
OuncesPerSquareFoot,
OuncesPerSquareFootPer001Inch,
BasisPoints,
MilliliterPerSecond,
MilliliterPerMinute,
Code42,
SuperBulkBag,
Code44,
Code45,
Code46,
Code47,
BulkCarLoad,
Code49,
ActualKilograms,
ActualTonnes,
Credits,
TheoreticalKilograms,
TheoreticalTonnes,
Code55,
Sitas,
Mesh,
NetKilograms,
PartsPerMillion,
PercentWeight,
PartsPerBillion,
PercentPer1000Hours,
FailureRateInTime,
PoundsPerSquareInchGauge,
Coulomb,
Oersteds,
Siemens,
Ampere,
TestSpecificScale,
Volt,
VoltAmperePerPound,
WattsPerPound,
AmpereTurnPerCentimeter,
MilliPascals,
Code75,
Gauss,
Mil,
Kilogauss,
ElectronVolt,
PoundsPerSquareInchAbsolute,
Henry,
Ohm,
Farad,
Code84,
FootPounds,
Joules,
PoundsPerCubicFoot,
Poise,
SayboldUniversalSecond,
Stokes,
CaloriesPerCubicCentimeter,
CaloriesPerGram,
CurlUnits,
Code95,
Code96,
Code97,
Code98,
Watt,
Absorbance,
BloomUnits,
BrabenderUnits,
CountPerOunce,
CountPerPound,
CountPerPouch,
MilligramsPerGram,
DollarsPerHours,
Millipoises,
Ball,
BulkPack,
Acre,
Bytes,
AmperesPerMeter,
Centigram,
Angstrom,
AdditionalMinutes,
AverageMinutesPerCall,
Cop,
Fathom,
AccessLines,
Ampoule,
MinutesOrMessages,
AmpereTurn,
AluminumPoundsOnly,
CodeAQ,
Suppository,
Assortment,
Atmosphere,
OcularInsertSystem,
Capsule,
PowderFilledVials,
Twenty,
Assembly,
CodeAZ,
CodeB0,
BarrelsPerDay,
Bunks,
BattingPound,
CodeB4,
Billet,
Bun,
Cycles,
Board,
Batt,
Bale,
BaseBox,
Bucket,
Bundle,
Beam,
BoardFeet,
Bag,
Brush,
Bar,
Band,
Book,
Block,
Bolt,
Bulk,
Bottle,
CodeBP,
BrakeHorsePower,
Barrel,
Basket,
Belt,
Bushel,
CodeBV,
BaseWeight,
Box,
CodeBY,
MillionBtUsDekatherm,
Calls,
CodeC1,
Carset,
Centiliter,
Carload,
Cost,
Cell,
CodeC7,
CubicDecimeter,
CoilGroup,
Case,
Carboy,
CubicCentimeter,
Carat,
CodeCE,
CubicFeet,
Card,
Container,
CubicInches,
Cone,
Connector,
Cylinder,
Centimeter,
Can,
CodeCO,
Crate,
Cartridge,
CubicMeter,
Cassette,
Carton,
Cup,
Cover,
CodeCW,
Coil,
CubicYard,
Combo,
MexicanPeso,
CodeD1,
Shares,
SquareDecimeter,
DegreesBrix,
KilogramPerSquareCentimeter,
DegreesLintner,
DraizeScore,
DynePerSquareCentimeter,
Days,
DryPounds,
CodeDC,
Degree,
Deal,
Dram,
Decigram,
Miles,
Dispenser,
Decagram,
Kilometers,
Deciliter,
Decimeter,
DeciNewtonMeter,
CodeDO,
DozenPair,
DataRecords,
Drum,
Display,
DryTon,
Dyne,
DisplayShipper,
CalendarDays,
DynesPerCentimeter,
DirectoryBooks,
Dozen,
Hectometer,
CodeE2,
CodeE3,
CodeE4,
CodeE5,
CodeE7,
CodeE8,
CodeE9,
Each,
ElectronicMailBoxes,
EachPerMonth,
CodeED,
Employees,
CodeEF,
DoubleTimeHours,
Knots,
Locations,
MixedModule,
Multipack,
CodeEM,
ElevenPack,
EquivalentGallons,
PrepackAssortment,
Order,
Envelope,
CodeEX,
CodeEY,
FeetAndDecimal,
InternationalUnitsPerGram,
ThousandCubicFeetPerDay,
InternationalUnit,
Equivalent,
Minim,
Mol,
PricePerShare,
FibersPerCubicCentimeterOfAir,
Fahrenheit,
Fields,
BlisterPak,
MillionParticlesPerCubicFoot,
TrackFoot,
HundredCubicMeters,
TransdermalPatch,
Micromolar,
SizingFactor,
Fibers,
FlakeTon,
MillionCubicFeet,
ClamshellPackage,
FluidOunce,
PoundsPerSqFt,
FeetPerMinute,
FeetPerSecond,
Foot,
Furlong,
GramsPer100CubicInches,
CodeFZ,
GallonsCapacity,
USGallonsPerMinute,
ImperialGallonsPerMinute,
Gigabecquerel,
CodeG5,
Bit,
MicroficheSheet,
Gigacalories,
Gigabyte,
Gallon,
GallonsDay,
GramsPer100Grams,
GrossBarrels,
PoundsPerGallon,
GramsPer100Centimeters,
CodeGG,
HalfGallon,
ImperialGallons,
GramsPerMilliliter,
GramsPerKilogram,
GramsPerLiter,
GramsPerSqMeter,
GrossGallons,
MilligramsPerSquareMeter,
MilligramsPerCubicMeter,
MicrogramsPerCubicMeter,
Gram,
Gross,
GrossKilogram,
GaussPerOersteds,
Gigajoules,
GallonsPerThousandCubicFeet,
Grain,
GrossYard,
GageSystems,
HalfPagesElectronic,
HalfLiter,
CodeH3,
Hectoliter,
CodeH5,
CodeH6,
CodeH7,
CodeH8,
CodeH9,
Hank,
HundredBoxes,
HundredCount,
HalfDozen,
HundredthOfACarat,
HundredFeet,
Hectogram,
HundredCubicFeet,
HundredSheets,
Horsepower,
HundredKilograms,
HundredFeetLinear,
MilesPerHour,
MillimetersOfMercury,
HundredTroyOunces,
MillimeterH20,
Hectare,
Hours,
HundredSquareFeet,
HalfHour,
Hundred,
CodeHV,
CodeHW,
HospitalBeds,
HundredYards,
Hertz,
CodeI1,
Pellet,
InchPound,
CodeIB,
CountsPerInch,
Person,
InchesOfWater,
InnerPackage,
Inhaler,
ColumnInches,
CodeIK,
InchesPerMinute,
Impressions,
Inch,
InsurancePolicy,
Stops,
CountsPerCentimeter,
CodeIU,
CodeIV,
CodeIW,
CodeJ1,
JoulePerKilogram,
CodeJ3,
CodeJ4,
CodeJ5,
CodeJ6,
CodeJ7,
CodeJ8,
LeftUnit,
Job,
Jumbo,
Caplet,
JoulePerKelvin,
JoulePerGram,
MegaJoulePerKilogram,
Refill,
MegajouleCubicMeter,
Pan,
Joint,
Prepack,
Jar,
Use,
Tin,
Jug,
Ovule,
Exposure,
KilovoltPotential,
KilowattDemand,
KilovoltAmperesReactiveDemand,
KilovoltAmperesReactiveHour,
KilovoltAmperes,
KilovoltAmperesReactive,
Kiloliter,
Kilowatt,
Kilovolt,
CodeK9,
Cake,
Kilocharacters,
KilogramsPerCubicMeter,
KilogramsDecimal,
Keg,
Kilopackets,
Kilogram,
KilowattHour,
KilogramsMillimeterWidth,
Kilosegments,
CodeKK,
KilogramsMeter,
CodeKM,
Kilocalorie,
MillequivalenceCausticPotashPerGramOfProduct,
KilometersPerHour,
Kilopascal,
Kiloroentgen,
Kit,
Task,
Kelvin,
KilogramsPerMillimeter,
MillilitersPerKilogram,
RightUnit,
LitersPerMinute,
LitersAt15DegreesCelsius,
PoundsPerCubicInch,
Pound,
LinearCentimeter,
Lite,
LinearFoot,
LongTon,
LaborHours,
LinearInch,
LargeSpray,
Link,
Lifetime,
LinearMeter,
Length,
Lot,
LiquidPounds,
LitersPerDay,
CodeLR,
LumpSum,
Liter,
OrderLine,
LinearYardsPerPound,
LinearYard,
MagneticTapes,
MilligramsPerLiter,
MillimeterActual,
Mat,
MonetaryValue,
Microcurie,
Millibar,
MicroInch,
MegaPascals,
MillionBritishThermalUnitsPerOneThousandCubicFeet,
MachineUnit,
MillimeterNominal,
Microgram,
AirDryMetricTon,
Milligram,
MilligramPerSqFtPerSide,
MetricGrossTon,
CodeMH,
Metric,
Minutes,
MilligramsPerSquareInch,
Milliliter,
Millimeter,
MetricNetTon,
Months,
MetricTon,
CodeMQ,
Meter,
SquareMillimeter,
MetricLongTon,
Millicurie,
NumberOfMults,
MetricTonKilograms,
Mixed,
MillimeterAverage,
MillimeterMinimum,
PenCalories,
NumberOfLines,
PrintPoint,
CodeN4,
Megahertz,
Parts,
CartridgeNeedle,
MilligramsPerKilogram,
Barge,
Car,
NetBarrels,
NetLiters,
Messages,
NetGallons,
MessageHours,
NetImperialGallons,
NumberOfScreens,
Nights,
Load,
NauticalMile,
Train,
Mho,
MicroMho,
ShortTon,
Trailer,
NewtonMeter,
Vehicle,
Newton,
PartsPerThousand,
PoundsPerAirDryMetricTon,
ThousandGallonsPerDay,
CubicMillimeter,
Panel,
Outlet,
Billboard,
ApothecaryGrain,
OuncesPerSquareYard,
TwoPack,
OvertimeHours,
OperatingUnit,
OunceAv,
PagesElectronic,
Percent,
PoundsPerFoot,
ThreePack,
FourPack,
FivePack,
SixPack,
SevenPack,
EightPack,
NinePack,
Pail,
PairInches,
Piece,
Pad,
PoundsEquivalent,
CodePF,
PoundsGross,
CodePH,
Pitch,
CodePJ,
Package,
PalletUnitLoad,
PoundsPercentage,
PoundsNet,
PoundsPerInchOfLength,
Plate,
PagesPerInch,
Pair,
PoundsPerSqInch,
Pint,
MassPounds,
HalfPint,
PoundsPerInchOfWidth,
CodePX,
CodePY,
CodePZ,
CodeQ1,
PintUSDry,
Meal,
Fifty,
TwentyFive,
ThirtySix,
TwentyFour,
Five,
PagesFacsimile,
PagesHardcopy,
Channel,
QuarterDozen,
Photographs,
Quarter,
QuarterHours,
QuarterKilogram,
Quire,
CodeQS,
Quart,
CodeQU,
Pica,
Becquerel,
RevolutionsPerMinute,
Calorie,
ThousandsOfDollars,
MillionsOfDollars,
BillionsOfDollars,
CodeR8,
ThousandCubicMeters,
Rack,
Radian,
CodeRC,
CodeRD,
Reel,
Ring,
RunningOrOperatingHours,
RetinolActivityEquivalents,
RollMetricMeasure,
Roll,
Ream,
ReamMetricMeasure,
Round,
PoundsPerReam,
Resets,
RevenueTonMiles,
Run,
RetinolEquivalents,
ThousandRounds,
Semester,
Trimester,
SquareFeetPerSecond,
SquareMetersPerSecond,
SixtyFourthsOfAnInch,
Sessions,
StorageUnits,
CodeS8,
SlipSheet,
Sandwich,
SquareMile,
SquareCentimeter,
SolidPounds,
Section,
SquareFoot,
Segment,
Sheet,
SquareInch,
Sack,
SplitTanktruck,
Sleeve,
SquareMeter,
SquareRod,
Spool,
ShelfPackage,
Square,
Strip,
SheetMetricMeasure,
Set,
SingleUnit,
Skid,
Skein,
Shipment,
SquareYard,
Syringe,
TelecommunicationsLinesInService,
ThousandPoundsGross,
ThousandthsOfAnInch,
ThousandPieces,
ThousandBags,
ThousandCasings,
ThousandGallons,
ThousandImpressions,
ThousandLinearInches,
ThousandKilowattHoursMegawattHour,
TenthCubicFoot,
Tube,
Truckload,
Therms,
Tote,
TenSquareYards,
GrossTon,
Thousand,
ThousandSquareInches,
ThousandSqCentimeters,
Tank,
CodeTL,
CodeTM,
CodeTN,
TroyOunce,
TenPack,
ThousandFeet,
TenSquareFeet,
ThousandSquareFeet,
ThousandLinearMeters,
ThousandLinearYards,
ThousandKilograms,
ThousandSheets,
TroyPound,
Tray,
ThousandCubicFeet,
Treatments,
Tablet,
Ten,
TwoHundredFifty,
USGallonsAt60DegreesFahrenheit,
Torr,
TelecommunicationsLinesInServiceAverage,
TelecommunicationsPorts,
TenthMinutes,
TenthHours,
UsagePerTelecommunicationsLineAverage,
TenThousandYards,
Unitless,
MillionUnits,
Unit,
Troche,
Wafer,
Application,
DosageForm,
Inhalation,
Lozenge,
PercentTopicalOnly,
Milliequivalent,
CodeUX,
FiftySquareFeet,
FiftyCount,
Flat,
Pouch,
Setpack,
CodeV7,
VoltAmperePerKilogram,
FiveHundred,
Vial,
Volume,
PercentVolume,
VoltAmpereReactive,
Visit,
CodeVV,
WetKilo,
ThimbleFull,
WattsPerKilogram,
WetPound,
WorkDays,
WetTon,
WineGallon,
Wheel,
WeightPerSquareInch,
Week,
WorkingMonths,
Pennyweight,
Wrap,
CodeWV,
MillilitersOfWater,
CodeWX,
CodeX1,
Bunch,
Clove,
Drop,
Head,
Heart,
Leaf,
Loaf,
Portion,
BaseBoxPerPound,
Slice,
Tablespoon,
Teaspoon,
Tub,
TransportLoad,
Yard,
CodeYL,
Years,
TenYards,
LiftVan,
Chest,
Cask,
Hogshead,
Lug,
ConferencePoints,
CodeZ7,
NewspaperAgateLine,
CodeZ9,
Bimonthly,
Biweekly,
Semiannual,
Kilojoule,
Ping,
CodeZF,
CodeZG,
CodeZH,
CodeZI,
CodeZJ,
CodeZK,
CodeZL,
CodeZM,
CodeZN,
CodeZO,
Page,
CodeZQ,
CodeZR,
CodeZS,
PerAnnum,
CodeZU,
Nanogram,
CodeZW,
CodeZX,
ApothecaryScruple,
MutuallyDefined,
}
impl UnitOrBasisForMeasurementCode {
pub fn code(&self) -> &str {
{
use UnitOrBasisForMeasurementCode::*;
match self {
ActualPounds => "01",
CarMile => "1A",
CarCount => "1B",
LocomotiveCount => "1C",
CabooseCount => "1D",
EmptyCar => "1E",
TrainMile => "1F",
Code1G => "1G",
CabooseMile => "1H",
FixedRate => "1I",
TonMiles => "1J",
LocomotiveMile => "1K",
TotalCarCount => "1L",
TotalCarMile => "1M",
Count => "1N",
Season => "1O",
TankCar => "1P",
Frames => "1Q",
Transactions => "1R",
Millimole => "1S",
Terabecquerel => "1T",
Dose => "1U",
Slab => "1V",
QuarterMile => "1X",
BaseUnit => "1Z",
StatuteMile => "02",
RadiansPerSecond => "2A",
RadiansPerSecondSquared => "2B",
Roentgen => "2C",
ShipSet => "2D",
VoltsPerMeter => "2F",
Code2G => "2G",
Code2H => "2H",
Code2I => "2I",
CubicCentimetersPerSecond => "2J",
CubicFeetPerHour => "2K",
CubicFeetPerMinute => "2L",
CentimetersPerSecond => "2M",
Decibels => "2N",
Kilobyte => "2P",
Kilobecquerel => "2Q",
Kilocurie => "2R",
Megagram => "2U",
MegagramsPerHour => "2V",
Bin => "2W",
MetersPerMinute => "2X",
Milliroentgen => "2Y",
Millivolts => "2Z",
Seconds => "03",
DegreesLovibond => "3A",
Megajoule => "3B",
Manmonth => "3C",
PiecesPer100Grams => "3D",
PoundsPerPoundOfProduct => "3E",
KilogramsPerLiterOfProduct => "3F",
PoundsPerPieceOfProduct => "3G",
KilogramsPerKilogramOfProduct => "3H",
KilogramsPerPieceOfProduct => "3I",
PiecesPer10Pounds => "3J",
Proof => "3K",
ScovilleUnits => "3L",
WaterActivity => "3M",
Terabytes => "3Z",
SmallSpray => "04",
Bobbin => "4A",
Cap => "4B",
Centistokes => "4C",
Curie => "4D",
Code4E => "4E",
Code4F => "4F",
Microliter => "4G",
MetersPerSecond => "4I",
MetersPerSecondPerSecond => "4J",
Milliamperes => "4K",
Megabyte => "4L",
MilligramsPerHour => "4M",
Megabecquerel => "4N",
Microfarad => "4O",
NewtonsPerMeter => "4P",
OunceInch => "4Q",
OunceFoot => "4R",
Pascal => "4S",
Picofarad => "4T",
PoundsPerHour => "4U",
CubicMeterPerHour => "4V",
TonPerHour => "4W",
KiloliterPerHour => "4X",
Lifts => "05",
BarrelsPerMinute => "5A",
Batch => "5B",
GallonsPerThousand => "5C",
ProofGallons => "5D",
MmscfDay => "5E",
PoundsPerThousand => "5F",
Pump => "5G",
Stage => "5H",
StandardCubicFoot => "5I",
HydraulicHorsePower => "5J",
CountPerMinute => "5K",
SeismicLevel => "5P",
SeismicLine => "5Q",
Digits => "06",
Strand => "07",
Landings => "7A",
FlightHours => "7C",
HeatLots => "08",
Cord => "8C",
Duty => "8D",
Project => "8P",
Program => "8R",
Session => "8S",
SquareKilometer => "8U",
Tire => "09",
ApothecaryPound => "9A",
Briquet => "9B",
Fold => "9F",
ApothecaryOunce => "9O",
Pillow => "9P",
Seat => "9S",
FamilyUnit => "9Y",
Code9Z => "9Z",
Group => "10",
Outfit => "11",
Packet => "12",
Ration => "13",
Shot => "14",
Stick => "15",
Code16 => "16",
Code17 => "17",
Code18 => "18",
TankTruck => "19",
Code20 => "20",
Code21 => "21",
DeciliterPerGram => "22",
GramsPerCubicCentimeter => "23",
TheoreticalPounds => "24",
GramsPerSquareCentimeter => "25",
ActualTons => "26",
TheoreticalTons => "27",
KilogramsPerSquareMeter => "28",
PoundsPer1000SquareFeet => "29",
HorsepowerDaysPerAirDryMetricTons => "30",
Catchweight => "31",
KilogramsPerAirDryMetricTons => "32",
KilopascalSquareMetersPerGram => "33",
KilopascalsPerMillimeter => "34",
MillilitersPerSquareCentimeterSecond => "35",
CubicFeetPerMinutePerSquareFoot => "36",
OuncesPerSquareFoot => "37",
OuncesPerSquareFootPer001Inch => "38",
BasisPoints => "39",
MilliliterPerSecond => "40",
MilliliterPerMinute => "41",
Code42 => "42",
SuperBulkBag => "43",
Code44 => "44",
Code45 => "45",
Code46 => "46",
Code47 => "47",
BulkCarLoad => "48",
Code49 => "49",
ActualKilograms => "50",
ActualTonnes => "51",
Credits => "52",
TheoreticalKilograms => "53",
TheoreticalTonnes => "54",
Code55 => "55",
Sitas => "56",
Mesh => "57",
NetKilograms => "58",
PartsPerMillion => "59",
PercentWeight => "60",
PartsPerBillion => "61",
PercentPer1000Hours => "62",
FailureRateInTime => "63",
PoundsPerSquareInchGauge => "64",
Coulomb => "65",
Oersteds => "66",
Siemens => "67",
Ampere => "68",
TestSpecificScale => "69",
Volt => "70",
VoltAmperePerPound => "71",
WattsPerPound => "72",
AmpereTurnPerCentimeter => "73",
MilliPascals => "74",
Code75 => "75",
Gauss => "76",
Mil => "77",
Kilogauss => "78",
ElectronVolt => "79",
PoundsPerSquareInchAbsolute => "80",
Henry => "81",
Ohm => "82",
Farad => "83",
Code84 => "84",
FootPounds => "85",
Joules => "86",
PoundsPerCubicFoot => "87",
Poise => "89",
SayboldUniversalSecond => "90",
Stokes => "91",
CaloriesPerCubicCentimeter => "92",
CaloriesPerGram => "93",
CurlUnits => "94",
Code95 => "95",
Code96 => "96",
Code97 => "97",
Code98 => "98",
Watt => "99",
Absorbance => "A1",
BloomUnits => "A2",
BrabenderUnits => "A3",
CountPerOunce => "A4",
CountPerPound => "A5",
CountPerPouch => "A6",
MilligramsPerGram => "A7",
DollarsPerHours => "A8",
Millipoises => "A9",
Ball => "AA",
BulkPack => "AB",
Acre => "AC",
Bytes => "AD",
AmperesPerMeter => "AE",
Centigram => "AF",
Angstrom => "AG",
AdditionalMinutes => "AH",
AverageMinutesPerCall => "AI",
Cop => "AJ",
Fathom => "AK",
AccessLines => "AL",
Ampoule => "AM",
MinutesOrMessages => "AN",
AmpereTurn => "AO",
AluminumPoundsOnly => "AP",
CodeAQ => "AQ",
Suppository => "AR",
Assortment => "AS",
Atmosphere => "AT",
OcularInsertSystem => "AU",
Capsule => "AV",
PowderFilledVials => "AW",
Twenty => "AX",
Assembly => "AY",
CodeAZ => "AZ",
CodeB0 => "B0",
BarrelsPerDay => "B1",
Bunks => "B2",
BattingPound => "B3",
CodeB4 => "B4",
Billet => "B5",
Bun => "B6",
Cycles => "B7",
Board => "B8",
Batt => "B9",
Bale => "BA",
BaseBox => "BB",
Bucket => "BC",
Bundle => "BD",
Beam => "BE",
BoardFeet => "BF",
Bag => "BG",
Brush => "BH",
Bar => "BI",
Band => "BJ",
Book => "BK",
Block => "BL",
Bolt => "BM",
Bulk => "BN",
Bottle => "BO",
CodeBP => "BP",
BrakeHorsePower => "BQ",
Barrel => "BR",
Basket => "BS",
Belt => "BT",
Bushel => "BU",
CodeBV => "BV",
BaseWeight => "BW",
Box => "BX",
CodeBY => "BY",
MillionBtUsDekatherm => "BZ",
Calls => "C0",
CodeC1 => "C1",
Carset => "C2",
Centiliter => "C3",
Carload => "C4",
Cost => "C5",
Cell => "C6",
CodeC7 => "C7",
CubicDecimeter => "C8",
CoilGroup => "C9",
Case => "CA",
Carboy => "CB",
CubicCentimeter => "CC",
Carat => "CD",
CodeCE => "CE",
CubicFeet => "CF",
Card => "CG",
Container => "CH",
CubicInches => "CI",
Cone => "CJ",
Connector => "CK",
Cylinder => "CL",
Centimeter => "CM",
Can => "CN",
CodeCO => "CO",
Crate => "CP",
Cartridge => "CQ",
CubicMeter => "CR",
Cassette => "CS",
Carton => "CT",
Cup => "CU",
Cover => "CV",
CodeCW => "CW",
Coil => "CX",
CubicYard => "CY",
Combo => "CZ",
MexicanPeso => "D0",
CodeD1 => "D1",
Shares => "D2",
SquareDecimeter => "D3",
DegreesBrix => "D4",
KilogramPerSquareCentimeter => "D5",
DegreesLintner => "D6",
DraizeScore => "D8",
DynePerSquareCentimeter => "D9",
Days => "DA",
DryPounds => "DB",
CodeDC => "DC",
Degree => "DD",
Deal => "DE",
Dram => "DF",
Decigram => "DG",
Miles => "DH",
Dispenser => "DI",
Decagram => "DJ",
Kilometers => "DK",
Deciliter => "DL",
Decimeter => "DM",
DeciNewtonMeter => "DN",
CodeDO => "DO",
DozenPair => "DP",
DataRecords => "DQ",
Drum => "DR",
Display => "DS",
DryTon => "DT",
Dyne => "DU",
DisplayShipper => "DV",
CalendarDays => "DW",
DynesPerCentimeter => "DX",
DirectoryBooks => "DY",
Dozen => "DZ",
Hectometer => "E1",
CodeE2 => "E2",
CodeE3 => "E3",
CodeE4 => "E4",
CodeE5 => "E5",
CodeE7 => "E7",
CodeE8 => "E8",
CodeE9 => "E9",
Each => "EA",
ElectronicMailBoxes => "EB",
EachPerMonth => "EC",
CodeED => "ED",
Employees => "EE",
CodeEF => "EF",
DoubleTimeHours => "EG",
Knots => "EH",
Locations => "EJ",
MixedModule => "EK",
Multipack => "EL",
CodeEM => "EM",
ElevenPack => "EP",
EquivalentGallons => "EQ",
PrepackAssortment => "ES",
Order => "ET",
Envelope => "EV",
CodeEX => "EX",
CodeEY => "EY",
FeetAndDecimal => "EZ",
InternationalUnitsPerGram => "F0",
ThousandCubicFeetPerDay => "F1",
InternationalUnit => "F2",
Equivalent => "F3",
Minim => "F4",
Mol => "F5",
PricePerShare => "F6",
FibersPerCubicCentimeterOfAir => "F9",
Fahrenheit => "FA",
Fields => "FB",
BlisterPak => "FC",
MillionParticlesPerCubicFoot => "FD",
TrackFoot => "FE",
HundredCubicMeters => "FF",
TransdermalPatch => "FG",
Micromolar => "FH",
SizingFactor => "FJ",
Fibers => "FK",
FlakeTon => "FL",
MillionCubicFeet => "FM",
ClamshellPackage => "FN",
FluidOunce => "FO",
PoundsPerSqFt => "FP",
FeetPerMinute => "FR",
FeetPerSecond => "FS",
Foot => "FT",
Furlong => "FU",
GramsPer100CubicInches => "FV",
CodeFZ => "FZ",
GallonsCapacity => "G1",
USGallonsPerMinute => "G2",
ImperialGallonsPerMinute => "G3",
Gigabecquerel => "G4",
CodeG5 => "G5",
Bit => "G6",
MicroficheSheet => "G7",
Gigacalories => "G8",
Gigabyte => "G9",
Gallon => "GA",
GallonsDay => "GB",
GramsPer100Grams => "GC",
GrossBarrels => "GD",
PoundsPerGallon => "GE",
GramsPer100Centimeters => "GF",
CodeGG => "GG",
HalfGallon => "GH",
ImperialGallons => "GI",
GramsPerMilliliter => "GJ",
GramsPerKilogram => "GK",
GramsPerLiter => "GL",
GramsPerSqMeter => "GM",
GrossGallons => "GN",
MilligramsPerSquareMeter => "GO",
MilligramsPerCubicMeter => "GP",
MicrogramsPerCubicMeter => "GQ",
Gram => "GR",
Gross => "GS",
GrossKilogram => "GT",
GaussPerOersteds => "GU",
Gigajoules => "GV",
GallonsPerThousandCubicFeet => "GW",
Grain => "GX",
GrossYard => "GY",
GageSystems => "GZ",
HalfPagesElectronic => "H1",
HalfLiter => "H2",
CodeH3 => "H3",
Hectoliter => "H4",
CodeH5 => "H5",
CodeH6 => "H6",
CodeH7 => "H7",
CodeH8 => "H8",
CodeH9 => "H9",
Hank => "HA",
HundredBoxes => "HB",
HundredCount => "HC",
HalfDozen => "HD",
HundredthOfACarat => "HE",
HundredFeet => "HF",
Hectogram => "HG",
HundredCubicFeet => "HH",
HundredSheets => "HI",
Horsepower => "HJ",
HundredKilograms => "HK",
HundredFeetLinear => "HL",
MilesPerHour => "HM",
MillimetersOfMercury => "HN",
HundredTroyOunces => "HO",
MillimeterH20 => "HP",
Hectare => "HQ",
Hours => "HR",
HundredSquareFeet => "HS",
HalfHour => "HT",
Hundred => "HU",
CodeHV => "HV",
CodeHW => "HW",
HospitalBeds => "HX",
HundredYards => "HY",
Hertz => "HZ",
CodeI1 => "I1",
Pellet => "I2",
InchPound => "IA",
CodeIB => "IB",
CountsPerInch => "IC",
Person => "IE",
InchesOfWater => "IF",
InnerPackage => "IG",
Inhaler => "IH",
ColumnInches => "II",
CodeIK => "IK",
InchesPerMinute => "IL",
Impressions => "IM",
Inch => "IN",
InsurancePolicy => "IP",
Stops => "IS",
CountsPerCentimeter => "IT",
CodeIU => "IU",
CodeIV => "IV",
CodeIW => "IW",
CodeJ1 => "J1",
JoulePerKilogram => "J2",
CodeJ3 => "J3",
CodeJ4 => "J4",
CodeJ5 => "J5",
CodeJ6 => "J6",
CodeJ7 => "J7",
CodeJ8 => "J8",
LeftUnit => "J9",
Job => "JA",
Jumbo => "JB",
Caplet => "JC",
JoulePerKelvin => "JE",
JoulePerGram => "JG",
MegaJoulePerKilogram => "JK",
Refill => "JL",
MegajouleCubicMeter => "JM",
Pan => "JN",
Joint => "JO",
Prepack => "JP",
Jar => "JR",
Use => "JS",
Tin => "JT",
Jug => "JU",
Ovule => "JV",
Exposure => "JX",
KilovoltPotential => "K0",
KilowattDemand => "K1",
KilovoltAmperesReactiveDemand => "K2",
KilovoltAmperesReactiveHour => "K3",
KilovoltAmperes => "K4",
KilovoltAmperesReactive => "K5",
Kiloliter => "K6",
Kilowatt => "K7",
Kilovolt => "K8",
CodeK9 => "K9",
Cake => "KA",
Kilocharacters => "KB",
KilogramsPerCubicMeter => "KC",
KilogramsDecimal => "KD",
Keg => "KE",
Kilopackets => "KF",
Kilogram => "KG",
KilowattHour => "KH",
KilogramsMillimeterWidth => "KI",
Kilosegments => "KJ",
CodeKK => "KK",
KilogramsMeter => "KL",
CodeKM => "KM",
Kilocalorie => "KN",
MillequivalenceCausticPotashPerGramOfProduct => "KO",
KilometersPerHour => "KP",
Kilopascal => "KQ",
Kiloroentgen => "KR",
Kit => "KT",
Task => "KU",
Kelvin => "KV",
KilogramsPerMillimeter => "KW",
MillilitersPerKilogram => "KX",
RightUnit => "L1",
LitersPerMinute => "L2",
LitersAt15DegreesCelsius => "L5",
PoundsPerCubicInch => "LA",
Pound => "LB",
LinearCentimeter => "LC",
Lite => "LE",
LinearFoot => "LF",
LongTon => "LG",
LaborHours => "LH",
LinearInch => "LI",
LargeSpray => "LJ",
Link => "LK",
Lifetime => "LL",
LinearMeter => "LM",
Length => "LN",
Lot => "LO",
LiquidPounds => "LP",
LitersPerDay => "LQ",
CodeLR => "LR",
LumpSum => "LS",
Liter => "LT",
OrderLine => "LU",
LinearYardsPerPound => "LX",
LinearYard => "LY",
MagneticTapes => "M0",
MilligramsPerLiter => "M1",
MillimeterActual => "M2",
Mat => "M3",
MonetaryValue => "M4",
Microcurie => "M5",
Millibar => "M6",
MicroInch => "M7",
MegaPascals => "M8",
MillionBritishThermalUnitsPerOneThousandCubicFeet => "M9",
MachineUnit => "MA",
MillimeterNominal => "MB",
Microgram => "MC",
AirDryMetricTon => "MD",
Milligram => "ME",
MilligramPerSqFtPerSide => "MF",
MetricGrossTon => "MG",
CodeMH => "MH",
Metric => "MI",
Minutes => "MJ",
MilligramsPerSquareInch => "MK",
Milliliter => "ML",
Millimeter => "MM",
MetricNetTon => "MN",
Months => "MO",
MetricTon => "MP",
CodeMQ => "MQ",
Meter => "MR",
SquareMillimeter => "MS",
MetricLongTon => "MT",
Millicurie => "MU",
NumberOfMults => "MV",
MetricTonKilograms => "MW",
Mixed => "MX",
MillimeterAverage => "MY",
MillimeterMinimum => "MZ",
PenCalories => "N1",
NumberOfLines => "N2",
PrintPoint => "N3",
CodeN4 => "N4",
Megahertz => "N6",
Parts => "N7",
CartridgeNeedle => "N9",
MilligramsPerKilogram => "NA",
Barge => "NB",
Car => "NC",
NetBarrels => "ND",
NetLiters => "NE",
Messages => "NF",
NetGallons => "NG",
MessageHours => "NH",
NetImperialGallons => "NI",
NumberOfScreens => "NJ",
Nights => "NK",
Load => "NL",
NauticalMile => "NM",
Train => "NN",
Mho => "NQ",
MicroMho => "NR",
ShortTon => "NS",
Trailer => "NT",
NewtonMeter => "NU",
Vehicle => "NV",
Newton => "NW",
PartsPerThousand => "NX",
PoundsPerAirDryMetricTon => "NY",
ThousandGallonsPerDay => "NZ",
CubicMillimeter => "O1",
Panel => "OA",
Outlet => "OB",
Billboard => "OC",
ApothecaryGrain => "OG",
OuncesPerSquareYard => "ON",
TwoPack => "OP",
OvertimeHours => "OT",
OperatingUnit => "OU",
OunceAv => "OZ",
PagesElectronic => "P0",
Percent => "P1",
PoundsPerFoot => "P2",
ThreePack => "P3",
FourPack => "P4",
FivePack => "P5",
SixPack => "P6",
SevenPack => "P7",
EightPack => "P8",
NinePack => "P9",
Pail => "PA",
PairInches => "PB",
Piece => "PC",
Pad => "PD",
PoundsEquivalent => "PE",
CodePF => "PF",
PoundsGross => "PG",
CodePH => "PH",
Pitch => "PI",
CodePJ => "PJ",
Package => "PK",
PalletUnitLoad => "PL",
PoundsPercentage => "PM",
PoundsNet => "PN",
PoundsPerInchOfLength => "PO",
Plate => "PP",
PagesPerInch => "PQ",
Pair => "PR",
PoundsPerSqInch => "PS",
Pint => "PT",
MassPounds => "PU",
HalfPint => "PV",
PoundsPerInchOfWidth => "PW",
CodePX => "PX",
CodePY => "PY",
CodePZ => "PZ",
CodeQ1 => "Q1",
PintUSDry => "Q2",
Meal => "Q3",
Fifty => "Q4",
TwentyFive => "Q5",
ThirtySix => "Q6",
TwentyFour => "Q7",
Five => "Q9",
PagesFacsimile => "QA",
PagesHardcopy => "QB",
Channel => "QC",
QuarterDozen => "QD",
Photographs => "QE",
Quarter => "QF",
QuarterHours => "QH",
QuarterKilogram => "QK",
Quire => "QR",
CodeQS => "QS",
Quart => "QT",
CodeQU => "QU",
Pica => "R1",
Becquerel => "R2",
RevolutionsPerMinute => "R3",
Calorie => "R4",
ThousandsOfDollars => "R5",
MillionsOfDollars => "R6",
BillionsOfDollars => "R7",
CodeR8 => "R8",
ThousandCubicMeters => "R9",
Rack => "RA",
Radian => "RB",
CodeRC => "RC",
CodeRD => "RD",
Reel => "RE",
Ring => "RG",
RunningOrOperatingHours => "RH",
RetinolActivityEquivalents => "RJ",
RollMetricMeasure => "RK",
Roll => "RL",
Ream => "RM",
ReamMetricMeasure => "RN",
Round => "RO",
PoundsPerReam => "RP",
Resets => "RS",
RevenueTonMiles => "RT",
Run => "RU",
RetinolEquivalents => "RW",
ThousandRounds => "RX",
Semester => "S1",
Trimester => "S2",
SquareFeetPerSecond => "S3",
SquareMetersPerSecond => "S4",
SixtyFourthsOfAnInch => "S5",
Sessions => "S6",
StorageUnits => "S7",
CodeS8 => "S8",
SlipSheet => "S9",
Sandwich => "SA",
SquareMile => "SB",
SquareCentimeter => "SC",
SolidPounds => "SD",
Section => "SE",
SquareFoot => "SF",
Segment => "SG",
Sheet => "SH",
SquareInch => "SI",
Sack => "SJ",
SplitTanktruck => "SK",
Sleeve => "SL",
SquareMeter => "SM",
SquareRod => "SN",
Spool => "SO",
ShelfPackage => "SP",
Square => "SQ",
Strip => "SR",
SheetMetricMeasure => "SS",
Set => "ST",
SingleUnit => "SU",
Skid => "SV",
Skein => "SW",
Shipment => "SX",
SquareYard => "SY",
Syringe => "SZ",
TelecommunicationsLinesInService => "T0",
ThousandPoundsGross => "T1",
ThousandthsOfAnInch => "T2",
ThousandPieces => "T3",
ThousandBags => "T4",
ThousandCasings => "T5",
ThousandGallons => "T6",
ThousandImpressions => "T7",
ThousandLinearInches => "T8",
ThousandKilowattHoursMegawattHour => "T9",
TenthCubicFoot => "TA",
Tube => "TB",
Truckload => "TC",
Therms => "TD",
Tote => "TE",
TenSquareYards => "TF",
GrossTon => "TG",
Thousand => "TH",
ThousandSquareInches => "TI",
ThousandSqCentimeters => "TJ",
Tank => "TK",
CodeTL => "TL",
CodeTM => "TM",
CodeTN => "TN",
TroyOunce => "TO",
TenPack => "TP",
ThousandFeet => "TQ",
TenSquareFeet => "TR",
ThousandSquareFeet => "TS",
ThousandLinearMeters => "TT",
ThousandLinearYards => "TU",
ThousandKilograms => "TV",
ThousandSheets => "TW",
TroyPound => "TX",
Tray => "TY",
ThousandCubicFeet => "TZ",
Treatments => "U1",
Tablet => "U2",
Ten => "U3",
TwoHundredFifty => "U5",
USGallonsAt60DegreesFahrenheit => "U6",
Torr => "UA",
TelecommunicationsLinesInServiceAverage => "UB",
TelecommunicationsPorts => "UC",
TenthMinutes => "UD",
TenthHours => "UE",
UsagePerTelecommunicationsLineAverage => "UF",
TenThousandYards => "UH",
Unitless => "UL",
MillionUnits => "UM",
Unit => "UN",
Troche => "UP",
Wafer => "UQ",
Application => "UR",
DosageForm => "US",
Inhalation => "UT",
Lozenge => "UU",
PercentTopicalOnly => "UV",
Milliequivalent => "UW",
CodeUX => "UX",
FiftySquareFeet => "UY",
FiftyCount => "UZ",
Flat => "V1",
Pouch => "V2",
Setpack => "V5",
CodeV7 => "V7",
VoltAmperePerKilogram => "VA",
FiveHundred => "VC",
Vial => "VI",
Volume => "VL",
PercentVolume => "VP",
VoltAmpereReactive => "VR",
Visit => "VS",
CodeVV => "VV",
WetKilo => "W2",
ThimbleFull => "W7",
WattsPerKilogram => "WA",
WetPound => "WB",
WorkDays => "WD",
WetTon => "WE",
WineGallon => "WG",
Wheel => "WH",
WeightPerSquareInch => "WI",
Week => "WK",
WorkingMonths => "WM",
Pennyweight => "WP",
Wrap => "WR",
CodeWV => "WV",
MillilitersOfWater => "WW",
CodeWX => "WX",
CodeX1 => "X1",
Bunch => "X2",
Clove => "X3",
Drop => "X4",
Head => "X5",
Heart => "X6",
Leaf => "X7",
Loaf => "X8",
Portion => "X9",
BaseBoxPerPound => "XP",
Slice => "Y1",
Tablespoon => "Y2",
Teaspoon => "Y3",
Tub => "Y4",
TransportLoad => "Y5",
Yard => "YD",
CodeYL => "YL",
Years => "YR",
TenYards => "YT",
LiftVan => "Z1",
Chest => "Z2",
Cask => "Z3",
Hogshead => "Z4",
Lug => "Z5",
ConferencePoints => "Z6",
CodeZ7 => "Z7",
NewspaperAgateLine => "Z8",
CodeZ9 => "Z9",
Bimonthly => "ZA",
Biweekly => "ZB",
Semiannual => "ZC",
Kilojoule => "ZD",
Ping => "ZE",
CodeZF => "ZF",
CodeZG => "ZG",
CodeZH => "ZH",
CodeZI => "ZI",
CodeZJ => "ZJ",
CodeZK => "ZK",
CodeZL => "ZL",
CodeZM => "ZM",
CodeZN => "ZN",
CodeZO => "ZO",
Page => "ZP",
CodeZQ => "ZQ",
CodeZR => "ZR",
CodeZS => "ZS",
PerAnnum => "ZT",
CodeZU => "ZU",
Nanogram => "ZV",
CodeZW => "ZW",
CodeZX => "ZX",
ApothecaryScruple => "ZY",
MutuallyDefined => "ZZ",
}
}
}
pub fn from_code(code: &[u8]) -> Option<UnitOrBasisForMeasurementCode> {
use UnitOrBasisForMeasurementCode::*;
match code {
b"01" => Some(ActualPounds),
b"1A" => Some(CarMile),
b"1B" => Some(CarCount),
b"1C" => Some(LocomotiveCount),
b"1D" => Some(CabooseCount),
b"1E" => Some(EmptyCar),
b"1F" => Some(TrainMile),
b"1G" => Some(Code1G),
b"1H" => Some(CabooseMile),
b"1I" => Some(FixedRate),
b"1J" => Some(TonMiles),
b"1K" => Some(LocomotiveMile),
b"1L" => Some(TotalCarCount),
b"1M" => Some(TotalCarMile),
b"1N" => Some(Count),
b"1O" => Some(Season),
b"1P" => Some(TankCar),
b"1Q" => Some(Frames),
b"1R" => Some(Transactions),
b"1S" => Some(Millimole),
b"1T" => Some(Terabecquerel),
b"1U" => Some(Dose),
b"1V" => Some(Slab),
b"1X" => Some(QuarterMile),
b"1Z" => Some(BaseUnit),
b"02" => Some(StatuteMile),
b"2A" => Some(RadiansPerSecond),
b"2B" => Some(RadiansPerSecondSquared),
b"2C" => Some(Roentgen),
b"2D" => Some(ShipSet),
b"2F" => Some(VoltsPerMeter),
b"2G" => Some(Code2G),
b"2H" => Some(Code2H),
b"2I" => Some(Code2I),
b"2J" => Some(CubicCentimetersPerSecond),
b"2K" => Some(CubicFeetPerHour),
b"2L" => Some(CubicFeetPerMinute),
b"2M" => Some(CentimetersPerSecond),
b"2N" => Some(Decibels),
b"2P" => Some(Kilobyte),
b"2Q" => Some(Kilobecquerel),
b"2R" => Some(Kilocurie),
b"2U" => Some(Megagram),
b"2V" => Some(MegagramsPerHour),
b"2W" => Some(Bin),
b"2X" => Some(MetersPerMinute),
b"2Y" => Some(Milliroentgen),
b"2Z" => Some(Millivolts),
b"03" => Some(Seconds),
b"3A" => Some(DegreesLovibond),
b"3B" => Some(Megajoule),
b"3C" => Some(Manmonth),
b"3D" => Some(PiecesPer100Grams),
b"3E" => Some(PoundsPerPoundOfProduct),
b"3F" => Some(KilogramsPerLiterOfProduct),
b"3G" => Some(PoundsPerPieceOfProduct),
b"3H" => Some(KilogramsPerKilogramOfProduct),
b"3I" => Some(KilogramsPerPieceOfProduct),
b"3J" => Some(PiecesPer10Pounds),
b"3K" => Some(Proof),
b"3L" => Some(ScovilleUnits),
b"3M" => Some(WaterActivity),
b"3Z" => Some(Terabytes),
b"04" => Some(SmallSpray),
b"4A" => Some(Bobbin),
b"4B" => Some(Cap),
b"4C" => Some(Centistokes),
b"4D" => Some(Curie),
b"4E" => Some(Code4E),
b"4F" => Some(Code4F),
b"4G" => Some(Microliter),
b"4I" => Some(MetersPerSecond),
b"4J" => Some(MetersPerSecondPerSecond),
b"4K" => Some(Milliamperes),
b"4L" => Some(Megabyte),
b"4M" => Some(MilligramsPerHour),
b"4N" => Some(Megabecquerel),
b"4O" => Some(Microfarad),
b"4P" => Some(NewtonsPerMeter),
b"4Q" => Some(OunceInch),
b"4R" => Some(OunceFoot),
b"4S" => Some(Pascal),
b"4T" => Some(Picofarad),
b"4U" => Some(PoundsPerHour),
b"4V" => Some(CubicMeterPerHour),
b"4W" => Some(TonPerHour),
b"4X" => Some(KiloliterPerHour),
b"05" => Some(Lifts),
b"5A" => Some(BarrelsPerMinute),
b"5B" => Some(Batch),
b"5C" => Some(GallonsPerThousand),
b"5D" => Some(ProofGallons),
b"5E" => Some(MmscfDay),
b"5F" => Some(PoundsPerThousand),
b"5G" => Some(Pump),
b"5H" => Some(Stage),
b"5I" => Some(StandardCubicFoot),
b"5J" => Some(HydraulicHorsePower),
b"5K" => Some(CountPerMinute),
b"5P" => Some(SeismicLevel),
b"5Q" => Some(SeismicLine),
b"06" => Some(Digits),
b"07" => Some(Strand),
b"7A" => Some(Landings),
b"7C" => Some(FlightHours),
b"08" => Some(HeatLots),
b"8C" => Some(Cord),
b"8D" => Some(Duty),
b"8P" => Some(Project),
b"8R" => Some(Program),
b"8S" => Some(Session),
b"8U" => Some(SquareKilometer),
b"09" => Some(Tire),
b"9A" => Some(ApothecaryPound),
b"9B" => Some(Briquet),
b"9F" => Some(Fold),
b"9O" => Some(ApothecaryOunce),
b"9P" => Some(Pillow),
b"9S" => Some(Seat),
b"9Y" => Some(FamilyUnit),
b"9Z" => Some(Code9Z),
b"10" => Some(Group),
b"11" => Some(Outfit),
b"12" => Some(Packet),
b"13" => Some(Ration),
b"14" => Some(Shot),
b"15" => Some(Stick),
b"16" => Some(Code16),
b"17" => Some(Code17),
b"18" => Some(Code18),
b"19" => Some(TankTruck),
b"20" => Some(Code20),
b"21" => Some(Code21),
b"22" => Some(DeciliterPerGram),
b"23" => Some(GramsPerCubicCentimeter),
b"24" => Some(TheoreticalPounds),
b"25" => Some(GramsPerSquareCentimeter),
b"26" => Some(ActualTons),
b"27" => Some(TheoreticalTons),
b"28" => Some(KilogramsPerSquareMeter),
b"29" => Some(PoundsPer1000SquareFeet),
b"30" => Some(HorsepowerDaysPerAirDryMetricTons),
b"31" => Some(Catchweight),
b"32" => Some(KilogramsPerAirDryMetricTons),
b"33" => Some(KilopascalSquareMetersPerGram),
b"34" => Some(KilopascalsPerMillimeter),
b"35" => Some(MillilitersPerSquareCentimeterSecond),
b"36" => Some(CubicFeetPerMinutePerSquareFoot),
b"37" => Some(OuncesPerSquareFoot),
b"38" => Some(OuncesPerSquareFootPer001Inch),
b"39" => Some(BasisPoints),
b"40" => Some(MilliliterPerSecond),
b"41" => Some(MilliliterPerMinute),
b"42" => Some(Code42),
b"43" => Some(SuperBulkBag),
b"44" => Some(Code44),
b"45" => Some(Code45),
b"46" => Some(Code46),
b"47" => Some(Code47),
b"48" => Some(BulkCarLoad),
b"49" => Some(Code49),
b"50" => Some(ActualKilograms),
b"51" => Some(ActualTonnes),
b"52" => Some(Credits),
b"53" => Some(TheoreticalKilograms),
b"54" => Some(TheoreticalTonnes),
b"55" => Some(Code55),
b"56" => Some(Sitas),
b"57" => Some(Mesh),
b"58" => Some(NetKilograms),
b"59" => Some(PartsPerMillion),
b"60" => Some(PercentWeight),
b"61" => Some(PartsPerBillion),
b"62" => Some(PercentPer1000Hours),
b"63" => Some(FailureRateInTime),
b"64" => Some(PoundsPerSquareInchGauge),
b"65" => Some(Coulomb),
b"66" => Some(Oersteds),
b"67" => Some(Siemens),
b"68" => Some(Ampere),
b"69" => Some(TestSpecificScale),
b"70" => Some(Volt),
b"71" => Some(VoltAmperePerPound),
b"72" => Some(WattsPerPound),
b"73" => Some(AmpereTurnPerCentimeter),
b"74" => Some(MilliPascals),
b"75" => Some(Code75),
b"76" => Some(Gauss),
b"77" => Some(Mil),
b"78" => Some(Kilogauss),
b"79" => Some(ElectronVolt),
b"80" => Some(PoundsPerSquareInchAbsolute),
b"81" => Some(Henry),
b"82" => Some(Ohm),
b"83" => Some(Farad),
b"84" => Some(Code84),
b"85" => Some(FootPounds),
b"86" => Some(Joules),
b"87" => Some(PoundsPerCubicFoot),
b"89" => Some(Poise),
b"90" => Some(SayboldUniversalSecond),
b"91" => Some(Stokes),
b"92" => Some(CaloriesPerCubicCentimeter),
b"93" => Some(CaloriesPerGram),
b"94" => Some(CurlUnits),
b"95" => Some(Code95),
b"96" => Some(Code96),
b"97" => Some(Code97),
b"98" => Some(Code98),
b"99" => Some(Watt),
b"A1" => Some(Absorbance),
b"A2" => Some(BloomUnits),
b"A3" => Some(BrabenderUnits),
b"A4" => Some(CountPerOunce),
b"A5" => Some(CountPerPound),
b"A6" => Some(CountPerPouch),
b"A7" => Some(MilligramsPerGram),
b"A8" => Some(DollarsPerHours),
b"A9" => Some(Millipoises),
b"AA" => Some(Ball),
b"AB" => Some(BulkPack),
b"AC" => Some(Acre),
b"AD" => Some(Bytes),
b"AE" => Some(AmperesPerMeter),
b"AF" => Some(Centigram),
b"AG" => Some(Angstrom),
b"AH" => Some(AdditionalMinutes),
b"AI" => Some(AverageMinutesPerCall),
b"AJ" => Some(Cop),
b"AK" => Some(Fathom),
b"AL" => Some(AccessLines),
b"AM" => Some(Ampoule),
b"AN" => Some(MinutesOrMessages),
b"AO" => Some(AmpereTurn),
b"AP" => Some(AluminumPoundsOnly),
b"AQ" => Some(CodeAQ),
b"AR" => Some(Suppository),
b"AS" => Some(Assortment),
b"AT" => Some(Atmosphere),
b"AU" => Some(OcularInsertSystem),
b"AV" => Some(Capsule),
b"AW" => Some(PowderFilledVials),
b"AX" => Some(Twenty),
b"AY" => Some(Assembly),
b"AZ" => Some(CodeAZ),
b"B0" => Some(CodeB0),
b"B1" => Some(BarrelsPerDay),
b"B2" => Some(Bunks),
b"B3" => Some(BattingPound),
b"B4" => Some(CodeB4),
b"B5" => Some(Billet),
b"B6" => Some(Bun),
b"B7" => Some(Cycles),
b"B8" => Some(Board),
b"B9" => Some(Batt),
b"BA" => Some(Bale),
b"BB" => Some(BaseBox),
b"BC" => Some(Bucket),
b"BD" => Some(Bundle),
b"BE" => Some(Beam),
b"BF" => Some(BoardFeet),
b"BG" => Some(Bag),
b"BH" => Some(Brush),
b"BI" => Some(Bar),
b"BJ" => Some(Band),
b"BK" => Some(Book),
b"BL" => Some(Block),
b"BM" => Some(Bolt),
b"BN" => Some(Bulk),
b"BO" => Some(Bottle),
b"BP" => Some(CodeBP),
b"BQ" => Some(BrakeHorsePower),
b"BR" => Some(Barrel),
b"BS" => Some(Basket),
b"BT" => Some(Belt),
b"BU" => Some(Bushel),
b"BV" => Some(CodeBV),
b"BW" => Some(BaseWeight),
b"BX" => Some(Box),
b"BY" => Some(CodeBY),
b"BZ" => Some(MillionBtUsDekatherm),
b"C0" => Some(Calls),
b"C1" => Some(CodeC1),
b"C2" => Some(Carset),
b"C3" => Some(Centiliter),
b"C4" => Some(Carload),
b"C5" => Some(Cost),
b"C6" => Some(Cell),
b"C7" => Some(CodeC7),
b"C8" => Some(CubicDecimeter),
b"C9" => Some(CoilGroup),
b"CA" => Some(Case),
b"CB" => Some(Carboy),
b"CC" => Some(CubicCentimeter),
b"CD" => Some(Carat),
b"CE" => Some(CodeCE),
b"CF" => Some(CubicFeet),
b"CG" => Some(Card),
b"CH" => Some(Container),
b"CI" => Some(CubicInches),
b"CJ" => Some(Cone),
b"CK" => Some(Connector),
b"CL" => Some(Cylinder),
b"CM" => Some(Centimeter),
b"CN" => Some(Can),
b"CO" => Some(CodeCO),
b"CP" => Some(Crate),
b"CQ" => Some(Cartridge),
b"CR" => Some(CubicMeter),
b"CS" => Some(Cassette),
b"CT" => Some(Carton),
b"CU" => Some(Cup),
b"CV" => Some(Cover),
b"CW" => Some(CodeCW),
b"CX" => Some(Coil),
b"CY" => Some(CubicYard),
b"CZ" => Some(Combo),
b"D0" => Some(MexicanPeso),
b"D1" => Some(CodeD1),
b"D2" => Some(Shares),
b"D3" => Some(SquareDecimeter),
b"D4" => Some(DegreesBrix),
b"D5" => Some(KilogramPerSquareCentimeter),
b"D6" => Some(DegreesLintner),
b"D8" => Some(DraizeScore),
b"D9" => Some(DynePerSquareCentimeter),
b"DA" => Some(Days),
b"DB" => Some(DryPounds),
b"DC" => Some(CodeDC),
b"DD" => Some(Degree),
b"DE" => Some(Deal),
b"DF" => Some(Dram),
b"DG" => Some(Decigram),
b"DH" => Some(Miles),
b"DI" => Some(Dispenser),
b"DJ" => Some(Decagram),
b"DK" => Some(Kilometers),
b"DL" => Some(Deciliter),
b"DM" => Some(Decimeter),
b"DN" => Some(DeciNewtonMeter),
b"DO" => Some(CodeDO),
b"DP" => Some(DozenPair),
b"DQ" => Some(DataRecords),
b"DR" => Some(Drum),
b"DS" => Some(Display),
b"DT" => Some(DryTon),
b"DU" => Some(Dyne),
b"DV" => Some(DisplayShipper),
b"DW" => Some(CalendarDays),
b"DX" => Some(DynesPerCentimeter),
b"DY" => Some(DirectoryBooks),
b"DZ" => Some(Dozen),
b"E1" => Some(Hectometer),
b"E2" => Some(CodeE2),
b"E3" => Some(CodeE3),
b"E4" => Some(CodeE4),
b"E5" => Some(CodeE5),
b"E7" => Some(CodeE7),
b"E8" => Some(CodeE8),
b"E9" => Some(CodeE9),
b"EA" => Some(Each),
b"EB" => Some(ElectronicMailBoxes),
b"EC" => Some(EachPerMonth),
b"ED" => Some(CodeED),
b"EE" => Some(Employees),
b"EF" => Some(CodeEF),
b"EG" => Some(DoubleTimeHours),
b"EH" => Some(Knots),
b"EJ" => Some(Locations),
b"EK" => Some(MixedModule),
b"RV" => Some(MixedModule),
b"V3" => Some(MixedModule),
b"EL" => Some(Multipack),
b"V4" => Some(Multipack),
b"EM" => Some(CodeEM),
b"EP" => Some(ElevenPack),
b"EQ" => Some(EquivalentGallons),
b"ES" => Some(PrepackAssortment),
b"V6" => Some(PrepackAssortment),
b"ET" => Some(Order),
b"EV" => Some(Envelope),
b"EX" => Some(CodeEX),
b"EY" => Some(CodeEY),
b"EZ" => Some(FeetAndDecimal),
b"F0" => Some(InternationalUnitsPerGram),
b"F1" => Some(ThousandCubicFeetPerDay),
b"F2" => Some(InternationalUnit),
b"F3" => Some(Equivalent),
b"F4" => Some(Minim),
b"F5" => Some(Mol),
b"F6" => Some(PricePerShare),
b"F9" => Some(FibersPerCubicCentimeterOfAir),
b"FA" => Some(Fahrenheit),
b"FB" => Some(Fields),
b"FC" => Some(BlisterPak),
b"FD" => Some(MillionParticlesPerCubicFoot),
b"FE" => Some(TrackFoot),
b"FF" => Some(HundredCubicMeters),
b"FG" => Some(TransdermalPatch),
b"FH" => Some(Micromolar),
b"FJ" => Some(SizingFactor),
b"FK" => Some(Fibers),
b"FL" => Some(FlakeTon),
b"FM" => Some(MillionCubicFeet),
b"FN" => Some(ClamshellPackage),
b"FO" => Some(FluidOunce),
b"FP" => Some(PoundsPerSqFt),
b"FR" => Some(FeetPerMinute),
b"FS" => Some(FeetPerSecond),
b"FT" => Some(Foot),
b"FU" => Some(Furlong),
b"FV" => Some(GramsPer100CubicInches),
b"FZ" => Some(CodeFZ),
b"G1" => Some(GallonsCapacity),
b"G2" => Some(USGallonsPerMinute),
b"G3" => Some(ImperialGallonsPerMinute),
b"G4" => Some(Gigabecquerel),
b"G5" => Some(CodeG5),
b"G6" => Some(Bit),
b"G7" => Some(MicroficheSheet),
b"G8" => Some(Gigacalories),
b"G9" => Some(Gigabyte),
b"GA" => Some(Gallon),
b"GB" => Some(GallonsDay),
b"GC" => Some(GramsPer100Grams),
b"GD" => Some(GrossBarrels),
b"GE" => Some(PoundsPerGallon),
b"GF" => Some(GramsPer100Centimeters),
b"GG" => Some(CodeGG),
b"GH" => Some(HalfGallon),
b"GI" => Some(ImperialGallons),
b"GJ" => Some(GramsPerMilliliter),
b"GK" => Some(GramsPerKilogram),
b"GL" => Some(GramsPerLiter),
b"GM" => Some(GramsPerSqMeter),
b"GN" => Some(GrossGallons),
b"GO" => Some(MilligramsPerSquareMeter),
b"GP" => Some(MilligramsPerCubicMeter),
b"GQ" => Some(MicrogramsPerCubicMeter),
b"GR" => Some(Gram),
b"GS" => Some(Gross),
b"GT" => Some(GrossKilogram),
b"GU" => Some(GaussPerOersteds),
b"GV" => Some(Gigajoules),
b"GW" => Some(GallonsPerThousandCubicFeet),
b"GX" => Some(Grain),
b"GY" => Some(GrossYard),
b"GZ" => Some(GageSystems),
b"H1" => Some(HalfPagesElectronic),
b"H2" => Some(HalfLiter),
b"H3" => Some(CodeH3),
b"H4" => Some(Hectoliter),
b"H5" => Some(CodeH5),
b"H6" => Some(CodeH6),
b"H7" => Some(CodeH7),
b"H8" => Some(CodeH8),
b"H9" => Some(CodeH9),
b"HA" => Some(Hank),
b"HB" => Some(HundredBoxes),
b"HC" => Some(HundredCount),
b"HD" => Some(HalfDozen),
b"HE" => Some(HundredthOfACarat),
b"HF" => Some(HundredFeet),
b"HG" => Some(Hectogram),
b"HH" => Some(HundredCubicFeet),
b"HI" => Some(HundredSheets),
b"HJ" => Some(Horsepower),
b"HK" => Some(HundredKilograms),
b"HL" => Some(HundredFeetLinear),
b"HM" => Some(MilesPerHour),
b"HN" => Some(MillimetersOfMercury),
b"HO" => Some(HundredTroyOunces),
b"HP" => Some(MillimeterH20),
b"HQ" => Some(Hectare),
b"HR" => Some(Hours),
b"HS" => Some(HundredSquareFeet),
b"HT" => Some(HalfHour),
b"HU" => Some(Hundred),
b"HV" => Some(CodeHV),
b"HW" => Some(CodeHW),
b"HX" => Some(HospitalBeds),
b"HY" => Some(HundredYards),
b"HZ" => Some(Hertz),
b"I1" => Some(CodeI1),
b"I2" => Some(Pellet),
b"IA" => Some(InchPound),
b"IB" => Some(CodeIB),
b"IC" => Some(CountsPerInch),
b"IE" => Some(Person),
b"IF" => Some(InchesOfWater),
b"IG" => Some(InnerPackage),
b"IH" => Some(Inhaler),
b"II" => Some(ColumnInches),
b"IK" => Some(CodeIK),
b"IL" => Some(InchesPerMinute),
b"IM" => Some(Impressions),
b"IN" => Some(Inch),
b"IP" => Some(InsurancePolicy),
b"IS" => Some(Stops),
b"IT" => Some(CountsPerCentimeter),
b"IU" => Some(CodeIU),
b"IV" => Some(CodeIV),
b"IW" => Some(CodeIW),
b"J1" => Some(CodeJ1),
b"J2" => Some(JoulePerKilogram),
b"J3" => Some(CodeJ3),
b"J4" => Some(CodeJ4),
b"J5" => Some(CodeJ5),
b"J6" => Some(CodeJ6),
b"J7" => Some(CodeJ7),
b"J8" => Some(CodeJ8),
b"J9" => Some(LeftUnit),
b"JA" => Some(Job),
b"JB" => Some(Jumbo),
b"JC" => Some(Caplet),
b"JE" => Some(JoulePerKelvin),
b"JG" => Some(JoulePerGram),
b"JK" => Some(MegaJoulePerKilogram),
b"JL" => Some(Refill),
b"JM" => Some(MegajouleCubicMeter),
b"JN" => Some(Pan),
b"JO" => Some(Joint),
b"JP" => Some(Prepack),
b"JR" => Some(Jar),
b"JS" => Some(Use),
b"JT" => Some(Tin),
b"JU" => Some(Jug),
b"JV" => Some(Ovule),
b"JX" => Some(Exposure),
b"K0" => Some(KilovoltPotential),
b"K1" => Some(KilowattDemand),
b"K2" => Some(KilovoltAmperesReactiveDemand),
b"K3" => Some(KilovoltAmperesReactiveHour),
b"K4" => Some(KilovoltAmperes),
b"K5" => Some(KilovoltAmperesReactive),
b"K6" => Some(Kiloliter),
b"K7" => Some(Kilowatt),
b"K8" => Some(Kilovolt),
b"K9" => Some(CodeK9),
b"KA" => Some(Cake),
b"KB" => Some(Kilocharacters),
b"KC" => Some(KilogramsPerCubicMeter),
b"KD" => Some(KilogramsDecimal),
b"KE" => Some(Keg),
b"KF" => Some(Kilopackets),
b"KG" => Some(Kilogram),
b"KH" => Some(KilowattHour),
b"KI" => Some(KilogramsMillimeterWidth),
b"KJ" => Some(Kilosegments),
b"KK" => Some(CodeKK),
b"KL" => Some(KilogramsMeter),
b"KM" => Some(CodeKM),
b"KN" => Some(Kilocalorie),
b"KO" => Some(MillequivalenceCausticPotashPerGramOfProduct),
b"KP" => Some(KilometersPerHour),
b"KQ" => Some(Kilopascal),
b"KR" => Some(Kiloroentgen),
b"KT" => Some(Kit),
b"KU" => Some(Task),
b"KV" => Some(Kelvin),
b"KW" => Some(KilogramsPerMillimeter),
b"KX" => Some(MillilitersPerKilogram),
b"L1" => Some(RightUnit),
b"L2" => Some(LitersPerMinute),
b"L5" => Some(LitersAt15DegreesCelsius),
b"LA" => Some(PoundsPerCubicInch),
b"LB" => Some(Pound),
b"LC" => Some(LinearCentimeter),
b"LE" => Some(Lite),
b"LF" => Some(LinearFoot),
b"LG" => Some(LongTon),
b"LH" => Some(LaborHours),
b"LI" => Some(LinearInch),
b"LJ" => Some(LargeSpray),
b"LK" => Some(Link),
b"LL" => Some(Lifetime),
b"LM" => Some(LinearMeter),
b"LN" => Some(Length),
b"LO" => Some(Lot),
b"LP" => Some(LiquidPounds),
b"LQ" => Some(LitersPerDay),
b"LR" => Some(CodeLR),
b"LS" => Some(LumpSum),
b"LT" => Some(Liter),
b"LU" => Some(OrderLine),
b"LX" => Some(LinearYardsPerPound),
b"LY" => Some(LinearYard),
b"M0" => Some(MagneticTapes),
b"M1" => Some(MilligramsPerLiter),
b"M2" => Some(MillimeterActual),
b"M3" => Some(Mat),
b"M4" => Some(MonetaryValue),
b"M5" => Some(Microcurie),
b"M6" => Some(Millibar),
b"M7" => Some(MicroInch),
b"M8" => Some(MegaPascals),
b"M9" => Some(MillionBritishThermalUnitsPerOneThousandCubicFeet),
b"MA" => Some(MachineUnit),
b"MB" => Some(MillimeterNominal),
b"MC" => Some(Microgram),
b"MD" => Some(AirDryMetricTon),
b"ME" => Some(Milligram),
b"MF" => Some(MilligramPerSqFtPerSide),
b"MG" => Some(MetricGrossTon),
b"MH" => Some(CodeMH),
b"MI" => Some(Metric),
b"MJ" => Some(Minutes),
b"MK" => Some(MilligramsPerSquareInch),
b"ML" => Some(Milliliter),
b"MM" => Some(Millimeter),
b"MN" => Some(MetricNetTon),
b"MO" => Some(Months),
b"MP" => Some(MetricTon),
b"MQ" => Some(CodeMQ),
b"MR" => Some(Meter),
b"MS" => Some(SquareMillimeter),
b"MT" => Some(MetricLongTon),
b"MU" => Some(Millicurie),
b"MV" => Some(NumberOfMults),
b"MW" => Some(MetricTonKilograms),
b"MX" => Some(Mixed),
b"MY" => Some(MillimeterAverage),
b"MZ" => Some(MillimeterMinimum),
b"N1" => Some(PenCalories),
b"N2" => Some(NumberOfLines),
b"N3" => Some(PrintPoint),
b"N4" => Some(CodeN4),
b"N6" => Some(Megahertz),
b"N7" => Some(Parts),
b"N9" => Some(CartridgeNeedle),
b"NA" => Some(MilligramsPerKilogram),
b"NB" => Some(Barge),
b"NC" => Some(Car),
b"ND" => Some(NetBarrels),
b"NE" => Some(NetLiters),
b"NF" => Some(Messages),
b"NG" => Some(NetGallons),
b"NH" => Some(MessageHours),
b"NI" => Some(NetImperialGallons),
b"NJ" => Some(NumberOfScreens),
b"NK" => Some(Nights),
b"NL" => Some(Load),
b"NM" => Some(NauticalMile),
b"NN" => Some(Train),
b"NQ" => Some(Mho),
b"NR" => Some(MicroMho),
b"NS" => Some(ShortTon),
b"NT" => Some(Trailer),
b"NU" => Some(NewtonMeter),
b"NV" => Some(Vehicle),
b"NW" => Some(Newton),
b"NX" => Some(PartsPerThousand),
b"NY" => Some(PoundsPerAirDryMetricTon),
b"NZ" => Some(ThousandGallonsPerDay),
b"O1" => Some(CubicMillimeter),
b"OA" => Some(Panel),
b"OB" => Some(Outlet),
b"OC" => Some(Billboard),
b"OG" => Some(ApothecaryGrain),
b"ON" => Some(OuncesPerSquareYard),
b"OP" => Some(TwoPack),
b"OT" => Some(OvertimeHours),
b"OU" => Some(OperatingUnit),
b"OZ" => Some(OunceAv),
b"P0" => Some(PagesElectronic),
b"P1" => Some(Percent),
b"P2" => Some(PoundsPerFoot),
b"P3" => Some(ThreePack),
b"P4" => Some(FourPack),
b"P5" => Some(FivePack),
b"P6" => Some(SixPack),
b"P7" => Some(SevenPack),
b"P8" => Some(EightPack),
b"P9" => Some(NinePack),
b"PA" => Some(Pail),
b"PB" => Some(PairInches),
b"PC" => Some(Piece),
b"PD" => Some(Pad),
b"PE" => Some(PoundsEquivalent),
b"PF" => Some(CodePF),
b"PG" => Some(PoundsGross),
b"PH" => Some(CodePH),
b"PI" => Some(Pitch),
b"PJ" => Some(CodePJ),
b"PK" => Some(Package),
b"PL" => Some(PalletUnitLoad),
b"PM" => Some(PoundsPercentage),
b"PN" => Some(PoundsNet),
b"PO" => Some(PoundsPerInchOfLength),
b"PP" => Some(Plate),
b"PQ" => Some(PagesPerInch),
b"PR" => Some(Pair),
b"PS" => Some(PoundsPerSqInch),
b"PT" => Some(Pint),
b"PU" => Some(MassPounds),
b"PV" => Some(HalfPint),
b"PW" => Some(PoundsPerInchOfWidth),
b"PX" => Some(CodePX),
b"PY" => Some(CodePY),
b"PZ" => Some(CodePZ),
b"Q1" => Some(CodeQ1),
b"Q2" => Some(PintUSDry),
b"Q3" => Some(Meal),
b"Q4" => Some(Fifty),
b"Q5" => Some(TwentyFive),
b"Q6" => Some(ThirtySix),
b"Q7" => Some(TwentyFour),
b"Q9" => Some(Five),
b"QA" => Some(PagesFacsimile),
b"QB" => Some(PagesHardcopy),
b"QC" => Some(Channel),
b"QD" => Some(QuarterDozen),
b"QE" => Some(Photographs),
b"QF" => Some(Quarter),
b"QH" => Some(QuarterHours),
b"QK" => Some(QuarterKilogram),
b"QR" => Some(Quire),
b"QS" => Some(CodeQS),
b"QT" => Some(Quart),
b"QU" => Some(CodeQU),
b"R1" => Some(Pica),
b"R2" => Some(Becquerel),
b"R3" => Some(RevolutionsPerMinute),
b"R4" => Some(Calorie),
b"R5" => Some(ThousandsOfDollars),
b"R6" => Some(MillionsOfDollars),
b"R7" => Some(BillionsOfDollars),
b"R8" => Some(CodeR8),
b"R9" => Some(ThousandCubicMeters),
b"RA" => Some(Rack),
b"RB" => Some(Radian),
b"RC" => Some(CodeRC),
b"RD" => Some(CodeRD),
b"RE" => Some(Reel),
b"RG" => Some(Ring),
b"RH" => Some(RunningOrOperatingHours),
b"RJ" => Some(RetinolActivityEquivalents),
b"RK" => Some(RollMetricMeasure),
b"RL" => Some(Roll),
b"RM" => Some(Ream),
b"RN" => Some(ReamMetricMeasure),
b"RO" => Some(Round),
b"RP" => Some(PoundsPerReam),
b"RS" => Some(Resets),
b"RT" => Some(RevenueTonMiles),
b"RU" => Some(Run),
b"RW" => Some(RetinolEquivalents),
b"RX" => Some(ThousandRounds),
b"S1" => Some(Semester),
b"S2" => Some(Trimester),
b"S3" => Some(SquareFeetPerSecond),
b"S4" => Some(SquareMetersPerSecond),
b"S5" => Some(SixtyFourthsOfAnInch),
b"S6" => Some(Sessions),
b"S7" => Some(StorageUnits),
b"S8" => Some(CodeS8),
b"S9" => Some(SlipSheet),
b"SA" => Some(Sandwich),
b"SB" => Some(SquareMile),
b"SC" => Some(SquareCentimeter),
b"SD" => Some(SolidPounds),
b"SE" => Some(Section),
b"SF" => Some(SquareFoot),
b"SG" => Some(Segment),
b"SH" => Some(Sheet),
b"SI" => Some(SquareInch),
b"SJ" => Some(Sack),
b"SK" => Some(SplitTanktruck),
b"SL" => Some(Sleeve),
b"SM" => Some(SquareMeter),
b"SN" => Some(SquareRod),
b"SO" => Some(Spool),
b"SP" => Some(ShelfPackage),
b"SQ" => Some(Square),
b"SR" => Some(Strip),
b"SS" => Some(SheetMetricMeasure),
b"ST" => Some(Set),
b"SU" => Some(SingleUnit),
b"SV" => Some(Skid),
b"SW" => Some(Skein),
b"SX" => Some(Shipment),
b"SY" => Some(SquareYard),
b"SZ" => Some(Syringe),
b"T0" => Some(TelecommunicationsLinesInService),
b"T1" => Some(ThousandPoundsGross),
b"T2" => Some(ThousandthsOfAnInch),
b"T3" => Some(ThousandPieces),
b"T4" => Some(ThousandBags),
b"T5" => Some(ThousandCasings),
b"T6" => Some(ThousandGallons),
b"T7" => Some(ThousandImpressions),
b"T8" => Some(ThousandLinearInches),
b"T9" => Some(ThousandKilowattHoursMegawattHour),
b"TA" => Some(TenthCubicFoot),
b"TB" => Some(Tube),
b"TC" => Some(Truckload),
b"TD" => Some(Therms),
b"TE" => Some(Tote),
b"TF" => Some(TenSquareYards),
b"TG" => Some(GrossTon),
b"TH" => Some(Thousand),
b"TI" => Some(ThousandSquareInches),
b"TJ" => Some(ThousandSqCentimeters),
b"TK" => Some(Tank),
b"TL" => Some(CodeTL),
b"TM" => Some(CodeTM),
b"TN" => Some(CodeTN),
b"TO" => Some(TroyOunce),
b"TP" => Some(TenPack),
b"TQ" => Some(ThousandFeet),
b"TR" => Some(TenSquareFeet),
b"TS" => Some(ThousandSquareFeet),
b"TT" => Some(ThousandLinearMeters),
b"TU" => Some(ThousandLinearYards),
b"TV" => Some(ThousandKilograms),
b"TW" => Some(ThousandSheets),
b"TX" => Some(TroyPound),
b"TY" => Some(Tray),
b"TZ" => Some(ThousandCubicFeet),
b"U1" => Some(Treatments),
b"U2" => Some(Tablet),
b"U3" => Some(Ten),
b"U5" => Some(TwoHundredFifty),
b"U6" => Some(USGallonsAt60DegreesFahrenheit),
b"UA" => Some(Torr),
b"UB" => Some(TelecommunicationsLinesInServiceAverage),
b"UC" => Some(TelecommunicationsPorts),
b"UD" => Some(TenthMinutes),
b"UE" => Some(TenthHours),
b"UF" => Some(UsagePerTelecommunicationsLineAverage),
b"UH" => Some(TenThousandYards),
b"UL" => Some(Unitless),
b"UM" => Some(MillionUnits),
b"UN" => Some(Unit),
b"UP" => Some(Troche),
b"UQ" => Some(Wafer),
b"UR" => Some(Application),
b"US" => Some(DosageForm),
b"UT" => Some(Inhalation),
b"UU" => Some(Lozenge),
b"UV" => Some(PercentTopicalOnly),
b"UW" => Some(Milliequivalent),
b"UX" => Some(CodeUX),
b"UY" => Some(FiftySquareFeet),
b"UZ" => Some(FiftyCount),
b"V1" => Some(Flat),
b"V2" => Some(Pouch),
b"V5" => Some(Setpack),
b"V7" => Some(CodeV7),
b"VA" => Some(VoltAmperePerKilogram),
b"VC" => Some(FiveHundred),
b"VI" => Some(Vial),
b"VL" => Some(Volume),
b"VP" => Some(PercentVolume),
b"VR" => Some(VoltAmpereReactive),
b"VS" => Some(Visit),
b"VV" => Some(CodeVV),
b"W2" => Some(WetKilo),
b"W7" => Some(ThimbleFull),
b"WA" => Some(WattsPerKilogram),
b"WB" => Some(WetPound),
b"WD" => Some(WorkDays),
b"WE" => Some(WetTon),
b"WG" => Some(WineGallon),
b"WH" => Some(Wheel),
b"WI" => Some(WeightPerSquareInch),
b"WK" => Some(Week),
b"WM" => Some(WorkingMonths),
b"WP" => Some(Pennyweight),
b"WR" => Some(Wrap),
b"WV" => Some(CodeWV),
b"WW" => Some(MillilitersOfWater),
b"WX" => Some(CodeWX),
b"X1" => Some(CodeX1),
b"X2" => Some(Bunch),
b"X3" => Some(Clove),
b"X4" => Some(Drop),
b"X5" => Some(Head),
b"X6" => Some(Heart),
b"X7" => Some(Leaf),
b"X8" => Some(Loaf),
b"X9" => Some(Portion),
b"XP" => Some(BaseBoxPerPound),
b"Y1" => Some(Slice),
b"Y2" => Some(Tablespoon),
b"Y3" => Some(Teaspoon),
b"Y4" => Some(Tub),
b"Y5" => Some(TransportLoad),
b"YD" => Some(Yard),
b"YL" => Some(CodeYL),
b"YR" => Some(Years),
b"YT" => Some(TenYards),
b"Z1" => Some(LiftVan),
b"Z2" => Some(Chest),
b"Z3" => Some(Cask),
b"Z4" => Some(Hogshead),
b"Z5" => Some(Lug),
b"Z6" => Some(ConferencePoints),
b"Z7" => Some(CodeZ7),
b"Z8" => Some(NewspaperAgateLine),
b"Z9" => Some(CodeZ9),
b"ZA" => Some(Bimonthly),
b"ZB" => Some(Biweekly),
b"ZC" => Some(Semiannual),
b"ZD" => Some(Kilojoule),
b"ZE" => Some(Ping),
b"ZF" => Some(CodeZF),
b"ZG" => Some(CodeZG),
b"ZH" => Some(CodeZH),
b"ZI" => Some(CodeZI),
b"ZJ" => Some(CodeZJ),
b"ZK" => Some(CodeZK),
b"ZL" => Some(CodeZL),
b"ZM" => Some(CodeZM),
b"ZN" => Some(CodeZN),
b"ZO" => Some(CodeZO),
b"ZP" => Some(Page),
b"ZQ" => Some(CodeZQ),
b"ZR" => Some(CodeZR),
b"ZS" => Some(CodeZS),
b"ZT" => Some(PerAnnum),
b"ZU" => Some(CodeZU),
b"ZV" => Some(Nanogram),
b"ZW" => Some(CodeZW),
b"ZX" => Some(CodeZX),
b"ZY" => Some(ApothecaryScruple),
b"ZZ" => Some(MutuallyDefined),
_ => None,
}
}
fn description(&self) -> &str {
use UnitOrBasisForMeasurementCode::*;
match self {
ActualPounds => "Actual Pounds",
CarMile => "Car Mile",
CarCount => "Car Count",
LocomotiveCount => "Locomotive Count",
CabooseCount => "Caboose Count",
EmptyCar => "Empty Car",
TrainMile => "Train Mile",
Code1G => "Fuel Usage (Gallons)",
CabooseMile => "Caboose Mile",
FixedRate => "Fixed Rate",
TonMiles => "Ton Miles",
LocomotiveMile => "Locomotive Mile",
TotalCarCount => "Total Car Count",
TotalCarMile => "Total Car Mile",
Count => "Count",
Season => "Season",
TankCar => "Tank Car",
Frames => "Frames",
Transactions => "Transactions",
Millimole => "Millimole",
Terabecquerel => "Terabecquerel",
Dose => "Dose",
Slab => "Slab",
QuarterMile => "Quarter Mile",
BaseUnit => "Base Unit",
StatuteMile => "Statute Mile",
RadiansPerSecond => "Radians Per Second",
RadiansPerSecondSquared => "Radians Per Second Squared",
Roentgen => "Roentgen",
ShipSet => "Ship Set",
VoltsPerMeter => "Volts Per Meter",
Code2G => "Volts (Alternating Current)",
Code2H => "Volts (Direct Current)",
Code2I => "British Thermal Units (BTUs) Per Hour",
CubicCentimetersPerSecond => "Cubic Centimeters Per Second",
CubicFeetPerHour => "Cubic Feet Per Hour",
CubicFeetPerMinute => "Cubic Feet Per Minute",
CentimetersPerSecond => "Centimeters Per Second",
Decibels => "Decibels",
Kilobyte => "Kilobyte",
Kilobecquerel => "Kilobecquerel",
Kilocurie => "Kilocurie",
Megagram => "Megagram",
MegagramsPerHour => "Megagrams Per Hour",
Bin => "Bin",
MetersPerMinute => "Meters Per Minute",
Milliroentgen => "Milliroentgen",
Millivolts => "Millivolts",
Seconds => "Seconds",
DegreesLovibond => "Degrees Lovibond",
Megajoule => "Megajoule",
Manmonth => "Manmonth",
PiecesPer100Grams => "Pieces per 100 Grams",
PoundsPerPoundOfProduct => "Pounds Per Pound of Product",
KilogramsPerLiterOfProduct => "Kilograms Per Liter of Product",
PoundsPerPieceOfProduct => "Pounds Per Piece of Product",
KilogramsPerKilogramOfProduct => "Kilograms Per Kilogram of Product",
KilogramsPerPieceOfProduct => "Kilograms Per Piece of Product",
PiecesPer10Pounds => "Pieces per 10 Pounds",
Proof => "Proof",
ScovilleUnits => "Scoville Units",
WaterActivity => "Water Activity",
Terabytes => "Terabytes",
SmallSpray => "Small Spray",
Bobbin => "Bobbin",
Cap => "Cap",
Centistokes => "Centistokes",
Curie => "Curie",
Code4E => "20-Pack",
Code4F => "100-Pack",
Microliter => "Microliter",
MetersPerSecond => "Meters Per Second",
MetersPerSecondPerSecond => "Meters Per Second Per Second",
Milliamperes => "Milliamperes",
Megabyte => "Megabyte",
MilligramsPerHour => "Milligrams Per Hour",
Megabecquerel => "Megabecquerel",
Microfarad => "Microfarad",
NewtonsPerMeter => "Newtons Per Meter",
OunceInch => "Ounce Inch",
OunceFoot => "Ounce Foot",
Pascal => "Pascal",
Picofarad => "Picofarad",
PoundsPerHour => "Pounds Per Hour",
CubicMeterPerHour => "Cubic Meter Per Hour",
TonPerHour => "Ton Per Hour",
KiloliterPerHour => "Kiloliter Per Hour",
Lifts => "Lifts",
BarrelsPerMinute => "Barrels per Minute",
Batch => "Batch",
GallonsPerThousand => "Gallons per Thousand",
ProofGallons => "Proof Gallons",
MmscfDay => "MMSCF/Day",
PoundsPerThousand => "Pounds per Thousand",
Pump => "Pump",
Stage => "Stage",
StandardCubicFoot => "Standard Cubic Foot",
HydraulicHorsePower => "Hydraulic Horse Power",
CountPerMinute => "Count per Minute",
SeismicLevel => "Seismic Level",
SeismicLine => "Seismic Line",
Digits => "Digits",
Strand => "Strand",
Landings => "Landings",
FlightHours => "Flight Hours",
HeatLots => "Heat Lots",
Cord => "Cord",
Duty => "Duty",
Project => "Project",
Program => "Program",
Session => "Session",
SquareKilometer => "Square Kilometer",
Tire => "Tire",
ApothecaryPound => "Apothecary Pound",
Briquet => "Briquet",
Fold => "Fold",
ApothecaryOunce => "Apothecary Ounce",
Pillow => "Pillow",
Seat => "Seat",
FamilyUnit => "Family Unit",
Code9Z => "United States Pharmacopoeia (USP) Unit",
Group => "Group",
Outfit => "Outfit",
Packet => "Packet",
Ration => "Ration",
Shot => "Shot",
Stick => "Stick",
Code16 => "115 Kilogram Drum",
Code17 => "100 Pound Drum",
Code18 => "55 Gallon Drum",
TankTruck => "Tank Truck",
Code20 => "20 Foot Container",
Code21 => "40 Foot Container",
DeciliterPerGram => "Deciliter per Gram",
GramsPerCubicCentimeter => "Grams per Cubic Centimeter",
TheoreticalPounds => "Theoretical Pounds",
GramsPerSquareCentimeter => "Grams per Square Centimeter",
ActualTons => "Actual Tons",
TheoreticalTons => "Theoretical Tons",
KilogramsPerSquareMeter => "Kilograms per Square Meter",
PoundsPer1000SquareFeet => "Pounds per 1000 Square Feet",
HorsepowerDaysPerAirDryMetricTons => {
"Horsepower Days per Air Dry Metric Tons"
}
Catchweight => "Catchweight",
KilogramsPerAirDryMetricTons => "Kilograms per Air Dry Metric Tons",
KilopascalSquareMetersPerGram => "Kilopascal Square Meters per Gram",
KilopascalsPerMillimeter => "Kilopascals per Millimeter",
MillilitersPerSquareCentimeterSecond => {
"Milliliters per Square Centimeter Second"
}
CubicFeetPerMinutePerSquareFoot => "Cubic Feet per Minute per Square Foot",
OuncesPerSquareFoot => "Ounces per Square Foot",
OuncesPerSquareFootPer001Inch => "Ounces per Square Foot per 0.01 Inch",
BasisPoints => "Basis Points",
MilliliterPerSecond => "Milliliter per Second",
MilliliterPerMinute => "Milliliter per Minute",
Code42 => "Centesimal Hahnemannian Dilution (CH)",
SuperBulkBag => "Super Bulk Bag",
Code44 => "500 Kilogram Bulk Bag",
Code45 => "300 Kilogram Bulk Bag",
Code46 => "25 Kilogram Bulk Bag",
Code47 => "50 Pound Bag",
BulkCarLoad => "Bulk Car Load",
Code49 => "Decimal Hahnemannian Dilution (DH)",
ActualKilograms => "Actual Kilograms",
ActualTonnes => "Actual Tonnes",
Credits => "Credits",
TheoreticalKilograms => "Theoretical Kilograms",
TheoreticalTonnes => "Theoretical Tonnes",
Code55 => "Korsakovian (K)",
Sitas => "Sitas",
Mesh => "Mesh",
NetKilograms => "Net Kilograms",
PartsPerMillion => "Parts Per Million",
PercentWeight => "Percent Weight",
PartsPerBillion => "Parts Per Billion",
PercentPer1000Hours => "Percent Per 1000 Hours",
FailureRateInTime => "Failure Rate In Time",
PoundsPerSquareInchGauge => "Pounds Per Square Inch Gauge",
Coulomb => "Coulomb",
Oersteds => "Oersteds",
Siemens => "Siemens",
Ampere => "Ampere",
TestSpecificScale => "Test Specific Scale",
Volt => "Volt",
VoltAmperePerPound => "Volt-Ampere Per Pound",
WattsPerPound => "Watts Per Pound",
AmpereTurnPerCentimeter => "Ampere Turn Per Centimeter",
MilliPascals => "Milli Pascals",
Code75 => "Fifty Millesimal (LM)",
Gauss => "Gauss",
Mil => "Mil",
Kilogauss => "Kilogauss",
ElectronVolt => "Electron Volt",
PoundsPerSquareInchAbsolute => "Pounds Per Square Inch Absolute",
Henry => "Henry",
Ohm => "Ohm",
Farad => "Farad",
Code84 => "Kilo Pounds Per Square Inch (KSI)",
FootPounds => "Foot Pounds",
Joules => "Joules",
PoundsPerCubicFoot => "Pounds per Cubic Foot",
Poise => "Poise",
SayboldUniversalSecond => "Saybold Universal Second",
Stokes => "Stokes",
CaloriesPerCubicCentimeter => "Calories per Cubic Centimeter",
CaloriesPerGram => "Calories per Gram",
CurlUnits => "Curl Units",
Code95 => "20,000 Gallon Tankcar",
Code96 => "10,000 Gallon Tankcar",
Code97 => "10 Kilogram Drum",
Code98 => "15 Kilogram Drum",
Watt => "Watt",
Absorbance => "Absorbance",
BloomUnits => "Bloom Units",
BrabenderUnits => "Brabender Units",
CountPerOunce => "Count per Ounce",
CountPerPound => "Count per Pound",
CountPerPouch => "Count per Pouch",
MilligramsPerGram => "Milligrams per Gram",
DollarsPerHours => "Dollars per Hours",
Millipoises => "Millipoises",
Ball => "Ball",
BulkPack => "Bulk Pack",
Acre => "Acre",
Bytes => "Bytes",
AmperesPerMeter => "Amperes per Meter",
Centigram => "Centigram",
Angstrom => "Angstrom",
AdditionalMinutes => "Additional Minutes",
AverageMinutesPerCall => "Average Minutes Per Call",
Cop => "Cop",
Fathom => "Fathom",
AccessLines => "Access Lines",
Ampoule => "Ampoule",
MinutesOrMessages => "Minutes or Messages",
AmpereTurn => "Ampere-turn",
AluminumPoundsOnly => "Aluminum Pounds Only",
CodeAQ => "Anti-hemophilic Factor (AHF) Units",
Suppository => "Suppository",
Assortment => "Assortment",
Atmosphere => "Atmosphere",
OcularInsertSystem => "Ocular Insert System",
Capsule => "Capsule",
PowderFilledVials => "Powder-Filled Vials",
Twenty => "Twenty",
Assembly => "Assembly",
CodeAZ => "British Thermal Units (BTUs) per Pound",
CodeB0 => "British Thermal Units (BTUs) per Cubic Foot",
BarrelsPerDay => "Barrels per Day",
Bunks => "Bunks",
BattingPound => "Batting Pound",
CodeB4 => "Barrel, Imperial",
Billet => "Billet",
Bun => "Bun",
Cycles => "Cycles",
Board => "Board",
Batt => "Batt",
Bale => "Bale",
BaseBox => "Base Box",
Bucket => "Bucket",
Bundle => "Bundle",
Beam => "Beam",
BoardFeet => "Board Feet",
Bag => "Bag",
Brush => "Brush",
Bar => "Bar",
Band => "Band",
Book => "Book",
Block => "Block",
Bolt => "Bolt",
Bulk => "Bulk",
Bottle => "Bottle",
CodeBP => "100 Board Feet",
BrakeHorsePower => "Brake horse power",
Barrel => "Barrel",
Basket => "Basket",
Belt => "Belt",
Bushel => "Bushel",
CodeBV => "Bushel, Dry Imperial",
BaseWeight => "Base Weight",
Box => "Box",
CodeBY => "British Thermal Unit (BTU)",
MillionBtUsDekatherm => "Million BTUs/Dekatherm",
Calls => "Calls",
CodeC1 => "Composite Product Pounds (Total Weight)",
Carset => "Carset",
Centiliter => "Centiliter",
Carload => "Carload",
Cost => "Cost",
Cell => "Cell",
CodeC7 => "Centipoise (CPS)",
CubicDecimeter => "Cubic Decimeter",
CoilGroup => "Coil Group",
Case => "Case",
Carboy => "Carboy",
CubicCentimeter => "Cubic Centimeter",
Carat => "Carat",
CodeCE => "Centigrade, Celsius",
CubicFeet => "Cubic Feet",
Card => "Card",
Container => "Container",
CubicInches => "Cubic Inches",
Cone => "Cone",
Connector => "Connector",
Cylinder => "Cylinder",
Centimeter => "Centimeter",
Can => "Can",
CodeCO => "Cubic Meters (Net)",
Crate => "Crate",
Cartridge => "Cartridge",
CubicMeter => "Cubic Meter",
Cassette => "Cassette",
Carton => "Carton",
Cup => "Cup",
Cover => "Cover",
CodeCW => "Hundred Pounds (CWT)",
Coil => "Coil",
CubicYard => "Cubic Yard",
Combo => "Combo",
MexicanPeso => "Mexican Peso",
CodeD1 => "Dollars, Canadian",
Shares => "Shares",
SquareDecimeter => "Square Decimeter",
DegreesBrix => "Degrees Brix",
KilogramPerSquareCentimeter => "Kilogram Per Square Centimeter",
DegreesLintner => "Degrees Lintner",
DraizeScore => "Draize Score",
DynePerSquareCentimeter => "Dyne per Square Centimeter",
Days => "Days",
DryPounds => "Dry Pounds",
CodeDC => "Disk (Disc)",
Degree => "Degree",
Deal => "Deal",
Dram => "Dram",
Decigram => "Decigram",
Miles => "Miles",
Dispenser => "Dispenser",
Decagram => "Decagram",
Kilometers => "Kilometers",
Deciliter => "Deciliter",
Decimeter => "Decimeter",
DeciNewtonMeter => "Deci Newton-Meter",
CodeDO => "Dollars, U.S.",
DozenPair => "Dozen Pair",
DataRecords => "Data Records",
Drum => "Drum",
Display => "Display",
DryTon => "Dry Ton",
Dyne => "Dyne",
DisplayShipper => "Display Shipper",
CalendarDays => "Calendar Days",
DynesPerCentimeter => "Dynes per Centimeter",
DirectoryBooks => "Directory Books",
Dozen => "Dozen",
Hectometer => "Hectometer",
CodeE2 => "Daily Value (DV)",
CodeE3 => "Inches, Fraction--Average",
CodeE4 => "Inches, Fraction--Minimum",
CodeE5 => "Inches, Fraction--Actual",
CodeE7 => "Inches, Decimal--Average",
CodeE8 => "Inches, Decimal--Actual",
CodeE9 => "English, (Feet, Inches)",
Each => "Each",
ElectronicMailBoxes => "Electronic Mail Boxes",
EachPerMonth => "Each per Month",
CodeED => "Inches, Decimal--Nominal",
Employees => "Employees",
CodeEF => "Inches, Fraction-Nominal",
DoubleTimeHours => "Double-time Hours",
Knots => "Knots",
Locations => "Locations",
MixedModule => "Mixed Module",
Multipack => "Multipack",
CodeEM => "Inches, Decimal-Minimum",
ElevenPack => "Eleven pack",
EquivalentGallons => "Equivalent Gallons",
PrepackAssortment => "Prepack Assortment",
Order => "Order",
Envelope => "Envelope",
CodeEX => "Feet, Inches and Fraction",
CodeEY => "Feet, Inches and Decimal",
FeetAndDecimal => "Feet and Decimal",
InternationalUnitsPerGram => "International Units per Gram",
ThousandCubicFeetPerDay => "Thousand Cubic Feet Per Day",
InternationalUnit => "International Unit",
Equivalent => "Equivalent",
Minim => "Minim",
Mol => "MOL",
PricePerShare => "Price Per Share",
FibersPerCubicCentimeterOfAir => "Fibers per Cubic Centimeter of Air",
Fahrenheit => "Fahrenheit",
Fields => "Fields",
BlisterPak => "Blister Pak",
MillionParticlesPerCubicFoot => "Million Particles per Cubic Foot",
TrackFoot => "Track Foot",
HundredCubicMeters => "Hundred Cubic Meters",
TransdermalPatch => "Transdermal Patch",
Micromolar => "Micromolar",
SizingFactor => "Sizing Factor",
Fibers => "Fibers",
FlakeTon => "Flake Ton",
MillionCubicFeet => "Million Cubic Feet",
ClamshellPackage => "Clamshell Package",
FluidOunce => "Fluid Ounce",
PoundsPerSqFt => "Pounds per Sq. Ft.",
FeetPerMinute => "Feet Per Minute",
FeetPerSecond => "Feet Per Second",
Foot => "Foot",
Furlong => "Furlong",
GramsPer100CubicInches => "Grams per 100 Cubic Inches",
CodeFZ => "Fluid Ounce (Imperial)",
GallonsCapacity => "Gallons Capacity",
USGallonsPerMinute => "U.S. Gallons Per Minute",
ImperialGallonsPerMinute => "Imperial Gallons Per Minute",
Gigabecquerel => "Gigabecquerel",
CodeG5 => "Gill (Imperial)",
Bit => "Bit",
MicroficheSheet => "Microfiche Sheet",
Gigacalories => "Gigacalories",
Gigabyte => "Gigabyte",
Gallon => "Gallon",
GallonsDay => "Gallons/Day",
GramsPer100Grams => "Grams per 100 Grams",
GrossBarrels => "Gross Barrels",
PoundsPerGallon => "Pounds per Gallon",
GramsPer100Centimeters => "Grams per 100 Centimeters",
CodeGG => "Great Gross (Dozen Gross)",
HalfGallon => "Half Gallon",
ImperialGallons => "Imperial Gallons",
GramsPerMilliliter => "Grams per Milliliter",
GramsPerKilogram => "Grams per Kilogram",
GramsPerLiter => "Grams per Liter",
GramsPerSqMeter => "Grams per Sq. Meter",
GrossGallons => "Gross Gallons",
MilligramsPerSquareMeter => "Milligrams per Square Meter",
MilligramsPerCubicMeter => "Milligrams per Cubic Meter",
MicrogramsPerCubicMeter => "Micrograms per Cubic Meter",
Gram => "Gram",
Gross => "Gross",
GrossKilogram => "Gross Kilogram",
GaussPerOersteds => "Gauss per Oersteds",
Gigajoules => "Gigajoules",
GallonsPerThousandCubicFeet => "Gallons Per Thousand Cubic Feet",
Grain => "Grain",
GrossYard => "Gross Yard",
GageSystems => "Gage Systems",
HalfPagesElectronic => "Half Pages - Electronic",
HalfLiter => "Half Liter",
CodeH3 => "18-Pack",
Hectoliter => "Hectoliter",
CodeH5 => "22-Pack",
CodeH6 => "30-Pack",
CodeH7 => "38-Pack",
CodeH8 => "62-Pack",
CodeH9 => "75-Pack",
Hank => "Hank",
HundredBoxes => "Hundred Boxes",
HundredCount => "Hundred Count",
HalfDozen => "Half Dozen",
HundredthOfACarat => "Hundredth of a Carat",
HundredFeet => "Hundred Feet",
Hectogram => "Hectogram",
HundredCubicFeet => "Hundred Cubic Feet",
HundredSheets => "Hundred Sheets",
Horsepower => "Horsepower",
HundredKilograms => "Hundred Kilograms",
HundredFeetLinear => "Hundred Feet - Linear",
MilesPerHour => "Miles Per Hour",
MillimetersOfMercury => "Millimeters of Mercury",
HundredTroyOunces => "Hundred Troy Ounces",
MillimeterH20 => "Millimeter H20",
Hectare => "Hectare",
Hours => "Hours",
HundredSquareFeet => "Hundred Square Feet",
HalfHour => "Half Hour",
Hundred => "Hundred",
CodeHV => "Hundred Weight (Short)",
CodeHW => "Hundred Weight (Long)",
HospitalBeds => "Hospital Beds",
HundredYards => "Hundred Yards",
Hertz => "Hertz",
CodeI1 => "Persons, Capacity",
Pellet => "Pellet",
InchPound => "Inch Pound",
CodeIB => "Inches Per Second (Vibration Velocity)",
CountsPerInch => "Counts per Inch",
Person => "Person",
InchesOfWater => "Inches of Water",
InnerPackage => "Inner Package",
Inhaler => "Inhaler",
ColumnInches => "Column-Inches",
CodeIK => "Peaks per Inch (PPI)",
InchesPerMinute => "Inches per Minute",
Impressions => "Impressions",
Inch => "Inch",
InsurancePolicy => "Insurance Policy",
Stops => "Stops",
CountsPerCentimeter => "Counts per Centimeter",
CodeIU => "Inches Per Second (Linear Speed)",
CodeIV => "Inches Per Second Per Second (Acceleration)",
CodeIW => "Inches Per Second Per Second (Vibration Acceleration)",
CodeJ1 => "80-Pack",
JoulePerKilogram => "Joule Per Kilogram",
CodeJ3 => "81-Pack",
CodeJ4 => "82-Pack",
CodeJ5 => "84-Pack",
CodeJ6 => "85-Pack",
CodeJ7 => "96-Pack",
CodeJ8 => "5000-Pack",
LeftUnit => "Left Unit",
Job => "Job",
Jumbo => "Jumbo",
Caplet => "Caplet",
JoulePerKelvin => "Joule Per Kelvin",
JoulePerGram => "Joule per Gram",
MegaJoulePerKilogram => "Mega Joule per Kilogram",
Refill => "Refill",
MegajouleCubicMeter => "Megajoule/Cubic Meter",
Pan => "Pan",
Joint => "Joint",
Prepack => "Prepack",
Jar => "Jar",
Use => "Use",
Tin => "Tin",
Jug => "Jug",
Ovule => "Ovule",
Exposure => "Exposure",
KilovoltPotential => "Kilovolt Potential",
KilowattDemand => "Kilowatt Demand",
KilovoltAmperesReactiveDemand => "Kilovolt Amperes Reactive Demand",
KilovoltAmperesReactiveHour => "Kilovolt Amperes Reactive Hour",
KilovoltAmperes => "Kilovolt Amperes",
KilovoltAmperesReactive => "Kilovolt Amperes Reactive",
Kiloliter => "Kiloliter",
Kilowatt => "Kilowatt",
Kilovolt => "Kilovolt",
CodeK9 => "Kilograms per Millimeter Squared (KG/MM2)",
Cake => "Cake",
Kilocharacters => "Kilocharacters",
KilogramsPerCubicMeter => "Kilograms per Cubic Meter",
KilogramsDecimal => "Kilograms Decimal",
Keg => "Keg",
Kilopackets => "Kilopackets",
Kilogram => "Kilogram",
KilowattHour => "Kilowatt Hour",
KilogramsMillimeterWidth => "Kilograms/Millimeter Width",
Kilosegments => "Kilosegments",
CodeKK => "100 Kilograms",
KilogramsMeter => "Kilograms/Meter",
CodeKM => "Kilograms per Square Meter, Kilograms, Decimal",
Kilocalorie => "Kilocalorie",
MillequivalenceCausticPotashPerGramOfProduct => {
"Millequivalence Caustic Potash per Gram of Product"
}
KilometersPerHour => "Kilometers Per Hour",
Kilopascal => "Kilopascal",
Kiloroentgen => "Kiloroentgen",
Kit => "Kit",
Task => "Task",
Kelvin => "Kelvin",
KilogramsPerMillimeter => "Kilograms per Millimeter",
MillilitersPerKilogram => "Milliliters per Kilogram",
RightUnit => "Right Unit",
LitersPerMinute => "Liters Per Minute",
LitersAt15DegreesCelsius => "Liters at 15 Degrees Celsius",
PoundsPerCubicInch => "Pounds Per Cubic Inch",
Pound => "Pound",
LinearCentimeter => "Linear Centimeter",
Lite => "Lite",
LinearFoot => "Linear Foot",
LongTon => "Long Ton",
LaborHours => "Labor Hours",
LinearInch => "Linear Inch",
LargeSpray => "Large Spray",
Link => "Link",
Lifetime => "Lifetime",
LinearMeter => "Linear Meter",
Length => "Length",
Lot => "Lot",
LiquidPounds => "Liquid Pounds",
LitersPerDay => "Liters Per Day",
CodeLR => "Layer(s)",
LumpSum => "Lump Sum",
Liter => "Liter",
OrderLine => "Order Line",
LinearYardsPerPound => "Linear Yards Per Pound",
LinearYard => "Linear Yard",
MagneticTapes => "Magnetic Tapes",
MilligramsPerLiter => "Milligrams per Liter",
MillimeterActual => "Millimeter-Actual",
Mat => "Mat",
MonetaryValue => "Monetary Value",
Microcurie => "Microcurie",
Millibar => "Millibar",
MicroInch => "Micro Inch",
MegaPascals => "Mega Pascals",
MillionBritishThermalUnitsPerOneThousandCubicFeet => {
"Million British Thermal Units per One Thousand Cubic Feet"
}
MachineUnit => "Machine/Unit",
MillimeterNominal => "Millimeter-Nominal",
Microgram => "Microgram",
AirDryMetricTon => "Air Dry Metric Ton",
Milligram => "Milligram",
MilligramPerSqFtPerSide => "Milligram per Sq. Ft. per Side",
MetricGrossTon => "Metric Gross Ton",
CodeMH => "Microns (Micrometers)",
Metric => "Metric",
Minutes => "Minutes",
MilligramsPerSquareInch => "Milligrams Per Square Inch",
Milliliter => "Milliliter",
Millimeter => "Millimeter",
MetricNetTon => "Metric Net Ton",
Months => "Months",
MetricTon => "Metric Ton",
CodeMQ => "1000 Meters",
Meter => "Meter",
SquareMillimeter => "Square Millimeter",
MetricLongTon => "Metric Long Ton",
Millicurie => "Millicurie",
NumberOfMults => "Number of Mults",
MetricTonKilograms => "Metric Ton Kilograms",
Mixed => "Mixed",
MillimeterAverage => "Millimeter-Average",
MillimeterMinimum => "Millimeter-minimum",
PenCalories => "Pen Calories",
NumberOfLines => "Number of Lines",
PrintPoint => "Print Point",
CodeN4 => "Pen Grams (Protein)",
Megahertz => "Megahertz",
Parts => "Parts",
CartridgeNeedle => "Cartridge Needle",
MilligramsPerKilogram => "Milligrams per Kilogram",
Barge => "Barge",
Car => "Car",
NetBarrels => "Net Barrels",
NetLiters => "Net Liters",
Messages => "Messages",
NetGallons => "Net Gallons",
MessageHours => "Message Hours",
NetImperialGallons => "Net Imperial Gallons",
NumberOfScreens => "Number of Screens",
Nights => "Nights",
Load => "Load",
NauticalMile => "Nautical Mile",
Train => "Train",
Mho => "Mho",
MicroMho => "Micro Mho",
ShortTon => "Short Ton",
Trailer => "Trailer",
NewtonMeter => "Newton-Meter",
Vehicle => "Vehicle",
Newton => "Newton",
PartsPerThousand => "Parts Per Thousand",
PoundsPerAirDryMetricTon => "Pounds Per Air-Dry Metric Ton",
ThousandGallonsPerDay => "Thousand Gallons Per Day",
CubicMillimeter => "Cubic Millimeter",
Panel => "Panel",
Outlet => "Outlet",
Billboard => "Billboard",
ApothecaryGrain => "Apothecary Grain",
OuncesPerSquareYard => "Ounces per Square Yard",
TwoPack => "Two pack",
OvertimeHours => "Overtime Hours",
OperatingUnit => "Operating Unit",
OunceAv => "Ounce - Av",
PagesElectronic => "Pages - Electronic",
Percent => "Percent",
PoundsPerFoot => "Pounds per Foot",
ThreePack => "Three pack",
FourPack => "Four-pack",
FivePack => "Five-pack",
SixPack => "Six pack",
SevenPack => "Seven pack",
EightPack => "Eight-pack",
NinePack => "Nine pack",
Pail => "Pail",
PairInches => "Pair Inches",
Piece => "Piece",
Pad => "Pad",
PoundsEquivalent => "Pounds Equivalent",
CodePF => "Pallet (Lift)",
PoundsGross => "Pounds Gross",
CodePH => "Pack (PAK)",
Pitch => "Pitch",
CodePJ => "Pounds, Decimal - Pounds per Square Foot - Pound Gage",
Package => "Package",
PalletUnitLoad => "Pallet/Unit Load",
PoundsPercentage => "Pounds-Percentage",
PoundsNet => "Pounds Net",
PoundsPerInchOfLength => "Pounds per Inch of Length",
Plate => "Plate",
PagesPerInch => "Pages per Inch",
Pair => "Pair",
PoundsPerSqInch => "Pounds per Sq. Inch",
Pint => "Pint",
MassPounds => "Mass Pounds",
HalfPint => "Half Pint",
PoundsPerInchOfWidth => "Pounds per Inch of Width",
CodePX => "Pint, Imperial",
CodePY => "Peck, Dry U.S.",
CodePZ => "Peck, Dry Imperial",
CodeQ1 => "Quarter (Time)",
PintUSDry => "Pint U.S. Dry",
Meal => "Meal",
Fifty => "Fifty",
TwentyFive => "Twenty-Five",
ThirtySix => "Thirty-Six",
TwentyFour => "Twenty-Four",
Five => "Five",
PagesFacsimile => "Pages - Facsimile",
PagesHardcopy => "Pages - Hardcopy",
Channel => "Channel",
QuarterDozen => "Quarter Dozen",
Photographs => "Photographs",
Quarter => "Quarter",
QuarterHours => "Quarter Hours",
QuarterKilogram => "Quarter Kilogram",
Quire => "Quire",
CodeQS => "Quart, Dry U.S.",
Quart => "Quart",
CodeQU => "Quart, Imperial",
Pica => "Pica",
Becquerel => "Becquerel",
RevolutionsPerMinute => "Revolutions Per Minute",
Calorie => "Calorie",
ThousandsOfDollars => "Thousands of Dollars",
MillionsOfDollars => "Millions of Dollars",
BillionsOfDollars => "Billions of Dollars",
CodeR8 => "Roentgen Equivalent in Man (REM)",
ThousandCubicMeters => "Thousand Cubic Meters",
Rack => "Rack",
Radian => "Radian",
CodeRC => "Rod (area) - 16.25 Square Yards",
CodeRD => "Rod (length) - 5.5 Yards",
Reel => "Reel",
Ring => "Ring",
RunningOrOperatingHours => "Running or Operating Hours",
RetinolActivityEquivalents => "Retinol Activity Equivalents",
RollMetricMeasure => "Roll-Metric Measure",
Roll => "Roll",
Ream => "Ream",
ReamMetricMeasure => "Ream-Metric Measure",
Round => "Round",
PoundsPerReam => "Pounds per Ream",
Resets => "Resets",
RevenueTonMiles => "Revenue Ton Miles",
Run => "Run",
RetinolEquivalents => "Retinol Equivalents",
ThousandRounds => "Thousand Rounds",
Semester => "Semester",
Trimester => "Trimester",
SquareFeetPerSecond => "Square Feet per Second",
SquareMetersPerSecond => "Square Meters per Second",
SixtyFourthsOfAnInch => "Sixty-fourths of an Inch",
Sessions => "Sessions",
StorageUnits => "Storage Units",
CodeS8 => "Standard Advertising Units (SAUs)",
SlipSheet => "Slip Sheet",
Sandwich => "Sandwich",
SquareMile => "Square Mile",
SquareCentimeter => "Square Centimeter",
SolidPounds => "Solid Pounds",
Section => "Section",
SquareFoot => "Square Foot",
Segment => "Segment",
Sheet => "Sheet",
SquareInch => "Square Inch",
Sack => "Sack",
SplitTanktruck => "Split Tanktruck",
Sleeve => "Sleeve",
SquareMeter => "Square Meter",
SquareRod => "Square Rod",
Spool => "Spool",
ShelfPackage => "Shelf Package",
Square => "Square",
Strip => "Strip",
SheetMetricMeasure => "Sheet-Metric Measure",
Set => "Set",
SingleUnit => "Single Unit",
Skid => "Skid",
Skein => "Skein",
Shipment => "Shipment",
SquareYard => "Square Yard",
Syringe => "Syringe",
TelecommunicationsLinesInService => "Telecommunications Lines in Service",
ThousandPoundsGross => "Thousand pounds gross",
ThousandthsOfAnInch => "Thousandths of an Inch",
ThousandPieces => "Thousand Pieces",
ThousandBags => "Thousand Bags",
ThousandCasings => "Thousand Casings",
ThousandGallons => "Thousand Gallons",
ThousandImpressions => "Thousand Impressions",
ThousandLinearInches => "Thousand Linear Inches",
ThousandKilowattHoursMegawattHour => "Thousand Kilowatt Hours/Megawatt-Hour",
TenthCubicFoot => "Tenth Cubic Foot",
Tube => "Tube",
Truckload => "Truckload",
Therms => "Therms",
Tote => "Tote",
TenSquareYards => "Ten Square Yards",
GrossTon => "Gross Ton",
Thousand => "Thousand",
ThousandSquareInches => "Thousand Square Inches",
ThousandSqCentimeters => "Thousand Sq. Centimeters",
Tank => "Tank",
CodeTL => "Thousand Feet (Linear)",
CodeTM => "Thousand Feet (Board)",
CodeTN => "Net Ton (2,000 LB).",
TroyOunce => "Troy Ounce",
TenPack => "Ten-pack",
ThousandFeet => "Thousand Feet",
TenSquareFeet => "Ten Square Feet",
ThousandSquareFeet => "Thousand Square Feet",
ThousandLinearMeters => "Thousand Linear Meters",
ThousandLinearYards => "Thousand Linear Yards",
ThousandKilograms => "Thousand Kilograms",
ThousandSheets => "Thousand Sheets",
TroyPound => "Troy Pound",
Tray => "Tray",
ThousandCubicFeet => "Thousand Cubic Feet",
Treatments => "Treatments",
Tablet => "Tablet",
Ten => "Ten",
TwoHundredFifty => "Two Hundred Fifty",
USGallonsAt60DegreesFahrenheit => "U.S Gallons at 60 Degrees Fahrenheit",
Torr => "Torr",
TelecommunicationsLinesInServiceAverage => {
"Telecommunications Lines in Service - Average"
}
TelecommunicationsPorts => "Telecommunications Ports",
TenthMinutes => "Tenth Minutes",
TenthHours => "Tenth Hours",
UsagePerTelecommunicationsLineAverage => {
"Usage per Telecommunications Line - Average"
}
TenThousandYards => "Ten Thousand Yards",
Unitless => "Unitless",
MillionUnits => "Million Units",
Unit => "Unit",
Troche => "Troche",
Wafer => "Wafer",
Application => "Application",
DosageForm => "Dosage Form",
Inhalation => "Inhalation",
Lozenge => "Lozenge",
PercentTopicalOnly => "Percent Topical Only",
Milliequivalent => "Milliequivalent",
CodeUX => "Dram (Minim)",
FiftySquareFeet => "Fifty Square Feet",
FiftyCount => "Fifty Count",
Flat => "Flat",
Pouch => "Pouch",
Setpack => "Setpack",
CodeV7 => "International Bittering Units (IBU)",
VoltAmperePerKilogram => "Volt-ampere per Kilogram",
FiveHundred => "Five Hundred",
Vial => "Vial",
Volume => "Volume",
PercentVolume => "Percent Volume",
VoltAmpereReactive => "Volt-ampere-reactive",
Visit => "Visit",
CodeVV => "Percent volume per volume (v/v)",
WetKilo => "Wet Kilo",
ThimbleFull => "Thimble Full",
WattsPerKilogram => "Watts per Kilogram",
WetPound => "Wet Pound",
WorkDays => "Work Days",
WetTon => "Wet Ton",
WineGallon => "Wine Gallon",
Wheel => "Wheel",
WeightPerSquareInch => "Weight per Square Inch",
Week => "Week",
WorkingMonths => "Working Months",
Pennyweight => "Pennyweight",
Wrap => "Wrap",
CodeWV => "Percent weight per volume (w/v)",
MillilitersOfWater => "Milliliters of Water",
CodeWX => "Percent weight per weight (w/w)",
CodeX1 => "Chains (Land Survey)",
Bunch => "Bunch",
Clove => "Clove",
Drop => "Drop",
Head => "Head",
Heart => "Heart",
Leaf => "Leaf",
Loaf => "Loaf",
Portion => "Portion",
BaseBoxPerPound => "Base Box per Pound",
Slice => "Slice",
Tablespoon => "Tablespoon",
Teaspoon => "Teaspoon",
Tub => "Tub",
TransportLoad => "Transport Load",
Yard => "Yard",
CodeYL => "100 Lineal Yards",
Years => "Years",
TenYards => "Ten Yards",
LiftVan => "Lift Van",
Chest => "Chest",
Cask => "Cask",
Hogshead => "Hogshead",
Lug => "Lug",
ConferencePoints => "Conference Points",
CodeZ7 => "13-pack Marketing",
NewspaperAgateLine => "Newspaper Agate Line",
CodeZ9 => "14-pack Marketing",
Bimonthly => "Bimonthly",
Biweekly => "Biweekly",
Semiannual => "Semiannual",
Kilojoule => "Kilojoule",
Ping => "Ping",
CodeZF => "16-pack Marketing",
CodeZG => "48-pack Component Parts",
CodeZH => "51-pack Component Parts",
CodeZI => "52-pack Component Parts",
CodeZJ => "60-pack Gift Packs",
CodeZK => "72-pack Gift Packs",
CodeZL => "83-pack Gift Packs",
CodeZM => "10-pack Marketing",
CodeZN => "120-pack Promotional",
CodeZO => "150-pack Component Parts",
Page => "Page",
CodeZQ => "200-pack Component Parts",
CodeZR => "1000-pack Component Parts",
CodeZS => "15-Pack",
PerAnnum => "Per Annum",
CodeZU => "Mother Tincture (TM)",
Nanogram => "Nanogram",
CodeZW => "Barrel, Dry",
CodeZX => "Barrel, Liquid",
ApothecaryScruple => "Apothecary Scruple",
MutuallyDefined => "Mutually Defined",
}
}
fn from_description(description: &str) -> Option<UnitOrBasisForMeasurementCode> {
{
use UnitOrBasisForMeasurementCode::*;
match description {
"Actual Pounds" => Some(ActualPounds),
"Car Mile" => Some(CarMile),
"Car Count" => Some(CarCount),
"Locomotive Count" => Some(LocomotiveCount),
"Caboose Count" => Some(CabooseCount),
"Empty Car" => Some(EmptyCar),
"Train Mile" => Some(TrainMile),
"Fuel Usage (Gallons)" => Some(Code1G),
"Caboose Mile" => Some(CabooseMile),
"Fixed Rate" => Some(FixedRate),
"Ton Miles" => Some(TonMiles),
"Locomotive Mile" => Some(LocomotiveMile),
"Total Car Count" => Some(TotalCarCount),
"Total Car Mile" => Some(TotalCarMile),
"Count" => Some(Count),
"Season" => Some(Season),
"Tank Car" => Some(TankCar),
"Frames" => Some(Frames),
"Transactions" => Some(Transactions),
"Millimole" => Some(Millimole),
"Terabecquerel" => Some(Terabecquerel),
"Dose" => Some(Dose),
"Slab" => Some(Slab),
"Quarter Mile" => Some(QuarterMile),
"Base Unit" => Some(BaseUnit),
"Statute Mile" => Some(StatuteMile),
"Radians Per Second" => Some(RadiansPerSecond),
"Radians Per Second Squared" => Some(RadiansPerSecondSquared),
"Roentgen" => Some(Roentgen),
"Ship Set" => Some(ShipSet),
"Volts Per Meter" => Some(VoltsPerMeter),
"Volts (Alternating Current)" => Some(Code2G),
"Volts (Direct Current)" => Some(Code2H),
"British Thermal Units (BTUs) Per Hour" => Some(Code2I),
"Cubic Centimeters Per Second" => Some(CubicCentimetersPerSecond),
"Cubic Feet Per Hour" => Some(CubicFeetPerHour),
"Cubic Feet Per Minute" => Some(CubicFeetPerMinute),
"Centimeters Per Second" => Some(CentimetersPerSecond),
"Decibels" => Some(Decibels),
"Kilobyte" => Some(Kilobyte),
"Kilobecquerel" => Some(Kilobecquerel),
"Kilocurie" => Some(Kilocurie),
"Megagram" => Some(Megagram),
"Megagrams Per Hour" => Some(MegagramsPerHour),
"Bin" => Some(Bin),
"Meters Per Minute" => Some(MetersPerMinute),
"Milliroentgen" => Some(Milliroentgen),
"Millivolts" => Some(Millivolts),
"Seconds" => Some(Seconds),
"Degrees Lovibond" => Some(DegreesLovibond),
"Megajoule" => Some(Megajoule),
"Manmonth" => Some(Manmonth),
"Pieces per 100 Grams" => Some(PiecesPer100Grams),
"Pounds Per Pound of Product" => Some(PoundsPerPoundOfProduct),
"Kilograms Per Liter of Product" => Some(KilogramsPerLiterOfProduct),
"Pounds Per Piece of Product" => Some(PoundsPerPieceOfProduct),
"Kilograms Per Kilogram of Product" => {
Some(KilogramsPerKilogramOfProduct)
}
"Kilograms Per Piece of Product" => Some(KilogramsPerPieceOfProduct),
"Pieces per 10 Pounds" => Some(PiecesPer10Pounds),
"Proof" => Some(Proof),
"Scoville Units" => Some(ScovilleUnits),
"Water Activity" => Some(WaterActivity),
"Terabytes" => Some(Terabytes),
"Small Spray" => Some(SmallSpray),
"Bobbin" => Some(Bobbin),
"Cap" => Some(Cap),
"Centistokes" => Some(Centistokes),
"Curie" => Some(Curie),
"20-Pack" => Some(Code4E),
"100-Pack" => Some(Code4F),
"Microliter" => Some(Microliter),
"Meters Per Second" => Some(MetersPerSecond),
"Meters Per Second Per Second" => Some(MetersPerSecondPerSecond),
"Milliamperes" => Some(Milliamperes),
"Megabyte" => Some(Megabyte),
"Milligrams Per Hour" => Some(MilligramsPerHour),
"Megabecquerel" => Some(Megabecquerel),
"Microfarad" => Some(Microfarad),
"Newtons Per Meter" => Some(NewtonsPerMeter),
"Ounce Inch" => Some(OunceInch),
"Ounce Foot" => Some(OunceFoot),
"Pascal" => Some(Pascal),
"Picofarad" => Some(Picofarad),
"Pounds Per Hour" => Some(PoundsPerHour),
"Cubic Meter Per Hour" => Some(CubicMeterPerHour),
"Ton Per Hour" => Some(TonPerHour),
"Kiloliter Per Hour" => Some(KiloliterPerHour),
"Lifts" => Some(Lifts),
"Barrels per Minute" => Some(BarrelsPerMinute),
"Batch" => Some(Batch),
"Gallons per Thousand" => Some(GallonsPerThousand),
"Proof Gallons" => Some(ProofGallons),
"MMSCF/Day" => Some(MmscfDay),
"Pounds per Thousand" => Some(PoundsPerThousand),
"Pump" => Some(Pump),
"Stage" => Some(Stage),
"Standard Cubic Foot" => Some(StandardCubicFoot),
"Hydraulic Horse Power" => Some(HydraulicHorsePower),
"Count per Minute" => Some(CountPerMinute),
"Seismic Level" => Some(SeismicLevel),
"Seismic Line" => Some(SeismicLine),
"Digits" => Some(Digits),
"Strand" => Some(Strand),
"Landings" => Some(Landings),
"Flight Hours" => Some(FlightHours),
"Heat Lots" => Some(HeatLots),
"Cord" => Some(Cord),
"Duty" => Some(Duty),
"Project" => Some(Project),
"Program" => Some(Program),
"Session" => Some(Session),
"Square Kilometer" => Some(SquareKilometer),
"Tire" => Some(Tire),
"Apothecary Pound" => Some(ApothecaryPound),
"Briquet" => Some(Briquet),
"Fold" => Some(Fold),
"Apothecary Ounce" => Some(ApothecaryOunce),
"Pillow" => Some(Pillow),
"Seat" => Some(Seat),
"Family Unit" => Some(FamilyUnit),
"United States Pharmacopoeia (USP) Unit" => Some(Code9Z),
"Group" => Some(Group),
"Outfit" => Some(Outfit),
"Packet" => Some(Packet),
"Ration" => Some(Ration),
"Shot" => Some(Shot),
"Stick" => Some(Stick),
"115 Kilogram Drum" => Some(Code16),
"100 Pound Drum" => Some(Code17),
"55 Gallon Drum" => Some(Code18),
"Tank Truck" => Some(TankTruck),
"20 Foot Container" => Some(Code20),
"40 Foot Container" => Some(Code21),
"Deciliter per Gram" => Some(DeciliterPerGram),
"Grams per Cubic Centimeter" => Some(GramsPerCubicCentimeter),
"Theoretical Pounds" => Some(TheoreticalPounds),
"Grams per Square Centimeter" => Some(GramsPerSquareCentimeter),
"Actual Tons" => Some(ActualTons),
"Theoretical Tons" => Some(TheoreticalTons),
"Kilograms per Square Meter" => Some(KilogramsPerSquareMeter),
"Pounds per 1000 Square Feet" => Some(PoundsPer1000SquareFeet),
"Horsepower Days per Air Dry Metric Tons" => {
Some(HorsepowerDaysPerAirDryMetricTons)
}
"Catchweight" => Some(Catchweight),
"Kilograms per Air Dry Metric Tons" => Some(KilogramsPerAirDryMetricTons),
"Kilopascal Square Meters per Gram" => {
Some(KilopascalSquareMetersPerGram)
}
"Kilopascals per Millimeter" => Some(KilopascalsPerMillimeter),
"Milliliters per Square Centimeter Second" => {
Some(MillilitersPerSquareCentimeterSecond)
}
"Cubic Feet per Minute per Square Foot" => {
Some(CubicFeetPerMinutePerSquareFoot)
}
"Ounces per Square Foot" => Some(OuncesPerSquareFoot),
"Ounces per Square Foot per 0.01 Inch" => {
Some(OuncesPerSquareFootPer001Inch)
}
"Basis Points" => Some(BasisPoints),
"Milliliter per Second" => Some(MilliliterPerSecond),
"Milliliter per Minute" => Some(MilliliterPerMinute),
"Centesimal Hahnemannian Dilution (CH)" => Some(Code42),
"Super Bulk Bag" => Some(SuperBulkBag),
"500 Kilogram Bulk Bag" => Some(Code44),
"300 Kilogram Bulk Bag" => Some(Code45),
"25 Kilogram Bulk Bag" => Some(Code46),
"50 Pound Bag" => Some(Code47),
"Bulk Car Load" => Some(BulkCarLoad),
"Decimal Hahnemannian Dilution (DH)" => Some(Code49),
"Actual Kilograms" => Some(ActualKilograms),
"Actual Tonnes" => Some(ActualTonnes),
"Credits" => Some(Credits),
"Theoretical Kilograms" => Some(TheoreticalKilograms),
"Theoretical Tonnes" => Some(TheoreticalTonnes),
"Korsakovian (K)" => Some(Code55),
"Sitas" => Some(Sitas),
"Mesh" => Some(Mesh),
"Net Kilograms" => Some(NetKilograms),
"Parts Per Million" => Some(PartsPerMillion),
"Percent Weight" => Some(PercentWeight),
"Parts Per Billion" => Some(PartsPerBillion),
"Percent Per 1000 Hours" => Some(PercentPer1000Hours),
"Failure Rate In Time" => Some(FailureRateInTime),
"Pounds Per Square Inch Gauge" => Some(PoundsPerSquareInchGauge),
"Coulomb" => Some(Coulomb),
"Oersteds" => Some(Oersteds),
"Siemens" => Some(Siemens),
"Ampere" => Some(Ampere),
"Test Specific Scale" => Some(TestSpecificScale),
"Volt" => Some(Volt),
"Volt-Ampere Per Pound" => Some(VoltAmperePerPound),
"Watts Per Pound" => Some(WattsPerPound),
"Ampere Turn Per Centimeter" => Some(AmpereTurnPerCentimeter),
"Milli Pascals" => Some(MilliPascals),
"Fifty Millesimal (LM)" => Some(Code75),
"Gauss" => Some(Gauss),
"Mil" => Some(Mil),
"Kilogauss" => Some(Kilogauss),
"Electron Volt" => Some(ElectronVolt),
"Pounds Per Square Inch Absolute" => Some(PoundsPerSquareInchAbsolute),
"Henry" => Some(Henry),
"Ohm" => Some(Ohm),
"Farad" => Some(Farad),
"Kilo Pounds Per Square Inch (KSI)" => Some(Code84),
"Foot Pounds" => Some(FootPounds),
"Joules" => Some(Joules),
"Pounds per Cubic Foot" => Some(PoundsPerCubicFoot),
"Poise" => Some(Poise),
"Saybold Universal Second" => Some(SayboldUniversalSecond),
"Stokes" => Some(Stokes),
"Calories per Cubic Centimeter" => Some(CaloriesPerCubicCentimeter),
"Calories per Gram" => Some(CaloriesPerGram),
"Curl Units" => Some(CurlUnits),
"20,000 Gallon Tankcar" => Some(Code95),
"10,000 Gallon Tankcar" => Some(Code96),
"10 Kilogram Drum" => Some(Code97),
"15 Kilogram Drum" => Some(Code98),
"Watt" => Some(Watt),
"Absorbance" => Some(Absorbance),
"Bloom Units" => Some(BloomUnits),
"Brabender Units" => Some(BrabenderUnits),
"Count per Ounce" => Some(CountPerOunce),
"Count per Pound" => Some(CountPerPound),
"Count per Pouch" => Some(CountPerPouch),
"Milligrams per Gram" => Some(MilligramsPerGram),
"Dollars per Hours" => Some(DollarsPerHours),
"Millipoises" => Some(Millipoises),
"Ball" => Some(Ball),
"Bulk Pack" => Some(BulkPack),
"Acre" => Some(Acre),
"Bytes" => Some(Bytes),
"Amperes per Meter" => Some(AmperesPerMeter),
"Centigram" => Some(Centigram),
"Angstrom" => Some(Angstrom),
"Additional Minutes" => Some(AdditionalMinutes),
"Average Minutes Per Call" => Some(AverageMinutesPerCall),
"Cop" => Some(Cop),
"Fathom" => Some(Fathom),
"Access Lines" => Some(AccessLines),
"Ampoule" => Some(Ampoule),
"Minutes or Messages" => Some(MinutesOrMessages),
"Ampere-turn" => Some(AmpereTurn),
"Aluminum Pounds Only" => Some(AluminumPoundsOnly),
"Anti-hemophilic Factor (AHF) Units" => Some(CodeAQ),
"Suppository" => Some(Suppository),
"Assortment" => Some(Assortment),
"Atmosphere" => Some(Atmosphere),
"Ocular Insert System" => Some(OcularInsertSystem),
"Capsule" => Some(Capsule),
"Powder-Filled Vials" => Some(PowderFilledVials),
"Twenty" => Some(Twenty),
"Assembly" => Some(Assembly),
"British Thermal Units (BTUs) per Pound" => Some(CodeAZ),
"British Thermal Units (BTUs) per Cubic Foot" => Some(CodeB0),
"Barrels per Day" => Some(BarrelsPerDay),
"Bunks" => Some(Bunks),
"Batting Pound" => Some(BattingPound),
"Barrel, Imperial" => Some(CodeB4),
"Billet" => Some(Billet),
"Bun" => Some(Bun),
"Cycles" => Some(Cycles),
"Board" => Some(Board),
"Batt" => Some(Batt),
"Bale" => Some(Bale),
"Base Box" => Some(BaseBox),
"Bucket" => Some(Bucket),
"Bundle" => Some(Bundle),
"Beam" => Some(Beam),
"Board Feet" => Some(BoardFeet),
"Bag" => Some(Bag),
"Brush" => Some(Brush),
"Bar" => Some(Bar),
"Band" => Some(Band),
"Book" => Some(Book),
"Block" => Some(Block),
"Bolt" => Some(Bolt),
"Bulk" => Some(Bulk),
"Bottle" => Some(Bottle),
"100 Board Feet" => Some(CodeBP),
"Brake horse power" => Some(BrakeHorsePower),
"Barrel" => Some(Barrel),
"Basket" => Some(Basket),
"Belt" => Some(Belt),
"Bushel" => Some(Bushel),
"Bushel, Dry Imperial" => Some(CodeBV),
"Base Weight" => Some(BaseWeight),
"Box" => Some(Box),
"British Thermal Unit (BTU)" => Some(CodeBY),
"Million BTUs/Dekatherm" => Some(MillionBtUsDekatherm),
"Calls" => Some(Calls),
"Composite Product Pounds (Total Weight)" => Some(CodeC1),
"Carset" => Some(Carset),
"Centiliter" => Some(Centiliter),
"Carload" => Some(Carload),
"Cost" => Some(Cost),
"Cell" => Some(Cell),
"Centipoise (CPS)" => Some(CodeC7),
"Cubic Decimeter" => Some(CubicDecimeter),
"Coil Group" => Some(CoilGroup),
"Case" => Some(Case),
"Carboy" => Some(Carboy),
"Cubic Centimeter" => Some(CubicCentimeter),
"Carat" => Some(Carat),
"Centigrade, Celsius" => Some(CodeCE),
"Cubic Feet" => Some(CubicFeet),
"Card" => Some(Card),
"Container" => Some(Container),
"Cubic Inches" => Some(CubicInches),
"Cone" => Some(Cone),
"Connector" => Some(Connector),
"Cylinder" => Some(Cylinder),
"Centimeter" => Some(Centimeter),
"Can" => Some(Can),
"Cubic Meters (Net)" => Some(CodeCO),
"Crate" => Some(Crate),
"Cartridge" => Some(Cartridge),
"Cubic Meter" => Some(CubicMeter),
"Cassette" => Some(Cassette),
"Carton" => Some(Carton),
"Cup" => Some(Cup),
"Cover" => Some(Cover),
"Hundred Pounds (CWT)" => Some(CodeCW),
"Coil" => Some(Coil),
"Cubic Yard" => Some(CubicYard),
"Combo" => Some(Combo),
"Mexican Peso" => Some(MexicanPeso),
"Dollars, Canadian" => Some(CodeD1),
"Shares" => Some(Shares),
"Square Decimeter" => Some(SquareDecimeter),
"Degrees Brix" => Some(DegreesBrix),
"Kilogram Per Square Centimeter" => Some(KilogramPerSquareCentimeter),
"Degrees Lintner" => Some(DegreesLintner),
"Draize Score" => Some(DraizeScore),
"Dyne per Square Centimeter" => Some(DynePerSquareCentimeter),
"Days" => Some(Days),
"Dry Pounds" => Some(DryPounds),
"Disk (Disc)" => Some(CodeDC),
"Degree" => Some(Degree),
"Deal" => Some(Deal),
"Dram" => Some(Dram),
"Decigram" => Some(Decigram),
"Miles" => Some(Miles),
"Dispenser" => Some(Dispenser),
"Decagram" => Some(Decagram),
"Kilometers" => Some(Kilometers),
"Deciliter" => Some(Deciliter),
"Decimeter" => Some(Decimeter),
"Deci Newton-Meter" => Some(DeciNewtonMeter),
"Dollars, U.S." => Some(CodeDO),
"Dozen Pair" => Some(DozenPair),
"Data Records" => Some(DataRecords),
"Drum" => Some(Drum),
"Display" => Some(Display),
"Dry Ton" => Some(DryTon),
"Dyne" => Some(Dyne),
"Display Shipper" => Some(DisplayShipper),
"Calendar Days" => Some(CalendarDays),
"Dynes per Centimeter" => Some(DynesPerCentimeter),
"Directory Books" => Some(DirectoryBooks),
"Dozen" => Some(Dozen),
"Hectometer" => Some(Hectometer),
"Daily Value (DV)" => Some(CodeE2),
"Inches, Fraction--Average" => Some(CodeE3),
"Inches, Fraction--Minimum" => Some(CodeE4),
"Inches, Fraction--Actual" => Some(CodeE5),
"Inches, Decimal--Average" => Some(CodeE7),
"Inches, Decimal--Actual" => Some(CodeE8),
"English, (Feet, Inches)" => Some(CodeE9),
"Each" => Some(Each),
"Electronic Mail Boxes" => Some(ElectronicMailBoxes),
"Each per Month" => Some(EachPerMonth),
"Inches, Decimal--Nominal" => Some(CodeED),
"Employees" => Some(Employees),
"Inches, Fraction-Nominal" => Some(CodeEF),
"Double-time Hours" => Some(DoubleTimeHours),
"Knots" => Some(Knots),
"Locations" => Some(Locations),
"Mixed Module" => Some(MixedModule),
"Multipack" => Some(Multipack),
"Inches, Decimal-Minimum" => Some(CodeEM),
"Eleven pack" => Some(ElevenPack),
"Equivalent Gallons" => Some(EquivalentGallons),
"Prepack Assortment" => Some(PrepackAssortment),
"Order" => Some(Order),
"Envelope" => Some(Envelope),
"Feet, Inches and Fraction" => Some(CodeEX),
"Feet, Inches and Decimal" => Some(CodeEY),
"Feet and Decimal" => Some(FeetAndDecimal),
"International Units per Gram" => Some(InternationalUnitsPerGram),
"Thousand Cubic Feet Per Day" => Some(ThousandCubicFeetPerDay),
"International Unit" => Some(InternationalUnit),
"Equivalent" => Some(Equivalent),
"Minim" => Some(Minim),
"MOL" => Some(Mol),
"Price Per Share" => Some(PricePerShare),
"Fibers per Cubic Centimeter of Air" => {
Some(FibersPerCubicCentimeterOfAir)
}
"Fahrenheit" => Some(Fahrenheit),
"Fields" => Some(Fields),
"Blister Pak" => Some(BlisterPak),
"Million Particles per Cubic Foot" => Some(MillionParticlesPerCubicFoot),
"Track Foot" => Some(TrackFoot),
"Hundred Cubic Meters" => Some(HundredCubicMeters),
"Transdermal Patch" => Some(TransdermalPatch),
"Micromolar" => Some(Micromolar),
"Sizing Factor" => Some(SizingFactor),
"Fibers" => Some(Fibers),
"Flake Ton" => Some(FlakeTon),
"Million Cubic Feet" => Some(MillionCubicFeet),
"Clamshell Package" => Some(ClamshellPackage),
"Fluid Ounce" => Some(FluidOunce),
"Pounds per Sq. Ft." => Some(PoundsPerSqFt),
"Feet Per Minute" => Some(FeetPerMinute),
"Feet Per Second" => Some(FeetPerSecond),
"Foot" => Some(Foot),
"Furlong" => Some(Furlong),
"Grams per 100 Cubic Inches" => Some(GramsPer100CubicInches),
"Fluid Ounce (Imperial)" => Some(CodeFZ),
"Gallons Capacity" => Some(GallonsCapacity),
"U.S. Gallons Per Minute" => Some(USGallonsPerMinute),
"Imperial Gallons Per Minute" => Some(ImperialGallonsPerMinute),
"Gigabecquerel" => Some(Gigabecquerel),
"Gill (Imperial)" => Some(CodeG5),
"Bit" => Some(Bit),
"Microfiche Sheet" => Some(MicroficheSheet),
"Gigacalories" => Some(Gigacalories),
"Gigabyte" => Some(Gigabyte),
"Gallon" => Some(Gallon),
"Gallons/Day" => Some(GallonsDay),
"Grams per 100 Grams" => Some(GramsPer100Grams),
"Gross Barrels" => Some(GrossBarrels),
"Pounds per Gallon" => Some(PoundsPerGallon),
"Grams per 100 Centimeters" => Some(GramsPer100Centimeters),
"Great Gross (Dozen Gross)" => Some(CodeGG),
"Half Gallon" => Some(HalfGallon),
"Imperial Gallons" => Some(ImperialGallons),
"Grams per Milliliter" => Some(GramsPerMilliliter),
"Grams per Kilogram" => Some(GramsPerKilogram),
"Grams per Liter" => Some(GramsPerLiter),
"Grams per Sq. Meter" => Some(GramsPerSqMeter),
"Gross Gallons" => Some(GrossGallons),
"Milligrams per Square Meter" => Some(MilligramsPerSquareMeter),
"Milligrams per Cubic Meter" => Some(MilligramsPerCubicMeter),
"Micrograms per Cubic Meter" => Some(MicrogramsPerCubicMeter),
"Gram" => Some(Gram),
"Gross" => Some(Gross),
"Gross Kilogram" => Some(GrossKilogram),
"Gauss per Oersteds" => Some(GaussPerOersteds),
"Gigajoules" => Some(Gigajoules),
"Gallons Per Thousand Cubic Feet" => Some(GallonsPerThousandCubicFeet),
"Grain" => Some(Grain),
"Gross Yard" => Some(GrossYard),
"Gage Systems" => Some(GageSystems),
"Half Pages - Electronic" => Some(HalfPagesElectronic),
"Half Liter" => Some(HalfLiter),
"18-Pack" => Some(CodeH3),
"Hectoliter" => Some(Hectoliter),
"22-Pack" => Some(CodeH5),
"30-Pack" => Some(CodeH6),
"38-Pack" => Some(CodeH7),
"62-Pack" => Some(CodeH8),
"75-Pack" => Some(CodeH9),
"Hank" => Some(Hank),
"Hundred Boxes" => Some(HundredBoxes),
"Hundred Count" => Some(HundredCount),
"Half Dozen" => Some(HalfDozen),
"Hundredth of a Carat" => Some(HundredthOfACarat),
"Hundred Feet" => Some(HundredFeet),
"Hectogram" => Some(Hectogram),
"Hundred Cubic Feet" => Some(HundredCubicFeet),
"Hundred Sheets" => Some(HundredSheets),
"Horsepower" => Some(Horsepower),
"Hundred Kilograms" => Some(HundredKilograms),
"Hundred Feet - Linear" => Some(HundredFeetLinear),
"Miles Per Hour" => Some(MilesPerHour),
"Millimeters of Mercury" => Some(MillimetersOfMercury),
"Hundred Troy Ounces" => Some(HundredTroyOunces),
"Millimeter H20" => Some(MillimeterH20),
"Hectare" => Some(Hectare),
"Hours" => Some(Hours),
"Hundred Square Feet" => Some(HundredSquareFeet),
"Half Hour" => Some(HalfHour),
"Hundred" => Some(Hundred),
"Hundred Weight (Short)" => Some(CodeHV),
"Hundred Weight (Long)" => Some(CodeHW),
"Hospital Beds" => Some(HospitalBeds),
"Hundred Yards" => Some(HundredYards),
"Hertz" => Some(Hertz),
"Persons, Capacity" => Some(CodeI1),
"Pellet" => Some(Pellet),
"Inch Pound" => Some(InchPound),
"Inches Per Second (Vibration Velocity)" => Some(CodeIB),
"Counts per Inch" => Some(CountsPerInch),
"Person" => Some(Person),
"Inches of Water" => Some(InchesOfWater),
"Inner Package" => Some(InnerPackage),
"Inhaler" => Some(Inhaler),
"Column-Inches" => Some(ColumnInches),
"Peaks per Inch (PPI)" => Some(CodeIK),
"Inches per Minute" => Some(InchesPerMinute),
"Impressions" => Some(Impressions),
"Inch" => Some(Inch),
"Insurance Policy" => Some(InsurancePolicy),
"Stops" => Some(Stops),
"Counts per Centimeter" => Some(CountsPerCentimeter),
"Inches Per Second (Linear Speed)" => Some(CodeIU),
"Inches Per Second Per Second (Acceleration)" => Some(CodeIV),
"Inches Per Second Per Second (Vibration Acceleration)" => Some(CodeIW),
"80-Pack" => Some(CodeJ1),
"Joule Per Kilogram" => Some(JoulePerKilogram),
"81-Pack" => Some(CodeJ3),
"82-Pack" => Some(CodeJ4),
"84-Pack" => Some(CodeJ5),
"85-Pack" => Some(CodeJ6),
"96-Pack" => Some(CodeJ7),
"5000-Pack" => Some(CodeJ8),
"Left Unit" => Some(LeftUnit),
"Job" => Some(Job),
"Jumbo" => Some(Jumbo),
"Caplet" => Some(Caplet),
"Joule Per Kelvin" => Some(JoulePerKelvin),
"Joule per Gram" => Some(JoulePerGram),
"Mega Joule per Kilogram" => Some(MegaJoulePerKilogram),
"Refill" => Some(Refill),
"Megajoule/Cubic Meter" => Some(MegajouleCubicMeter),
"Pan" => Some(Pan),
"Joint" => Some(Joint),
"Prepack" => Some(Prepack),
"Jar" => Some(Jar),
"Use" => Some(Use),
"Tin" => Some(Tin),
"Jug" => Some(Jug),
"Ovule" => Some(Ovule),
"Exposure" => Some(Exposure),
"Kilovolt Potential" => Some(KilovoltPotential),
"Kilowatt Demand" => Some(KilowattDemand),
"Kilovolt Amperes Reactive Demand" => Some(KilovoltAmperesReactiveDemand),
"Kilovolt Amperes Reactive Hour" => Some(KilovoltAmperesReactiveHour),
"Kilovolt Amperes" => Some(KilovoltAmperes),
"Kilovolt Amperes Reactive" => Some(KilovoltAmperesReactive),
"Kiloliter" => Some(Kiloliter),
"Kilowatt" => Some(Kilowatt),
"Kilovolt" => Some(Kilovolt),
"Kilograms per Millimeter Squared (KG/MM2)" => Some(CodeK9),
"Cake" => Some(Cake),
"Kilocharacters" => Some(Kilocharacters),
"Kilograms per Cubic Meter" => Some(KilogramsPerCubicMeter),
"Kilograms Decimal" => Some(KilogramsDecimal),
"Keg" => Some(Keg),
"Kilopackets" => Some(Kilopackets),
"Kilogram" => Some(Kilogram),
"Kilowatt Hour" => Some(KilowattHour),
"Kilograms/Millimeter Width" => Some(KilogramsMillimeterWidth),
"Kilosegments" => Some(Kilosegments),
"100 Kilograms" => Some(CodeKK),
"Kilograms/Meter" => Some(KilogramsMeter),
"Kilograms per Square Meter, Kilograms, Decimal" => Some(CodeKM),
"Kilocalorie" => Some(Kilocalorie),
"Millequivalence Caustic Potash per Gram of Product" => {
Some(MillequivalenceCausticPotashPerGramOfProduct)
}
"Kilometers Per Hour" => Some(KilometersPerHour),
"Kilopascal" => Some(Kilopascal),
"Kiloroentgen" => Some(Kiloroentgen),
"Kit" => Some(Kit),
"Task" => Some(Task),
"Kelvin" => Some(Kelvin),
"Kilograms per Millimeter" => Some(KilogramsPerMillimeter),
"Milliliters per Kilogram" => Some(MillilitersPerKilogram),
"Right Unit" => Some(RightUnit),
"Liters Per Minute" => Some(LitersPerMinute),
"Liters at 15 Degrees Celsius" => Some(LitersAt15DegreesCelsius),
"Pounds Per Cubic Inch" => Some(PoundsPerCubicInch),
"Pound" => Some(Pound),
"Linear Centimeter" => Some(LinearCentimeter),
"Lite" => Some(Lite),
"Linear Foot" => Some(LinearFoot),
"Long Ton" => Some(LongTon),
"Labor Hours" => Some(LaborHours),
"Linear Inch" => Some(LinearInch),
"Large Spray" => Some(LargeSpray),
"Link" => Some(Link),
"Lifetime" => Some(Lifetime),
"Linear Meter" => Some(LinearMeter),
"Length" => Some(Length),
"Lot" => Some(Lot),
"Liquid Pounds" => Some(LiquidPounds),
"Liters Per Day" => Some(LitersPerDay),
"Layer(s)" => Some(CodeLR),
"Lump Sum" => Some(LumpSum),
"Liter" => Some(Liter),
"Order Line" => Some(OrderLine),
"Linear Yards Per Pound" => Some(LinearYardsPerPound),
"Linear Yard" => Some(LinearYard),
"Magnetic Tapes" => Some(MagneticTapes),
"Milligrams per Liter" => Some(MilligramsPerLiter),
"Millimeter-Actual" => Some(MillimeterActual),
"Mat" => Some(Mat),
"Monetary Value" => Some(MonetaryValue),
"Microcurie" => Some(Microcurie),
"Millibar" => Some(Millibar),
"Micro Inch" => Some(MicroInch),
"Mega Pascals" => Some(MegaPascals),
"Million British Thermal Units per One Thousand Cubic Feet" => {
Some(MillionBritishThermalUnitsPerOneThousandCubicFeet)
}
"Machine/Unit" => Some(MachineUnit),
"Millimeter-Nominal" => Some(MillimeterNominal),
"Microgram" => Some(Microgram),
"Air Dry Metric Ton" => Some(AirDryMetricTon),
"Milligram" => Some(Milligram),
"Milligram per Sq. Ft. per Side" => Some(MilligramPerSqFtPerSide),
"Metric Gross Ton" => Some(MetricGrossTon),
"Microns (Micrometers)" => Some(CodeMH),
"Metric" => Some(Metric),
"Minutes" => Some(Minutes),
"Milligrams Per Square Inch" => Some(MilligramsPerSquareInch),
"Milliliter" => Some(Milliliter),
"Millimeter" => Some(Millimeter),
"Metric Net Ton" => Some(MetricNetTon),
"Months" => Some(Months),
"Metric Ton" => Some(MetricTon),
"1000 Meters" => Some(CodeMQ),
"Meter" => Some(Meter),
"Square Millimeter" => Some(SquareMillimeter),
"Metric Long Ton" => Some(MetricLongTon),
"Millicurie" => Some(Millicurie),
"Number of Mults" => Some(NumberOfMults),
"Metric Ton Kilograms" => Some(MetricTonKilograms),
"Mixed" => Some(Mixed),
"Millimeter-Average" => Some(MillimeterAverage),
"Millimeter-minimum" => Some(MillimeterMinimum),
"Pen Calories" => Some(PenCalories),
"Number of Lines" => Some(NumberOfLines),
"Print Point" => Some(PrintPoint),
"Pen Grams (Protein)" => Some(CodeN4),
"Megahertz" => Some(Megahertz),
"Parts" => Some(Parts),
"Cartridge Needle" => Some(CartridgeNeedle),
"Milligrams per Kilogram" => Some(MilligramsPerKilogram),
"Barge" => Some(Barge),
"Car" => Some(Car),
"Net Barrels" => Some(NetBarrels),
"Net Liters" => Some(NetLiters),
"Messages" => Some(Messages),
"Net Gallons" => Some(NetGallons),
"Message Hours" => Some(MessageHours),
"Net Imperial Gallons" => Some(NetImperialGallons),
"Number of Screens" => Some(NumberOfScreens),
"Nights" => Some(Nights),
"Load" => Some(Load),
"Nautical Mile" => Some(NauticalMile),
"Train" => Some(Train),
"Mho" => Some(Mho),
"Micro Mho" => Some(MicroMho),
"Short Ton" => Some(ShortTon),
"Trailer" => Some(Trailer),
"Newton-Meter" => Some(NewtonMeter),
"Vehicle" => Some(Vehicle),
"Newton" => Some(Newton),
"Parts Per Thousand" => Some(PartsPerThousand),
"Pounds Per Air-Dry Metric Ton" => Some(PoundsPerAirDryMetricTon),
"Thousand Gallons Per Day" => Some(ThousandGallonsPerDay),
"Cubic Millimeter" => Some(CubicMillimeter),
"Panel" => Some(Panel),
"Outlet" => Some(Outlet),
"Billboard" => Some(Billboard),
"Apothecary Grain" => Some(ApothecaryGrain),
"Ounces per Square Yard" => Some(OuncesPerSquareYard),
"Two pack" => Some(TwoPack),
"Overtime Hours" => Some(OvertimeHours),
"Operating Unit" => Some(OperatingUnit),
"Ounce - Av" => Some(OunceAv),
"Pages - Electronic" => Some(PagesElectronic),
"Percent" => Some(Percent),
"Pounds per Foot" => Some(PoundsPerFoot),
"Three pack" => Some(ThreePack),
"Four-pack" => Some(FourPack),
"Five-pack" => Some(FivePack),
"Six pack" => Some(SixPack),
"Seven pack" => Some(SevenPack),
"Eight-pack" => Some(EightPack),
"Nine pack" => Some(NinePack),
"Pail" => Some(Pail),
"Pair Inches" => Some(PairInches),
"Piece" => Some(Piece),
"Pad" => Some(Pad),
"Pounds Equivalent" => Some(PoundsEquivalent),
"Pallet (Lift)" => Some(CodePF),
"Pounds Gross" => Some(PoundsGross),
"Pack (PAK)" => Some(CodePH),
"Pitch" => Some(Pitch),
"Pounds, Decimal - Pounds per Square Foot - Pound Gage" => Some(CodePJ),
"Package" => Some(Package),
"Pallet/Unit Load" => Some(PalletUnitLoad),
"Pounds-Percentage" => Some(PoundsPercentage),
"Pounds Net" => Some(PoundsNet),
"Pounds per Inch of Length" => Some(PoundsPerInchOfLength),
"Plate" => Some(Plate),
"Pages per Inch" => Some(PagesPerInch),
"Pair" => Some(Pair),
"Pounds per Sq. Inch" => Some(PoundsPerSqInch),
"Pint" => Some(Pint),
"Mass Pounds" => Some(MassPounds),
"Half Pint" => Some(HalfPint),
"Pounds per Inch of Width" => Some(PoundsPerInchOfWidth),
"Pint, Imperial" => Some(CodePX),
"Peck, Dry U.S." => Some(CodePY),
"Peck, Dry Imperial" => Some(CodePZ),
"Quarter (Time)" => Some(CodeQ1),
"Pint U.S. Dry" => Some(PintUSDry),
"Meal" => Some(Meal),
"Fifty" => Some(Fifty),
"Twenty-Five" => Some(TwentyFive),
"Thirty-Six" => Some(ThirtySix),
"Twenty-Four" => Some(TwentyFour),
"Five" => Some(Five),
"Pages - Facsimile" => Some(PagesFacsimile),
"Pages - Hardcopy" => Some(PagesHardcopy),
"Channel" => Some(Channel),
"Quarter Dozen" => Some(QuarterDozen),
"Photographs" => Some(Photographs),
"Quarter" => Some(Quarter),
"Quarter Hours" => Some(QuarterHours),
"Quarter Kilogram" => Some(QuarterKilogram),
"Quire" => Some(Quire),
"Quart, Dry U.S." => Some(CodeQS),
"Quart" => Some(Quart),
"Quart, Imperial" => Some(CodeQU),
"Pica" => Some(Pica),
"Becquerel" => Some(Becquerel),
"Revolutions Per Minute" => Some(RevolutionsPerMinute),
"Calorie" => Some(Calorie),
"Thousands of Dollars" => Some(ThousandsOfDollars),
"Millions of Dollars" => Some(MillionsOfDollars),
"Billions of Dollars" => Some(BillionsOfDollars),
"Roentgen Equivalent in Man (REM)" => Some(CodeR8),
"Thousand Cubic Meters" => Some(ThousandCubicMeters),
"Rack" => Some(Rack),
"Radian" => Some(Radian),
"Rod (area) - 16.25 Square Yards" => Some(CodeRC),
"Rod (length) - 5.5 Yards" => Some(CodeRD),
"Reel" => Some(Reel),
"Ring" => Some(Ring),
"Running or Operating Hours" => Some(RunningOrOperatingHours),
"Retinol Activity Equivalents" => Some(RetinolActivityEquivalents),
"Roll-Metric Measure" => Some(RollMetricMeasure),
"Roll" => Some(Roll),
"Ream" => Some(Ream),
"Ream-Metric Measure" => Some(ReamMetricMeasure),
"Round" => Some(Round),
"Pounds per Ream" => Some(PoundsPerReam),
"Resets" => Some(Resets),
"Revenue Ton Miles" => Some(RevenueTonMiles),
"Run" => Some(Run),
"Retinol Equivalents" => Some(RetinolEquivalents),
"Thousand Rounds" => Some(ThousandRounds),
"Semester" => Some(Semester),
"Trimester" => Some(Trimester),
"Square Feet per Second" => Some(SquareFeetPerSecond),
"Square Meters per Second" => Some(SquareMetersPerSecond),
"Sixty-fourths of an Inch" => Some(SixtyFourthsOfAnInch),
"Sessions" => Some(Sessions),
"Storage Units" => Some(StorageUnits),
"Standard Advertising Units (SAUs)" => Some(CodeS8),
"Slip Sheet" => Some(SlipSheet),
"Sandwich" => Some(Sandwich),
"Square Mile" => Some(SquareMile),
"Square Centimeter" => Some(SquareCentimeter),
"Solid Pounds" => Some(SolidPounds),
"Section" => Some(Section),
"Square Foot" => Some(SquareFoot),
"Segment" => Some(Segment),
"Sheet" => Some(Sheet),
"Square Inch" => Some(SquareInch),
"Sack" => Some(Sack),
"Split Tanktruck" => Some(SplitTanktruck),
"Sleeve" => Some(Sleeve),
"Square Meter" => Some(SquareMeter),
"Square Rod" => Some(SquareRod),
"Spool" => Some(Spool),
"Shelf Package" => Some(ShelfPackage),
"Square" => Some(Square),
"Strip" => Some(Strip),
"Sheet-Metric Measure" => Some(SheetMetricMeasure),
"Set" => Some(Set),
"Single Unit" => Some(SingleUnit),
"Skid" => Some(Skid),
"Skein" => Some(Skein),
"Shipment" => Some(Shipment),
"Square Yard" => Some(SquareYard),
"Syringe" => Some(Syringe),
"Telecommunications Lines in Service" => {
Some(TelecommunicationsLinesInService)
}
"Thousand pounds gross" => Some(ThousandPoundsGross),
"Thousandths of an Inch" => Some(ThousandthsOfAnInch),
"Thousand Pieces" => Some(ThousandPieces),
"Thousand Bags" => Some(ThousandBags),
"Thousand Casings" => Some(ThousandCasings),
"Thousand Gallons" => Some(ThousandGallons),
"Thousand Impressions" => Some(ThousandImpressions),
"Thousand Linear Inches" => Some(ThousandLinearInches),
"Thousand Kilowatt Hours/Megawatt-Hour" => {
Some(ThousandKilowattHoursMegawattHour)
}
"Tenth Cubic Foot" => Some(TenthCubicFoot),
"Tube" => Some(Tube),
"Truckload" => Some(Truckload),
"Therms" => Some(Therms),
"Tote" => Some(Tote),
"Ten Square Yards" => Some(TenSquareYards),
"Gross Ton" => Some(GrossTon),
"Thousand" => Some(Thousand),
"Thousand Square Inches" => Some(ThousandSquareInches),
"Thousand Sq. Centimeters" => Some(ThousandSqCentimeters),
"Tank" => Some(Tank),
"Thousand Feet (Linear)" => Some(CodeTL),
"Thousand Feet (Board)" => Some(CodeTM),
"Net Ton (2,000 LB)." => Some(CodeTN),
"Troy Ounce" => Some(TroyOunce),
"Ten-pack" => Some(TenPack),
"Thousand Feet" => Some(ThousandFeet),
"Ten Square Feet" => Some(TenSquareFeet),
"Thousand Square Feet" => Some(ThousandSquareFeet),
"Thousand Linear Meters" => Some(ThousandLinearMeters),
"Thousand Linear Yards" => Some(ThousandLinearYards),
"Thousand Kilograms" => Some(ThousandKilograms),
"Thousand Sheets" => Some(ThousandSheets),
"Troy Pound" => Some(TroyPound),
"Tray" => Some(Tray),
"Thousand Cubic Feet" => Some(ThousandCubicFeet),
"Treatments" => Some(Treatments),
"Tablet" => Some(Tablet),
"Ten" => Some(Ten),
"Two Hundred Fifty" => Some(TwoHundredFifty),
"U.S Gallons at 60 Degrees Fahrenheit" => {
Some(USGallonsAt60DegreesFahrenheit)
}
"Torr" => Some(Torr),
"Telecommunications Lines in Service - Average" => {
Some(TelecommunicationsLinesInServiceAverage)
}
"Telecommunications Ports" => Some(TelecommunicationsPorts),
"Tenth Minutes" => Some(TenthMinutes),
"Tenth Hours" => Some(TenthHours),
"Usage per Telecommunications Line - Average" => {
Some(UsagePerTelecommunicationsLineAverage)
}
"Ten Thousand Yards" => Some(TenThousandYards),
"Unitless" => Some(Unitless),
"Million Units" => Some(MillionUnits),
"Unit" => Some(Unit),
"Troche" => Some(Troche),
"Wafer" => Some(Wafer),
"Application" => Some(Application),
"Dosage Form" => Some(DosageForm),
"Inhalation" => Some(Inhalation),
"Lozenge" => Some(Lozenge),
"Percent Topical Only" => Some(PercentTopicalOnly),
"Milliequivalent" => Some(Milliequivalent),
"Dram (Minim)" => Some(CodeUX),
"Fifty Square Feet" => Some(FiftySquareFeet),
"Fifty Count" => Some(FiftyCount),
"Flat" => Some(Flat),
"Pouch" => Some(Pouch),
"Setpack" => Some(Setpack),
"International Bittering Units (IBU)" => Some(CodeV7),
"Volt-ampere per Kilogram" => Some(VoltAmperePerKilogram),
"Five Hundred" => Some(FiveHundred),
"Vial" => Some(Vial),
"Volume" => Some(Volume),
"Percent Volume" => Some(PercentVolume),
"Volt-ampere-reactive" => Some(VoltAmpereReactive),
"Visit" => Some(Visit),
"Percent volume per volume (v/v)" => Some(CodeVV),
"Wet Kilo" => Some(WetKilo),
"Thimble Full" => Some(ThimbleFull),
"Watts per Kilogram" => Some(WattsPerKilogram),
"Wet Pound" => Some(WetPound),
"Work Days" => Some(WorkDays),
"Wet Ton" => Some(WetTon),
"Wine Gallon" => Some(WineGallon),
"Wheel" => Some(Wheel),
"Weight per Square Inch" => Some(WeightPerSquareInch),
"Week" => Some(Week),
"Working Months" => Some(WorkingMonths),
"Pennyweight" => Some(Pennyweight),
"Wrap" => Some(Wrap),
"Percent weight per volume (w/v)" => Some(CodeWV),
"Milliliters of Water" => Some(MillilitersOfWater),
"Percent weight per weight (w/w)" => Some(CodeWX),
"Chains (Land Survey)" => Some(CodeX1),
"Bunch" => Some(Bunch),
"Clove" => Some(Clove),
"Drop" => Some(Drop),
"Head" => Some(Head),
"Heart" => Some(Heart),
"Leaf" => Some(Leaf),
"Loaf" => Some(Loaf),
"Portion" => Some(Portion),
"Base Box per Pound" => Some(BaseBoxPerPound),
"Slice" => Some(Slice),
"Tablespoon" => Some(Tablespoon),
"Teaspoon" => Some(Teaspoon),
"Tub" => Some(Tub),
"Transport Load" => Some(TransportLoad),
"Yard" => Some(Yard),
"100 Lineal Yards" => Some(CodeYL),
"Years" => Some(Years),
"Ten Yards" => Some(TenYards),
"Lift Van" => Some(LiftVan),
"Chest" => Some(Chest),
"Cask" => Some(Cask),
"Hogshead" => Some(Hogshead),
"Lug" => Some(Lug),
"Conference Points" => Some(ConferencePoints),
"13-pack Marketing" => Some(CodeZ7),
"Newspaper Agate Line" => Some(NewspaperAgateLine),
"14-pack Marketing" => Some(CodeZ9),
"Bimonthly" => Some(Bimonthly),
"Biweekly" => Some(Biweekly),
"Semiannual" => Some(Semiannual),
"Kilojoule" => Some(Kilojoule),
"Ping" => Some(Ping),
"16-pack Marketing" => Some(CodeZF),
"48-pack Component Parts" => Some(CodeZG),
"51-pack Component Parts" => Some(CodeZH),
"52-pack Component Parts" => Some(CodeZI),
"60-pack Gift Packs" => Some(CodeZJ),
"72-pack Gift Packs" => Some(CodeZK),
"83-pack Gift Packs" => Some(CodeZL),
"10-pack Marketing" => Some(CodeZM),
"120-pack Promotional" => Some(CodeZN),
"150-pack Component Parts" => Some(CodeZO),
"Page" => Some(Page),
"200-pack Component Parts" => Some(CodeZQ),
"1000-pack Component Parts" => Some(CodeZR),
"15-Pack" => Some(CodeZS),
"Per Annum" => Some(PerAnnum),
"Mother Tincture (TM)" => Some(CodeZU),
"Nanogram" => Some(Nanogram),
"Barrel, Dry" => Some(CodeZW),
"Barrel, Liquid" => Some(CodeZX),
"Apothecary Scruple" => Some(ApothecaryScruple),
"Mutually Defined" => Some(MutuallyDefined),
_ => None,
}
}
}
}
impl Serialize for UnitOrBasisForMeasurementCode {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: ser::Serializer,
{
let value = if serializer.is_human_readable() {
self.description()
} else {
self.code()
};
serializer.serialize_str(value)
}
}
struct Visitor;
impl<'de> de::Visitor<'de> for Visitor {
type Value = UnitOrBasisForMeasurementCode;
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
formatter.write_str("Unit or Basis for Measurement Code")
}
fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>
where
E: de::Error,
{
UnitOrBasisForMeasurementCode::from_description(v)
.ok_or_else(|| E::custom(
format!("Invalid Unit or Basis for Measurement Code: {}", v),
))
}
fn visit_bytes<E>(self, v: &[u8]) -> Result<Self::Value, E>
where
E: de::Error,
{
UnitOrBasisForMeasurementCode::from_code(v)
.ok_or_else(|| E::custom(
format!(
"Invalid Unit or Basis for Measurement Code: {}",
std::str::from_utf8(v).unwrap()
),
))
}
}
impl<'de> Deserialize<'de> for UnitOrBasisForMeasurementCode {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: de::Deserializer<'de>,
{
if deserializer.is_human_readable() {
deserializer.deserialize_str(Visitor)
} else {
deserializer.deserialize_bytes(Visitor)
}
}
}