stupidedi 1.4.0 → 1.4.2

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 (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -5
  3. data/Rakefile +4 -4
  4. data/bin/edi-obfuscate +1 -1
  5. data/lib/stupidedi/config.rb +2 -0
  6. data/lib/stupidedi/editor/004010.rb +1 -1
  7. data/lib/stupidedi/editor/implementation_ack.rb +3 -3
  8. data/lib/stupidedi/interchanges/00501/element_defs.rb +3 -3
  9. data/lib/stupidedi/parser/builder_dsl.rb +4 -1
  10. data/lib/stupidedi/schema/abstract_element_use.rb +9 -0
  11. data/lib/stupidedi/schema/component_element_use.rb +2 -0
  12. data/lib/stupidedi/schema/composite_element_use.rb +6 -1
  13. data/lib/stupidedi/schema/segment_use.rb +4 -4
  14. data/lib/stupidedi/schema/simple_element_use.rb +2 -0
  15. data/lib/stupidedi/transaction_sets/004010/implementations/IN810.rb +162 -0
  16. data/lib/stupidedi/transaction_sets/004010/implementations.rb +1 -0
  17. data/lib/stupidedi/transaction_sets/004010/standards/IN810.rb +38 -0
  18. data/lib/stupidedi/transaction_sets/004010/standards/PR855.rb +2 -1
  19. data/lib/stupidedi/transaction_sets/004010/standards.rb +1 -0
  20. data/lib/stupidedi/transaction_sets/005010/implementations/X212-HN277.rb +552 -0
  21. data/lib/stupidedi/transaction_sets/005010/implementations/X220A1-BE834.rb +3 -3
  22. data/lib/stupidedi/transaction_sets/005010/implementations/X222A1-HC837.rb +26 -26
  23. data/lib/stupidedi/transaction_sets/005010/implementations/X223A2-HC837.rb +5 -5
  24. data/lib/stupidedi/transaction_sets/005010/implementations/X223A3-HC837.rb +5 -5
  25. data/lib/stupidedi/transaction_sets/005010/implementations/X279-HB271.rb +14 -14
  26. data/lib/stupidedi/transaction_sets/005010/implementations/X279-HS270.rb +1 -1
  27. data/lib/stupidedi/transaction_sets/005010/implementations/X279A1-HB271.rb +3 -3
  28. data/lib/stupidedi/transaction_sets/005010/implementations/X279A1-HS270.rb +1 -1
  29. data/lib/stupidedi/transaction_sets/005010/implementations.rb +1 -0
  30. data/lib/stupidedi/transaction_sets/builder/dsl.rb +192 -0
  31. data/lib/stupidedi/transaction_sets/builder.rb +5 -1
  32. data/lib/stupidedi/values/composite_element_val.rb +9 -2
  33. data/lib/stupidedi/values/repeated_element_val.rb +1 -1
  34. data/lib/stupidedi/version.rb +1 -1
  35. data/lib/stupidedi/versions/003010/element_defs.rb +5 -2
  36. data/lib/stupidedi/versions/004010/element_defs.rb +72 -2
  37. data/lib/stupidedi/versions/004010/segment_defs/ACK.rb +43 -0
  38. data/lib/stupidedi/versions/004010/segment_defs/BIG.rb +25 -0
  39. data/lib/stupidedi/versions/004010/segment_defs/IT1.rb +39 -0
  40. data/lib/stupidedi/versions/004010/segment_defs/ITD.rb +29 -0
  41. data/lib/stupidedi/versions/004010/segment_defs/SAC.rb +31 -0
  42. data/lib/stupidedi/versions/004010/segment_defs/TDS.rb +18 -0
  43. data/lib/stupidedi/versions/004010/segment_defs/TXI.rb +24 -0
  44. data/lib/stupidedi/versions/004010/segment_defs.rb +7 -0
  45. data/lib/stupidedi/versions/005010/element_defs.rb +170 -5
  46. data/lib/stupidedi/versions/common/element_types/id.rb +1 -1
  47. data/lib/stupidedi/versions/common/element_types/r.rb +3 -1
  48. metadata +16 -6
@@ -64,11 +64,15 @@ module Stupidedi
64
64
  s::CodeList.build(
65
65
  "03" => "Dependent",
66
66
  "13" => "Contracted Service Provider",
67
+ "17" => "Consultant's Office",
68
+ "1E" => "Health Maintenance Organization (HMO)",
67
69
  "1G" => "Oncology Center",
70
+ "1H" => "Kidney Dialysis Unit",
68
71
  "1I" => "Preferred Provider Organization (PPO)",
69
72
  "1O" => "Acute Care Hospital",
70
73
  "1P" => "Provider",
71
74
  "1Q" => "Military Facility",
75
+ "1R" => "University, College or School",
72
76
  "1S" => "Outpatient Surgicenter",
73
77
  "1T" => "Physician, Clinic or Group Practice",
74
78
  "1U" => "Long Term Care Facility",
@@ -77,17 +81,21 @@ module Stupidedi
77
81
  "1X" => "Laboratory",
78
82
  "1Y" => "Retail Pharmacy",
79
83
  "1Z" => "Home Health Care",
84
+ "28" => "Subcontractor",
80
85
  "2A" => "Federal, State, County or City Facility",
81
86
  "2B" => "Third-Party Administrator",
82
87
  "2D" => "Miscellaneous Health Care Facility",
83
88
  "2E" => "Non-Health Care Miscellaneous Facility",
84
89
  "2I" => "Church Operated Facility",
90
+ "2K" => "Partnership",
85
91
  "2J" => "Individial",
86
92
  "2P" => "Public Health Service Facility",
93
+ "2Q" => "Veterans Aadministration Facility",
87
94
  "2S" => "Public Health Service Indian Service Facility",
88
95
  "2T" => "Department of Justice Facility",
89
96
  "2Y" => "General Medical and Surgical Facility",
90
97
  "2Z" => "Hospital Unit of an Institution (Prison Hospital, College Infirmary, etc.)",
98
+ "30" => "Service Supplier",
91
99
  "31" => "Postal Mailing Address",
92
100
  "36" => "Employer",
93
101
  "3A" => "Hospital Unit Within an Institution for the Mentally Retarded",
@@ -111,31 +119,94 @@ module Stupidedi
111
119
  "3S" => "Institution for Mental Retardation",
112
120
  "3T" => "Alcoholism and Other Chemical Dependency Facility",
113
121
  "3U" => "General Inpatient Care for AIDS/ARC Facility",
122
+ "3V" => "AIDS/ARC Unit",
123
+ "3W" => "Specialized Outpatient Program for AIDS/ARC",
124
+ "3X" => "Alcohol/Drug Abuse or Dependency Inpatient Unit",
125
+ "3Y" => "Alcohol/Drug Abuse or Dependency Outpatient Services",
114
126
  "3Z" => "Arthritis Treatment Center",
115
127
  "40" => "Receiver",
116
128
  "41" => "Submitter",
129
+ "43" => "Claimant Authorized Representative",
130
+ "44" => "Data Processing Service Bureau",
117
131
  "45" => "Drop-off Location",
132
+ "4A" => "Birthing Room/LDRP Room",
133
+ "4B" => "Burn Care Unit",
118
134
  "4C" => "Cardiac Catherization Labratory",
119
135
  "4D" => "Open-Heart Surgery Facility",
136
+ "4E" => "Cardiac Intensive Car Unit",
120
137
  "4F" => "Angioplasty Facility",
121
138
  "4G" => "Chronic Obstructive Pulmonary Disease Service Facility",
139
+ "4H" => "Emergency Department",
122
140
  "4I" => "Trauma Center (Certified)",
141
+ "4J" => "Extracorporeal Shock-Wave Lithotripter (ESWL) Unit",
123
142
  "4K" => "Fitness Center",
124
143
  "4L" => "Genetic Counseling/Screening Services",
125
144
  "4M" => "Adult Day Care Program Facility",
145
+ "4N" => "Alzheimer's Diagnostic/assessment Service",
126
146
  "4O" => "Comprehensive Geriatric Assessment Facility",
147
+ "4P" => "Emergency Response (Geriatric) Unit",
148
+ "4Q" => "Geriatric Acute Care Unit",
127
149
  "4R" => "Geriatric Clinics",
128
150
  "4S" => "Respite Care Facility",
151
+ "4U" => "Patient Education Unit",
129
152
  "4V" => "Community Health Promotion Facility",
130
153
  "4W" => "Worksite Health Promotion Facility",
131
154
  "4X" => "Hemodialysis Facility",
155
+ "4Y" => "Home Health Services",
156
+ "4Z" => "Hospice",
157
+ # yes, the lack of commas are in the document
158
+ # yes, this makes me very sad
159
+ "5A" => "Medical Surgical or Other Intensive Care Unit",
132
160
  "5B" => "Hisopathology Laboratory",
161
+ "5C" => "Blood Bank",
162
+ "5D" => "Neonatal Intensive Care Unit",
163
+ "5E" => "Obstetrics Unit",
164
+ "5F" => "Occupational Health Services",
165
+ "5G" => "Organized Outpatient Services",
166
+ "5H" => "Pediatric Acute Inpatient Unit",
167
+ "5I" => "Psychiatric Child/Adolescent Services",
168
+ "5J" => "Psychiatric Consultation-Liaison Services",
169
+ "5K" => "Psychiatric Education Services",
170
+ "5L" => "Psychiatric Emergency Services",
171
+ "5M" => "Psychiatric Geriatric Services",
172
+ "5N" => "Psychiatric Inpatient Unit",
173
+ "5O" => "Psychiatric Outpatient Services",
174
+ "5P" => "Psychiatric Partial Hospitalization Program",
175
+ "5Q" => "Megavoltage Radiation Therapy Unit",
176
+ "5R" => "Radioactive Implants Unit",
133
177
  "5S" => "Therapeutic Radioisotope Facility",
178
+ "5T" => "X-Ray Radiation Therapy Unit",
179
+ "5U" => "CT Scanner Unit",
134
180
  "5V" => "Diagnostic Radioisotope Facility",
135
181
  "5W" => "Magnetic Resonance Imaging (MRI) Facility",
182
+ "5X" => "Ultrasound Unit",
183
+ "5Y" => "Rehabilitation Inpatient Unit",
184
+ "5Z" => "Rehabilitation Outpatient Services",
185
+ "61" => "Performed At",
136
186
  "62" => "Applicant's Employer",
187
+ "6A" => "Reproductive Health Services",
188
+ "6B" => "Skilled Nursing or Other Long-Term Care Unit",
189
+ "6C" => "Single Photon Emission Computerized Tomography (SPECT) Unit",
190
+ "6D" => "Organized Social Work Service Facility",
191
+ "6E" => "Outpatient Social Work Services",
192
+ "6F" => "Emergency Department Social Work Services",
193
+ "6G" => "Sports Medicine Clinic/Services",
194
+ "6H" => "Hospital Auxiliary Unit",
195
+ "6I" => "Patient Representative Services",
196
+ "6J" => "Volunteer Services Department",
197
+ "6K" => "Putpatient Surgery Services",
198
+ "6L" => "Organ/Tissue Transplant Unit",
137
199
  "6M" => "Orthopedic Surgery Facility",
200
+ "6N" => "Occupational Therapy Services",
201
+ "6O" => "Physical Therapy Services",
202
+ "6P" => "Recreational Therapy Services",
203
+ "6Q" => "Respiratory Therapy Services",
204
+ "6R" => "Speech Therapy Services",
205
+ "6S" => "Women's Health Center/Services",
138
206
  "6U" => "Cardiac Rehabilitation Program Facility",
207
+ "6V" => "non-Invasive Cardiac Assessment Services",
208
+ "6W" => "Emergency Medical Technician",
209
+ "6X" => "Disciplinary Contact",
139
210
  "6Y" => "Case Manager",
140
211
  "70" => "Prior Incorrect Insured",
141
212
  "71" => "Attending Physician",
@@ -144,37 +215,58 @@ module Stupidedi
144
215
  "74" => "Corrected Insured",
145
216
  "75" => "Participant",
146
217
  "77" => "Service Location",
218
+ "7C" => "Place of Occurence",
147
219
  "7O" => "Federally Chartered Facility",
148
220
  "80" => "Hospital",
149
221
  "82" => "Rendering Provider",
222
+ "84" => "Subscriber's Employer",
150
223
  "85" => "Billing Provider",
151
224
  "87" => "Pay-to Provider",
152
225
  "8B" => "Primary Residence",
226
+ "95" => "Research Institute",
153
227
  "98" => "Receiver",
154
228
  "9K" => "Key Person",
155
229
  "AG" => "Agent/Agency",
156
230
  "AY" => "Clearinghouse",
157
231
  "BO" => "Broker or Sales Office",
232
+ "CK" => "Pharmacist",
233
+ "CZ" => "Admitting Surgeon",
158
234
  "D0" => "Admitting Physician",
235
+ "D2" => "Commerical Insurer",
159
236
  "DD" => "Assistant Surgeon",
237
+ "DJ" => "Consulting Physician",
160
238
  "DK" => "Ordering Physician",
161
239
  "DN" => "Referring Provider",
162
240
  "DQ" => "Supervising Physician",
241
+ "DO" => "Dependent Name",
242
+ # RESTART HERE
163
243
  "E1" => "Person or Other Entity Legally Responsible for a Child",
244
+ "E2" => "Person or Other Entity With Whom a Child Resides",
245
+ "E7" => "Previous Employer",
246
+ "E9" => "Participating Laboratory",
164
247
  "EI" => "Executor of Estate",
165
248
  "EXS" => "Ex-spouse",
166
249
  "EY" => "@todo",
167
250
  "FA" => "Facility",
251
+ "FD" => "Physical Address",
252
+ "FE" => "Mail Address",
168
253
  "FS" => "Final Scheduled Destination",
254
+ "G0" => "Dependent Insured",
169
255
  "G3" => "Clinic",
170
256
  "GB" => "Other Insured",
171
- "GP" => "Gateway Provider",
172
257
  "GD" => "Guardian",
258
+ "GI" => "Paramedic",
259
+ "GJ" => "Paramedical Company",
260
+ "GK" => "Previous Insured",
261
+ "GM" => "Spouse Insured",
262
+ "GP" => "Gateway Provider",
173
263
  "GW" => "Group",
264
+ "GY" => "Treatment Facility",
174
265
  "HF" => "Healthcare Professional Shortage Area (HPSA) Facility",
175
266
  "HH" => "Home Health Agency",
176
267
  "HK" => "Subscriber",
177
268
  "I3" => "Independent Physicians Association (IPA)",
269
+ "IJ" => "Injection Point",
178
270
  "IL" => "Insured or Subscriber",
179
271
  "IN" => "Insurer",
180
272
  "J6" => "Power of Attorney",
@@ -183,36 +275,55 @@ module Stupidedi
183
275
  "LR" => "Legal Representative",
184
276
  "M5" => "Migrant Health Clinic",
185
277
  "M8" => "Educational Institution",
278
+ "MR" => "Medical INsurance Carrier",
186
279
  "MSC" => "Mammography Screening Center",
187
280
  "ND" => "Next Destination",
188
281
  "O4" => "Factor",
282
+ "OB" => "Ordered By",
189
283
  "OC" => "Origin Carrier",
190
284
  "OD" => "Doctor of Optometry",
191
285
  "OOP" => "Other Operating Physician",
192
286
  "OX" => "Oxygen Therapy Facility",
193
287
  "P0" => "Patient Facility",
288
+ "P2" => "Primary Insured or Subscriber",
194
289
  "P3" => "Primary Care Provider",
195
290
  "P4" => "Prior Insurance Carrier",
196
291
  "P5" => "Plan Sponsor",
292
+ "P6" => "Third Party Reviewing Preferred Provider Organization (PPO)",
293
+ "P7" => "Third Party Reviewing Preferred Provider Organization (PPO)",
197
294
  "PE" => "Payee",
295
+ "PT" => "Party to Receive Test Report",
198
296
  "PTP" => "Pay-to Plan Name",
199
297
  "PR" => "Payer",
200
298
  "PRP" => "Primary Payer",
299
+ "PV" => "Party performing certification",
201
300
  "PW" => "Pickup Address",
202
301
  "QA" => "Pharmacy",
203
302
  "QB" => "Purchase Service Provider",
204
303
  "QC" => "Patient",
205
304
  "QD" => "Responsible Party",
305
+ "QE" => "Policyholder",
306
+ "QH" => "Physician",
307
+ "QK" => "Managed Care",
308
+ "QL" => "Chiropractor",
206
309
  "QN" => "Dentist",
207
310
  "QM" => "Dialysis Centers",
311
+ "QO" => "Doctor of Osteopathy",
312
+ "QS" => "Podiatrist",
208
313
  "QV" => "Group Practice",
314
+ "QY" => "Medical Doctor",
209
315
  "R3" => "Next Scheduled Destination",
316
+ "RC" => "Receiving Location",
210
317
  "S1" => "Parent",
211
318
  "S3" => "Custodial Parent",
212
319
  "SEP" => "Secondary Payer",
213
320
  "SJ" => "Service Provider",
321
+ "SU" => "Supplier/Manufacturer",
322
+ # Used to identify the geographic location where a patient is transferred or diverted
323
+ "T4" => "Transfer Point",
214
324
  "TL" => "Testing Laboratory",
215
325
  "TP" => "Primary Taxpayer",
326
+ "TQ" => "Third Party Reviewing Organization (TPO)",
216
327
  "TT" => "Transfer To",
217
328
  "TTP" => "Tertiary Payer",
218
329
  "TU" => "Third Party Repricing Organization (TPO)",
@@ -371,6 +482,7 @@ module Stupidedi
371
482
  "T4" => "Signal Code",
372
483
  "TJ" => "Federal Taxpayer's Identification Number",
373
484
  "TV" => s::CodeList.external("224"),
485
+ "VV" => "Voucher",
374
486
  "VY" => "Link Sequence Number",
375
487
  "Y4" => "Agency Claim Number",
376
488
  "WH" => "Master Reference (Link) Number",
@@ -1477,7 +1589,58 @@ module Stupidedi
1477
1589
  "I12" => "Implementation Pattern Match Failure",
1478
1590
  "I13" => "Implementation Dependent 'Not Used' Data Element Present"))
