rbedi 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
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,286 @@
1
+ module RBEDI
2
+ module Codes
3
+ module EQ
4
+ extend CodeSet
5
+
6
+ SEGMENT_POSITIONS = {
7
+ 1 => :service_type_code,
8
+ 2 => :composite_medical_procedure_identifier,
9
+ 3 => :coverage_level_code,
10
+ 4 => :insurance_type_code,
11
+ 5 => :composite_diagnosis_code_pointer
12
+ }
13
+
14
+ CODES = {
15
+ 1 => {
16
+ "1" => :medical_care,
17
+ "2" => :surgical,
18
+ "3" => :consultation,
19
+ "4" => :diagnostic_xray,
20
+ "5" => :diagnostic_lab,
21
+ "6" => :radiation_therapy,
22
+ "7" => :anesthesia,
23
+ "8" => :surgical_assistance,
24
+ "9" => :other_medical,
25
+ "10" => :blood_charges,
26
+ "11" => :used_durable_medical_equipment,
27
+ "12" => :durable_medical_equipment_purchase,
28
+ "13" => :ambulatory_service_center_facility,
29
+ "14" => :renal_supplies_in_the_home,
30
+ "15" => :alternate_method_dialysis,
31
+ "16" => :chronic_renal_disease_crd_equipment,
32
+ "17" => :preadmission_testing,
33
+ "18" => :durable_medical_equipment_rental,
34
+ "19" => :pneumonia_vaccine,
35
+ "20" => :second_surgical_opinion,
36
+ "21" => :third_surgical_opinion,
37
+ "22" => :social_work,
38
+ "23" => :diagnostic_dental,
39
+ "24" => :periodontics,
40
+ "25" => :restorative,
41
+ "26" => :endodontics,
42
+ "27" => :maxillofacial_prosthetics,
43
+ "28" => :adjunctive_dental_services,
44
+ "30" => :health_benefit_plan_coverage,
45
+ "31" => :benefit_disclaimer,
46
+ "32" => :plan_waiting_period,
47
+ "33" => :chiropractic,
48
+ "34" => :chiropractic_office_visits,
49
+ "35" => :dental_care,
50
+ "36" => :dental_crowns,
51
+ "37" => :dental_accident,
52
+ "38" => :orthodontics,
53
+ "39" => :prosthodontics,
54
+ "40" => :oral_surgery,
55
+ "41" => :routine_preventive_dental,
56
+ "42" => :home_health_care,
57
+ "43" => :home_health_prescriptions,
58
+ "44" => :home_health_visits,
59
+ "45" => :hospice,
60
+ "46" => :respite_care,
61
+ "47" => :hospital,
62
+ "48" => :hospital__inpatient,
63
+ "49" => :hospital__room_and_board,
64
+ "50" => :hospital__outpatient,
65
+ "51" => :hospital__emergency_accident,
66
+ "52" => :hospital__emergency_medical,
67
+ "53" => :hospital__ambulatory_surgical,
68
+ "54" => :long_term_care,
69
+ "55" => :major_medical,
70
+ "56" => :medically_related_transportation,
71
+ "57" => :air_transportation,
72
+ "58" => :cabulance,
73
+ "59" => :licensed_ambulance,
74
+ "60" => :general_benefits,
75
+ "61" => :invitro_fertilization,
76
+ "62" => :mricat_scan,
77
+ "63" => :donor_procedures,
78
+ "64" => :acupuncture,
79
+ "65" => :newborn_care,
80
+ "66" => :pathology,
81
+ "67" => :smoking_cessation,
82
+ "68" => :well_baby_care,
83
+ "69" => :maternity,
84
+ "70" => :transplants,
85
+ "71" => :audiology_exam,
86
+ "72" => :inhalation_therapy,
87
+ "73" => :diagnostic_medical,
88
+ "74" => :private_duty_nursing,
89
+ "75" => :prosthetic_device,
90
+ "76" => :dialysis,
91
+ "77" => :otological_exam,
92
+ "78" => :chemotherapy,
93
+ "79" => :allergy_testing,
94
+ "80" => :immunizations,
95
+ "81" => :routine_physical,
96
+ "82" => :family_planning,
97
+ "83" => :infertility,
98
+ "84" => :abortion,
99
+ "85" => :aids,
100
+ "86" => :emergency_services,
101
+ "87" => :cancer,
102
+ "88" => :pharmacy,
103
+ "89" => :free_standing_prescription_drug,
104
+ "90" => :mail_order_prescription_drug,
105
+ "91" => :brand_name_prescription_drug,
106
+ "92" => :generic_prescription_drug,
107
+ "93" => :podiatry,
108
+ "94" => :podiatry__office_visits,
109
+ "95" => :podiatry__nursing_home_visits,
110
+ "96" => :professional_physician,
111
+ "97" => :anesthesiologist,
112
+ "98" => :professional_physician_visit__office,
113
+ "99" => :professional_physician_visit__inpatient,
114
+ "a0" => :professional_physician_visit__outpatient,
115
+ "a1" => :professional_physician_visit__nursing_home,
116
+ "a2" => :professional_physician_visit__skilled_nursing_facility,
117
+ "a3" => :professional_physician_visit__home,
118
+ "a4" => :psychiatric,
119
+ "a5" => :psychiatric__room_and_board,
120
+ "a6" => :psychotherapy,
121
+ "a7" => :psychiatric__inpatient,
122
+ "a8" => :psychiatric__outpatient,
123
+ "a9" => :rehabilitation,
124
+ "aa" => :rehabilitation__room_and_board,
125
+ "ab" => :rehabilitation__inpatient,
126
+ "ac" => :rehabilitation__outpatient,
127
+ "ad" => :occupational_therapy,
128
+ "ae" => :physical_medicine,
129
+ "af" => :speech_therapy,
130
+ "ag" => :skilled_nursing_care,
131
+ "ah" => :skilled_nursing_care__room_and_board,
132
+ "ai" => :substance_abuse,
133
+ "aj" => :alcoholism,
134
+ "ak" => :drug_addiction,
135
+ "al" => :vision_optometry,
136
+ "am" => :frames,
137
+ "an" => :routine_exam,
138
+ "ao" => :lenses,
139
+ "aq" => :nonmedically_necessary_physicalthese_physicals_are_required_by_other_entities_eg_insurance_application_pilot_license_employment_or_school,
140
+ "ar" => :experimental_drug_therapy,
141
+ "b" => :nonescrow_or_nonimpound_service,
142
+ "b1" => :burn_care,
143
+ "b2" => :brand_name_prescription_drug__formulary,
144
+ "b3" => :brand_name_prescription_drug__nonformulary,
145
+ "ba" => :independent_medical_evaluation,
146
+ "bb" => :partial_hospitalization_psychiatric,
147
+ "bc" => :day_care_psychiatric,
148
+ "bd" => :cognitive_therapy,
149
+ "be" => :massage_therapy,
150
+ "bf" => :pulmonary_rehabilitation,
151
+ "bg" => :cardiac_rehabilitation,
152
+ "bh" => :pediatric,
153
+ "bi" => :nursery,
154
+ "bj" => :skin,
155
+ "bk" => :orthopedic,
156
+ "bl" => :cardiac,
157
+ "bm" => :lymphatic,
158
+ "bn" => :gastrointestinal,
159
+ "bp" => :endocrine,
160
+ "bq" => :neurology,
161
+ "br" => :eye,
162
+ "bs" => :invasive_procedures,
163
+ "bt" => :gynecological,
164
+ "bu" => :obstetrical,
165
+ "bv" => :obstetricalgynecological,
166
+ "bw" => :mail_order_prescription_drug_brand_name,
167
+ "bx" => :mail_order_prescription_drug_generic,
168
+ "by" => :physician_visit__office_sick,
169
+ "bz" => :physician_visit__office_well,
170
+ "c" => :escrow_or_impound_service,
171
+ "c1" => :coronary_care,
172
+ "ca" => :private_duty_nursing__inpatient,
173
+ "cb" => :private_duty_nursing__home,
174
+ "cc" => :surgical_benefits__professional_physician,
175
+ "cd" => :surgical_benefits__facility,
176
+ "ce" => :mental_health_provider__inpatient,
177
+ "cf" => :mental_health_provider__outpatient,
178
+ "cg" => :mental_health_facility__inpatient,
179
+ "ch" => :mental_health_facility__outpatient,
180
+ "ci" => :substance_abuse_facility__inpatient,
181
+ "cj" => :substance_abuse_facility__outpatient,
182
+ "ck" => :screening_xray,
183
+ "cl" => :screening_laboratory,
184
+ "cm" => :mammogram_high_risk_patient,
185
+ "cn" => :mammogram_low_risk_patient,
186
+ "co" => :flu_vaccination,
187
+ "cp" => :eyewear_and_eyewear_accessories,
188
+ "cq" => :case_management,
189
+ "dg" => :dermatology,
190
+ "dm" => :durable_medical_equipment,
191
+ "ds" => :diabetic_supplies,
192
+ "gf" => :generic_prescription_drug__formulary,
193
+ "gn" => :generic_prescription_drug__nonformulary,
194
+ "gy" => :allergy,
195
+ "ic" => :intensive_care,
196
+ "mh" => :mental_health,
197
+ "ni" => :neonatal_intensive_care,
198
+ "on" => :oncology,
199
+ "pt" => :physical_therapy,
200
+ "pu" => :pulmonary,
201
+ "rn" => :renal,
202
+ "rt" => :residential_psychiatric_treatment,
203
+ "tc" => :transitional_care,
204
+ "tn" => :transitional_nursery_care,
205
+ "uc" => :urgent_care,
206
+ },
207
+ 3 => {
208
+ "chd" => :children_only,
209
+ "dep" => :dependents_only,
210
+ "e1d" => :employee_and_one_dependent,
211
+ "e2d" => :employee_and_two_dependents,
212
+ "e3d" => :employee_and_three_dependents,
213
+ "e5d" => :employee_and_one_or_more_dependents,
214
+ "e6d" => :employee_and_two_or_more_dependents,
215
+ "e7d" => :employee_and_three_or_more_dependents,
216
+ "e8d" => :employee_and_four_or_more_dependents,
217
+ "e9d" => :employee_and_five_or_more_dependents,
218
+ "ech" => :employee_and_children,
219
+ "emp" => :employee_only,
220
+ "esp" => :employee_and_spouse,
221
+ "fam" => :family,
222
+ "ind" => :individual,
223
+ "s1c" => :subscriber_and_1_child,
224
+ "s5c" => :subscriber_and_1_or_more_children,
225
+ "s6c" => :subscriber_and_2_or_more_children,
226
+ "spc" => :spouse_and_children,
227
+ "spo" => :spouse_only,
228
+ "ss1" => :subscriber_spouse_and_1_child,
229
+ "ss5" => :subscriber_spouse_and_1_or_more_children,
230
+ "ss6" => :subscriber_spouse_and_2_or_more_children,
231
+ "ssp" => :subscriber_and_spouse,
232
+ "two" => :two_party,
233
+ },
234
+ 4 => {
235
+ "12" => :medicare_secondary_working_aged_beneficiary_or_spouse_with_employer_group_health_plan,
236
+ "13" => :medicare_secondary_endstage_renal_disease_beneficiary_in_the_mandated_coordination_period_with_an_employers_group_health_plan,
237
+ "14" => :medicare_secondary_nofault_insurance_including_auto_is_primary,
238
+ "15" => :medicare_secondary_workers_compensation,
239
+ "16" => :medicare_secondary_public_health_service_phsor_other_federal_agency,
240
+ "41" => :medicare_secondary_black_lung,
241
+ "42" => :medicare_secondary_veterans_administration,
242
+ "43" => :medicare_secondary_disabled_beneficiary_under_age_65_with_large_group_health_plan_lghp,
243
+ "47" => :medicare_secondary_other_liability_insurance_is_primary,
244
+ "ap" => :auto_insurance_policy,
245
+ "c1" => :commercial,
246
+ "co" => :consolidated_omnibus_budget_reconciliation_act_cobra,
247
+ "cp" => :medicare_conditionally_primary,
248
+ "d" => :disabilityprovides_periodic_payments_to_replace_income_when_an_insured_person_is_unable_to_work_as_a_result_of_illness_injury_or_disease,
249
+ "db" => :disability_benefits,
250
+ "e" => :medicare__point_of_service_pos,
251
+ "ep" => :exclusive_provider_organizationgives_subscriber_a_choice_of_providers_from_an_approvedcontracted_payer_list_there_are_fixed_dollar_copayments_for_most_covered_services_in_return_for_using_plan_providers,
252
+ "ff" => :family_or_friends,
253
+ "gp" => :group_policytwo_or_more_people_who_are_part_of_complete_unit_who_enter_into_an_insurance_contract_with_an_insurance_company,
254
+ "hm" => :health_maintenance_organization_hmo,
255
+ "hn" => :health_maintenance_organization_hmo__medicare_risk,
256
+ "hs" => :special_low_income_medicare_beneficiaryan_individual_eligible_for_medicare_for_whom_medicaid_pays_only_medicare_premiums,
257
+ "in" => :indemnitygives_a_subscriber_the_choice_to_select_any_provider_payment_is_fixed_percentage_of_the_cost_for_covered_care_after_satisfying_an_annual_deductible,
258
+ "ip" => :individual_policy,
259
+ "lc" => :long_term_carecoverage_designed_to_help_pay_for_some_or_all_long_term_care_costs_reducing_the_risk_that_a_policyholder_would_need_to_deplete_all_of_his_or_her_assets_to_pay_for_long_term_care,
260
+ "ld" => :long_term_policy,
261
+ "li" => :life_insurance,
262
+ "lt" => :litigation,
263
+ "ma" => :medicare_part_a,
264
+ "mb" => :medicare_part_b,
265
+ "mc" => :medicaidprogram_of_health_care_services_made_available_to_medically_indigent_and_other_needy_persons_regardless_of_age_under_terms_of_a_1965_amendment_to_the_us_social_security_act,
266
+ "mh" => :medigap_part_ahealth_insurance_policy_intended_to_cover_the_noncovered_portion_of_expenses_eligible_for_medicare_part_a_reimbursement_which_must_be_paid_by_a_medicare_beneficiary_for_health_care_services_andor_supplies_received,
267
+ "mi" => :medigap_part_bhealth_insurance_policy_intended_to_cover_the_noncovered_portion_of_expenses_eligible_for_medicare_part_b_reimbursement_which_must_be_paid_by_a_medicare_beneficiary_for_health_care_services_andor_supplies_received,
268
+ "mp" => :medicare_primarymedicare_has_the_primary_responsibility_to_pay_for_health_care_services_andor_supplies_received_by_a_covered_beneficiary_a_person_entitled_to_medicare_benefits,
269
+ "ot" => :other,
270
+ "pe" => :property_insurance__personal,
271
+ "pl" => :personal,
272
+ "pp" => :personal_payment_cash__no_insurance,
273
+ "pr" => :preferred_provider_organization_ppo,
274
+ "ps" => :point_of_service_pos,
275
+ "qm" => :qualified_medicare_beneficiarycoverage_for_a_medicare_eligible_individual_for_whom_medicaid_pays_only_for_medicare_premiums_coinsurance_and_deductibles,
276
+ "rp" => :property_insurance__real,
277
+ "sp" => :supplemental_policyan_insurance_policy_intended_to_cover_noncovered_charges_of_another_insurance_policy,
278
+ "tf" => :tax_equity_fiscal_responsibility_act_tefra,
279
+ "u" => :multiple_options_health_plan,
280
+ "wc" => :workers_compensationcoverage_provides_medical_treatment_rehabilitation_lost_wages_and_related_expenses_arising_from_a_job_related_injury_or_disease,
281
+ "wu" => :wrap_up_policya_workers_compensation_policy_written_for_a_specific_job_site_which_will_include_or_cover_more_than_one_insured,
282
+ }
283
+ }
284
+ end
285
+ end
286
+ end
@@ -0,0 +1,14 @@
1
+ module RBEDI
2
+ module Codes
3
+ module GE
4
+ extend CodeSet
5
+
6
+ SEGMENT_POSITIONS = {
7
+ 1 => :transaction_set_count,
8
+ 2 => :group_control_number
9
+ }
10
+
11
+ CODES = {}
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,287 @@
1
+ module RBEDI
2
+ module Codes
3
+ module GS
4
+ extend CodeSet
5
+
6
+ SEGMENT_POSITIONS = {
7
+ 1 => :functional_identifier_code,
8
+ 2 => :application_sender_code,
9
+ 3 => :application_receiver_code,
10
+ 4 => :date,
11
+ 5 => :time,
12
+ 6 => :group_control_number,
13
+ 7 => :responsible_agency_code,
14
+ 8 => :version_code,
15
+ }
16
+
17
+ CODES = {
18
+ 1 => {
19
+ "aa" => :account_analysis_822,
20
+ "ab" => :logistics_service_request_219,
21
+ "ac" => :associated_data_102,
22
+ "ad" => :individual_life_annuity_and_disability_application_267,
23
+ "ae" => :premium_audit_request_and_return_187,
24
+ "af" => :application_for_admission_to_educational_institutions_189,
25
+ "ag" => :application_advice_824,
26
+ "ah" => :logistics_service_response_220,
27
+ "ai" => :automotive_inspection_detail_928,
28
+ "ak" => :student_educational_record_transcript_acknowledgment_131,
29
+ "al" => :set_cancellation_998,
30
+ "am" => :item_information_request_893,
31
+ "an" => :return_merchandise_authorization_and_notification_180,
32
+ "ao" => :income_or_asset_offset_521,
33
+ "ap" => :abandoned_property_filings_103,
34
+ "aq" => :us_customs_manifest_309,
35
+ "ar" => :warehouse_stock_transfer_shipment_advice_943,
36
+ "as" => :transportation_appointment_schedule_information_163,
37
+ "at" => :animal_toxicological_data_249,
38
+ "au" => :us_customs_status_information_350,
39
+ "av" => :us_customs_carrier_general_order_status_352,
40
+ "aw" => :warehouse_inventory_adjustment_advice_947,
41
+ "ax" => :us_customs_events_advisory_details_353,
42
+ "ay" => :us_customs_automated_manifest_archive_status_354,
43
+ "az" => :us_customs_acceptancerejection_355,
44
+ "ba" => :us_customs_permit_to_transfer_request_356,
45
+ "bb" => :us_customs_inbond_information_357,
46
+ "bc" => :business_credit_report_155,
47
+ "bd" => :us_customs_consist_information_358,
48
+ "be" => :benefit_enrollment_and_maintenance_834,
49
+ "bf" => :business_entity_filings_105,
50
+ "bl" => :motor_carrier_bill_of_lading_211,
51
+ "bs" => :shipment_and_billing_notice_857,
52
+ "ca" => :purchase_order_change_acknowledgmentrequest__seller_initiated_865,
53
+ "cb" => :unemployment_insurance_tax_claim_or_charge_information_153,
54
+ "cc" => :clauses_and_provisions_504,
55
+ "cd" => :creditdebit_adjustment_812,
56
+ "ce" => :cartage_work_assignment_222,
57
+ "cf" => :corporate_financial_adjustment_information_844_and_849,
58
+ "ch" => :car_handling_information_420,
59
+ "ci" => :consolidated_service_invoicestatement_811,
60
+ "cj" => :manufacturer_coupon_family_code_structure_877,
61
+ "ck" => :manufacturer_coupon_redemption_detail_881,
62
+ "cl" => :election_campaign_and_lobbyist_reporting_113,
63
+ "cm" => :component_parts_content_871,
64
+ "cn" => :coupon_notification_887,
65
+ "co" => :cooperative_advertising_agreements_290,
66
+ "cp" => :electronic_proposal_information_251_805,
67
+ "cq" => :commodity_movement_services_response_874,
68
+ "cr" => :rail_carhire_settlements_414,
69
+ "cs" => :cryptographic_service_message_815,
70
+ "ct" => :application_control_totals_831,
71
+ "cu" => :commodity_movement_services_873,
72
+ "cv" => :commercial_vehicle_safety_and_credentials_information_exchange_285,
73
+ "cw" => :educational_institution_record_133,
74
+ "d3" => :contract_completion_status_567transaction_set_for_reporting_the_administrative_closure_status_of_physically_completed_contracts,
75
+ "d4" => :contract_abstract_561,
76
+ "d5" => :contract_payment_management_report_568,
77
+ "da" => :debit_authorization_828,
78
+ "dd" => :shipment_delivery_discrepancy_information_854,
79
+ "df" => :market_development_fund_allocation_883,
80
+ "di" => :dealer_information_128,
81
+ "dm" => :equipment_order_422,
82
+ "ds" => :data_status_tracking_242,
83
+ "dx" => :direct_exchange_delivery_and_return_information_894_895,
84
+ "ec" => :educational_course_inventory_188,
85
+ "ed" => :student_educational_record_transcript_130,
86
+ "ei" => :railroad_equipment_inquiry_or_advice_456,
87
+ "en" => :equipment_inspection,
88
+ "ep" => :environmental_compliance_reporting_179,
89
+ "er" => :revenue_receipts_statement_170,
90
+ "es" => :notice_of_employment_status_540,
91
+ "ev" => :railroad_event_report_451,
92
+ "ex" => :excavation_communication_620,
93
+ "fa" => :functional_or_implementation_acknowledgment_transaction_sets_997_999,
94
+ "fb" => :freight_invoice_859,
95
+ "fc" => :court_and_law_enforcement_information_175_176,
96
+ "fg" => :motor_carrier_loading_and_route_guide_217,
97
+ "fr" => :financial_reporting_821_827,
98
+ "ft" => :file_transfer_996,
99
+ "gc" => :damage_claim_transaction_sets_920_924_925_926,
100
+ "ge" => :general_request_response_or_confirmation_814,
101
+ "gf" => :response_to_a_load_tender_990,
102
+ "gl" => :intermodal_group_loading_plan_715,
103
+ "gp" => :grocery_products_invoice_880,
104
+ "gr" => :statistical_government_information_152,
105
+ "gt" => :grant_or_assistance_application_194,
106
+ "hb" => :eligibility_coverage_or_benefit_information_271,
107
+ "hc" => :health_care_claim_837,
108
+ "hi" => :health_care_services_review_information_278,
109
+ "hn" => :health_care_information_status_notification_277,
110
+ "hp" => :health_care_claim_paymentadvice_835,
111
+ "hr" => :health_care_claim_status_request_276,
112
+ "hs" => :eligibility_coverage_or_benefit_inquiry_270,
113
+ "hu" => :human_resource_information_132,
114
+ "hv" => :health_care_benefit_coordination_verification_269,
115
+ "ia" => :air_freight_details_and_invoice_110_980,
116
+ "ib" => :inventory_inquiryadvice_846,
117
+ "ic" => :rail_advance_interchange_consist_418,
118
+ "id" => :insuranceannuity_application_status_273,
119
+ "ie" => :insurance_producer_administration_252,
120
+ "if" => :individual_insurance_policy_and_client_information_111,
121
+ "ig" => :direct_store_delivery_summary_information_882,
122
+ "ih" => :commercial_vehicle_safety_reports_284,
123
+ "ij" => :report_of_injury_illness_or_incident_148,
124
+ "im" => :motor_carrier_freight_details_and_invoice_210_980,
125
+ "in" => :invoice_information_810,
126
+ "io" => :ocean_shipment_billing_details_310_312_980,
127
+ "ir" => :rail_carrier_freight_details_and_invoice_410_980,
128
+ "is" => :estimated_time_of_arrival_and_car_scheduling_421,
129
+ "jb" => :joint_interest_billing_and_operating_expense_statement_819,
130
+ "km" => :commercial_vehicle_credentials_286,
131
+ "la" => :federal_communications_commission_fcc_license_application_195,
132
+ "lb" => :lockbox_823,
133
+ "li" => :locomotive_information_436,
134
+ "ln" => :property_and_casualty_loss_notification_272,
135
+ "lr" => :logistics_reassignment_536,
136
+ "ls" => :asset_schedule_851,
137
+ "lt" => :student_loan_transfer_and_status_verification_144,
138
+ "ma" => :motor_carrier_summary_freight_bill_manifest_224,
139
+ "mc" => :request_for_motor_carrier_rate_proposal_107,
140
+ "md" => :department_of_defense_inventory_management_527transactions_related_to_the_interchange_of_information_involving_material_in_the_supply_control_and_distribution_systems_and_financial_management_of_the_department_of_defense_or_other_participating_agencies,
141
+ "me" => :mortgage_origination_198_200_201_245_261_262_263_833_872,
142
+ "mf" => :market_development_fund_settlement_884,
143
+ "mg" => :mortgage_servicing_transaction_sets_203_206_259_260_264_266,
144
+ "mh" => :motor_carrier_rate_proposal_106,
145
+ "mi" => :motor_carrier_shipment_status_inquiry_213,
146
+ "mj" => :secondary_mortgage_market_loan_delivery_202,
147
+ "mk" => :response_to_a_motor_carrier_rate_proposal_108,
148
+ "mm" => :medical_event_reporting_500,
149
+ "mn" => :mortgage_note_205,
150
+ "mo" => :maintenance_service_order_650,
151
+ "mp" => :motion_picture_booking_confirmation_159,
152
+ "mq" => :consolidators_freight_bill_and_invoice_223,
153
+ "mr" => :multilevel_railcar_load_details_125,
154
+ "ms" => :material_safety_data_sheet_848,
155
+ "mt" => :electronic_form_structure_868,
156
+ "mv" => :material_obligation_validation_517,
157
+ "mw" => :rail_waybill_response_427,
158
+ "mx" => :material_claim_847,
159
+ "my" => :response_to_a_cartage_work_assignment_225,
160
+ "mz" => :motor_carrier_package_status_240,
161
+ "nc" => :nonconformance_report_842,
162
+ "nl" => :name_and_address_lists_101,
163
+ "np" => :notice_of_power_of_attorney_157,
164
+ "nr" => :secured_receipt_or_acknowledgment_993,
165
+ "nt" => :notice_of_tax_adjustment_or_assessment_149,
166
+ "oc" => :cargo_insurance_advice_of_shipment_362,
167
+ "og" => :order_group__grocery_875_876,
168
+ "or" => :organizational_relationships_816,
169
+ "ow" => :warehouse_shipping_order_940,
170
+ "pa" => :price_authorization_acknowledgmentstatus_845,
171
+ "pb" => :railroad_parameter_trace_registration_455,
172
+ "pc" => :purchase_order_change_request__buyer_initiated_860,
173
+ "pd" => :product_activity_data_852,
174
+ "pe" => :periodic_compensation_256,
175
+ "pf" => :annuity_activity_268,
176
+ "pg" => :insurance_plan_description_100,
177
+ "ph" => :pricing_history_503,
178
+ "pi" => :patient_information_275,
179
+ "pj" => :project_schedule_reporting_806,
180
+ "pk" => :project_cost_reporting_839_and_contractor_cost_data_reporting_196,
181
+ "pl" => :railroad_problem_log_inquiry_or_advice_452,
182
+ "pn" => :product_source_information_244,
183
+ "po" => :purchase_order_850,
184
+ "pq" => :property_damage_report_112,
185
+ "pr" => :purchase_order_acknowledgment_855,
186
+ "ps" => :planning_schedule_with_release_capability_830,
187
+ "pt" => :product_transfer_and_resale_report_867,
188
+ "pu" => :motor_carrier_shipment_pickup_notification_216,
189
+ "pv" => :purchase_order_shipment_management_document_250,
190
+ "pw" => :healthcare_provider_information_274,
191
+ "py" => :payment_cancellation_request_829,
192
+ "qg" => :product_information_878_879_888_889_896,
193
+ "qm" => :transportation_carrier_shipment_status_message_214,
194
+ "qo" => :ocean_shipment_status_information_313_315,
195
+ "ra" => :payment_orderremittance_advice_820,
196
+ "rb" => :railroad_clearance_470,
197
+ "rc" => :receiving_adviceacceptance_certificate_861,
198
+ "rd" => :royalty_regulatory_report_185,
199
+ "re" => :warehouse_stock_receipt_advice_944,
200
+ "rf" => :request_for_routing_instructions_753,
201
+ "rg" => :routing_instructions_754,
202
+ "rh" => :railroad_reciprocal_switch_file_433,
203
+ "ri" => :routing_and_carrier_instruction_853,
204
+ "rj" => :railroad_mark_register_update_activity_434,
205
+ "rk" => :standard_transportation_commodity_code_master_435,
206
+ "rl" => :rail_industrial_switch_list_423,
207
+ "rm" => :railroad_station_master_file_431,
208
+ "rn" => :requisition_transaction_511transaction_set_for_ordering_equipment_and_material_can_also_be_used_to_inquire_about_amend_or_terminate_the_original_order,
209
+ "ro" => :ocean_booking_information_300_301_303,
210
+ "rp" => :commission_sales_report_818,
211
+ "rq" => :request_for_quotation_840_and_procurement_notices_836,
212
+ "rr" => :response_to_request_for_quotation_843,
213
+ "rs" => :order_status_information_869_870,
214
+ "rt" => :report_of_test_results_863,
215
+ "ru" => :railroad_retirement_activity_429,
216
+ "rv" => :railroad_junctions_and_interchanges_activity_437,
217
+ "rw" => :rail_revenue_waybill_426,
218
+ "rx" => :rail_deprescription_432,
219
+ "ry" => :request_for_student_educational_record_transcript_146,
220
+ "rz" => :response_to_request_for_student_educational_record_transcript_147,
221
+ "sa" => :air_shipment_information_104,
222
+ "sb" => :rail_carrier_services_settlement_424,
223
+ "sc" => :pricesales_catalog_832,
224
+ "sd" => :student_loan_preclaims_and_claims_191,
225
+ "se" => :shippers_export_declaration_601,
226
+ "sh" => :ship_noticemanifest_856,
227
+ "si" => :shipment_information_858,
228
+ "sj" => :transportation_automatic_equipment_identification_160,
229
+ "sl" => :student_aid_origination_record_135_139,
230
+ "sm" => :motor_carrier_load_tender_204,
231
+ "sn" => :rail_route_file_maintenance_475,
232
+ "so" => :ocean_shipment_information_304_309_311_317_319_322_323_324_325_326_350_352_353_354_355_356_357_358_361,
233
+ "sp" => :specificationstechnical_information_841,
234
+ "sq" => :production_sequence_866,
235
+ "sr" => :rail_carrier_shipment_information_404_419,
236
+ "ss" => :shipping_schedule_862,
237
+ "st" => :railroad_service_commitment_advice_453,
238
+ "su" => :account_assignmentinquiry_and_servicestatus_248,
239
+ "sv" => :student_enrollment_verification_190,
240
+ "sw" => :warehouse_shipping_advice_945,
241
+ "ta" => :electronic_filing_of_tax_return_data_acknowledgment_151,
242
+ "tb" => :trailer_or_container_repair_billing_412,
243
+ "td" => :trading_partner_profile_838,
244
+ "te" => :tax_or_fee_exemption_certification_283,
245
+ "tf" => :electronic_filing_of_tax_return_data_813,
246
+ "ti" => :tax_information_exchange_826,
247
+ "tj" => :tax_jurisdiction_sourcing_158,
248
+ "tm" => :motor_carrier_delivery_trailer_manifest_212,
249
+ "tn" => :tax_rate_notification_150,
250
+ "to" => :real_estate_title_services_197_199_265_485_486,
251
+ "tp" => :rail_rate_transactions_460_463_466_468_485_486_490_492_494,
252
+ "tr" => :train_sheet_161,
253
+ "ts" => :transportation_services_tender_602,
254
+ "tt" => :educational_testing_and_prospect_request_and_report_138,
255
+ "tu" => :trailer_usage_report_227,
256
+ "tx" => :text_message_864,
257
+ "ua" => :retail_account_characteristics_885,
258
+ "ub" => :customer_call_reporting_886,
259
+ "uc" => :secured_interest_filing_154,
260
+ "ud" => :deduction_research_report_891,
261
+ "ui" => :underwriting_information_services_255,
262
+ "up" => :motor_carrier_pickup_manifest_215,
263
+ "uw" => :insurance_underwriting_requirements_reporting_186,
264
+ "va" => :vehicle_application_advice_126,
265
+ "vb" => :vehicle_baying_order_127,
266
+ "vc" => :vehicle_shipping_order_120,
267
+ "vd" => :vehicle_damage_124,
268
+ "ve" => :vessel_content_details_109,
269
+ "vh" => :vehicle_carrier_rate_update_129,
270
+ "vi" => :voter_registration_information_280,
271
+ "vs" => :vehicle_service_121,
272
+ "wa" => :product_service_transaction_sets_140_141_142_143,
273
+ "wb" => :rail_carrier_waybill_interchange_417,
274
+ "wg" => :vendor_performance_review_501,
275
+ "wi" => :wage_determination_288,
276
+ "wl" => :well_information_625,
277
+ "wr" => :shipment_weights_440,
278
+ "wt" => :rail_waybill_request_425,
279
+ },
280
+ 7 => {
281
+ "t" => :transportation_data_coordication_committee,
282
+ "x" => :accredited_standards_committee_x12,
283
+ }
284
+ }
285
+ end
286
+ end
287
+ end