x12_alt 0.1.0

Data types for X12 EDI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
use std::fmt;
use serde::{de, Deserialize, ser, Serialize};
/**66

See docs at <https://www.stedi.com/edi/x12/element/66>*/
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum IdentificationCodeQualifier {
    ///0 - Petroleum Industry Exchange (PETROEX) Number
    Code0,
    ///1 - D-U-N-S Number, Dun & Bradstreet
    Code1,
    ///2 - Standard Carrier Alpha Code (SCAC)
    Code2,
    ///3 - Federal Maritime Commission (Ocean) (FMC)
    Code3,
    ///4 - International Air Transport Association (IATA)
    Code4,
    ///6 - Plant Code
    PlantCode,
    ///7 - Loading Dock
    LoadingDock,
    ///9 - D-U-N-S+4, D-U-N-S Number with Four Character Suffix
    Code9,
    ///10 - Department of Defense Activity Address Code (DODAAC)
    Code10,
    ///11 - Drug Enforcement Administration (DEA)
    Code11,
    ///12 - Telephone Number (Phone)
    Code12,
    ///13 - Federal Reserve Routing Code (FRRC)
    Code13,
    ///15 - Standard Address Number (SAN)
    Code15,
    ///16 - ZIP Code
    ZipCode,
    ///17 - Automated Broker Interface (ABI) Routing Code
    Code17,
    ///19 - FIPS-55 (Named Populated Places)
    Code19,
    ///20 - Standard Point Location Code (SPLC)
    Code20,
    ///21 - Health Industry Number (HIN)
    Code21,
    ///22 - Council of Petroleum Accounting Societies code (COPAS)
    Code22,
    ///23 - Journal of Commerce (JOC)
    Code23,
    ///24 - Employer's Identification Number
    EmployersIdentificationNumber,
    ///25 - Carrier's Customer Code
    CarriersCustomerCode,
    ///26 - Petroleum Accountants Society of Canada Company Code
    PetroleumAccountantsSocietyOfCanadaCompanyCode,
    ///27 - Government Bill Of Lading Office Code (GBLOC)
    Code27,
    ///28 - American Paper Institute
    AmericanPaperInstitute,
    ///29 - Grid Location and Facility Code
    GridLocationAndFacilityCode,
    ///30 - American Petroleum Institute Location Code
    AmericanPetroleumInstituteLocationCode,
    ///31 - Bank Identification Code
    BankIdentificationCode,
    ///32 - Assigned by Property Operator
    AssignedByPropertyOperator,
    ///33 - Commercial and Government Entity (CAGE)
    Code33,
    ///34 - Social Security Number
    SocialSecurityNumber,
    ///35 - Electronic Mail Internal System Address Code
    ElectronicMailInternalSystemAddressCode,
    ///36 - Customs House Broker License Number
    CustomsHouseBrokerLicenseNumber,
    ///37 - United Nations Vendor Code
    UnitedNationsVendorCode,
    ///38 - Country Code
    CountryCode,
    ///39 - Local Union Number
    LocalUnionNumber,
    ///40 - Electronic Mail User Code
    ElectronicMailUserCode,
    ///41 - Telecommunications Carrier Identification Code
    TelecommunicationsCarrierIdentificationCode,
    ///42 - Telecommunications Pseudo Carrier Identification Code
    TelecommunicationsPseudoCarrierIdentificationCode,
    ///43 - Alternate Social Security Number
    AlternateSocialSecurityNumber,
    ///44 - Return Sequence Number
    ReturnSequenceNumber,
    ///45 - Declaration Control Number
    DeclarationControlNumber,
    ///46 - Electronic Transmitter Identification Number (ETIN)
    Code46,
    ///47 - Tax Authority Identification
    TaxAuthorityIdentification,
    ///48 - Electronic Filer Identification Number (EFIN)
    Code48,
    ///49 - State Identification Number
    StateIdentificationNumber,
    ///50 - Business License Number
    BusinessLicenseNumber,
    ///51 - Fuel Inventory Adjustment Identification
    FuelInventoryAdjustmentIdentification,
    ///53 - Building
    Building,
    ///54 - Warehouse
    Warehouse,
    ///55 - Post Office Box
    PostOfficeBox,
    ///56 - Division
    Division,
    ///57 - Department
    Department,
    ///58 - Originating Company Number
    OriginatingCompanyNumber,
    ///59 - Receiving Company Number
    ReceivingCompanyNumber,
    ///61 - Holding Mortgagee Number
    HoldingMortgageeNumber,
    ///62 - Servicing Mortgagee Number
    ServicingMortgageeNumber,
    ///63 - Servicer-holder Mortgagee Number
    ServicerHolderMortgageeNumber,
    ///64 - One Call Agency
    OneCallAgency,
    ///71 - Integrated Postsecondary Education Data System (IPEDS) set of codes maintained by the U.S. Department of Education's National Center of Education Statistics, Washington, D.C.
    Code71,
    ///72 - The College Board's Admission Testing Program (ATP), administered by the Educational Testing Service (ETS), 4-digit list of postsecondary educational institutions.
    Code72,
    ///73 - Federal Interagency Commission on Education (FICE) number. Available from the United States Department of Education, National Center for Education Statistics.
    Code73,
    ///74 - American College Testing (ACT) list of postsecondary educational institutions.
    Code74,
    ///75 - State or Province Assigned Number
    StateOrProvinceAssignedNumber,
    ///76 - Local School District or Jurisdiction Number
    LocalSchoolDistrictOrJurisdictionNumber,
    ///77 - National Center for Education Statistics (NCES) Common Core of Data (CCD) number for PreK - 12 institutions
    Code77,
    ///78 - The College Board and ACT 6 digit code list of secondary educational institutions
    TheCollegeBoardAndAct6DigitCodeListOfSecondaryEducationalInstitutions,
    ///81 - Classification of Instructional Programs (CIP) coding structure maintained by the U.S. Department of Education's National Center for Education Statistics
    Code81,
    /**82 - Higher Education General Information Survey (HEGIS) maintained by the U.S.
Department of Education's National Center for Education Statistics*/
    Code82,
    ///83 - Congressional District
    CongressionalDistrict,
    ///90 - California Ethnic Subgroups Code Table
    CaliforniaEthnicSubgroupsCodeTable,
    ///91 - Assigned by Seller or Seller's Agent
    AssignedBySellerOrSellersAgent,
    ///92 - Assigned by Buyer or Buyer's Agent
    AssignedByBuyerOrBuyersAgent,
    ///93 - Code assigned by the organization originating the transaction set
    CodeAssignedByTheOrganizationOriginatingTheTransactionSet,
    ///94 - Code assigned by the organization that is the ultimate destination of the transaction set
    CodeAssignedByTheOrganizationThatIsTheUltimateDestinationOfTheTransactionSet,
    ///95 - Assigned By Transporter
    AssignedByTransporter,
    ///96 - Assigned By Pipeline Operator
    AssignedByPipelineOperator,
    ///97 - Receiver's Code
    ReceiversCode,
    ///98 - Purchasing Office
    PurchasingOffice,
    ///99 - Office of Workers Compensation Programs (OWCP) Agency Code
    Code99,
    ///A - U.S. Customs and Border Protection (CBP) Carrier Identification
    CodeA,
    ///A1 - Approver ID
    ApproverId,
    ///A2 - Military Assistance Program Address Code (MAPAC)
    CodeA2,
    ///A3 - Assigned by Third Party
    AssignedByThirdParty,
    ///A4 - Assigned by Clearinghouse
    AssignedByClearinghouse,
    ///A5 - Committee on Uniform Security Identification Procedures (CUSIP) Number
    CodeA5,
    ///A6 - Financial Identification Numbering System (FINS) Number
    CodeA6,
    ///A7 - Automated Commercial Environment Identification Code (ACEID)
    CodeA7,
    ///AA - Postal Service Code
    PostalServiceCode,
    ///AB - US Environmental Protection Agency (EPA) Identification Number
    CodeAB,
    ///AC - Attachment Control Number
    AttachmentControlNumber,
    ///AD - Blue Cross Blue Shield Association Plan Code
    BlueCrossBlueShieldAssociationPlanCode,
    ///AE - Alberta Energy Resources Conservation Board
    AlbertaEnergyResourcesConservationBoard,
    ///AF - Rental Location Identifier
    RentalLocation,
    ///AI - Automotive Identifier for Canada Border Services Agency
    AutomotiveIdentifierForCanadaBorderServicesAgency,
    ///AL - Anesthesia License Number
    AnesthesiaLicenseNumber,
    ///AP - Alberta Petroleum Marketing Commission
    AlbertaPetroleumMarketingCommission,
    ///AY - Activity Code
    ActivityCode,
    ///BC - British Columbia Ministry of Energy Mines and Petroleum Resources
    BritishColumbiaMinistryOfEnergyMinesAndPetroleumResources,
    ///BD - Blue Cross Provider Number
    BlueCrossProviderNumber,
    ///BE - Common Language Location Identification (CLLI)
    CodeBE,
    ///BF - Broker Filer ID
    BrokerFilerId,
    ///BG - Badge Number
    BadgeNumber,
    ///BN - Canada Revenue Agency (CRA) Business Number
    CodeBN,
    ///BP - Benefit Plan
    BenefitPlan,
    ///BS - Blue Shield Provider Number
    BlueShieldProviderNumber,
    ///C - Insured's Changed Unique Identification Number
    InsuredsChangedUniqueIdentificationNumber,
    ///C1 - Insured or Subscriber
    InsuredOrSubscriber,
    ///C2 - Health Maintenance Organization (HMO) Provider Number
    CodeC2,
    ///C5 - Customer Identification File
    CustomerIdentificationFile,
    ///CA - Statistics Canada Canadian College Student Information System Course Codes
    StatisticsCanadaCanadianCollegeStudentInformationSystemCourseCodes,
    ///CB - Statistics Canada Canadian College Student Information System Institution Codes
    StatisticsCanadaCanadianCollegeStudentInformationSystemInstitutionCodes,
    ///CC - Statistics Canada University Student Information System Curriculum Codes
    StatisticsCanadaUniversityStudentInformationSystemCurriculumCodes,
    ///CD - Contract Division
    ContractDivision,
    ///CE - Bureau of the Census Filer Identification Code
    BureauOfTheCensusFilerIdentificationCode,
    ///CF - Canadian Financial Institution Routing Number
    CanadianFinancialInstitutionRoutingNumber,
    ///CI - TRICARE
    Tricare,
    ///CL - Corrected Loan Number
    CorrectedLoanNumber,
    ///CM - U.S. Customs and Border Protection (CBP) Manufacturer Identifier (MID)
    CodeCM,
    ///CN - National Center for Education Statistics (NCES) Course Classification System for Secondary Schools
    CodeCN,
    ///CP - Canadian Petroleum Association
    CanadianPetroleumAssociation,
    ///CR - Credit Repository
    CreditRepository,
    ///CS - Statistics Canada University Student Information System University Codes
    StatisticsCanadaUniversityStudentInformationSystemUniversityCodes,
    ///CT - Court Identification Code
    CourtIdentificationCode,
    ///CU - U.S. Customs and Border Protection (CBP) Assigned Importer Number
    CodeCU,
    ///CW - U.S. Customs and Border Protection (CBP) Assigned Consignee Number
    CodeCW,
    ///D - Census Schedule D
    CensusScheduleD,
    ///DG - United States Department of Education Guarantor Identification Code
    UnitedStatesDepartmentOfEducationGuarantorIdentificationCode,
    ///DL - United States Department of Education Lender Identification Code
    UnitedStatesDepartmentOfEducationLenderIdentificationCode,
    ///DN - Dentist License Number
    DentistLicenseNumber,
    ///DO - Door
    Door,
    ///DP - Data Processing Point
    DataProcessingPoint,
    ///DR - Gas Industry Standards Board (GISB) Data Reference Number (DRN)
    CodeDR,
    ///DS - United States Department of Education School Identification Code
    UnitedStatesDepartmentOfEducationSchoolIdentificationCode,
    ///E - Hazard Insurance Policy Number
    HazardInsurancePolicyNumber,
    ///EC - ARI Electronic Commerce Location ID Code
    AriElectronicCommerceLocationIdCode,
    ///EH - Theatre Number
    TheatreNumber,
    ///EI - Employee Identification Number
    EmployeeIdentificationNumber,
    ///EL - Elevator
    Elevator,
    ///EP - U.S. Environmental Protection Agency (EPA)
    CodeEP,
    ///EQ - Insurance Company Assigned Identification Number
    InsuranceCompanyAssignedIdentificationNumber,
    ///ER - Mortgagee Assigned Identification Number
    MortgageeAssignedIdentificationNumber,
    ///ES - Automated Export System (AES) Filer Identification Code
    CodeES,
    ///ET - Educational Testing Service List of International Postsecondary Institutions
    EducationalTestingServiceListOfInternationalPostsecondaryInstitutions,
    ///F - Document Custodian Identification Number
    DocumentCustodianIdentificationNumber,
    ///FA - Facility Identification
    FacilityIdentification,
    ///FB - Field Code
    FieldCode,
    ///FC - Federal Court Jurisdiction Identifier
    FederalCourtJurisdiction,
    ///FD - Federal Court Divisional Office Number
    FederalCourtDivisionalOfficeNumber,
    ///FE - Facility Federal Identification Number
    FacilityFederalIdentificationNumber,
    ///FI - Federal Taxpayer's Identification Number
    FederalTaxpayersIdentificationNumber,
    ///FJ - Federal Jurisdiction
    FederalJurisdiction,
    ///FL - Floor
    Floor,
    ///FN - U.S. Environmental Protection Agency (EPA) Laboratory Certification Identification
    CodeFN,
    ///FR - Facilities Information and Resources Management System (FIRMS) Code
    CodeFR,
    ///FT - Free and Secure Trade (FAST) ID
    CodeFT,
    ///G - Payee Identification Number
    PayeeIdentificationNumber,
    ///GA - Primary Agent Identification
    PrimaryAgentIdentification,
    ///GC - GAS*CODE
    CodeGC,
    ///GS - Global Service Relation Number
    GlobalServiceRelationNumber,
    ///HC - Centers for Medicare and Medicaid Services
    CentersForMedicareAndMedicaidServices,
    ///HI - HCIdea Number
    HcIdeaNumber,
    ///HN - Health Insurance Claim (HIC) Number
    CodeHN,
    ///HS - House (Canadian Grain Elevator)
    CodeHS,
    ///I - Secondary Marketing Investor Assigned Number
    SecondaryMarketingInvestorAssignedNumber,
    ///ID - UCC EDI Communications ID (Comm ID)
    CodeID,
    ///II - Standard Unique Health Identifier for each Individual in the United States
    StandardUniqueHealthIdentifierForEachIndividualInTheUnitedStates,
    ///IN - Changed Unique Identification Number
    ChangedUniqueIdentificationNumber,
    ///IP - U.S. Customs and Border Protection (CBP) Carrier Initiative Program (CIP) Participant Identification Number
    CodeIP,
    ///J - Mortgage Electronic Registration System Organization Identifier
    MortgageElectronicRegistrationSystemOrganization,
    ///K - Census Schedule K
    CensusScheduleK,
    ///L - Investor Assigned Identification Number
    InvestorAssignedIdentificationNumber,
    ///LC - Agency Location Code (U.S. Government)
    CodeLC,
    ///LD - NISO Z39.53 Language Codes
    NisoZ3953LanguageCodes,
    ///LE - ISO 639 Language Codes
    Iso639LanguageCodes,
    ///LI - Labeler Identification Code (LIC)
    CodeLI,
    ///LN - Loan Number
    LoanNumber,
    ///M - Certificate Number
    CertificateNumber,
    ///M3 - Disbursing Station
    DisbursingStation,
    ///M4 - Department of Defense Routing Identifier Code (RIC)
    CodeM4,
    ///M5 - Jurisdiction Code
    JurisdictionCode,
    ///M6 - Division Office Code
    DivisionOfficeCode,
    ///MA - Mail Stop
    MailStop,
    ///MB - Medical Information Bureau
    MedicalInformationBureau,
    ///MC - Medicaid Provider Number
    MedicaidProviderNumber,
    ///MD - Manitoba Department of Mines and Resources
    ManitobaDepartmentOfMinesAndResources,
    ///MI - Member Identification Number
    MemberIdentificationNumber,
    ///MK - Market
    Market,
    ///ML - Multiple Listing Service Vendor - Multiple Listing Service Identification
    MultipleListingServiceVendorMultipleListingServiceIdentification,
    ///MN - Mortgage Identification Number
    MortgageIdentificationNumber,
    ///MO - Major Organizational Entity
    MajorOrganizationalEntity,
    ///MP - Medicare Provider Number
    MedicareProviderNumber,
    ///MR - Medicaid Recipient Identification Number
    MedicaidRecipientIdentificationNumber,
    ///N - Insured's Unique Identification Number
    InsuredsUniqueIdentificationNumber,
    ///NA - National Association of Realtors - Multiple Listing Service Identification
    NationalAssociationOfRealtorsMultipleListingServiceIdentification,
    ///ND - Mode Designator
    ModeDesignator,
    ///NI - National Association of Insurance Commissioners (NAIC) Identification
    CodeNI,
    ///NO - National Criminal Information Center Originating Agency
    NationalCriminalInformationCenterOriginatingAgency,
    ///NR - Non Resident Alien Registration Number
    NonResidentAlienRegistrationNumber,
    ///OC - Occupation Code
    OccupationCode,
    ///OE - Healthcare Other Entity ID (OEID)
    CodeOE,
    ///OP - On-line Payment and Collection
    OnLinePaymentAndCollection,
    ///PA - Secondary Agent Identification
    SecondaryAgentIdentification,
    ///PB - Public Identification
    PublicIdentification,
    ///PC - Provider Commercial Number
    ProviderCommercialNumber,
    ///PI - Payer Identification
    PayerIdentification,
    ///PN - Passport Identification Number
    PassportIdentificationNumber,
    ///PP - Pharmacy Processor Number
    PharmacyProcessorNumber,
    ///PR - Pier
    Pier,
    ///PY - Proximity Card Number
    ProximityCardNumber,
    ///RA - Regulatory Agency Number
    RegulatoryAgencyNumber,
    ///RB - Real Estate Agent
    RealEstateAgent,
    ///RC - Real Estate Company
    RealEstateCompany,
    ///RD - Real Estate Broker Identification
    RealEstateBrokerIdentification,
    ///RE - Real Estate License Number
    RealEstateLicenseNumber,
    ///RI - Office of Regulatory Information Systems (ORIS) Code
    CodeRI,
    ///RP - Ramp
    Ramp,
    ///RT - Railroad Track
    RailroadTrack,
    ///S - Title Insurance Policy Number
    TitleInsurancePolicyNumber,
    ///SA - Tertiary Agent Identification
    TertiaryAgentIdentification,
    ///SB - Social Insurance Number
    SocialInsuranceNumber,
    ///SD - Saskatchewan Department of Energy Mines and Resources
    SaskatchewanDepartmentOfEnergyMinesAndResources,
    ///SF - Suffix Code
    SuffixCode,
    ///SI - Standard Industry Code (SIC)
    CodeSI,
    ///SJ - State or Province Jurisdiction
    StateOrProvinceJurisdiction,
    ///SK - State/Provincial Lottery License Number
    StateProvincialLotteryLicenseNumber,
    ///SL - State License Number
    StateLicenseNumber,
    ///SM - SAMMI -- System for Award Management Managed Identifier
    SammiSystemForAwardManagementManaged,
    ///SP - Specialty License Number
    SpecialtyLicenseNumber,
    ///ST - State/Province License Tag
    StateProvinceLicenseTag,
    ///SV - Service Provider Number
    ServiceProviderNumber,
    ///SW - Society for Worldwide Interbank Financial Telecommunications (SWIFT) Address
    CodeSW,
    ///SX - U.S. Customs and Border Protection (CBP) Shipper Identifier (SID)
    CodeSX,
    ///TA - Taxpayer ID Number
    TaxpayerIdNumber,
    ///TC - Internal Revenue Service Terminal Code
    InternalRevenueServiceTerminalCode,
    ///TI - Individual Taxpayer's Identification Number (ITIN)
    CodeTI,
    ///TL - Transport4 Location Code
    Transport4LocationCode,
    ///TS - Transport4 Shipper Code
    Transport4ShipperCode,
    ///TZ - Department Code
    DepartmentCode,
    ///U - United Nations Location Code (UNLOCODE) Number
    CodeU,
    ///UC - Consumer Credit Identification Number
    ConsumerCreditIdentificationNumber,
    ///UE - Unique Entity Identifier
    UniqueEntity,
    ///UI - Unit Identification Code
    UnitIdentificationCode,
    ///UL - Global Location Number (GLN)
    CodeUL,
    ///UM - GS1 Global Location Number with Extension Component
    Gs1GlobalLocationNumberWithExtensionComponent,
    ///UP - Unique Physician Identification Number (UPIN)
    CodeUP,
    ///UR - Uniform Resource Locator (URL)
    CodeUR,
    ///US - Unique Supplier Identification Number (USIN)
    CodeUS,
    ///UT - Unit
    Unit,
    ///WR - Wine Region Code
    WineRegionCode,
    ///WS - Education Language Codes
    EducationLanguageCodes,
    ///X1 - National Center for Education Statistics Unit Identification Number
    NationalCenterForEducationStatisticsUnitIdentificationNumber,
    ///XV - Standard Unique Health Plan Identifier (HPID)
    CodeXV,
    ///XX - Standard Unique Health Identifier for Health Care Providers (NPI)
    CodeXX,
    ///XY - District Assigned Number
    DistrictAssignedNumber,
    ///ZB - U.S. Customs and Border Protection (CBP) Encrypted Consignee Identification
    CodeZB,
    ///ZC - Contractor Establishment Code
    ContractorEstablishmentCode,
    ///ZN - Zone
    Zone,
    ///ZY - Temporary Identification Number
    TemporaryIdentificationNumber,
    ///ZZ - Mutually Defined
    MutuallyDefined,
}
impl IdentificationCodeQualifier {
    pub fn code(&self) -> &str {
        {
            use IdentificationCodeQualifier::*;
            match self {
                Code0 => "0",
                Code1 => "1",
                Code2 => "2",
                Code3 => "3",
                Code4 => "4",
                PlantCode => "6",
                LoadingDock => "7",
                Code9 => "9",
                Code10 => "10",
                Code11 => "11",
                Code12 => "12",
                Code13 => "13",
                Code15 => "15",
                ZipCode => "16",
                Code17 => "17",
                Code19 => "19",
                Code20 => "20",
                Code21 => "21",
                Code22 => "22",
                Code23 => "23",
                EmployersIdentificationNumber => "24",
                CarriersCustomerCode => "25",
                PetroleumAccountantsSocietyOfCanadaCompanyCode => "26",
                Code27 => "27",
                AmericanPaperInstitute => "28",
                GridLocationAndFacilityCode => "29",
                AmericanPetroleumInstituteLocationCode => "30",
                BankIdentificationCode => "31",
                AssignedByPropertyOperator => "32",
                Code33 => "33",
                SocialSecurityNumber => "34",
                ElectronicMailInternalSystemAddressCode => "35",
                CustomsHouseBrokerLicenseNumber => "36",
                UnitedNationsVendorCode => "37",
                CountryCode => "38",
                LocalUnionNumber => "39",
                ElectronicMailUserCode => "40",
                TelecommunicationsCarrierIdentificationCode => "41",
                TelecommunicationsPseudoCarrierIdentificationCode => "42",
                AlternateSocialSecurityNumber => "43",
                ReturnSequenceNumber => "44",
                DeclarationControlNumber => "45",
                Code46 => "46",
                TaxAuthorityIdentification => "47",
                Code48 => "48",
                StateIdentificationNumber => "49",
                BusinessLicenseNumber => "50",
                FuelInventoryAdjustmentIdentification => "51",
                Building => "53",
                Warehouse => "54",
                PostOfficeBox => "55",
                Division => "56",
                Department => "57",
                OriginatingCompanyNumber => "58",
                ReceivingCompanyNumber => "59",
                HoldingMortgageeNumber => "61",
                ServicingMortgageeNumber => "62",
                ServicerHolderMortgageeNumber => "63",
                OneCallAgency => "64",
                Code71 => "71",
                Code72 => "72",
                Code73 => "73",
                Code74 => "74",
                StateOrProvinceAssignedNumber => "75",
                LocalSchoolDistrictOrJurisdictionNumber => "76",
                Code77 => "77",
                TheCollegeBoardAndAct6DigitCodeListOfSecondaryEducationalInstitutions => {
                    "78"
                }
                Code81 => "81",
                Code82 => "82",
                CongressionalDistrict => "83",
                CaliforniaEthnicSubgroupsCodeTable => "90",
                AssignedBySellerOrSellersAgent => "91",
                AssignedByBuyerOrBuyersAgent => "92",
                CodeAssignedByTheOrganizationOriginatingTheTransactionSet => "93",
                CodeAssignedByTheOrganizationThatIsTheUltimateDestinationOfTheTransactionSet => {
                    "94"
                }
                AssignedByTransporter => "95",
                AssignedByPipelineOperator => "96",
                ReceiversCode => "97",
                PurchasingOffice => "98",
                Code99 => "99",
                CodeA => "A",
                ApproverId => "A1",
                CodeA2 => "A2",
                AssignedByThirdParty => "A3",
                AssignedByClearinghouse => "A4",
                CodeA5 => "A5",
                CodeA6 => "A6",
                CodeA7 => "A7",
                PostalServiceCode => "AA",
                CodeAB => "AB",
                AttachmentControlNumber => "AC",
                BlueCrossBlueShieldAssociationPlanCode => "AD",
                AlbertaEnergyResourcesConservationBoard => "AE",
                RentalLocation => "AF",
                AutomotiveIdentifierForCanadaBorderServicesAgency => "AI",
                AnesthesiaLicenseNumber => "AL",
                AlbertaPetroleumMarketingCommission => "AP",
                ActivityCode => "AY",
                BritishColumbiaMinistryOfEnergyMinesAndPetroleumResources => "BC",
                BlueCrossProviderNumber => "BD",
                CodeBE => "BE",
                BrokerFilerId => "BF",
                BadgeNumber => "BG",
                CodeBN => "BN",
                BenefitPlan => "BP",
                BlueShieldProviderNumber => "BS",
                InsuredsChangedUniqueIdentificationNumber => "C",
                InsuredOrSubscriber => "C1",
                CodeC2 => "C2",
                CustomerIdentificationFile => "C5",
                StatisticsCanadaCanadianCollegeStudentInformationSystemCourseCodes => {
                    "CA"
                }
                StatisticsCanadaCanadianCollegeStudentInformationSystemInstitutionCodes => {
                    "CB"
                }
                StatisticsCanadaUniversityStudentInformationSystemCurriculumCodes => "CC",
                ContractDivision => "CD",
                BureauOfTheCensusFilerIdentificationCode => "CE",
                CanadianFinancialInstitutionRoutingNumber => "CF",
                Tricare => "CI",
                CorrectedLoanNumber => "CL",
                CodeCM => "CM",
                CodeCN => "CN",
                CanadianPetroleumAssociation => "CP",
                CreditRepository => "CR",
                StatisticsCanadaUniversityStudentInformationSystemUniversityCodes => "CS",
                CourtIdentificationCode => "CT",
                CodeCU => "CU",
                CodeCW => "CW",
                CensusScheduleD => "D",
                UnitedStatesDepartmentOfEducationGuarantorIdentificationCode => "DG",
                UnitedStatesDepartmentOfEducationLenderIdentificationCode => "DL",
                DentistLicenseNumber => "DN",
                Door => "DO",
                DataProcessingPoint => "DP",
                CodeDR => "DR",
                UnitedStatesDepartmentOfEducationSchoolIdentificationCode => "DS",
                HazardInsurancePolicyNumber => "E",
                AriElectronicCommerceLocationIdCode => "EC",
                TheatreNumber => "EH",
                EmployeeIdentificationNumber => "EI",
                Elevator => "EL",
                CodeEP => "EP",
                InsuranceCompanyAssignedIdentificationNumber => "EQ",
                MortgageeAssignedIdentificationNumber => "ER",
                CodeES => "ES",
                EducationalTestingServiceListOfInternationalPostsecondaryInstitutions => {
                    "ET"
                }
                DocumentCustodianIdentificationNumber => "F",
                FacilityIdentification => "FA",
                FieldCode => "FB",
                FederalCourtJurisdiction => "FC",
                FederalCourtDivisionalOfficeNumber => "FD",
                FacilityFederalIdentificationNumber => "FE",
                FederalTaxpayersIdentificationNumber => "FI",
                FederalJurisdiction => "FJ",
                Floor => "FL",
                CodeFN => "FN",
                CodeFR => "FR",
                CodeFT => "FT",
                PayeeIdentificationNumber => "G",
                PrimaryAgentIdentification => "GA",
                CodeGC => "GC",
                GlobalServiceRelationNumber => "GS",
                CentersForMedicareAndMedicaidServices => "HC",
                HcIdeaNumber => "HI",
                CodeHN => "HN",
                CodeHS => "HS",
                SecondaryMarketingInvestorAssignedNumber => "I",
                CodeID => "ID",
                StandardUniqueHealthIdentifierForEachIndividualInTheUnitedStates => "II",
                ChangedUniqueIdentificationNumber => "IN",
                CodeIP => "IP",
                MortgageElectronicRegistrationSystemOrganization => "J",
                CensusScheduleK => "K",
                InvestorAssignedIdentificationNumber => "L",
                CodeLC => "LC",
                NisoZ3953LanguageCodes => "LD",
                Iso639LanguageCodes => "LE",
                CodeLI => "LI",
                LoanNumber => "LN",
                CertificateNumber => "M",
                DisbursingStation => "M3",
                CodeM4 => "M4",
                JurisdictionCode => "M5",
                DivisionOfficeCode => "M6",
                MailStop => "MA",
                MedicalInformationBureau => "MB",
                MedicaidProviderNumber => "MC",
                ManitobaDepartmentOfMinesAndResources => "MD",
                MemberIdentificationNumber => "MI",
                Market => "MK",
                MultipleListingServiceVendorMultipleListingServiceIdentification => "ML",
                MortgageIdentificationNumber => "MN",
                MajorOrganizationalEntity => "MO",
                MedicareProviderNumber => "MP",
                MedicaidRecipientIdentificationNumber => "MR",
                InsuredsUniqueIdentificationNumber => "N",
                NationalAssociationOfRealtorsMultipleListingServiceIdentification => "NA",
                ModeDesignator => "ND",
                CodeNI => "NI",
                NationalCriminalInformationCenterOriginatingAgency => "NO",
                NonResidentAlienRegistrationNumber => "NR",
                OccupationCode => "OC",
                CodeOE => "OE",
                OnLinePaymentAndCollection => "OP",
                SecondaryAgentIdentification => "PA",
                PublicIdentification => "PB",
                ProviderCommercialNumber => "PC",
                PayerIdentification => "PI",
                PassportIdentificationNumber => "PN",
                PharmacyProcessorNumber => "PP",
                Pier => "PR",
                ProximityCardNumber => "PY",
                RegulatoryAgencyNumber => "RA",
                RealEstateAgent => "RB",
                RealEstateCompany => "RC",
                RealEstateBrokerIdentification => "RD",
                RealEstateLicenseNumber => "RE",
                CodeRI => "RI",
                Ramp => "RP",
                RailroadTrack => "RT",
                TitleInsurancePolicyNumber => "S",
                TertiaryAgentIdentification => "SA",
                SocialInsuranceNumber => "SB",
                SaskatchewanDepartmentOfEnergyMinesAndResources => "SD",
                SuffixCode => "SF",
                CodeSI => "SI",
                StateOrProvinceJurisdiction => "SJ",
                StateProvincialLotteryLicenseNumber => "SK",
                StateLicenseNumber => "SL",
                SammiSystemForAwardManagementManaged => "SM",
                SpecialtyLicenseNumber => "SP",
                StateProvinceLicenseTag => "ST",
                ServiceProviderNumber => "SV",
                CodeSW => "SW",
                CodeSX => "SX",
                TaxpayerIdNumber => "TA",
                InternalRevenueServiceTerminalCode => "TC",
                CodeTI => "TI",
                Transport4LocationCode => "TL",
                Transport4ShipperCode => "TS",
                DepartmentCode => "TZ",
                CodeU => "U",
                ConsumerCreditIdentificationNumber => "UC",
                UniqueEntity => "UE",
                UnitIdentificationCode => "UI",
                CodeUL => "UL",
                Gs1GlobalLocationNumberWithExtensionComponent => "UM",
                CodeUP => "UP",
                CodeUR => "UR",
                CodeUS => "US",
                Unit => "UT",
                WineRegionCode => "WR",
                EducationLanguageCodes => "WS",
                NationalCenterForEducationStatisticsUnitIdentificationNumber => "X1",
                CodeXV => "XV",
                CodeXX => "XX",
                DistrictAssignedNumber => "XY",
                CodeZB => "ZB",
                ContractorEstablishmentCode => "ZC",
                Zone => "ZN",
                TemporaryIdentificationNumber => "ZY",
                MutuallyDefined => "ZZ",
            }
        }
    }
    pub fn from_code(code: &[u8]) -> Option<IdentificationCodeQualifier> {
        use IdentificationCodeQualifier::*;
        match code {
            b"0" => Some(Code0),
            b"1" => Some(Code1),
            b"2" => Some(Code2),
            b"3" => Some(Code3),
            b"4" => Some(Code4),
            b"6" => Some(PlantCode),
            b"7" => Some(LoadingDock),
            b"9" => Some(Code9),
            b"10" => Some(Code10),
            b"11" => Some(Code11),
            b"12" => Some(Code12),
            b"13" => Some(Code13),
            b"15" => Some(Code15),
            b"16" => Some(ZipCode),
            b"17" => Some(Code17),
            b"19" => Some(Code19),
            b"20" => Some(Code20),
            b"21" => Some(Code21),
            b"22" => Some(Code22),
            b"23" => Some(Code23),
            b"24" => Some(EmployersIdentificationNumber),
            b"25" => Some(CarriersCustomerCode),
            b"26" => Some(PetroleumAccountantsSocietyOfCanadaCompanyCode),
            b"27" => Some(Code27),
            b"28" => Some(AmericanPaperInstitute),
            b"29" => Some(GridLocationAndFacilityCode),
            b"30" => Some(AmericanPetroleumInstituteLocationCode),
            b"31" => Some(BankIdentificationCode),
            b"32" => Some(AssignedByPropertyOperator),
            b"33" => Some(Code33),
            b"34" => Some(SocialSecurityNumber),
            b"35" => Some(ElectronicMailInternalSystemAddressCode),
            b"36" => Some(CustomsHouseBrokerLicenseNumber),
            b"37" => Some(UnitedNationsVendorCode),
            b"38" => Some(CountryCode),
            b"39" => Some(LocalUnionNumber),
            b"40" => Some(ElectronicMailUserCode),
            b"41" => Some(TelecommunicationsCarrierIdentificationCode),
            b"42" => Some(TelecommunicationsPseudoCarrierIdentificationCode),
            b"43" => Some(AlternateSocialSecurityNumber),
            b"44" => Some(ReturnSequenceNumber),
            b"45" => Some(DeclarationControlNumber),
            b"46" => Some(Code46),
            b"47" => Some(TaxAuthorityIdentification),
            b"48" => Some(Code48),
            b"49" => Some(StateIdentificationNumber),
            b"50" => Some(BusinessLicenseNumber),
            b"51" => Some(FuelInventoryAdjustmentIdentification),
            b"53" => Some(Building),
            b"54" => Some(Warehouse),
            b"55" => Some(PostOfficeBox),
            b"56" => Some(Division),
            b"57" => Some(Department),
            b"58" => Some(OriginatingCompanyNumber),
            b"59" => Some(ReceivingCompanyNumber),
            b"61" => Some(HoldingMortgageeNumber),
            b"62" => Some(ServicingMortgageeNumber),
            b"63" => Some(ServicerHolderMortgageeNumber),
            b"64" => Some(OneCallAgency),
            b"71" => Some(Code71),
            b"72" => Some(Code72),
            b"73" => Some(Code73),
            b"74" => Some(Code74),
            b"75" => Some(StateOrProvinceAssignedNumber),
            b"76" => Some(LocalSchoolDistrictOrJurisdictionNumber),
            b"77" => Some(Code77),
            b"78" => {
                Some(
                    TheCollegeBoardAndAct6DigitCodeListOfSecondaryEducationalInstitutions,
                )
            }
            b"81" => Some(Code81),
            b"82" => Some(Code82),
            b"83" => Some(CongressionalDistrict),
            b"90" => Some(CaliforniaEthnicSubgroupsCodeTable),
            b"91" => Some(AssignedBySellerOrSellersAgent),
            b"92" => Some(AssignedByBuyerOrBuyersAgent),
            b"93" => Some(CodeAssignedByTheOrganizationOriginatingTheTransactionSet),
            b"94" => {
                Some(
                    CodeAssignedByTheOrganizationThatIsTheUltimateDestinationOfTheTransactionSet,
                )
            }
            b"95" => Some(AssignedByTransporter),
            b"96" => Some(AssignedByPipelineOperator),
            b"97" => Some(ReceiversCode),
            b"98" => Some(PurchasingOffice),
            b"99" => Some(Code99),
            b"A" => Some(CodeA),
            b"A1" => Some(ApproverId),
            b"A2" => Some(CodeA2),
            b"A3" => Some(AssignedByThirdParty),
            b"A4" => Some(AssignedByClearinghouse),
            b"A5" => Some(CodeA5),
            b"A6" => Some(CodeA6),
            b"A7" => Some(CodeA7),
            b"AA" => Some(PostalServiceCode),
            b"AB" => Some(CodeAB),
            b"AC" => Some(AttachmentControlNumber),
            b"AD" => Some(BlueCrossBlueShieldAssociationPlanCode),
            b"AE" => Some(AlbertaEnergyResourcesConservationBoard),
            b"AF" => Some(RentalLocation),
            b"AI" => Some(AutomotiveIdentifierForCanadaBorderServicesAgency),
            b"AL" => Some(AnesthesiaLicenseNumber),
            b"AP" => Some(AlbertaPetroleumMarketingCommission),
            b"AY" => Some(ActivityCode),
            b"BC" => Some(BritishColumbiaMinistryOfEnergyMinesAndPetroleumResources),
            b"BD" => Some(BlueCrossProviderNumber),
            b"BE" => Some(CodeBE),
            b"BF" => Some(BrokerFilerId),
            b"BG" => Some(BadgeNumber),
            b"BN" => Some(CodeBN),
            b"BP" => Some(BenefitPlan),
            b"BS" => Some(BlueShieldProviderNumber),
            b"C" => Some(InsuredsChangedUniqueIdentificationNumber),
            b"C1" => Some(InsuredOrSubscriber),
            b"C2" => Some(CodeC2),
            b"C5" => Some(CustomerIdentificationFile),
            b"CA" => {
                Some(StatisticsCanadaCanadianCollegeStudentInformationSystemCourseCodes)
            }
            b"CB" => {
                Some(
                    StatisticsCanadaCanadianCollegeStudentInformationSystemInstitutionCodes,
                )
            }
            b"CC" => {
                Some(StatisticsCanadaUniversityStudentInformationSystemCurriculumCodes)
            }
            b"CD" => Some(ContractDivision),
            b"CE" => Some(BureauOfTheCensusFilerIdentificationCode),
            b"CF" => Some(CanadianFinancialInstitutionRoutingNumber),
            b"CI" => Some(Tricare),
            b"CL" => Some(CorrectedLoanNumber),
            b"CM" => Some(CodeCM),
            b"CN" => Some(CodeCN),
            b"CP" => Some(CanadianPetroleumAssociation),
            b"CR" => Some(CreditRepository),
            b"CS" => {
                Some(StatisticsCanadaUniversityStudentInformationSystemUniversityCodes)
            }
            b"CT" => Some(CourtIdentificationCode),
            b"CU" => Some(CodeCU),
            b"CW" => Some(CodeCW),
            b"D" => Some(CensusScheduleD),
            b"DG" => Some(UnitedStatesDepartmentOfEducationGuarantorIdentificationCode),
            b"DL" => Some(UnitedStatesDepartmentOfEducationLenderIdentificationCode),
            b"DN" => Some(DentistLicenseNumber),
            b"DO" => Some(Door),
            b"DP" => Some(DataProcessingPoint),
            b"DR" => Some(CodeDR),
            b"DS" => Some(UnitedStatesDepartmentOfEducationSchoolIdentificationCode),
            b"E" => Some(HazardInsurancePolicyNumber),
            b"EC" => Some(AriElectronicCommerceLocationIdCode),
            b"EH" => Some(TheatreNumber),
            b"EI" => Some(EmployeeIdentificationNumber),
            b"EL" => Some(Elevator),
            b"EP" => Some(CodeEP),
            b"EQ" => Some(InsuranceCompanyAssignedIdentificationNumber),
            b"ER" => Some(MortgageeAssignedIdentificationNumber),
            b"ES" => Some(CodeES),
            b"ET" => {
                Some(
                    EducationalTestingServiceListOfInternationalPostsecondaryInstitutions,
                )
            }
            b"F" => Some(DocumentCustodianIdentificationNumber),
            b"FA" => Some(FacilityIdentification),
            b"FB" => Some(FieldCode),
            b"FC" => Some(FederalCourtJurisdiction),
            b"FD" => Some(FederalCourtDivisionalOfficeNumber),
            b"FE" => Some(FacilityFederalIdentificationNumber),
            b"FI" => Some(FederalTaxpayersIdentificationNumber),
            b"FJ" => Some(FederalJurisdiction),
            b"FL" => Some(Floor),
            b"FN" => Some(CodeFN),
            b"FR" => Some(CodeFR),
            b"FT" => Some(CodeFT),
            b"G" => Some(PayeeIdentificationNumber),
            b"GA" => Some(PrimaryAgentIdentification),
            b"GC" => Some(CodeGC),
            b"GS" => Some(GlobalServiceRelationNumber),
            b"HC" => Some(CentersForMedicareAndMedicaidServices),
            b"HI" => Some(HcIdeaNumber),
            b"HN" => Some(CodeHN),
            b"HS" => Some(CodeHS),
            b"I" => Some(SecondaryMarketingInvestorAssignedNumber),
            b"ID" => Some(CodeID),
            b"II" => {
                Some(StandardUniqueHealthIdentifierForEachIndividualInTheUnitedStates)
            }
            b"IN" => Some(ChangedUniqueIdentificationNumber),
            b"IP" => Some(CodeIP),
            b"J" => Some(MortgageElectronicRegistrationSystemOrganization),
            b"K" => Some(CensusScheduleK),
            b"L" => Some(InvestorAssignedIdentificationNumber),
            b"LC" => Some(CodeLC),
            b"LD" => Some(NisoZ3953LanguageCodes),
            b"LE" => Some(Iso639LanguageCodes),
            b"LI" => Some(CodeLI),
            b"LN" => Some(LoanNumber),
            b"M" => Some(CertificateNumber),
            b"M3" => Some(DisbursingStation),
            b"M4" => Some(CodeM4),
            b"M5" => Some(JurisdictionCode),
            b"M6" => Some(DivisionOfficeCode),
            b"MA" => Some(MailStop),
            b"MB" => Some(MedicalInformationBureau),
            b"MC" => Some(MedicaidProviderNumber),
            b"MD" => Some(ManitobaDepartmentOfMinesAndResources),
            b"MI" => Some(MemberIdentificationNumber),
            b"MK" => Some(Market),
            b"ML" => {
                Some(MultipleListingServiceVendorMultipleListingServiceIdentification)
            }
            b"MN" => Some(MortgageIdentificationNumber),
            b"MO" => Some(MajorOrganizationalEntity),
            b"MP" => Some(MedicareProviderNumber),
            b"MR" => Some(MedicaidRecipientIdentificationNumber),
            b"N" => Some(InsuredsUniqueIdentificationNumber),
            b"NA" => {
                Some(NationalAssociationOfRealtorsMultipleListingServiceIdentification)
            }
            b"ND" => Some(ModeDesignator),
            b"NI" => Some(CodeNI),
            b"NO" => Some(NationalCriminalInformationCenterOriginatingAgency),
            b"NR" => Some(NonResidentAlienRegistrationNumber),
            b"OC" => Some(OccupationCode),
            b"OE" => Some(CodeOE),
            b"OP" => Some(OnLinePaymentAndCollection),
            b"PA" => Some(SecondaryAgentIdentification),
            b"PB" => Some(PublicIdentification),
            b"PC" => Some(ProviderCommercialNumber),
            b"PI" => Some(PayerIdentification),
            b"PN" => Some(PassportIdentificationNumber),
            b"PP" => Some(PharmacyProcessorNumber),
            b"PR" => Some(Pier),
            b"PY" => Some(ProximityCardNumber),
            b"RA" => Some(RegulatoryAgencyNumber),
            b"RB" => Some(RealEstateAgent),
            b"RC" => Some(RealEstateCompany),
            b"RD" => Some(RealEstateBrokerIdentification),
            b"RE" => Some(RealEstateLicenseNumber),
            b"RI" => Some(CodeRI),
            b"RP" => Some(Ramp),
            b"RT" => Some(RailroadTrack),
            b"S" => Some(TitleInsurancePolicyNumber),
            b"SA" => Some(TertiaryAgentIdentification),
            b"SB" => Some(SocialInsuranceNumber),
            b"SD" => Some(SaskatchewanDepartmentOfEnergyMinesAndResources),
            b"SF" => Some(SuffixCode),
            b"SI" => Some(CodeSI),
            b"SJ" => Some(StateOrProvinceJurisdiction),
            b"SK" => Some(StateProvincialLotteryLicenseNumber),
            b"SL" => Some(StateLicenseNumber),
            b"SM" => Some(SammiSystemForAwardManagementManaged),
            b"SP" => Some(SpecialtyLicenseNumber),
            b"ST" => Some(StateProvinceLicenseTag),
            b"SV" => Some(ServiceProviderNumber),
            b"SW" => Some(CodeSW),
            b"SX" => Some(CodeSX),
            b"TA" => Some(TaxpayerIdNumber),
            b"TC" => Some(InternalRevenueServiceTerminalCode),
            b"TI" => Some(CodeTI),
            b"TL" => Some(Transport4LocationCode),
            b"TS" => Some(Transport4ShipperCode),
            b"TZ" => Some(DepartmentCode),
            b"U" => Some(CodeU),
            b"UC" => Some(ConsumerCreditIdentificationNumber),
            b"UE" => Some(UniqueEntity),
            b"UI" => Some(UnitIdentificationCode),
            b"UL" => Some(CodeUL),
            b"UM" => Some(Gs1GlobalLocationNumberWithExtensionComponent),
            b"UP" => Some(CodeUP),
            b"UR" => Some(CodeUR),
            b"US" => Some(CodeUS),
            b"UT" => Some(Unit),
            b"WR" => Some(WineRegionCode),
            b"WS" => Some(EducationLanguageCodes),
            b"X1" => Some(NationalCenterForEducationStatisticsUnitIdentificationNumber),
            b"XV" => Some(CodeXV),
            b"XX" => Some(CodeXX),
            b"XY" => Some(DistrictAssignedNumber),
            b"ZB" => Some(CodeZB),
            b"ZC" => Some(ContractorEstablishmentCode),
            b"ZN" => Some(Zone),
            b"ZY" => Some(TemporaryIdentificationNumber),
            b"ZZ" => Some(MutuallyDefined),
            _ => None,
        }
    }
    fn description(&self) -> &str {
        use IdentificationCodeQualifier::*;
        match self {
            Code0 => "Petroleum Industry Exchange (PETROEX) Number",
            Code1 => "D-U-N-S Number, Dun & Bradstreet",
            Code2 => "Standard Carrier Alpha Code (SCAC)",
            Code3 => "Federal Maritime Commission (Ocean) (FMC)",
            Code4 => "International Air Transport Association (IATA)",
            PlantCode => "Plant Code",
            LoadingDock => "Loading Dock",
            Code9 => "D-U-N-S+4, D-U-N-S Number with Four Character Suffix",
            Code10 => "Department of Defense Activity Address Code (DODAAC)",
            Code11 => "Drug Enforcement Administration (DEA)",
            Code12 => "Telephone Number (Phone)",
            Code13 => "Federal Reserve Routing Code (FRRC)",
            Code15 => "Standard Address Number (SAN)",
            ZipCode => "ZIP Code",
            Code17 => "Automated Broker Interface (ABI) Routing Code",
            Code19 => "FIPS-55 (Named Populated Places)",
            Code20 => "Standard Point Location Code (SPLC)",
            Code21 => "Health Industry Number (HIN)",
            Code22 => "Council of Petroleum Accounting Societies code (COPAS)",
            Code23 => "Journal of Commerce (JOC)",
            EmployersIdentificationNumber => "Employer's Identification Number",
            CarriersCustomerCode => "Carrier's Customer Code",
            PetroleumAccountantsSocietyOfCanadaCompanyCode => {
                "Petroleum Accountants Society of Canada Company Code"
            }
            Code27 => "Government Bill Of Lading Office Code (GBLOC)",
            AmericanPaperInstitute => "American Paper Institute",
            GridLocationAndFacilityCode => "Grid Location and Facility Code",
            AmericanPetroleumInstituteLocationCode => {
                "American Petroleum Institute Location Code"
            }
            BankIdentificationCode => "Bank Identification Code",
            AssignedByPropertyOperator => "Assigned by Property Operator",
            Code33 => "Commercial and Government Entity (CAGE)",
            SocialSecurityNumber => "Social Security Number",
            ElectronicMailInternalSystemAddressCode => {
                "Electronic Mail Internal System Address Code"
            }
            CustomsHouseBrokerLicenseNumber => "Customs House Broker License Number",
            UnitedNationsVendorCode => "United Nations Vendor Code",
            CountryCode => "Country Code",
            LocalUnionNumber => "Local Union Number",
            ElectronicMailUserCode => "Electronic Mail User Code",
            TelecommunicationsCarrierIdentificationCode => {
                "Telecommunications Carrier Identification Code"
            }
            TelecommunicationsPseudoCarrierIdentificationCode => {
                "Telecommunications Pseudo Carrier Identification Code"
            }
            AlternateSocialSecurityNumber => "Alternate Social Security Number",
            ReturnSequenceNumber => "Return Sequence Number",
            DeclarationControlNumber => "Declaration Control Number",
            Code46 => "Electronic Transmitter Identification Number (ETIN)",
            TaxAuthorityIdentification => "Tax Authority Identification",
            Code48 => "Electronic Filer Identification Number (EFIN)",
            StateIdentificationNumber => "State Identification Number",
            BusinessLicenseNumber => "Business License Number",
            FuelInventoryAdjustmentIdentification => {
                "Fuel Inventory Adjustment Identification"
            }
            Building => "Building",
            Warehouse => "Warehouse",
            PostOfficeBox => "Post Office Box",
            Division => "Division",
            Department => "Department",
            OriginatingCompanyNumber => "Originating Company Number",
            ReceivingCompanyNumber => "Receiving Company Number",
            HoldingMortgageeNumber => "Holding Mortgagee Number",
            ServicingMortgageeNumber => "Servicing Mortgagee Number",
            ServicerHolderMortgageeNumber => "Servicer-holder Mortgagee Number",
            OneCallAgency => "One Call Agency",
            Code71 => {
                "Integrated Postsecondary Education Data System (IPEDS) set of codes maintained by the U.S. Department of Education's National Center of Education Statistics, Washington, D.C."
            }
            Code72 => {
                "The College Board's Admission Testing Program (ATP), administered by the Educational Testing Service (ETS), 4-digit list of postsecondary educational institutions."
            }
            Code73 => {
                "Federal Interagency Commission on Education (FICE) number. Available from the United States Department of Education, National Center for Education Statistics."
            }
            Code74 => {
                "American College Testing (ACT) list of postsecondary educational institutions."
            }
            StateOrProvinceAssignedNumber => "State or Province Assigned Number",
            LocalSchoolDistrictOrJurisdictionNumber => {
                "Local School District or Jurisdiction Number"
            }
            Code77 => {
                "National Center for Education Statistics (NCES) Common Core of Data (CCD) number for PreK - 12 institutions"
            }
            TheCollegeBoardAndAct6DigitCodeListOfSecondaryEducationalInstitutions => {
                "The College Board and ACT 6 digit code list of secondary educational institutions"
            }
            Code81 => {
                "Classification of Instructional Programs (CIP) coding structure maintained by the U.S. Department of Education's National Center for Education Statistics"
            }
            Code82 => {
                "Higher Education General Information Survey (HEGIS) maintained by the U.S.\nDepartment of Education's National Center for Education Statistics"
            }
            CongressionalDistrict => "Congressional District",
            CaliforniaEthnicSubgroupsCodeTable => {
                "California Ethnic Subgroups Code Table"
            }
            AssignedBySellerOrSellersAgent => "Assigned by Seller or Seller's Agent",
            AssignedByBuyerOrBuyersAgent => "Assigned by Buyer or Buyer's Agent",
            CodeAssignedByTheOrganizationOriginatingTheTransactionSet => {
                "Code assigned by the organization originating the transaction set"
            }
            CodeAssignedByTheOrganizationThatIsTheUltimateDestinationOfTheTransactionSet => {
                "Code assigned by the organization that is the ultimate destination of the transaction set"
            }
            AssignedByTransporter => "Assigned By Transporter",
            AssignedByPipelineOperator => "Assigned By Pipeline Operator",
            ReceiversCode => "Receiver's Code",
            PurchasingOffice => "Purchasing Office",
            Code99 => "Office of Workers Compensation Programs (OWCP) Agency Code",
            CodeA => "U.S. Customs and Border Protection (CBP) Carrier Identification",
            ApproverId => "Approver ID",
            CodeA2 => "Military Assistance Program Address Code (MAPAC)",
            AssignedByThirdParty => "Assigned by Third Party",
            AssignedByClearinghouse => "Assigned by Clearinghouse",
            CodeA5 => {
                "Committee on Uniform Security Identification Procedures (CUSIP) Number"
            }
            CodeA6 => "Financial Identification Numbering System (FINS) Number",
            CodeA7 => "Automated Commercial Environment Identification Code (ACEID)",
            PostalServiceCode => "Postal Service Code",
            CodeAB => "US Environmental Protection Agency (EPA) Identification Number",
            AttachmentControlNumber => "Attachment Control Number",
            BlueCrossBlueShieldAssociationPlanCode => {
                "Blue Cross Blue Shield Association Plan Code"
            }
            AlbertaEnergyResourcesConservationBoard => {
                "Alberta Energy Resources Conservation Board"
            }
            RentalLocation => "Rental Location Identifier",
            AutomotiveIdentifierForCanadaBorderServicesAgency => {
                "Automotive Identifier for Canada Border Services Agency"
            }
            AnesthesiaLicenseNumber => "Anesthesia License Number",
            AlbertaPetroleumMarketingCommission => {
                "Alberta Petroleum Marketing Commission"
            }
            ActivityCode => "Activity Code",
            BritishColumbiaMinistryOfEnergyMinesAndPetroleumResources => {
                "British Columbia Ministry of Energy Mines and Petroleum Resources"
            }
            BlueCrossProviderNumber => "Blue Cross Provider Number",
            CodeBE => "Common Language Location Identification (CLLI)",
            BrokerFilerId => "Broker Filer ID",
            BadgeNumber => "Badge Number",
            CodeBN => "Canada Revenue Agency (CRA) Business Number",
            BenefitPlan => "Benefit Plan",
            BlueShieldProviderNumber => "Blue Shield Provider Number",
            InsuredsChangedUniqueIdentificationNumber => {
                "Insured's Changed Unique Identification Number"
            }
            InsuredOrSubscriber => "Insured or Subscriber",
            CodeC2 => "Health Maintenance Organization (HMO) Provider Number",
            CustomerIdentificationFile => "Customer Identification File",
            StatisticsCanadaCanadianCollegeStudentInformationSystemCourseCodes => {
                "Statistics Canada Canadian College Student Information System Course Codes"
            }
            StatisticsCanadaCanadianCollegeStudentInformationSystemInstitutionCodes => {
                "Statistics Canada Canadian College Student Information System Institution Codes"
            }
            StatisticsCanadaUniversityStudentInformationSystemCurriculumCodes => {
                "Statistics Canada University Student Information System Curriculum Codes"
            }
            ContractDivision => "Contract Division",
            BureauOfTheCensusFilerIdentificationCode => {
                "Bureau of the Census Filer Identification Code"
            }
            CanadianFinancialInstitutionRoutingNumber => {
                "Canadian Financial Institution Routing Number"
            }
            Tricare => "TRICARE",
            CorrectedLoanNumber => "Corrected Loan Number",
            CodeCM => {
                "U.S. Customs and Border Protection (CBP) Manufacturer Identifier (MID)"
            }
            CodeCN => {
                "National Center for Education Statistics (NCES) Course Classification System for Secondary Schools"
            }
            CanadianPetroleumAssociation => "Canadian Petroleum Association",
            CreditRepository => "Credit Repository",
            StatisticsCanadaUniversityStudentInformationSystemUniversityCodes => {
                "Statistics Canada University Student Information System University Codes"
            }
            CourtIdentificationCode => "Court Identification Code",
            CodeCU => "U.S. Customs and Border Protection (CBP) Assigned Importer Number",
            CodeCW => {
                "U.S. Customs and Border Protection (CBP) Assigned Consignee Number"
            }
            CensusScheduleD => "Census Schedule D",
            UnitedStatesDepartmentOfEducationGuarantorIdentificationCode => {
                "United States Department of Education Guarantor Identification Code"
            }
            UnitedStatesDepartmentOfEducationLenderIdentificationCode => {
                "United States Department of Education Lender Identification Code"
            }
            DentistLicenseNumber => "Dentist License Number",
            Door => "Door",
            DataProcessingPoint => "Data Processing Point",
            CodeDR => "Gas Industry Standards Board (GISB) Data Reference Number (DRN)",
            UnitedStatesDepartmentOfEducationSchoolIdentificationCode => {
                "United States Department of Education School Identification Code"
            }
            HazardInsurancePolicyNumber => "Hazard Insurance Policy Number",
            AriElectronicCommerceLocationIdCode => {
                "ARI Electronic Commerce Location ID Code"
            }
            TheatreNumber => "Theatre Number",
            EmployeeIdentificationNumber => "Employee Identification Number",
            Elevator => "Elevator",
            CodeEP => "U.S. Environmental Protection Agency (EPA)",
            InsuranceCompanyAssignedIdentificationNumber => {
                "Insurance Company Assigned Identification Number"
            }
            MortgageeAssignedIdentificationNumber => {
                "Mortgagee Assigned Identification Number"
            }
            CodeES => "Automated Export System (AES) Filer Identification Code",
            EducationalTestingServiceListOfInternationalPostsecondaryInstitutions => {
                "Educational Testing Service List of International Postsecondary Institutions"
            }
            DocumentCustodianIdentificationNumber => {
                "Document Custodian Identification Number"
            }
            FacilityIdentification => "Facility Identification",
            FieldCode => "Field Code",
            FederalCourtJurisdiction => "Federal Court Jurisdiction Identifier",
            FederalCourtDivisionalOfficeNumber => {
                "Federal Court Divisional Office Number"
            }
            FacilityFederalIdentificationNumber => {
                "Facility Federal Identification Number"
            }
            FederalTaxpayersIdentificationNumber => {
                "Federal Taxpayer's Identification Number"
            }
            FederalJurisdiction => "Federal Jurisdiction",
            Floor => "Floor",
            CodeFN => {
                "U.S. Environmental Protection Agency (EPA) Laboratory Certification Identification"
            }
            CodeFR => {
                "Facilities Information and Resources Management System (FIRMS) Code"
            }
            CodeFT => "Free and Secure Trade (FAST) ID",
            PayeeIdentificationNumber => "Payee Identification Number",
            PrimaryAgentIdentification => "Primary Agent Identification",
            CodeGC => "GAS*CODE",
            GlobalServiceRelationNumber => "Global Service Relation Number",
            CentersForMedicareAndMedicaidServices => {
                "Centers for Medicare and Medicaid Services"
            }
            HcIdeaNumber => "HCIdea Number",
            CodeHN => "Health Insurance Claim (HIC) Number",
            CodeHS => "House (Canadian Grain Elevator)",
            SecondaryMarketingInvestorAssignedNumber => {
                "Secondary Marketing Investor Assigned Number"
            }
            CodeID => "UCC EDI Communications ID (Comm ID)",
            StandardUniqueHealthIdentifierForEachIndividualInTheUnitedStates => {
                "Standard Unique Health Identifier for each Individual in the United States"
            }
            ChangedUniqueIdentificationNumber => "Changed Unique Identification Number",
            CodeIP => {
                "U.S. Customs and Border Protection (CBP) Carrier Initiative Program (CIP) Participant Identification Number"
            }
            MortgageElectronicRegistrationSystemOrganization => {
                "Mortgage Electronic Registration System Organization Identifier"
            }
            CensusScheduleK => "Census Schedule K",
            InvestorAssignedIdentificationNumber => {
                "Investor Assigned Identification Number"
            }
            CodeLC => "Agency Location Code (U.S. Government)",
            NisoZ3953LanguageCodes => "NISO Z39.53 Language Codes",
            Iso639LanguageCodes => "ISO 639 Language Codes",
            CodeLI => "Labeler Identification Code (LIC)",
            LoanNumber => "Loan Number",
            CertificateNumber => "Certificate Number",
            DisbursingStation => "Disbursing Station",
            CodeM4 => "Department of Defense Routing Identifier Code (RIC)",
            JurisdictionCode => "Jurisdiction Code",
            DivisionOfficeCode => "Division Office Code",
            MailStop => "Mail Stop",
            MedicalInformationBureau => "Medical Information Bureau",
            MedicaidProviderNumber => "Medicaid Provider Number",
            ManitobaDepartmentOfMinesAndResources => {
                "Manitoba Department of Mines and Resources"
            }
            MemberIdentificationNumber => "Member Identification Number",
            Market => "Market",
            MultipleListingServiceVendorMultipleListingServiceIdentification => {
                "Multiple Listing Service Vendor - Multiple Listing Service Identification"
            }
            MortgageIdentificationNumber => "Mortgage Identification Number",
            MajorOrganizationalEntity => "Major Organizational Entity",
            MedicareProviderNumber => "Medicare Provider Number",
            MedicaidRecipientIdentificationNumber => {
                "Medicaid Recipient Identification Number"
            }
            InsuredsUniqueIdentificationNumber => {
                "Insured's Unique Identification Number"
            }
            NationalAssociationOfRealtorsMultipleListingServiceIdentification => {
                "National Association of Realtors - Multiple Listing Service Identification"
            }
            ModeDesignator => "Mode Designator",
            CodeNI => {
                "National Association of Insurance Commissioners (NAIC) Identification"
            }
            NationalCriminalInformationCenterOriginatingAgency => {
                "National Criminal Information Center Originating Agency"
            }
            NonResidentAlienRegistrationNumber => {
                "Non Resident Alien Registration Number"
            }
            OccupationCode => "Occupation Code",
            CodeOE => "Healthcare Other Entity ID (OEID)",
            OnLinePaymentAndCollection => "On-line Payment and Collection",
            SecondaryAgentIdentification => "Secondary Agent Identification",
            PublicIdentification => "Public Identification",
            ProviderCommercialNumber => "Provider Commercial Number",
            PayerIdentification => "Payer Identification",
            PassportIdentificationNumber => "Passport Identification Number",
            PharmacyProcessorNumber => "Pharmacy Processor Number",
            Pier => "Pier",
            ProximityCardNumber => "Proximity Card Number",
            RegulatoryAgencyNumber => "Regulatory Agency Number",
            RealEstateAgent => "Real Estate Agent",
            RealEstateCompany => "Real Estate Company",
            RealEstateBrokerIdentification => "Real Estate Broker Identification",
            RealEstateLicenseNumber => "Real Estate License Number",
            CodeRI => "Office of Regulatory Information Systems (ORIS) Code",
            Ramp => "Ramp",
            RailroadTrack => "Railroad Track",
            TitleInsurancePolicyNumber => "Title Insurance Policy Number",
            TertiaryAgentIdentification => "Tertiary Agent Identification",
            SocialInsuranceNumber => "Social Insurance Number",
            SaskatchewanDepartmentOfEnergyMinesAndResources => {
                "Saskatchewan Department of Energy Mines and Resources"
            }
            SuffixCode => "Suffix Code",
            CodeSI => "Standard Industry Code (SIC)",
            StateOrProvinceJurisdiction => "State or Province Jurisdiction",
            StateProvincialLotteryLicenseNumber => {
                "State/Provincial Lottery License Number"
            }
            StateLicenseNumber => "State License Number",
            SammiSystemForAwardManagementManaged => {
                "SAMMI -- System for Award Management Managed Identifier"
            }
            SpecialtyLicenseNumber => "Specialty License Number",
            StateProvinceLicenseTag => "State/Province License Tag",
            ServiceProviderNumber => "Service Provider Number",
            CodeSW => {
                "Society for Worldwide Interbank Financial Telecommunications (SWIFT) Address"
            }
            CodeSX => "U.S. Customs and Border Protection (CBP) Shipper Identifier (SID)",
            TaxpayerIdNumber => "Taxpayer ID Number",
            InternalRevenueServiceTerminalCode => {
                "Internal Revenue Service Terminal Code"
            }
            CodeTI => "Individual Taxpayer's Identification Number (ITIN)",
            Transport4LocationCode => "Transport4 Location Code",
            Transport4ShipperCode => "Transport4 Shipper Code",
            DepartmentCode => "Department Code",
            CodeU => "United Nations Location Code (UNLOCODE) Number",
            ConsumerCreditIdentificationNumber => "Consumer Credit Identification Number",
            UniqueEntity => "Unique Entity Identifier",
            UnitIdentificationCode => "Unit Identification Code",
            CodeUL => "Global Location Number (GLN)",
            Gs1GlobalLocationNumberWithExtensionComponent => {
                "GS1 Global Location Number with Extension Component"
            }
            CodeUP => "Unique Physician Identification Number (UPIN)",
            CodeUR => "Uniform Resource Locator (URL)",
            CodeUS => "Unique Supplier Identification Number (USIN)",
            Unit => "Unit",
            WineRegionCode => "Wine Region Code",
            EducationLanguageCodes => "Education Language Codes",
            NationalCenterForEducationStatisticsUnitIdentificationNumber => {
                "National Center for Education Statistics Unit Identification Number"
            }
            CodeXV => "Standard Unique Health Plan Identifier (HPID)",
            CodeXX => "Standard Unique Health Identifier for Health Care Providers (NPI)",
            DistrictAssignedNumber => "District Assigned Number",
            CodeZB => {
                "U.S. Customs and Border Protection (CBP) Encrypted Consignee Identification"
            }
            ContractorEstablishmentCode => "Contractor Establishment Code",
            Zone => "Zone",
            TemporaryIdentificationNumber => "Temporary Identification Number",
            MutuallyDefined => "Mutually Defined",
        }
    }
    fn from_description(description: &str) -> Option<IdentificationCodeQualifier> {
        {
            use IdentificationCodeQualifier::*;
            match description {
                "Petroleum Industry Exchange (PETROEX) Number" => Some(Code0),
                "D-U-N-S Number, Dun & Bradstreet" => Some(Code1),
                "Standard Carrier Alpha Code (SCAC)" => Some(Code2),
                "Federal Maritime Commission (Ocean) (FMC)" => Some(Code3),
                "International Air Transport Association (IATA)" => Some(Code4),
                "Plant Code" => Some(PlantCode),
                "Loading Dock" => Some(LoadingDock),
                "D-U-N-S+4, D-U-N-S Number with Four Character Suffix" => Some(Code9),
                "Department of Defense Activity Address Code (DODAAC)" => Some(Code10),
                "Drug Enforcement Administration (DEA)" => Some(Code11),
                "Telephone Number (Phone)" => Some(Code12),
                "Federal Reserve Routing Code (FRRC)" => Some(Code13),
                "Standard Address Number (SAN)" => Some(Code15),
                "ZIP Code" => Some(ZipCode),
                "Automated Broker Interface (ABI) Routing Code" => Some(Code17),
                "FIPS-55 (Named Populated Places)" => Some(Code19),
                "Standard Point Location Code (SPLC)" => Some(Code20),
                "Health Industry Number (HIN)" => Some(Code21),
                "Council of Petroleum Accounting Societies code (COPAS)" => Some(Code22),
                "Journal of Commerce (JOC)" => Some(Code23),
                "Employer's Identification Number" => Some(EmployersIdentificationNumber),
                "Carrier's Customer Code" => Some(CarriersCustomerCode),
                "Petroleum Accountants Society of Canada Company Code" => {
                    Some(PetroleumAccountantsSocietyOfCanadaCompanyCode)
                }
                "Government Bill Of Lading Office Code (GBLOC)" => Some(Code27),
                "American Paper Institute" => Some(AmericanPaperInstitute),
                "Grid Location and Facility Code" => Some(GridLocationAndFacilityCode),
                "American Petroleum Institute Location Code" => {
                    Some(AmericanPetroleumInstituteLocationCode)
                }
                "Bank Identification Code" => Some(BankIdentificationCode),
                "Assigned by Property Operator" => Some(AssignedByPropertyOperator),
                "Commercial and Government Entity (CAGE)" => Some(Code33),
                "Social Security Number" => Some(SocialSecurityNumber),
                "Electronic Mail Internal System Address Code" => {
                    Some(ElectronicMailInternalSystemAddressCode)
                }
                "Customs House Broker License Number" => {
                    Some(CustomsHouseBrokerLicenseNumber)
                }
                "United Nations Vendor Code" => Some(UnitedNationsVendorCode),
                "Country Code" => Some(CountryCode),
                "Local Union Number" => Some(LocalUnionNumber),
                "Electronic Mail User Code" => Some(ElectronicMailUserCode),
                "Telecommunications Carrier Identification Code" => {
                    Some(TelecommunicationsCarrierIdentificationCode)
                }
                "Telecommunications Pseudo Carrier Identification Code" => {
                    Some(TelecommunicationsPseudoCarrierIdentificationCode)
                }
                "Alternate Social Security Number" => Some(AlternateSocialSecurityNumber),
                "Return Sequence Number" => Some(ReturnSequenceNumber),
                "Declaration Control Number" => Some(DeclarationControlNumber),
                "Electronic Transmitter Identification Number (ETIN)" => Some(Code46),
                "Tax Authority Identification" => Some(TaxAuthorityIdentification),
                "Electronic Filer Identification Number (EFIN)" => Some(Code48),
                "State Identification Number" => Some(StateIdentificationNumber),
                "Business License Number" => Some(BusinessLicenseNumber),
                "Fuel Inventory Adjustment Identification" => {
                    Some(FuelInventoryAdjustmentIdentification)
                }
                "Building" => Some(Building),
                "Warehouse" => Some(Warehouse),
                "Post Office Box" => Some(PostOfficeBox),
                "Division" => Some(Division),
                "Department" => Some(Department),
                "Originating Company Number" => Some(OriginatingCompanyNumber),
                "Receiving Company Number" => Some(ReceivingCompanyNumber),
                "Holding Mortgagee Number" => Some(HoldingMortgageeNumber),
                "Servicing Mortgagee Number" => Some(ServicingMortgageeNumber),
                "Servicer-holder Mortgagee Number" => Some(ServicerHolderMortgageeNumber),
                "One Call Agency" => Some(OneCallAgency),
                "Integrated Postsecondary Education Data System (IPEDS) set of codes maintained by the U.S. Department of Education's National Center of Education Statistics, Washington, D.C." => {
                    Some(Code71)
                }
                "The College Board's Admission Testing Program (ATP), administered by the Educational Testing Service (ETS), 4-digit list of postsecondary educational institutions." => {
                    Some(Code72)
                }
                "Federal Interagency Commission on Education (FICE) number. Available from the United States Department of Education, National Center for Education Statistics." => {
                    Some(Code73)
                }
                "American College Testing (ACT) list of postsecondary educational institutions." => {
                    Some(Code74)
                }
                "State or Province Assigned Number" => {
                    Some(StateOrProvinceAssignedNumber)
                }
                "Local School District or Jurisdiction Number" => {
                    Some(LocalSchoolDistrictOrJurisdictionNumber)
                }
                "National Center for Education Statistics (NCES) Common Core of Data (CCD) number for PreK - 12 institutions" => {
                    Some(Code77)
                }
                "The College Board and ACT 6 digit code list of secondary educational institutions" => {
                    Some(
                        TheCollegeBoardAndAct6DigitCodeListOfSecondaryEducationalInstitutions,
                    )
                }
                "Classification of Instructional Programs (CIP) coding structure maintained by the U.S. Department of Education's National Center for Education Statistics" => {
                    Some(Code81)
                }
                "Higher Education General Information Survey (HEGIS) maintained by the U.S.\nDepartment of Education's National Center for Education Statistics" => {
                    Some(Code82)
                }
                "Congressional District" => Some(CongressionalDistrict),
                "California Ethnic Subgroups Code Table" => {
                    Some(CaliforniaEthnicSubgroupsCodeTable)
                }
                "Assigned by Seller or Seller's Agent" => {
                    Some(AssignedBySellerOrSellersAgent)
                }
                "Assigned by Buyer or Buyer's Agent" => {
                    Some(AssignedByBuyerOrBuyersAgent)
                }
                "Code assigned by the organization originating the transaction set" => {
                    Some(CodeAssignedByTheOrganizationOriginatingTheTransactionSet)
                }
                "Code assigned by the organization that is the ultimate destination of the transaction set" => {
                    Some(
                        CodeAssignedByTheOrganizationThatIsTheUltimateDestinationOfTheTransactionSet,
                    )
                }
                "Assigned By Transporter" => Some(AssignedByTransporter),
                "Assigned By Pipeline Operator" => Some(AssignedByPipelineOperator),
                "Receiver's Code" => Some(ReceiversCode),
                "Purchasing Office" => Some(PurchasingOffice),
                "Office of Workers Compensation Programs (OWCP) Agency Code" => {
                    Some(Code99)
                }
                "U.S. Customs and Border Protection (CBP) Carrier Identification" => {
                    Some(CodeA)
                }
                "Approver ID" => Some(ApproverId),
                "Military Assistance Program Address Code (MAPAC)" => Some(CodeA2),
                "Assigned by Third Party" => Some(AssignedByThirdParty),
                "Assigned by Clearinghouse" => Some(AssignedByClearinghouse),
                "Committee on Uniform Security Identification Procedures (CUSIP) Number" => {
                    Some(CodeA5)
                }
                "Financial Identification Numbering System (FINS) Number" => Some(CodeA6),
                "Automated Commercial Environment Identification Code (ACEID)" => {
                    Some(CodeA7)
                }
                "Postal Service Code" => Some(PostalServiceCode),
                "US Environmental Protection Agency (EPA) Identification Number" => {
                    Some(CodeAB)
                }
                "Attachment Control Number" => Some(AttachmentControlNumber),
                "Blue Cross Blue Shield Association Plan Code" => {
                    Some(BlueCrossBlueShieldAssociationPlanCode)
                }
                "Alberta Energy Resources Conservation Board" => {
                    Some(AlbertaEnergyResourcesConservationBoard)
                }
                "Rental Location Identifier" => Some(RentalLocation),
                "Automotive Identifier for Canada Border Services Agency" => {
                    Some(AutomotiveIdentifierForCanadaBorderServicesAgency)
                }
                "Anesthesia License Number" => Some(AnesthesiaLicenseNumber),
                "Alberta Petroleum Marketing Commission" => {
                    Some(AlbertaPetroleumMarketingCommission)
                }
                "Activity Code" => Some(ActivityCode),
                "British Columbia Ministry of Energy Mines and Petroleum Resources" => {
                    Some(BritishColumbiaMinistryOfEnergyMinesAndPetroleumResources)
                }
                "Blue Cross Provider Number" => Some(BlueCrossProviderNumber),
                "Common Language Location Identification (CLLI)" => Some(CodeBE),
                "Broker Filer ID" => Some(BrokerFilerId),
                "Badge Number" => Some(BadgeNumber),
                "Canada Revenue Agency (CRA) Business Number" => Some(CodeBN),
                "Benefit Plan" => Some(BenefitPlan),
                "Blue Shield Provider Number" => Some(BlueShieldProviderNumber),
                "Insured's Changed Unique Identification Number" => {
                    Some(InsuredsChangedUniqueIdentificationNumber)
                }
                "Insured or Subscriber" => Some(InsuredOrSubscriber),
                "Health Maintenance Organization (HMO) Provider Number" => Some(CodeC2),
                "Customer Identification File" => Some(CustomerIdentificationFile),
                "Statistics Canada Canadian College Student Information System Course Codes" => {
                    Some(
                        StatisticsCanadaCanadianCollegeStudentInformationSystemCourseCodes,
                    )
                }
                "Statistics Canada Canadian College Student Information System Institution Codes" => {
                    Some(
                        StatisticsCanadaCanadianCollegeStudentInformationSystemInstitutionCodes,
                    )
                }
                "Statistics Canada University Student Information System Curriculum Codes" => {
                    Some(
                        StatisticsCanadaUniversityStudentInformationSystemCurriculumCodes,
                    )
                }
                "Contract Division" => Some(ContractDivision),
                "Bureau of the Census Filer Identification Code" => {
                    Some(BureauOfTheCensusFilerIdentificationCode)
                }
                "Canadian Financial Institution Routing Number" => {
                    Some(CanadianFinancialInstitutionRoutingNumber)
                }
                "TRICARE" => Some(Tricare),
                "Corrected Loan Number" => Some(CorrectedLoanNumber),
                "U.S. Customs and Border Protection (CBP) Manufacturer Identifier (MID)" => {
                    Some(CodeCM)
                }
                "National Center for Education Statistics (NCES) Course Classification System for Secondary Schools" => {
                    Some(CodeCN)
                }
                "Canadian Petroleum Association" => Some(CanadianPetroleumAssociation),
                "Credit Repository" => Some(CreditRepository),
                "Statistics Canada University Student Information System University Codes" => {
                    Some(
                        StatisticsCanadaUniversityStudentInformationSystemUniversityCodes,
                    )
                }
                "Court Identification Code" => Some(CourtIdentificationCode),
                "U.S. Customs and Border Protection (CBP) Assigned Importer Number" => {
                    Some(CodeCU)
                }
                "U.S. Customs and Border Protection (CBP) Assigned Consignee Number" => {
                    Some(CodeCW)
                }
                "Census Schedule D" => Some(CensusScheduleD),
                "United States Department of Education Guarantor Identification Code" => {
                    Some(UnitedStatesDepartmentOfEducationGuarantorIdentificationCode)
                }
                "United States Department of Education Lender Identification Code" => {
                    Some(UnitedStatesDepartmentOfEducationLenderIdentificationCode)
                }
                "Dentist License Number" => Some(DentistLicenseNumber),
                "Door" => Some(Door),
                "Data Processing Point" => Some(DataProcessingPoint),
                "Gas Industry Standards Board (GISB) Data Reference Number (DRN)" => {
                    Some(CodeDR)
                }
                "United States Department of Education School Identification Code" => {
                    Some(UnitedStatesDepartmentOfEducationSchoolIdentificationCode)
                }
                "Hazard Insurance Policy Number" => Some(HazardInsurancePolicyNumber),
                "ARI Electronic Commerce Location ID Code" => {
                    Some(AriElectronicCommerceLocationIdCode)
                }
                "Theatre Number" => Some(TheatreNumber),
                "Employee Identification Number" => Some(EmployeeIdentificationNumber),
                "Elevator" => Some(Elevator),
                "U.S. Environmental Protection Agency (EPA)" => Some(CodeEP),
                "Insurance Company Assigned Identification Number" => {
                    Some(InsuranceCompanyAssignedIdentificationNumber)
                }
                "Mortgagee Assigned Identification Number" => {
                    Some(MortgageeAssignedIdentificationNumber)
                }
                "Automated Export System (AES) Filer Identification Code" => Some(CodeES),
                "Educational Testing Service List of International Postsecondary Institutions" => {
                    Some(
                        EducationalTestingServiceListOfInternationalPostsecondaryInstitutions,
                    )
                }
                "Document Custodian Identification Number" => {
                    Some(DocumentCustodianIdentificationNumber)
                }
                "Facility Identification" => Some(FacilityIdentification),
                "Field Code" => Some(FieldCode),
                "Federal Court Jurisdiction Identifier" => Some(FederalCourtJurisdiction),
                "Federal Court Divisional Office Number" => {
                    Some(FederalCourtDivisionalOfficeNumber)
                }
                "Facility Federal Identification Number" => {
                    Some(FacilityFederalIdentificationNumber)
                }
                "Federal Taxpayer's Identification Number" => {
                    Some(FederalTaxpayersIdentificationNumber)
                }
                "Federal Jurisdiction" => Some(FederalJurisdiction),
                "Floor" => Some(Floor),
                "U.S. Environmental Protection Agency (EPA) Laboratory Certification Identification" => {
                    Some(CodeFN)
                }
                "Facilities Information and Resources Management System (FIRMS) Code" => {
                    Some(CodeFR)
                }
                "Free and Secure Trade (FAST) ID" => Some(CodeFT),
                "Payee Identification Number" => Some(PayeeIdentificationNumber),
                "Primary Agent Identification" => Some(PrimaryAgentIdentification),
                "GAS*CODE" => Some(CodeGC),
                "Global Service Relation Number" => Some(GlobalServiceRelationNumber),
                "Centers for Medicare and Medicaid Services" => {
                    Some(CentersForMedicareAndMedicaidServices)
                }
                "HCIdea Number" => Some(HcIdeaNumber),
                "Health Insurance Claim (HIC) Number" => Some(CodeHN),
                "House (Canadian Grain Elevator)" => Some(CodeHS),
                "Secondary Marketing Investor Assigned Number" => {
                    Some(SecondaryMarketingInvestorAssignedNumber)
                }
                "UCC EDI Communications ID (Comm ID)" => Some(CodeID),
                "Standard Unique Health Identifier for each Individual in the United States" => {
                    Some(
                        StandardUniqueHealthIdentifierForEachIndividualInTheUnitedStates,
                    )
                }
                "Changed Unique Identification Number" => {
                    Some(ChangedUniqueIdentificationNumber)
                }
                "U.S. Customs and Border Protection (CBP) Carrier Initiative Program (CIP) Participant Identification Number" => {
                    Some(CodeIP)
                }
                "Mortgage Electronic Registration System Organization Identifier" => {
                    Some(MortgageElectronicRegistrationSystemOrganization)
                }
                "Census Schedule K" => Some(CensusScheduleK),
                "Investor Assigned Identification Number" => {
                    Some(InvestorAssignedIdentificationNumber)
                }
                "Agency Location Code (U.S. Government)" => Some(CodeLC),
                "NISO Z39.53 Language Codes" => Some(NisoZ3953LanguageCodes),
                "ISO 639 Language Codes" => Some(Iso639LanguageCodes),
                "Labeler Identification Code (LIC)" => Some(CodeLI),
                "Loan Number" => Some(LoanNumber),
                "Certificate Number" => Some(CertificateNumber),
                "Disbursing Station" => Some(DisbursingStation),
                "Department of Defense Routing Identifier Code (RIC)" => Some(CodeM4),
                "Jurisdiction Code" => Some(JurisdictionCode),
                "Division Office Code" => Some(DivisionOfficeCode),
                "Mail Stop" => Some(MailStop),
                "Medical Information Bureau" => Some(MedicalInformationBureau),
                "Medicaid Provider Number" => Some(MedicaidProviderNumber),
                "Manitoba Department of Mines and Resources" => {
                    Some(ManitobaDepartmentOfMinesAndResources)
                }
                "Member Identification Number" => Some(MemberIdentificationNumber),
                "Market" => Some(Market),
                "Multiple Listing Service Vendor - Multiple Listing Service Identification" => {
                    Some(
                        MultipleListingServiceVendorMultipleListingServiceIdentification,
                    )
                }
                "Mortgage Identification Number" => Some(MortgageIdentificationNumber),
                "Major Organizational Entity" => Some(MajorOrganizationalEntity),
                "Medicare Provider Number" => Some(MedicareProviderNumber),
                "Medicaid Recipient Identification Number" => {
                    Some(MedicaidRecipientIdentificationNumber)
                }
                "Insured's Unique Identification Number" => {
                    Some(InsuredsUniqueIdentificationNumber)
                }
                "National Association of Realtors - Multiple Listing Service Identification" => {
                    Some(
                        NationalAssociationOfRealtorsMultipleListingServiceIdentification,
                    )
                }
                "Mode Designator" => Some(ModeDesignator),
                "National Association of Insurance Commissioners (NAIC) Identification" => {
                    Some(CodeNI)
                }
                "National Criminal Information Center Originating Agency" => {
                    Some(NationalCriminalInformationCenterOriginatingAgency)
                }
                "Non Resident Alien Registration Number" => {
                    Some(NonResidentAlienRegistrationNumber)
                }
                "Occupation Code" => Some(OccupationCode),
                "Healthcare Other Entity ID (OEID)" => Some(CodeOE),
                "On-line Payment and Collection" => Some(OnLinePaymentAndCollection),
                "Secondary Agent Identification" => Some(SecondaryAgentIdentification),
                "Public Identification" => Some(PublicIdentification),
                "Provider Commercial Number" => Some(ProviderCommercialNumber),
                "Payer Identification" => Some(PayerIdentification),
                "Passport Identification Number" => Some(PassportIdentificationNumber),
                "Pharmacy Processor Number" => Some(PharmacyProcessorNumber),
                "Pier" => Some(Pier),
                "Proximity Card Number" => Some(ProximityCardNumber),
                "Regulatory Agency Number" => Some(RegulatoryAgencyNumber),
                "Real Estate Agent" => Some(RealEstateAgent),
                "Real Estate Company" => Some(RealEstateCompany),
                "Real Estate Broker Identification" => {
                    Some(RealEstateBrokerIdentification)
                }
                "Real Estate License Number" => Some(RealEstateLicenseNumber),
                "Office of Regulatory Information Systems (ORIS) Code" => Some(CodeRI),
                "Ramp" => Some(Ramp),
                "Railroad Track" => Some(RailroadTrack),
                "Title Insurance Policy Number" => Some(TitleInsurancePolicyNumber),
                "Tertiary Agent Identification" => Some(TertiaryAgentIdentification),
                "Social Insurance Number" => Some(SocialInsuranceNumber),
                "Saskatchewan Department of Energy Mines and Resources" => {
                    Some(SaskatchewanDepartmentOfEnergyMinesAndResources)
                }
                "Suffix Code" => Some(SuffixCode),
                "Standard Industry Code (SIC)" => Some(CodeSI),
                "State or Province Jurisdiction" => Some(StateOrProvinceJurisdiction),
                "State/Provincial Lottery License Number" => {
                    Some(StateProvincialLotteryLicenseNumber)
                }
                "State License Number" => Some(StateLicenseNumber),
                "SAMMI -- System for Award Management Managed Identifier" => {
                    Some(SammiSystemForAwardManagementManaged)
                }
                "Specialty License Number" => Some(SpecialtyLicenseNumber),
                "State/Province License Tag" => Some(StateProvinceLicenseTag),
                "Service Provider Number" => Some(ServiceProviderNumber),
                "Society for Worldwide Interbank Financial Telecommunications (SWIFT) Address" => {
                    Some(CodeSW)
                }
                "U.S. Customs and Border Protection (CBP) Shipper Identifier (SID)" => {
                    Some(CodeSX)
                }
                "Taxpayer ID Number" => Some(TaxpayerIdNumber),
                "Internal Revenue Service Terminal Code" => {
                    Some(InternalRevenueServiceTerminalCode)
                }
                "Individual Taxpayer's Identification Number (ITIN)" => Some(CodeTI),
                "Transport4 Location Code" => Some(Transport4LocationCode),
                "Transport4 Shipper Code" => Some(Transport4ShipperCode),
                "Department Code" => Some(DepartmentCode),
                "United Nations Location Code (UNLOCODE) Number" => Some(CodeU),
                "Consumer Credit Identification Number" => {
                    Some(ConsumerCreditIdentificationNumber)
                }
                "Unique Entity Identifier" => Some(UniqueEntity),
                "Unit Identification Code" => Some(UnitIdentificationCode),
                "Global Location Number (GLN)" => Some(CodeUL),
                "GS1 Global Location Number with Extension Component" => {
                    Some(Gs1GlobalLocationNumberWithExtensionComponent)
                }
                "Unique Physician Identification Number (UPIN)" => Some(CodeUP),
                "Uniform Resource Locator (URL)" => Some(CodeUR),
                "Unique Supplier Identification Number (USIN)" => Some(CodeUS),
                "Unit" => Some(Unit),
                "Wine Region Code" => Some(WineRegionCode),
                "Education Language Codes" => Some(EducationLanguageCodes),
                "National Center for Education Statistics Unit Identification Number" => {
                    Some(NationalCenterForEducationStatisticsUnitIdentificationNumber)
                }
                "Standard Unique Health Plan Identifier (HPID)" => Some(CodeXV),
                "Standard Unique Health Identifier for Health Care Providers (NPI)" => {
                    Some(CodeXX)
                }
                "District Assigned Number" => Some(DistrictAssignedNumber),
                "U.S. Customs and Border Protection (CBP) Encrypted Consignee Identification" => {
                    Some(CodeZB)
                }
                "Contractor Establishment Code" => Some(ContractorEstablishmentCode),
                "Zone" => Some(Zone),
                "Temporary Identification Number" => Some(TemporaryIdentificationNumber),
                "Mutually Defined" => Some(MutuallyDefined),
                _ => None,
            }
        }
    }
}
impl Serialize for IdentificationCodeQualifier {
    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 = IdentificationCodeQualifier;
    fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
        formatter.write_str("Identification Code Qualifier")
    }
    fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>
    where
        E: de::Error,
    {
        IdentificationCodeQualifier::from_description(v)
            .ok_or_else(|| E::custom(
                format!("Invalid Identification Code Qualifier: {}", v),
            ))
    }
    fn visit_bytes<E>(self, v: &[u8]) -> Result<Self::Value, E>
    where
        E: de::Error,
    {
        IdentificationCodeQualifier::from_code(v)
            .ok_or_else(|| E::custom(
                format!(
                    "Invalid Identification Code Qualifier: {}", std::str::from_utf8(v)
                    .unwrap()
                ),
            ))
    }
}
impl<'de> Deserialize<'de> for IdentificationCodeQualifier {
    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)
        }
    }
}