1479
1591
  E623 = t::ID.new(:E623 , "Time Code" , 2, 2,
1480
- s::CodeList.external("94"))
1592
+ s::CodeList.build(
1593
+ "01" => "Equivalent to ISO P01",
1594
+ "02" => "Equivalent to ISO P02",
1595
+ "03" => "Equivalent to ISO P03",
1596
+ "04" => "Equivalent to ISO P04",
1597
+ "05" => "Equivalent to ISO P05",
1598
+ "06" => "Equivalent to ISO P06",
1599
+ "07" => "Equivalent to ISO P07",
1600
+ "08" => "Equivalent to ISO P08",
1601
+ "09" => "Equivalent to ISO P09",
1602
+ "10" => "Equivalent to ISO P10",
1603
+ "11" => "Equivalent to ISO P11",
1604
+ "12" => "Equivalent to ISO P12",
1605
+ "13" => "Equivalent to ISO M12",
1606
+ "14" => "Equivalent to ISO M11",
1607
+ "15" => "Equivalent to ISO M10",
1608
+ "16" => "Equivalent to ISO M09",
1609
+ "17" => "Equivalent to ISO M08",
1610
+ "18" => "Equivalent to ISO M07",
1611
+ "19" => "Equivalent to ISO M06",
1612
+ "20" => "Equivalent to ISO M05",
1613
+ "21" => "Equivalent to ISO M04",
1614
+ "22" => "Equivalent to ISO M03",
1615
+ "23" => "Equivalent to ISO M02",
1616
+ "24" => "Equivalent to ISO M01",
1617
+ "AD" => "Alaska Daylight Time",
1618
+ "AS" => "Alaska Standard Time",
1619
+ "AT" => "Alaska Time",
1620
+ "CD" => "Central Daylight Time",
1621
+ "CS" => "Central Standard Time",
1622
+ "CT" => "Central Time",
1623
+ "ED" => "Eastern Daylight Time",
1624
+ "ES" => "Eastern Standard Time",
1625
+ "ET" => "Eastern Time",
1626
+ "GM" => "Greenwich Mean Time",
1627
+ "HD" => "Hawaii-Aleutian Daylight Time",
1628
+ "HS" => "Hawaii-Aleutian Standard Time",
1629
+ "HT" => "Hawaii-Aleutian Time",
1630
+ "LT" => "Local Time",
1631
+ "MD" => "Mountain Daylight Time",
1632
+ "MS" => "Mountain Standard Time",
1633
+ "MT" => "Mountain Time",
1634
+ "ND" => "Newfoundland Daylight Time",
1635
+ "NS" => "Newfoundland Standard Time",
1636
+ "NT" => "Newfoundland Time",
1637
+ "PD" => "Pacific Daylight Time",
1638
+ "PS" => "Pacific Standard Time",
1639
+ "PT" => "Pacific Time",
1640
+ "TD" => "Atlantic Daylight Time",
1641
+ "TS" => "Atlantic Standard Time",
1642
+ "TT" => "Atlantic Time",
1643
+ "UT" => "Universal Time Coordinate"))
1481
1644
  E628 = t::AN.new(:E628 , "Hierachical ID Number" , 1, 12)
