rbedi 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/bin/edi +897 -0
  3. data/lib/rbedi/codes/aaa.rb +437 -0
  4. data/lib/rbedi/codes/ak1.rb +278 -0
  5. data/lib/rbedi/codes/ak2.rb +336 -0
  6. data/lib/rbedi/codes/ak9.rb +55 -0
  7. data/lib/rbedi/codes/bht.rb +706 -0
  8. data/lib/rbedi/codes/codeset.rb +27 -0
  9. data/lib/rbedi/codes/dmg.rb +1583 -0
  10. data/lib/rbedi/codes/dtp.rb +1342 -0
  11. data/lib/rbedi/codes/eb.rb +1511 -0
  12. data/lib/rbedi/codes/eq.rb +286 -0
  13. data/lib/rbedi/codes/ge.rb +14 -0
  14. data/lib/rbedi/codes/gs.rb +287 -0
  15. data/lib/rbedi/codes/hl.rb +273 -0
  16. data/lib/rbedi/codes/iea.rb +14 -0
  17. data/lib/rbedi/codes/ik3.rb +32 -0
  18. data/lib/rbedi/codes/ik4.rb +37 -0
  19. data/lib/rbedi/codes/ik5.rb +56 -0
  20. data/lib/rbedi/codes/isa.rb +137 -0
  21. data/lib/rbedi/codes/le.rb +13 -0
  22. data/lib/rbedi/codes/ls.rb +13 -0
  23. data/lib/rbedi/codes/msg.rb +25 -0
  24. data/lib/rbedi/codes/n3.rb +14 -0
  25. data/lib/rbedi/codes/n4.rb +706 -0
  26. data/lib/rbedi/codes/nm1.rb +1916 -0
  27. data/lib/rbedi/codes/per.rb +308 -0
  28. data/lib/rbedi/codes/ref.rb +1749 -0
  29. data/lib/rbedi/codes/se.rb +14 -0
  30. data/lib/rbedi/codes/segment_names.rb +44 -0
  31. data/lib/rbedi/codes/st.rb +336 -0
  32. data/lib/rbedi/codes/trn.rb +22 -0
  33. data/lib/rbedi/codes.rb +8 -0
  34. data/lib/rbedi/edi_date_time.rb +69 -0
  35. data/lib/rbedi/functional_group.rb +52 -0
  36. data/lib/rbedi/non_existent_element_error.rb +4 -0
  37. data/lib/rbedi/parser.rb +102 -0
  38. data/lib/rbedi/segment.rb +114 -0
  39. data/lib/rbedi/transaction_envelope.rb +77 -0
  40. data/lib/rbedi/transaction_set.rb +40 -0
  41. data/lib/rbedi.rb +20 -4
  42. metadata +79 -10