1482
1645
  E639 = t::ID.new(:E639 , "Basis of Unit Price Code" , 2, 2)
1483
1646
  E640 = t::ID.new(:E640 , "Transaction Type Code" , 2, 2,
@@ -2015,7 +2178,7 @@ module Stupidedi
2015
2178
  "24" => "Dependent of a Minor Dependent",
2016
2179
  "25" => "Ex-spouse",
2017
2180
  "26" => "Guardian",
2018
- "29" => "Signficant Other",
2181
+ "29" => "Significant Other",
2019
2182
  "31" => "Court Appointed Guardian",
2020
2183
  "32" => "Mother",
2021
2184
  "33" => "Father",
@@ -2046,7 +2209,7 @@ module Stupidedi
2046
2209
  "14" => "Medicare Secondary, No-fault Insurance including Auto is Primary",
2047
2210
  "15" => "Medicare Secondary Worker's Compensation",
2048
2211
  "16" => "Medicare Secondary Public Health Service (PHS) or Other Federal Agency",
2049
- "41" => "Medicare Secondary Blank Lung",
2212
+ "41" => "Medicare Secondary Black Lung",
2050
2213
  "42" => "Medicare Secondary Veteran's Administration",
2051
2214
  "43" => "Medicare Secondary Disabled Beneficiary Under Age 65 with Large Group Health Plan (LGHP)",
2052
2215
  "44" => "Nature of Injury",
@@ -2186,6 +2349,8 @@ module Stupidedi
2186
2349
  E1204 = t::AN.new(:E1204, "Plan Coverage Description" , 1, 50)
2187
2350
  E1205 = t::ID.new(:E1205, "Insurance Line Code" , 2, 3,
2188
2351
  s::CodeList.build(
2352
+ "AC" => "Basic Life",
2353
+ "ADD" => "Accidental Death and Dismemberment",
2189
2354
  "AG" => "Preventative Care/Wellness",
2190
2355
  "AH" => "24 Hour Care",
2191
2356
  "AJ" => "Medicare Risk",
@@ -2606,7 +2771,7 @@ module Stupidedi
2606
2771
  "14" => "Medicare Secondary, No-fault Insurance including Auto is Primary",
2607
2772
  "15" => "Medicare Secondary Worker's Compensation",
2608
2773
  "16" => "Medicare Secondary Public Health Service (PHS) or Other Federal Agency",
2609
- "41" => "Medicare Secondary Blank Lung",
2774
+ "41" => "Medicare Secondary Black Lung",
2610
2775
  "42" => "Medicare Secondary Veteran's Administration",
2611
2776
  "43" => "Medicare Secondary Disabled Beneficiary Under Age 65 with Large Group Health Plan (LGHP)",
2612
2777
  "47" => "Medicare Secondary, Other Liability Insurance is Primary",
@@ -160,7 +160,7 @@ module Stupidedi
160
160
 
161
161
  # @return [StringVal]
162
162
  def copy(changes = {})
163
- StringVal.value \
163
+ IdentifierVal.value \
164
164
  changes.fetch(:value, value),
165
165
  changes.fetch(:usage, usage),
166
166
  changes.fetch(:position, position)
@@ -284,7 +284,9 @@ module Stupidedi
284
284
  if rounded.zero?
285
285
  "0" * definition.min_length
286
286
  else
287
- sign + rounded.abs.to_s("F").
287
+ base = rounded.abs
288
+ base = base.is_a?(BigDecimal) ? base : BigDecimal(base)
289
+ sign + base.to_s("F").
288
290
  gsub(/^0+/, ""). # leading zeros
289
291
  gsub(/0+$/, ""). # trailing zeros
290
292
  gsub(/\.$/, ""). # trailing decimal point
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stupidedi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Putnam
8
8
  - Isi Robayna
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2018-05-27 00:00:00.000000000 Z
@@ -253,6 +253,7 @@ files:
253
253
  - lib/stupidedi/transaction_sets/004010/implementations/FA997.rb
254
254
  - lib/stupidedi/transaction_sets/004010/implementations/GF990.rb
255
255
  - lib/stupidedi/transaction_sets/004010/implementations/IM210.rb
256
+ - lib/stupidedi/transaction_sets/004010/implementations/IN810.rb
256
257
  - lib/stupidedi/transaction_sets/004010/implementations/OW940.rb
257
258
  - lib/stupidedi/transaction_sets/004010/implementations/PO850.rb
258
259
  - lib/stupidedi/transaction_sets/004010/implementations/PS830.rb
@@ -270,6 +271,7 @@ files:
270
271
  - lib/stupidedi/transaction_sets/004010/standards/GF990.rb
271
272
  - lib/stupidedi/transaction_sets/004010/standards/HP835.rb
272
273
  - lib/stupidedi/transaction_sets/004010/standards/IM210.rb
274
+ - lib/stupidedi/transaction_sets/004010/standards/IN810.rb
273
275
  - lib/stupidedi/transaction_sets/004010/standards/OW940.rb
274
276
  - lib/stupidedi/transaction_sets/004010/standards/PO850.rb
275
277
  - lib/stupidedi/transaction_sets/004010/standards/PR855.rb
@@ -284,6 +286,7 @@ files:
284
286
  - lib/stupidedi/transaction_sets/004010/standards/SW945.rb
285
287
  - lib/stupidedi/transaction_sets/005010.rb
286
288
  - lib/stupidedi/transaction_sets/005010/implementations.rb
289
+ - lib/stupidedi/transaction_sets/005010/implementations/X212-HN277.rb
287
290
  - lib/stupidedi/transaction_sets/005010/implementations/X212-HR276.rb
288
291
  - lib/stupidedi/transaction_sets/005010/implementations/X214-HN277.rb
289
292
  - lib/stupidedi/transaction_sets/005010/implementations/X220-BE834.rb
@@ -318,6 +321,7 @@ files:
318
321
  - lib/stupidedi/transaction_sets/005010/standards/HS270.rb
319
322
  - lib/stupidedi/transaction_sets/005010/standards/RA820.rb
320
323
  - lib/stupidedi/transaction_sets/builder.rb
324
+ - lib/stupidedi/transaction_sets/builder/dsl.rb
321
325
  - lib/stupidedi/transaction_sets/common.rb
322
326
  - lib/stupidedi/transaction_sets/common/implementations.rb
323
327
  - lib/stupidedi/transaction_sets/common/implementations/element_reqs.rb
@@ -746,6 +750,7 @@ files:
746
750
  - lib/stupidedi/versions/004010/element_types/tm.rb
747
751
  - lib/stupidedi/versions/004010/functional_group_def.rb
748
752
  - lib/stupidedi/versions/004010/segment_defs.rb
753
+ - lib/stupidedi/versions/004010/segment_defs/ACK.rb
749
754
  - lib/stupidedi/versions/004010/segment_defs/AK1.rb
750
755
  - lib/stupidedi/versions/004010/segment_defs/AK2.rb
751
756
  - lib/stupidedi/versions/004010/segment_defs/AK3.rb
@@ -764,6 +769,7 @@ files:
764
769
  - lib/stupidedi/versions/004010/segment_defs/BCT.rb
765
770
  - lib/stupidedi/versions/004010/segment_defs/BEG.rb
766
771
  - lib/stupidedi/versions/004010/segment_defs/BFR.rb
772
+ - lib/stupidedi/versions/004010/segment_defs/BIG.rb
767
773
  - lib/stupidedi/versions/004010/segment_defs/BPR.rb
768
774
  - lib/stupidedi/versions/004010/segment_defs/BSN.rb
769
775
  - lib/stupidedi/versions/004010/segment_defs/BSS.rb
@@ -782,6 +788,8 @@ files:
782
788
  - lib/stupidedi/versions/004010/segment_defs/GS.rb
783
789
  - lib/stupidedi/versions/004010/segment_defs/H3.rb
784
790
  - lib/stupidedi/versions/004010/segment_defs/HL.rb
791
+ - lib/stupidedi/versions/004010/segment_defs/IT1.rb
792
+ - lib/stupidedi/versions/004010/segment_defs/ITD.rb
785
793
  - lib/stupidedi/versions/004010/segment_defs/JIT.rb
786
794
  - lib/stupidedi/versions/004010/segment_defs/K1.rb
787
795
  - lib/stupidedi/versions/004010/segment_defs/L0.rb
@@ -827,6 +835,7 @@ files:
827
835
  - lib/stupidedi/versions/004010/segment_defs/R3.rb
828
836
  - lib/stupidedi/versions/004010/segment_defs/REF.rb
829
837
  - lib/stupidedi/versions/004010/segment_defs/S5.rb
838
+ - lib/stupidedi/versions/004010/segment_defs/SAC.rb
830
839
  - lib/stupidedi/versions/004010/segment_defs/SCH.rb
831
840
  - lib/stupidedi/versions/004010/segment_defs/SDP.rb
832
841
  - lib/stupidedi/versions/004010/segment_defs/SE.rb
@@ -838,9 +847,11 @@ files:
838
847
  - lib/stupidedi/versions/004010/segment_defs/TD3.rb
839
848
  - lib/stupidedi/versions/004010/segment_defs/TD4.rb
840
849
  - lib/stupidedi/versions/004010/segment_defs/TD5.rb
850
+ - lib/stupidedi/versions/004010/segment_defs/TDS.rb
841
851
  - lib/stupidedi/versions/004010/segment_defs/TRN.rb
842
852
  - lib/stupidedi/versions/004010/segment_defs/TS2.rb
843
853
  - lib/stupidedi/versions/004010/segment_defs/TS3.rb
854
+ - lib/stupidedi/versions/004010/segment_defs/TXI.rb
844
855
  - lib/stupidedi/versions/004010/segment_defs/UIT.rb
845
856
  - lib/stupidedi/versions/004010/segment_defs/W01.rb
846
857
  - lib/stupidedi/versions/004010/segment_defs/W03.rb
@@ -1046,7 +1057,7 @@ files:
1046
1057
  homepage: https://github.com/irobayna/stupidedi
1047
1058
  licenses: []
1048
1059
  metadata: {}
1049
- post_install_message:
1060
+ post_install_message:
1050
1061
  rdoc_options: []
1051
1062
  require_paths:
1052
1063
  - lib
@@ -1061,9 +1072,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1061
1072
  - !ruby/object:Gem::Version
1062
1073
  version: '0'
1063
1074
  requirements: []
1064
- rubyforge_project:
1065
- rubygems_version: 2.7.7
1066
- signing_key:
1075
+ rubygems_version: 3.4.6
1076
+ signing_key:
1067
1077
  specification_version: 4
1068
1078
  summary: Parse, generate, validate ASC X12 EDI
1069
1079
  test_files: []