@@ -0,0 +1,437 @@
1
+ module RBEDI
2
+ module Codes
3
+ module AAA
4
+ extend CodeSet
5
+
6
+ SEGMENT_POSITIONS = {
7
+ 1 => :request_valid,
8
+ 2 => :agency_qualifier_code,
9
+ 3 => :reject_reason_code,
10
+ 4 => :follow_up_action_code,
11
+ }
12
+
13
+ CODES = {
14
+ 1 => {
15
+ "n" => :no,
16
+ "u" => :unknown,
17
+ "w" => :not_applicable,
18
+ "y" => :yes,
19
+ },
20
+ 2 => {
21
+ "10" => :alabama,
22
+ "11" => :alaska,
23
+ "12" => :arizona,
24
+ "13" => :arkansas,
25
+ "14" => :california,
26
+ "15" => :colorado,
27
+ "16" => :connecticut,
28
+ "17" => :delaware,
29
+ "18" => :district_of_columbia,
30
+ "19" => :florida,
31
+ "20" => :georgia,
32
+ "21" => :hawaii,
33
+ "22" => :idaho,
34
+ "23" => :illinois,
35
+ "24" => :indiana,
36
+ "25" => :iowa,
37
+ "26" => :kansas,
38
+ "27" => :louisiana,
39
+ "28" => :kentucky,
40
+ "29" => :maine,
41
+ "30" => :maryland,
42
+ "31" => :massachusetts,
43
+ "32" => :michigan,
44
+ "33" => :minnesota,
45
+ "34" => :mississippi,
46
+ "35" => :missouri,
47
+ "36" => :montana,
48
+ "37" => :nebraska,
49
+ "38" => :nevada,
50
+ "39" => :new_hampshire,
51
+ "40" => :new_jersey,
52
+ "41" => :new_mexico,
53
+ "42" => :new_york,
54
+ "43" => :north_carolina,
55
+ "44" => :north_dakota,
56
+ "45" => :ohio,
57
+ "46" => :oklahoma,
58
+ "47" => :oregon,
59
+ "48" => :pennsylvania,
60
+ "49" => :rhode_island,
61
+ "50" => :south_carolina,
62
+ "51" => :south_dakota,
63
+ "52" => :tennessee,
64
+ "53" => :texas,
65
+ "54" => :utah,
66
+ "55" => :vermont,
67
+ "56" => :virginia,
68
+ "57" => :washington,
69
+ "58" => :west_virginia,
70
+ "59" => :wisconsin,
71
+ "60" => :wyoming,
72
+ "61" => :insurance_services_office_iso,
73
+ "62" => :national_crime_information_center_ncic,
74
+ "64" => :us_national_center_for_health_statistics_commission_of_professional_and_hospital_activities,
75
+ "65" => :office_of_workers_compensation_programs,
76
+ "66" => :national_association_of_convenience_stores,
77
+ "93" => :dun__bradstreet,
78
+ "94" => :code_assigned_by_the_organization_that_is_the_ultimate_destination_of_the_transaction_set,
79
+ "a1" => :american_land_title_association,
80
+ "a2" => :california_land_title_association,
81
+ "a3" => :texas_land_title_association,
82
+ "a4" => :assigned_by_carrier,
83
+ "aa" => :aluminum_association,
84
+ "ab" => :assigned_by_buyer,
85
+ "ac" => :american_conference_of_government_industrial_hygienists_acgih,
86
+ "ad" => :agency_company_organization_for_research_and_development_acord,
87
+ "ae" => :advertising_industry,
88
+ "af" => :automotive_aftermarket_industry_association_aaia,
89
+ "ag" => :state_agency_assigned,
90
+ "ah" => :american_industrial_hygiene_association_aiha,
91
+ "aj" => :real_estate_information_industry,
92
+ "al" => :national_alcohol_beverage_control_association,
93
+ "am" => :american_medical_association,
94
+ "ap" => :american_petroleum_instituteresponsible_for_american_petroleum_institute_api,
95
+ "aq" => :american_public_works_association_apwa_one_call_systems_international_ocsi,
96
+ "ar" => :association_of_american_railroads,
97
+ "as" => :assigned_by_seller,
98
+ "at" => :american_society_for_testing_and_materials_astm,
99
+ "aw" => :american_welding_society_awsresponsible_for_the_american_welding_society_aws,
100
+ "ax" => :ansi_accredited_standards_committee_x12,
101
+ "ay" => :american_yarn_spinners_association_aysa,
102
+ "ba" => :business_and_institutional_furniture_manufacturers_association_bifma,
103
+ "be" => :telcordia_technologies,
104
+ "bf" => :national_business_forms_association,
105
+ "bi" => :book_industry_systems_advisory_committee,
106
+ "ca" => :chemical_abstract_services_cas,
107
+ "cb" => :copper_and_brass_fabricators_council_inc,
108
+ "cc" => :national_cotton_council_of_america,
109
+ "ce" => :construction_specification_institute_csi_extended,
110
+ "ci" => :chemical_industry_data_exchange_cidx,
111
+ "cl" => :collision_industry_electronic_commerce_association_cieca,
112
+ "cm" => :carbide_manufacturers,
113
+ "co" => :county_designator_code,
114
+ "cp" => :united_states_department_of_agriculture_agricultural_marketing_service_ams_cotton_programs,
115
+ "cr" => :commander__rome_air_development_center,
116
+ "cs" => :construction_specification_institute_csi,
117
+ "cu" => :committee_on_uniform_security_identification_procedures_cusip,
118
+ "cx" => :national_association_of_corrosion_engineers_naceresponsible_for_national_association_of_corrosion_engineers_nace,
119
+ "da" => :food_and_drug_administration_fda,
120
+ "dd" => :department_of_defense_military_specificationsresponsible_for_military_specification,
121
+ "de" => :drug_enforcement_administration,
122
+ "df" => :department_of_defense_dod,
123
+ "dh" => :defense_logistics_information_service,
124
+ "di" => :deutsches_institut_fur_normung_dinresponsible_for_deutsches_institut_fur_normung_din,
125
+ "dl" => :defense_logistics_agency,
126
+ "dn" => :department_of_the_navy,
127
+ "do" => :united_states_department_of_transportation_dot,
128
+ "dr" => :healthcare_distribution_management_association,
129
+ "ds" => :defense_finance_and_accounting_service_dfas,
130
+ "dx" => :united_states_marine_corps,
131
+ "dy" => :department_of_air_force,
132
+ "dz" => :department_of_army,
133
+ "ei" => :electronic_industries_association,
134
+ "ep" => :united_states_environmental_protection_agency_epa,
135
+ "es" => :environment_and_safety_data_exchange_esdx,
136
+ "et" => :temporary_help_industry,
137
+ "eu" => :electric_utilities,
138
+ "ex" => :electronics_industry_data_exchange_eidx,
139
+ "fa" => :fabric_and_supplier_linkage_council_faslinc,
140
+ "fc" => :federal_communications_commission_fcc,
141
+ "fd" => :uniform_code_council_ucs,
142
+ "fg" => :federal_government,
143
+ "fh" => :federal_highway_administration,
144
+ "fi" => :american_furniture_manufacturers_association,
145
+ "gc" => :graphics_communications_association,
146
+ "gi" => :gas_industry_standards_board,
147
+ "gs" => :general_services_administration_gsaresponsible_for_federal_specification,
148
+ "gu" => :natural_gas_utilities,
149
+ "hc" => :centers_for_medicare_and_medicaid_services,
150
+ "hf" => :human_factors_and_ergonomics_society,
151
+ "hi" => :health_insurance_association_of_america,
152
+ "hs" => :department_of_health_and_human_services,
153
+ "hu" => :department_of_housing_and_urban_development,
154
+ "ia" => :international_agency_for_research_on_cancer_iarc,
155
+ "ib" => :international_association_of_industrial_accident_boards_and_commissions,
156
+ "ic" => :international_air_transport_association_iata,
157
+ "im" => :iron_and_steel_standards_committee_ismresponsible_for_british_standard_bs,
158
+ "in" => :international_association_of_corporation_administrators,
159
+ "is" => :international_standards_organization,
160
+ "ja" => :japanese_standards_associationresponsible_for_japanese_industrial_standard_jis,
161
+ "la" => :life_and_annuity_industry_committee,
162
+ "lb" => :department_of_labor,
163
+ "li" => :leasing_industry,
164
+ "ma" => :mortgage_bankers_association_of_america,
165
+ "mb" => :office_of_management_and_budget,
166
+ "mc" => :manufacturing_company,
167
+ "me" => :american_society_of_mechanical_engineers_asmeresponsible_for_boiler_and_pressure_vessel_code,
168
+ "mi" => :abcd__the_microcomputer_industry_association,
169
+ "mp" => :material_safety_data_sheet_msds_provider,
170
+ "ms" => :military_standard,
171
+ "mv" => :american_association_of_motor_vehicle_administrators_aamva,
172
+ "na" => :national_insurance_crime_bureau_nicb,
173
+ "nb" => :national_association_of_business_and_educational_radio,
174
+ "nc" => :national_council_on_compensation_insurance,
175
+ "ne" => :national_electric_manufacturers_association_nema,
176
+ "nf" => :national_fire_protection_agency_nfpa,
177
+ "ng" => :national_auto_glass_specification_nags,
178
+ "ni" => :national_institute_of_occupational_safety_and_health_niosh,
179
+ "np" => :national_association_of_pharmacy_regulatory_authorities_napra,
180
+ "nr" => :national_retail_merchants_association,
181
+ "ns" => :national_center_for_state_courts,
182
+ "nt" => :national_toxicology_program_ntp,
183
+ "nu" => :united_states_nuclear_regulatory_commission,
184
+ "nw" => :newspaper_association_of_america,
185
+ "oi" => :optical_industry,
186
+ "op" => :office_products,
187
+ "os" => :united_states_occupational_safety_and_health_administration_osha,
188
+ "pa" => :american_paper_institute,
189
+ "pc" => :pennsylvania_courts,
190
+ "pi" => :society_for_the_plastics_industry_spi,
191
+ "rn" => :rosettanet,
192
+ "sa" => :society_of_automotive_engineers_inc_saeresponsible_for_aerospace_material_specifications_ams_society_of_automotive_engineers_sae_and_unified_numbering_system_uns,
193
+ "se" => :serials_industry_systems_advisory_committee_sisac,
194
+ "sl" => :student_loan_guarantor,
195
+ "sp" => :american_society_for_automation_in_pharmacy,
196
+ "st" => :american_iron__steel_institute,
197
+ "ta" => :air_transport_association_of_america,
198
+ "tb" => :textile_distributors_association_incthe_textiles_distributors_association_provides_the_fabric_and_apparel_industry_with_the_coding_scheme_used_in_advising_consumers_about_the_care_of_fabric_or_garment_this_is_in_accordance_with_the_federal_trade_commission_regulations_on_care_labeling,
199
+ "tc" => :textile_apparel_linkage_council_talc,
200
+ "td" => :transportation_data_coordinating_committee_electronic_data_interchange_association_tdccedia,
201
+ "ti" => :telecommunications_industry,
202
+ "tm" => :american_textile_manufacturers_institute,
203
+ "tp" => :canadian_freight_classification,
204
+ "tr" => :american_trucking_associations,
205
+ "tx" => :american_apparel_manufacturers_association,
206
+ "ua" => :unspsc_united_nations_products_and_services_classification_code,
207
+ "uc" => :united_states_courts,
208
+ "ui" => :industrialcommercial_ic_electronic_data_interchange,
209
+ "ul" => :underwriters_laboratories,
210
+ "un" => :united_nations_un,
211
+ "ut" => :utility_industry_group,
212
+ "vi" => :voluntary_interindustry_commerce_standard_vics_edi,
213
+ "wh" => :canadian_workplace_hazardous_materials_information_system_whmis,
214
+ "zz" => :mutually_defined,
215
+ },
216
+ 3 => {
217
+ "01" => :price_authorization_invalid,
218
+ "02" => :price_authorization_expired,
219
+ "03" => :product_not_on_the_price_authorization,
220
+ "04" => :authorized_quantity_exceeded,
221
+ "05" => :zero_balance,
222
+ "06" => :special_cost_incorrect,
223
+ "07" => :catalog_cost_incorrect,
224
+ "08" => :invalid_ship_location,
225
+ "09" => :no_credit_allowed,
226
+ "10" => :administrative_cancellation,
227
+ "11" => :invalid_debit_number,
228
+ "12" => :duplicate_sequence_number,
229
+ "13" => :not_valid_for_price_protection,
230
+ "14" => :invalid_part_number,
231
+ "15" => :required_application_data_missing,
232
+ "16" => :unit_resale_higher_than_authorized,
233
+ "17" => :negotiated_price_was_not_less_than_book_price,
234
+ "18" => :ship_date_must_not_be_after_current_date,
235
+ "19" => :ship_date_cannot_be_prior_to_price_authorization_issue_date,
236
+ "20" => :ship_date_should_not_be_before_price_authorization_date_for_rebills,
237
+ "21" => :price_authorization_is_a_rebill_type,
238
+ "23" => :price_authorization_has_been_deleted,
239
+ "24" => :price_authorization_used_on_a_sales_order,
240
+ "25" => :disposition_pending_vendor_review,
241
+ "26" => :invalid_customer_number,
242
+ "27" => :invalid_ship_date,
243
+ "28" => :duplicate_invoice_number,
244
+ "29" => :claim_submitted_past_exercise_period,
245
+ "30" => :invalid_meet_competition_cost,
246
+ "31" => :invalid_book_cost,
247
+ "32" => :input_incomplete,
248
+ "33" => :input_errors,
249
+ "34" => :no_coverage,
250
+ "35" => :out_of_network,
251
+ "36" => :testing_not_included,
252
+ "37" => :request_forwarded_to_and_decision_response_forthcoming_from_an_external_review_organization,
253
+ "38" => :claim_can_not_be_identified_for_verification,
254
+ "39" => :actual_information_different_than_reported,
255
+ "40" => :actual_information_different__claim_has_been_readjudicated_since_initial_payment,
256
+ "41" => :authorizationaccess_restrictions,
257
+ "42" => :unable_to_respond_at_current_time,
258
+ "43" => :invalidmissing_provider_identification,
259
+ "44" => :invalidmissing_provider_name,
260
+ "45" => :invalidmissing_provider_specialty,
261
+ "46" => :invalidmissing_provider_phone_number,
262
+ "47" => :invalidmissing_provider_state,
263
+ "48" => :invalidmissing_referring_provider_identification_number,
264
+ "49" => :provider_is_not_primary_care_physician,
265
+ "50" => :provider_ineligible_for_inquiries,
266
+ "51" => :provider_not_on_file,
267
+ "52" => :service_dates_not_within_provider_plan_enrollment,
268
+ "53" => :inquired_benefit_inconsistent_with_provider_type,
269
+ "54" => :inappropriate_productservice_id_qualifier,
270
+ "55" => :inappropriate_productservice_id,
271
+ "56" => :inappropriate_date,
272
+ "57" => :invalidmissing_dates_of_service,
273
+ "58" => :invalidmissing_dateofbirth,
274
+ "59" => :invalidmissing_dateofdeath,
275
+ "60" => :date_of_birth_follows_dates_of_service,
276
+ "61" => :date_of_death_precedes_dates_of_service,
277
+ "62" => :date_of_service_not_within_allowable_inquiry_period,
278
+ "63" => :date_of_service_in_future,
279
+ "64" => :invalidmissing_patient_id,
280
+ "65" => :invalidmissing_patient_name,
281
+ "66" => :invalidmissing_patient_gender_code,
282
+ "67" => :patient_not_found,
283
+ "68" => :duplicate_patient_id_number,
284
+ "69" => :inconsistent_with_patients_age,
285
+ "70" => :inconsistent_with_patients_gender,
286
+ "71" => :patient_birth_date_does_not_match_that_for_the_patient_on_the_database,
287
+ "72" => :invalidmissing_subscriberinsured_id,
288
+ "73" => :invalidmissing_subscriberinsured_name,
289
+ "74" => :invalidmissing_subscriberinsured_gender_code,
290
+ "75" => :subscriberinsured_not_found,
291
+ "76" => :duplicate_subscriberinsured_id_number,
292
+ "77" => :subscriber_found_patient_not_found,
293
+ "78" => :subscriberinsured_not_in_groupplan_identified,
294
+ "79" => :invalid_participant_identification,
295
+ "80" => :no_response_received__transaction_terminated,
296
+ "81" => :invalid_or_missing_case_number,
297
+ "82" => :not_medically_necessary,
298
+ "83" => :level_of_care_not_appropriate,
299
+ "84" => :certification_not_required_for_this_service,
300
+ "85" => :certification_responsibility_of_external_review_organization,
301
+ "86" => :primary_care_service,
302
+ "87" => :exceeds_plan_maximums,
303
+ "88" => :noncovered_service,
304
+ "89" => :no_prior_approval,
305
+ "90" => :requested_information_not_received,
306
+ "91" => :duplicate_request,
307
+ "92" => :service_inconsistent_with_diagnosis,
308
+ "95" => :patient_not_eligible,
309
+ "96" => :preexisting_condition,
310
+ "97" => :invalid_or_missing_provider_address,
311
+ "98" => :experimental_service_or_procedure,
312
+ "aa" => :authorization_number_not_found,
313
+ "ab" => :air_brakes__inoperative_etc,
314
+ "ad" => :accident_damage__derailsideswiped,
315
+ "ae" => :requires_primary_care_physician_authorization,
316
+ "af" => :invalidmissing_diagnosis_codes,
317
+ "ag" => :invalidmissing_procedure_codes,
318
+ "ah" => :invalidmissing_onset_of_current_condition_or_illness_date,
319
+ "ai" => :invalidmissing_accident_date,
320
+ "aj" => :invalidmissing_last_menstrual_period_date,
321
+ "ak" => :invalidmissing_expected_date_of_birth,
322
+ "al" => :invalidmissing_surgery_date,
323
+ "am" => :invalidmissing_admission_date,
324
+ "an" => :invalidmissing_discharge_date,
325
+ "ao" => :additional_patient_condition_information_required,
326
+ "ar" => :arrivals,
327
+ "ba" => :reject_due_to_air_bags,
328
+ "bc" => :reject_due_to_no_chains,
329
+ "bd" => :reject_due_to_damps,
330
+ "bg" => :reject_due_to_bearings,
331
+ "bl" => :reject_due_to_load_divider_bad_order,
332
+ "bo" => :loaded_car_unable_to_load,
333
+ "bp" => :reject_due_to_bridge_plate,
334
+ "br" => :reject_due_to_brake_rigging_beam_lever,
335
+ "bs" => :reject_due_to_bad_order_slides,
336
+ "bv" => :reject_due_to_bad_order_valvespiping,
337
+ "bw" => :reject_due_to_bad_order_walls,
338
+ "ca" => :reject_due_to_crank_arm_application,
339
+ "cb" => :reject_due_to_center_bowls_plates_and_pins,
340
+ "ci" => :certification_information_does_not_match_patient,
341
+ "cl" => :complete_loading,
342
+ "cm" => :released_as_railroad_company_material,
343
+ "cn" => :car_not_ordered,
344
+ "cp" => :put_on_constructive_placement,
345
+ "cr" => :wrong_consignee,
346
+ "cs" => :release_load_through_bill_connecting_road,
347
+ "ct" => :release_as_a_crosstown_load,
348
+ "cu" => :equipment_not_used,
349
+ "cw" => :wrong_car_type,
350
+ "dd" => :reject_due_to_doors,
351
+ "dg" => :reject_due_to_draft_gear__yoke,
352
+ "dm" => :dismantle,
353
+ "dp" => :departed,
354
+ "dr" => :reject_due_to_dirty,
355
+ "ds" => :defective_safety_devices,
356
+ "dv" => :reject_due_to_load_dividers_side_filters_special_equipment,
357
+ "e1" => :requested_record_will_not_be_sent_cannot_identify_the_recordwe_cannot_identify_the_record_from_the_information_you_provided_please_provide_additional_information_or_have_the_student_contact_us_directly_to_make_the_request,
358
+ "e2" => :requested_record_will_not_be_sent_need_student_or_parent_permissioninstitutional_policy_prohibits_release_without_written_permission_of_student_or_parent_have_student_or_parent_request_record_from_us,
359
+ "e3" => :requested_record_will_not_be_sentrequested_record_will_not_be_sent_have_student_contact_us_to_resolve_a_problem,
360
+ "e4" => :requested_record_will_not_be_sent_never_enrolledrequested_record_will_not_be_sent_we_have_no_record_that_the_student_ever_enrolled,
361
+ "e5" => :requested_record_will_not_be_sent_no_degree_awardedrequested_record_will_not_be_sent_degree_or_diploma_has_not_been_awarded,
362
+ "e6" => :requested_record_will_not_be_sent_no_grades_postedrequested_record_will_not_be_sent_grades_have_not_been_posted_for_the_current_or_most_recent_session,
363
+ "e7" => :requested_record_cannot_be_sent_electronically_record_resides_in_paper_format_only_which_will_be_sent_by_mail,
364
+ "e8" => :requires_medical_review,
365
+ "ea" => :empty_equipment_available_for_loading,
366
+ "er" => :reject_due_to_spotted_in_error,
367
+ "et" => :empty_trailer_flat_release,
368
+ "fd" => :freight_damage_claim,
369
+ "fr" => :reject_due_to_bad_floor,
370
+ "gs" => :release_from_demurrage_and_start_storage_until_waybilled,
371
+ "hb" => :reject_due_to_handbrake,
372
+ "hh" => :reject_due_to_hand_hold_ladder_step_running_boards_platforms_etc,
373
+ "hx" => :reject_due_to_hot_journal_box,
374
+ "ia" => :invalid_authorization_number_format,
375
+ "id" => :releases_an_idler,
376
+ "ii" => :industrial_interchange,
377
+ "ip" => :inappropriate_provider_role,
378
+ "kr" => :reject_due_to_couplers,
379
+ "lk" => :reject_due_to_leaking_contents,
380
+ "ls" => :reject_due_to_load_shifted,
381
+ "lw" => :light_weigh_and_restencil,
382
+ "ma" => :missing_authorization_number,
383
+ "mo" => :move_from_current_spot_to_next,
384
+ "nc" => :no_certification_information_found,
385
+ "og" => :reject_due_to_outlet_gatevalve_lo_and_open_hopper,
386
+ "oi" => :released_from_industry_to_be_inspected,
387
+ "or" => :ordered_for_replacement,
388
+ "ov" => :reject_due_to_overloaded,
389
+ "pm" => :preventative_maintenance,
390
+ "rb" => :released_from_industry_to_custody_of_broker,
391
+ "rd" => :to_be_reloaded,
392
+ "rf" => :reject_due_to_refrigeration_unit,
393
+ "rh" => :reject_due_to_roof_hatches,
394
+ "rk" => :reject_due_to_racks_bi_or_tri_levels,
395
+ "rl" => :released,
396
+ "rn" => :bad_order_reinitialing_and_numbering,
397
+ "rp" => :released_partially_unloaded,
398
+ "rs" => :released_loaded_for_line_haul_shipment,
399
+ "rt" => :run_through_equipment_not_spotted,
400
+ "sc" => :released_from_demurrage_after_being_scrapped,
401
+ "st" => :released_from_shop_track,
402
+ "su" => :reject_due_to_superstructure__end_roof_and_sides,
403
+ "sw" => :local_waybill,
404
+ "t1" => :cannot_identify_provider_as_tpo_third_party_organization_participant,
405
+ "t2" => :cannot_identify_payer_as_tpo_third_party_organization_participant,
406
+ "t3" => :cannot_identify_insured_as_tpo_third_party_organization_participant,
407
+ "t4" => :payer_name_or_identifier_missing,
408
+ "t5" => :certification_information_missing,
409
+ "t6" => :claim_does_not_contain_enough_information_for_repricing,
410
+ "tc" => :bad_order_to_transfer_lading,
411
+ "td" => :reject_due_to_tie_down_devices,
412
+ "th" => :reject_due_to_trailer_hitch,
413
+ "tl" => :reject_due_to_train_line_air_hose_anglecock,
414
+ "tr" => :reject_due_to_truck_sframe_bolster,
415
+ "uc" => :reject_due_to_uncoupling_rod,
416
+ "uf" => :reject_due_to_underframe__including_sills,
417
+ "ug" => :bad_order_for_upgrading_of_car,
418
+ "wa" => :reject_due_to_wheelaxle,
419
+ "wk" => :bad_order_due_to_wreck,
420
+ "zz" => :mutually_defined,
421
+ },
422
+ 4 => {
423
+ "c" => :please_correct_and_resubmit,
424
+ "d" => :resubmit_entire_claim,
425
+ "e" => :resubmit_this_item_only,
426
+ "n" => :resubmission_not_allowed,
427
+ "p" => :please_resubmit_original_transaction,
428
+ "r" => :resubmission_allowed,
429
+ "s" => :do_not_resubmit_inquiry_initiated_to_a_third_party,
430
+ "w" => :please_wait_30_days_and_resubmit,
431
+ "x" => :please_wait_10_days_and_resubmit,
432
+ "y" => :do_not_resubmit_we_will_hold_your_request_and_respond_again_shortly,
433
+ }
434
+ }
435
+ end
436
+ end
437
+ end