stupidedi 1.2.20 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2004) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -6
  3. data/Rakefile +17 -92
  4. data/bin/edi-ed +8 -12
  5. data/bin/edi-obfuscate +111 -0
  6. data/bin/edi-pp +31 -25
  7. data/doc/{Transcribing.md → Defining.md} +0 -0
  8. data/doc/{unwritten/Parsing.md → Parsing.md} +0 -0
  9. data/doc/{unwritten/Tokenizing.md → Tokenizing.md} +0 -0
  10. data/doc/{unwritten/Validating.md → Validating.md} +0 -0
  11. data/lib/ruby/array.rb +1 -4
  12. data/lib/ruby/blank.rb +0 -3
  13. data/lib/ruby/exception.rb +13 -33
  14. data/lib/ruby/hash.rb +0 -2
  15. data/lib/ruby/module.rb +1 -3
  16. data/lib/ruby/object.rb +0 -13
  17. data/lib/ruby/string.rb +12 -3
  18. data/lib/ruby/to_d.rb +20 -25
  19. data/lib/ruby/to_date.rb +0 -3
  20. data/lib/ruby/to_time.rb +0 -3
  21. data/lib/ruby/try.rb +0 -3
  22. data/lib/stupidedi.rb +27 -41
  23. data/lib/stupidedi/builder.rb +3 -22
  24. data/lib/stupidedi/color.rb +4 -6
  25. data/lib/stupidedi/config.rb +78 -69
  26. data/lib/stupidedi/config/code_list_config.rb +0 -2
  27. data/lib/stupidedi/config/editor_config.rb +0 -2
  28. data/lib/stupidedi/config/functional_group_config.rb +3 -2
  29. data/lib/stupidedi/config/interchange_config.rb +5 -6
  30. data/lib/stupidedi/config/transaction_set_config.rb +17 -48
  31. data/lib/stupidedi/contrib.rb +41 -6
  32. data/lib/stupidedi/editor.rb +0 -4
  33. data/lib/stupidedi/editor/00401.rb +0 -3
  34. data/lib/stupidedi/editor/004010.rb +5 -9
  35. data/lib/stupidedi/editor/004010/N4.rb +0 -4
  36. data/lib/stupidedi/editor/00501.rb +0 -3
  37. data/lib/stupidedi/editor/005010.rb +5 -9
  38. data/lib/stupidedi/editor/005010/N4.rb +0 -4
  39. data/lib/stupidedi/editor/X12.rb +0 -5
  40. data/lib/stupidedi/editor/X222-HC837.rb +0 -5
  41. data/lib/stupidedi/editor/abstract_ed.rb +0 -2
  42. data/lib/stupidedi/editor/claim_ack.rb +0 -2
  43. data/lib/stupidedi/editor/implementation_ack.rb +5 -6
  44. data/lib/stupidedi/editor/interchange_ack.rb +0 -2
  45. data/lib/stupidedi/editor/result.rb +1 -6
  46. data/lib/stupidedi/editor/result_set.rb +1 -3
  47. data/lib/stupidedi/editor/transaction_set_ed.rb +23 -19
  48. data/lib/stupidedi/editor/transmission_ed.rb +0 -3
  49. data/lib/stupidedi/either.rb +1 -6
  50. data/lib/stupidedi/exceptions/invalid_element_error.rb +0 -2
  51. data/lib/stupidedi/exceptions/invalid_schema_error.rb +0 -2
  52. data/lib/stupidedi/exceptions/output_error.rb +0 -2
  53. data/lib/stupidedi/exceptions/parse_error.rb +0 -2
  54. data/lib/stupidedi/exceptions/stupidedi_error.rb +0 -2
  55. data/lib/stupidedi/exceptions/tokenize_error.rb +0 -2
  56. data/lib/stupidedi/exceptions/zipper_error.rb +0 -2
  57. data/lib/stupidedi/guides.rb +7 -3
  58. data/lib/stupidedi/inspect.rb +1 -4
  59. data/lib/stupidedi/interchanges.rb +11 -0
  60. data/lib/stupidedi/interchanges/00200.rb +12 -0
  61. data/lib/stupidedi/interchanges/00200/element_defs.rb +104 -0
  62. data/lib/stupidedi/interchanges/00200/interchange_def.rb +59 -0
  63. data/lib/stupidedi/interchanges/00200/segment_defs.rb +12 -0
  64. data/lib/stupidedi/interchanges/00200/segment_defs/IEA.rb +17 -0
  65. data/lib/stupidedi/interchanges/00200/segment_defs/ISA.rb +31 -0
  66. data/lib/stupidedi/interchanges/00200/segment_defs/TA1.rb +20 -0
  67. data/lib/stupidedi/interchanges/00300.rb +12 -0
  68. data/lib/stupidedi/interchanges/00300/element_defs.rb +105 -0
  69. data/lib/stupidedi/interchanges/00300/interchange_def.rb +59 -0
  70. data/lib/stupidedi/interchanges/00300/segment_defs.rb +12 -0
  71. data/lib/stupidedi/interchanges/00300/segment_defs/IEA.rb +17 -0
  72. data/lib/stupidedi/interchanges/00300/segment_defs/ISA.rb +31 -0
  73. data/lib/stupidedi/interchanges/00300/segment_defs/TA1.rb +20 -0
  74. data/lib/stupidedi/interchanges/00400.rb +12 -0
  75. data/lib/stupidedi/interchanges/00400/element_defs.rb +97 -0
  76. data/lib/stupidedi/interchanges/00400/interchange_def.rb +59 -0
  77. data/lib/stupidedi/interchanges/00400/segment_defs.rb +12 -0
  78. data/lib/stupidedi/interchanges/00400/segment_defs/IEA.rb +17 -0
  79. data/lib/stupidedi/interchanges/00400/segment_defs/ISA.rb +31 -0
  80. data/lib/stupidedi/interchanges/00400/segment_defs/TA1.rb +20 -0
  81. data/lib/stupidedi/interchanges/00401.rb +12 -0
  82. data/lib/stupidedi/interchanges/00401/element_defs.rb +96 -0
  83. data/lib/stupidedi/interchanges/00401/interchange_def.rb +59 -0
  84. data/lib/stupidedi/interchanges/00401/segment_defs.rb +12 -0
  85. data/lib/stupidedi/interchanges/00401/segment_defs/IEA.rb +17 -0
  86. data/lib/stupidedi/interchanges/00401/segment_defs/ISA.rb +31 -0
  87. data/lib/stupidedi/interchanges/00401/segment_defs/TA1.rb +20 -0
  88. data/lib/stupidedi/interchanges/00501.rb +12 -0
  89. data/lib/stupidedi/interchanges/00501/element_defs.rb +130 -0
  90. data/lib/stupidedi/interchanges/00501/interchange_def.rb +59 -0
  91. data/lib/stupidedi/interchanges/00501/segment_defs.rb +12 -0
  92. data/lib/stupidedi/interchanges/00501/segment_defs/IEA.rb +17 -0
  93. data/lib/stupidedi/interchanges/00501/segment_defs/ISA.rb +31 -0
  94. data/lib/stupidedi/interchanges/00501/segment_defs/ISB.rb +15 -0
  95. data/lib/stupidedi/interchanges/00501/segment_defs/ISE.rb +15 -0
  96. data/lib/stupidedi/interchanges/00501/segment_defs/TA1.rb +20 -0
  97. data/lib/stupidedi/interchanges/00501/segment_defs/TA3.rb +15 -0
  98. data/lib/stupidedi/interchanges/element_types.rb +11 -0
  99. data/lib/stupidedi/interchanges/element_types/separator_val.rb +79 -0
  100. data/lib/stupidedi/interchanges/element_types/special_val.rb +48 -0
  101. data/lib/stupidedi/parser.rb +32 -0
  102. data/lib/stupidedi/parser/builder_dsl.rb +292 -0
  103. data/lib/stupidedi/parser/constraint_table.rb +488 -0
  104. data/lib/stupidedi/parser/generation.rb +147 -0
  105. data/lib/stupidedi/parser/identifier_stack.rb +248 -0
  106. data/lib/stupidedi/parser/instruction.rb +112 -0
  107. data/lib/stupidedi/parser/instruction_table.rb +222 -0
  108. data/lib/stupidedi/parser/navigation.rb +786 -0
  109. data/lib/stupidedi/parser/state_machine.rb +62 -0
  110. data/lib/stupidedi/parser/states/abstract_state.rb +325 -0
  111. data/lib/stupidedi/parser/states/failure_state.rb +69 -0
  112. data/lib/stupidedi/parser/states/functional_group_state.rb +98 -0
  113. data/lib/stupidedi/parser/states/initial_state.rb +62 -0
  114. data/lib/stupidedi/parser/states/interchange_state.rb +93 -0
  115. data/lib/stupidedi/parser/states/loop_state.rb +80 -0
  116. data/lib/stupidedi/parser/states/table_state.rb +94 -0
  117. data/lib/stupidedi/parser/states/transaction_set_state.rb +118 -0
  118. data/lib/stupidedi/parser/states/transmission_state.rb +59 -0
  119. data/lib/stupidedi/parser/tokenization.rb +195 -0
  120. data/lib/stupidedi/reader.rb +0 -2
  121. data/lib/stupidedi/reader/input.rb +0 -3
  122. data/lib/stupidedi/reader/input/abstract_input.rb +4 -6
  123. data/lib/stupidedi/reader/input/delegated_input.rb +0 -5
  124. data/lib/stupidedi/reader/input/file_input.rb +10 -11
  125. data/lib/stupidedi/reader/position.rb +13 -8
  126. data/lib/stupidedi/reader/result.rb +5 -5
  127. data/lib/stupidedi/reader/segment_dict.rb +0 -3
  128. data/lib/stupidedi/reader/separators.rb +5 -4
  129. data/lib/stupidedi/reader/stream_reader.rb +3 -6
  130. data/lib/stupidedi/reader/token_reader.rb +0 -5
  131. data/lib/stupidedi/reader/tokens/component_element_tok.rb +14 -2
  132. data/lib/stupidedi/reader/tokens/composite_element_tok.rb +20 -2
  133. data/lib/stupidedi/reader/tokens/repeated_element_tok.rb +9 -2
  134. data/lib/stupidedi/reader/tokens/segment_tok.rb +23 -3
  135. data/lib/stupidedi/reader/tokens/simple_element_tok.rb +12 -2
  136. data/lib/stupidedi/schema.rb +17 -19
  137. data/lib/stupidedi/schema/abstract_def.rb +4 -6
  138. data/lib/stupidedi/schema/abstract_element_def.rb +35 -0
  139. data/lib/stupidedi/schema/abstract_element_use.rb +47 -0
  140. data/lib/stupidedi/schema/abstract_use.rb +6 -4
  141. data/lib/stupidedi/schema/code_list.rb +6 -5
  142. data/lib/stupidedi/schema/component_element_use.rb +76 -0
  143. data/lib/stupidedi/schema/composite_element_def.rb +103 -0
  144. data/lib/stupidedi/schema/composite_element_use.rb +78 -0
  145. data/lib/stupidedi/schema/element_req.rb +1 -4
  146. data/lib/stupidedi/schema/functional_group_def.rb +9 -3
  147. data/lib/stupidedi/schema/interchange_def.rb +9 -3
  148. data/lib/stupidedi/schema/loop_def.rb +23 -4
  149. data/lib/stupidedi/schema/repeat_count.rb +0 -3
  150. data/lib/stupidedi/schema/segment_def.rb +6 -4
  151. data/lib/stupidedi/schema/segment_req.rb +2 -3
  152. data/lib/stupidedi/schema/segment_use.rb +4 -7
  153. data/lib/stupidedi/schema/simple_element_def.rb +51 -0
  154. data/lib/stupidedi/schema/simple_element_use.rb +83 -0
  155. data/lib/stupidedi/schema/syntax_note.rb +1 -12
  156. data/lib/stupidedi/schema/table_def.rb +55 -18
  157. data/lib/stupidedi/schema/transaction_set_def.rb +37 -4
  158. data/lib/stupidedi/sets.rb +0 -3
  159. data/lib/stupidedi/transaction_sets.rb +14 -0
  160. data/lib/stupidedi/transaction_sets/002001.rb +11 -0
  161. data/lib/stupidedi/transaction_sets/002001/implementations.rb +23 -0
  162. data/lib/stupidedi/transaction_sets/002001/implementations/FA997.rb +66 -0
  163. data/lib/stupidedi/transaction_sets/002001/implementations/PO830.rb +160 -0
  164. data/lib/stupidedi/transaction_sets/002001/implementations/SH856.rb +190 -0
  165. data/lib/stupidedi/transaction_sets/002001/standards.rb +14 -0
  166. data/lib/stupidedi/transaction_sets/002001/standards/FA997.rb +31 -0
  167. data/lib/stupidedi/transaction_sets/002001/standards/PO830.rb +45 -0
  168. data/lib/stupidedi/transaction_sets/002001/standards/SH856.rb +38 -0
  169. data/lib/stupidedi/transaction_sets/003010.rb +11 -0
  170. data/lib/stupidedi/transaction_sets/003010/implementations.rb +24 -0
  171. data/lib/stupidedi/transaction_sets/003010/implementations/PC860.rb +140 -0
  172. data/lib/stupidedi/transaction_sets/003010/implementations/PO850.rb +132 -0
  173. data/lib/stupidedi/transaction_sets/003010/implementations/PS830.rb +150 -0
  174. data/lib/stupidedi/transaction_sets/003010/implementations/RA820.rb +158 -0
  175. data/lib/stupidedi/transaction_sets/003010/standards.rb +15 -0
  176. data/lib/stupidedi/transaction_sets/003010/standards/PC860.rb +49 -0
  177. data/lib/stupidedi/transaction_sets/003010/standards/PO850.rb +49 -0
  178. data/lib/stupidedi/transaction_sets/003010/standards/PS830.rb +49 -0
  179. data/lib/stupidedi/transaction_sets/003010/standards/RA820.rb +40 -0
  180. data/lib/stupidedi/transaction_sets/003040.rb +12 -0
  181. data/lib/stupidedi/transaction_sets/003040/implementations.rb +21 -0
  182. data/lib/stupidedi/transaction_sets/003040/implementations/WA142.rb +153 -0
  183. data/lib/stupidedi/transaction_sets/003040/standards.rb +12 -0
  184. data/lib/stupidedi/transaction_sets/003040/standards/WA142.rb +53 -0
  185. data/lib/stupidedi/transaction_sets/003050.rb +12 -0
  186. data/lib/stupidedi/transaction_sets/003050/implementations.rb +21 -0
  187. data/lib/stupidedi/transaction_sets/003050/implementations/PO850.rb +77 -0
  188. data/lib/stupidedi/transaction_sets/003050/standards.rb +12 -0
  189. data/lib/stupidedi/transaction_sets/003050/standards/PO850.rb +41 -0
  190. data/lib/stupidedi/transaction_sets/004010.rb +12 -0
  191. data/lib/stupidedi/transaction_sets/004010/implementations.rb +38 -0
  192. data/lib/stupidedi/transaction_sets/004010/implementations/AR943.rb +72 -0
  193. data/lib/stupidedi/transaction_sets/004010/implementations/FA997.rb +65 -0
  194. data/lib/stupidedi/transaction_sets/004010/implementations/GF990.rb +40 -0
  195. data/lib/stupidedi/transaction_sets/004010/implementations/IM210.rb +221 -0
  196. data/lib/stupidedi/transaction_sets/004010/implementations/OW940.rb +98 -0
  197. data/lib/stupidedi/transaction_sets/004010/implementations/PO850.rb +108 -0
  198. data/lib/stupidedi/transaction_sets/004010/implementations/PS830.rb +143 -0
  199. data/lib/stupidedi/transaction_sets/004010/implementations/QM214.rb +106 -0
  200. data/lib/stupidedi/transaction_sets/004010/implementations/RE944.rb +63 -0
  201. data/lib/stupidedi/transaction_sets/004010/implementations/SH856.rb +156 -0
  202. data/lib/stupidedi/transaction_sets/004010/implementations/SM204.rb +391 -0
  203. data/lib/stupidedi/transaction_sets/004010/implementations/SQ866.rb +103 -0
  204. data/lib/stupidedi/transaction_sets/004010/implementations/SS862.rb +154 -0
  205. data/lib/stupidedi/transaction_sets/004010/implementations/SW945.rb +99 -0
  206. data/lib/stupidedi/transaction_sets/004010/implementations/X091A1-HP835.rb +481 -0
  207. data/lib/stupidedi/transaction_sets/004010/standards.rb +28 -0
  208. data/lib/stupidedi/transaction_sets/004010/standards/AR943.rb +34 -0
  209. data/lib/stupidedi/transaction_sets/004010/standards/FA997.rb +31 -0
  210. data/lib/stupidedi/transaction_sets/004010/standards/GF990.rb +21 -0
  211. data/lib/stupidedi/transaction_sets/004010/standards/HP835.rb +61 -0
  212. data/lib/stupidedi/transaction_sets/004010/standards/IM210.rb +47 -0
  213. data/lib/stupidedi/transaction_sets/004010/standards/OW940.rb +43 -0
  214. data/lib/stupidedi/transaction_sets/004010/standards/PO850.rb +50 -0
  215. data/lib/stupidedi/transaction_sets/004010/standards/PR855.rb +35 -0
  216. data/lib/stupidedi/transaction_sets/004010/standards/PS830.rb +43 -0
  217. data/lib/stupidedi/transaction_sets/004010/standards/QM214.rb +41 -0
  218. data/lib/stupidedi/transaction_sets/004010/standards/RE944.rb +34 -0
  219. data/lib/stupidedi/transaction_sets/004010/standards/SC832.rb +37 -0
  220. data/lib/stupidedi/transaction_sets/004010/standards/SH856.rb +40 -0
  221. data/lib/stupidedi/transaction_sets/004010/standards/SM204.rb +85 -0
  222. data/lib/stupidedi/transaction_sets/004010/standards/SQ866.rb +32 -0
  223. data/lib/stupidedi/transaction_sets/004010/standards/SS862.rb +42 -0
  224. data/lib/stupidedi/transaction_sets/004010/standards/SW945.rb +43 -0
  225. data/lib/stupidedi/transaction_sets/005010.rb +11 -0
  226. data/lib/stupidedi/transaction_sets/005010/implementations.rb +89 -0
  227. data/lib/stupidedi/transaction_sets/005010/implementations/X212-HN277.rb +552 -0
  228. data/lib/stupidedi/transaction_sets/005010/implementations/X212-HR276.rb +329 -0
  229. data/lib/stupidedi/transaction_sets/005010/implementations/X214-HN277.rb +356 -0
  230. data/lib/stupidedi/transaction_sets/005010/implementations/X220-BE834.rb +15 -0
  231. data/lib/stupidedi/transaction_sets/005010/implementations/X220A1-BE834.rb +623 -0
  232. data/lib/stupidedi/transaction_sets/005010/implementations/X221-HP835.rb +15 -0
  233. data/lib/stupidedi/transaction_sets/005010/implementations/X221A1-HP835.rb +556 -0
  234. data/lib/stupidedi/transaction_sets/005010/implementations/X222-HC837.rb +15 -0
  235. data/lib/stupidedi/transaction_sets/005010/implementations/X222-HC837P.rb +15 -0
  236. data/lib/stupidedi/transaction_sets/005010/implementations/X222A1-HC837.rb +2033 -0
  237. data/lib/stupidedi/transaction_sets/005010/implementations/X222A1-HC837P.rb +15 -0
  238. data/lib/stupidedi/transaction_sets/005010/implementations/X223-HC837.rb +15 -0
  239. data/lib/stupidedi/transaction_sets/005010/implementations/X223-HC837I.rb +15 -0
  240. data/lib/stupidedi/transaction_sets/005010/implementations/X223A1-HC837.rb +15 -0
  241. data/lib/stupidedi/transaction_sets/005010/implementations/X223A2-HC837.rb +2390 -0
  242. data/lib/stupidedi/transaction_sets/005010/implementations/X223A3-HC837.rb +2595 -0
  243. data/lib/stupidedi/transaction_sets/005010/implementations/X231-FA999.rb +15 -0
  244. data/lib/stupidedi/transaction_sets/005010/implementations/X231A1-FA999.rb +106 -0
  245. data/lib/stupidedi/transaction_sets/005010/implementations/X279-HB271.rb +749 -0
  246. data/lib/stupidedi/transaction_sets/005010/implementations/X279-HS270.rb +533 -0
  247. data/lib/stupidedi/transaction_sets/005010/implementations/X279A1-HB271.rb +751 -0
  248. data/lib/stupidedi/transaction_sets/005010/implementations/X279A1-HS270.rb +533 -0
  249. data/lib/stupidedi/transaction_sets/005010/standards.rb +22 -0
  250. data/lib/stupidedi/transaction_sets/005010/standards/BE834.rb +171 -0
  251. data/lib/stupidedi/transaction_sets/005010/standards/FA997.rb +31 -0
  252. data/lib/stupidedi/transaction_sets/005010/standards/FA999.rb +35 -0
  253. data/lib/stupidedi/transaction_sets/005010/standards/HB271.rb +95 -0
  254. data/lib/stupidedi/transaction_sets/005010/standards/HC837.rb +161 -0
  255. data/lib/stupidedi/transaction_sets/005010/standards/HI278.rb +62 -0
  256. data/lib/stupidedi/transaction_sets/005010/standards/HN277.rb +71 -0
  257. data/lib/stupidedi/transaction_sets/005010/standards/HP835.rb +65 -0
  258. data/lib/stupidedi/transaction_sets/005010/standards/HR276.rb +54 -0
  259. data/lib/stupidedi/transaction_sets/005010/standards/HS270.rb +50 -0
  260. data/lib/stupidedi/transaction_sets/005010/standards/RA820.rb +238 -0
  261. data/lib/stupidedi/transaction_sets/builder.rb +188 -0
  262. data/lib/stupidedi/transaction_sets/builder/dsl.rb +192 -0
  263. data/lib/stupidedi/transaction_sets/common.rb +8 -0
  264. data/lib/stupidedi/transaction_sets/common/implementations.rb +11 -0
  265. data/lib/stupidedi/transaction_sets/common/implementations/element_reqs.rb +37 -0
  266. data/lib/stupidedi/transaction_sets/common/implementations/segment_reqs.rb +31 -0
  267. data/lib/stupidedi/transaction_sets/validation.rb +9 -0
  268. data/lib/stupidedi/transaction_sets/validation/ambiguity.rb +391 -0
  269. data/lib/stupidedi/transaction_sets/validation/implementation.rb +12 -0
  270. data/lib/stupidedi/values.rb +0 -1
  271. data/lib/stupidedi/values/abstract_element_val.rb +0 -4
  272. data/lib/stupidedi/values/abstract_val.rb +3 -4
  273. data/lib/stupidedi/values/composite_element_val.rb +11 -9
  274. data/lib/stupidedi/values/functional_group_val.rb +3 -4
  275. data/lib/stupidedi/values/interchange_val.rb +3 -4
  276. data/lib/stupidedi/values/invalid_envelope_val.rb +2 -6
  277. data/lib/stupidedi/values/invalid_segment_val.rb +16 -9
  278. data/lib/stupidedi/values/loop_val.rb +3 -4
  279. data/lib/stupidedi/values/repeated_element_val.rb +6 -8
  280. data/lib/stupidedi/values/segment_val.rb +7 -11
  281. data/lib/stupidedi/values/segment_val_group.rb +0 -4
  282. data/lib/stupidedi/values/simple_element_val.rb +2 -7
  283. data/lib/stupidedi/values/table_val.rb +3 -4
  284. data/lib/stupidedi/values/transaction_set_val.rb +3 -4
  285. data/lib/stupidedi/values/transmission_val.rb +5 -5
  286. data/lib/stupidedi/version.rb +1 -2
  287. data/lib/stupidedi/versions.rb +11 -3
  288. data/lib/stupidedi/versions/002001.rb +14 -0
  289. data/lib/stupidedi/versions/002001/element_defs.rb +10576 -0
  290. data/lib/stupidedi/versions/002001/element_reqs.rb +12 -0
  291. data/lib/stupidedi/versions/002001/element_types.rb +28 -0
  292. data/lib/stupidedi/versions/002001/element_types/an.rb +11 -0
  293. data/lib/stupidedi/versions/002001/element_types/dt.rb +11 -0
  294. data/lib/stupidedi/versions/002001/element_types/float_val.rb +11 -0
  295. data/lib/stupidedi/versions/002001/element_types/id.rb +11 -0
  296. data/lib/stupidedi/versions/002001/element_types/nn.rb +11 -0
  297. data/lib/stupidedi/versions/002001/element_types/tm.rb +11 -0
  298. data/lib/stupidedi/versions/002001/functional_group_def.rb +24 -0
  299. data/lib/stupidedi/versions/002001/segment_defs.rb +88 -0
  300. data/lib/stupidedi/versions/002001/segment_defs/AK1.rb +17 -0
  301. data/lib/stupidedi/versions/002001/segment_defs/AK2.rb +17 -0
  302. data/lib/stupidedi/versions/002001/segment_defs/AK3.rb +18 -0
  303. data/lib/stupidedi/versions/002001/segment_defs/AK4.rb +20 -0
  304. data/lib/stupidedi/versions/002001/segment_defs/AK5.rb +22 -0
  305. data/lib/stupidedi/versions/002001/segment_defs/AK9.rb +23 -0
  306. data/lib/stupidedi/versions/002001/segment_defs/AT7.rb +29 -0
  307. data/lib/stupidedi/versions/002001/segment_defs/AT8.rb +25 -0
  308. data/lib/stupidedi/versions/002001/segment_defs/ATH.rb +21 -0
  309. data/lib/stupidedi/versions/002001/segment_defs/B1.rb +20 -0
  310. data/lib/stupidedi/versions/002001/segment_defs/B10.rb +26 -0
  311. data/lib/stupidedi/versions/002001/segment_defs/B2.rb +27 -0
  312. data/lib/stupidedi/versions/002001/segment_defs/B2A.rb +17 -0
  313. data/lib/stupidedi/versions/002001/segment_defs/BEG.rb +28 -0
  314. data/lib/stupidedi/versions/002001/segment_defs/BFR.rb +27 -0
  315. data/lib/stupidedi/versions/002001/segment_defs/BSN.rb +24 -0
  316. data/lib/stupidedi/versions/002001/segment_defs/CTT.rb +25 -0
  317. data/lib/stupidedi/versions/002001/segment_defs/CUR.rb +51 -0
  318. data/lib/stupidedi/versions/002001/segment_defs/DTM.rb +25 -0
  319. data/lib/stupidedi/versions/002001/segment_defs/FST.rb +24 -0
  320. data/lib/stupidedi/versions/002001/segment_defs/G61.rb +22 -0
  321. data/lib/stupidedi/versions/002001/segment_defs/G62.rb +22 -0
  322. data/lib/stupidedi/versions/002001/segment_defs/G69.rb +16 -0
  323. data/lib/stupidedi/versions/002001/segment_defs/GE.rb +18 -0
  324. data/lib/stupidedi/versions/002001/segment_defs/GS.rb +24 -0
  325. data/lib/stupidedi/versions/002001/segment_defs/HL.rb +20 -0
  326. data/lib/stupidedi/versions/002001/segment_defs/J2X.rb +18 -0
  327. data/lib/stupidedi/versions/002001/segment_defs/K1.rb +18 -0
  328. data/lib/stupidedi/versions/002001/segment_defs/L11.rb +21 -0
  329. data/lib/stupidedi/versions/002001/segment_defs/L3.rb +37 -0
  330. data/lib/stupidedi/versions/002001/segment_defs/L5.rb +29 -0
  331. data/lib/stupidedi/versions/002001/segment_defs/LFH.rb +25 -0
  332. data/lib/stupidedi/versions/002001/segment_defs/LH1.rb +29 -0
  333. data/lib/stupidedi/versions/002001/segment_defs/LH2.rb +32 -0
  334. data/lib/stupidedi/versions/002001/segment_defs/LH3.rb +21 -0
  335. data/lib/stupidedi/versions/002001/segment_defs/LIN.rb +47 -0
  336. data/lib/stupidedi/versions/002001/segment_defs/LX.rb +16 -0
  337. data/lib/stupidedi/versions/002001/segment_defs/M7.rb +21 -0
  338. data/lib/stupidedi/versions/002001/segment_defs/MAN.rb +17 -0
  339. data/lib/stupidedi/versions/002001/segment_defs/MEA.rb +22 -0
  340. data/lib/stupidedi/versions/002001/segment_defs/MS1.rb +33 -0
  341. data/lib/stupidedi/versions/002001/segment_defs/MS2.rb +22 -0
  342. data/lib/stupidedi/versions/002001/segment_defs/MS3.rb +21 -0
  343. data/lib/stupidedi/versions/002001/segment_defs/N1.rb +19 -0
  344. data/lib/stupidedi/versions/002001/segment_defs/N2.rb +17 -0
  345. data/lib/stupidedi/versions/002001/segment_defs/N3.rb +17 -0
  346. data/lib/stupidedi/versions/002001/segment_defs/N4.rb +25 -0
  347. data/lib/stupidedi/versions/002001/segment_defs/N7.rb +42 -0
  348. data/lib/stupidedi/versions/002001/segment_defs/N9.rb +25 -0
  349. data/lib/stupidedi/versions/002001/segment_defs/NTE.rb +18 -0
  350. data/lib/stupidedi/versions/002001/segment_defs/PER.rb +28 -0
  351. data/lib/stupidedi/versions/002001/segment_defs/PID.rb +29 -0
  352. data/lib/stupidedi/versions/002001/segment_defs/PLD.rb +21 -0
  353. data/lib/stupidedi/versions/002001/segment_defs/PO1.rb +52 -0
  354. data/lib/stupidedi/versions/002001/segment_defs/PO4.rb +20 -0
  355. data/lib/stupidedi/versions/002001/segment_defs/REF.rb +20 -0
  356. data/lib/stupidedi/versions/002001/segment_defs/S5.rb +29 -0
  357. data/lib/stupidedi/versions/002001/segment_defs/SDP.rb +17 -0
  358. data/lib/stupidedi/versions/002001/segment_defs/SE.rb +19 -0
  359. data/lib/stupidedi/versions/002001/segment_defs/SN1.rb +24 -0
  360. data/lib/stupidedi/versions/002001/segment_defs/ST.rb +17 -0
  361. data/lib/stupidedi/versions/002001/segment_defs/TD1.rb +27 -0
  362. data/lib/stupidedi/versions/002001/segment_defs/TD3.rb +20 -0
  363. data/lib/stupidedi/versions/002001/segment_defs/TD5.rb +21 -0
  364. data/lib/stupidedi/versions/002001/segment_defs/UNT.rb +16 -0
  365. data/lib/stupidedi/versions/002001/segment_defs/W01.rb +37 -0
  366. data/lib/stupidedi/versions/002001/segment_defs/W03.rb +25 -0
  367. data/lib/stupidedi/versions/002001/segment_defs/W04.rb +35 -0
  368. data/lib/stupidedi/versions/002001/segment_defs/W05.rb +24 -0
  369. data/lib/stupidedi/versions/002001/segment_defs/W06.rb +29 -0
  370. data/lib/stupidedi/versions/002001/segment_defs/W07.rb +30 -0
  371. data/lib/stupidedi/versions/002001/segment_defs/W08.rb +26 -0
  372. data/lib/stupidedi/versions/002001/segment_defs/W12.rb +43 -0
  373. data/lib/stupidedi/versions/002001/segment_defs/W14.rb +20 -0
  374. data/lib/stupidedi/versions/002001/segment_defs/W17.rb +26 -0
  375. data/lib/stupidedi/versions/002001/segment_defs/W20.rb +28 -0
  376. data/lib/stupidedi/versions/002001/segment_defs/W27.rb +26 -0
  377. data/lib/stupidedi/versions/002001/segment_defs/W66.rb +26 -0
  378. data/lib/stupidedi/versions/002001/segment_defs/W76.rb +24 -0
  379. data/lib/stupidedi/versions/002001/segment_reqs.rb +11 -0
  380. data/lib/stupidedi/versions/002001/syntax_notes.rb +14 -0
  381. data/lib/stupidedi/versions/003010.rb +14 -0
  382. data/lib/stupidedi/versions/003010/element_defs.rb +9152 -0
  383. data/lib/stupidedi/versions/003010/element_reqs.rb +13 -0
  384. data/lib/stupidedi/versions/003010/element_types.rb +28 -0
  385. data/lib/stupidedi/versions/003010/element_types/an.rb +11 -0
  386. data/lib/stupidedi/versions/003010/element_types/dt.rb +11 -0
  387. data/lib/stupidedi/versions/003010/element_types/float_val.rb +11 -0
  388. data/lib/stupidedi/versions/003010/element_types/id.rb +11 -0
  389. data/lib/stupidedi/versions/003010/element_types/nn.rb +11 -0
  390. data/lib/stupidedi/versions/003010/element_types/tm.rb +11 -0
  391. data/lib/stupidedi/versions/003010/functional_group_def.rb +24 -0
  392. data/lib/stupidedi/versions/003010/segment_defs.rb +94 -0
  393. data/lib/stupidedi/versions/003010/segment_defs/AK1.rb +17 -0
  394. data/lib/stupidedi/versions/003010/segment_defs/AK2.rb +17 -0
  395. data/lib/stupidedi/versions/003010/segment_defs/AK3.rb +18 -0
  396. data/lib/stupidedi/versions/003010/segment_defs/AK9.rb +23 -0
  397. data/lib/stupidedi/versions/003010/segment_defs/AT7.rb +29 -0
  398. data/lib/stupidedi/versions/003010/segment_defs/AT8.rb +25 -0
  399. data/lib/stupidedi/versions/003010/segment_defs/B1.rb +20 -0
  400. data/lib/stupidedi/versions/003010/segment_defs/B10.rb +26 -0
  401. data/lib/stupidedi/versions/003010/segment_defs/B2.rb +27 -0
  402. data/lib/stupidedi/versions/003010/segment_defs/B2A.rb +17 -0
  403. data/lib/stupidedi/versions/003010/segment_defs/BCH.rb +22 -0
  404. data/lib/stupidedi/versions/003010/segment_defs/BEG.rb +21 -0
  405. data/lib/stupidedi/versions/003010/segment_defs/BFR.rb +29 -0
  406. data/lib/stupidedi/versions/003010/segment_defs/BPS.rb +32 -0
  407. data/lib/stupidedi/versions/003010/segment_defs/BSN.rb +24 -0
  408. data/lib/stupidedi/versions/003010/segment_defs/CTT.rb +18 -0
  409. data/lib/stupidedi/versions/003010/segment_defs/CUR.rb +19 -0
  410. data/lib/stupidedi/versions/003010/segment_defs/DTM.rb +17 -0
  411. data/lib/stupidedi/versions/003010/segment_defs/FOB.rb +22 -0
  412. data/lib/stupidedi/versions/003010/segment_defs/FST.rb +24 -0
  413. data/lib/stupidedi/versions/003010/segment_defs/G61.rb +22 -0
  414. data/lib/stupidedi/versions/003010/segment_defs/G62.rb +22 -0
  415. data/lib/stupidedi/versions/003010/segment_defs/G69.rb +16 -0
  416. data/lib/stupidedi/versions/003010/segment_defs/GE.rb +18 -0
  417. data/lib/stupidedi/versions/003010/segment_defs/GS.rb +24 -0
  418. data/lib/stupidedi/versions/003010/segment_defs/HL.rb +20 -0
  419. data/lib/stupidedi/versions/003010/segment_defs/ITD.rb +28 -0
  420. data/lib/stupidedi/versions/003010/segment_defs/K1.rb +18 -0
  421. data/lib/stupidedi/versions/003010/segment_defs/L11.rb +21 -0
  422. data/lib/stupidedi/versions/003010/segment_defs/L3.rb +37 -0
  423. data/lib/stupidedi/versions/003010/segment_defs/L5.rb +29 -0
  424. data/lib/stupidedi/versions/003010/segment_defs/LE.rb +17 -0
  425. data/lib/stupidedi/versions/003010/segment_defs/LFH.rb +25 -0
  426. data/lib/stupidedi/versions/003010/segment_defs/LH1.rb +29 -0
  427. data/lib/stupidedi/versions/003010/segment_defs/LH2.rb +32 -0
  428. data/lib/stupidedi/versions/003010/segment_defs/LH3.rb +21 -0
  429. data/lib/stupidedi/versions/003010/segment_defs/LIN.rb +47 -0
  430. data/lib/stupidedi/versions/003010/segment_defs/LS.rb +16 -0
  431. data/lib/stupidedi/versions/003010/segment_defs/LX.rb +16 -0
  432. data/lib/stupidedi/versions/003010/segment_defs/M7.rb +21 -0
  433. data/lib/stupidedi/versions/003010/segment_defs/MAN.rb +23 -0
  434. data/lib/stupidedi/versions/003010/segment_defs/MEA.rb +22 -0
  435. data/lib/stupidedi/versions/003010/segment_defs/MS1.rb +33 -0
  436. data/lib/stupidedi/versions/003010/segment_defs/MS2.rb +22 -0
  437. data/lib/stupidedi/versions/003010/segment_defs/MS3.rb +21 -0
  438. data/lib/stupidedi/versions/003010/segment_defs/MSG.rb +17 -0
  439. data/lib/stupidedi/versions/003010/segment_defs/N1.rb +19 -0
  440. data/lib/stupidedi/versions/003010/segment_defs/N2.rb +17 -0
  441. data/lib/stupidedi/versions/003010/segment_defs/N3.rb +17 -0
  442. data/lib/stupidedi/versions/003010/segment_defs/N4.rb +19 -0
  443. data/lib/stupidedi/versions/003010/segment_defs/N7.rb +42 -0
  444. data/lib/stupidedi/versions/003010/segment_defs/N9.rb +18 -0
  445. data/lib/stupidedi/versions/003010/segment_defs/NTE.rb +18 -0
  446. data/lib/stupidedi/versions/003010/segment_defs/PER.rb +28 -0
  447. data/lib/stupidedi/versions/003010/segment_defs/PID.rb +20 -0
  448. data/lib/stupidedi/versions/003010/segment_defs/PLD.rb +21 -0
  449. data/lib/stupidedi/versions/003010/segment_defs/PO1.rb +25 -0
  450. data/lib/stupidedi/versions/003010/segment_defs/PO4.rb +20 -0
  451. data/lib/stupidedi/versions/003010/segment_defs/POC.rb +26 -0
  452. data/lib/stupidedi/versions/003010/segment_defs/REF.rb +18 -0
  453. data/lib/stupidedi/versions/003010/segment_defs/RMT.rb +25 -0
  454. data/lib/stupidedi/versions/003010/segment_defs/S5.rb +29 -0
  455. data/lib/stupidedi/versions/003010/segment_defs/SDP.rb +18 -0
  456. data/lib/stupidedi/versions/003010/segment_defs/SE.rb +19 -0
  457. data/lib/stupidedi/versions/003010/segment_defs/SHP.rb +20 -0
  458. data/lib/stupidedi/versions/003010/segment_defs/SN1.rb +24 -0
  459. data/lib/stupidedi/versions/003010/segment_defs/ST.rb +18 -0
  460. data/lib/stupidedi/versions/003010/segment_defs/TD1.rb +27 -0
  461. data/lib/stupidedi/versions/003010/segment_defs/TD3.rb +20 -0
  462. data/lib/stupidedi/versions/003010/segment_defs/TD5.rb +21 -0
  463. data/lib/stupidedi/versions/003010/segment_defs/UIT.rb +18 -0
  464. data/lib/stupidedi/versions/003010/segment_defs/W01.rb +37 -0
  465. data/lib/stupidedi/versions/003010/segment_defs/W03.rb +25 -0
  466. data/lib/stupidedi/versions/003010/segment_defs/W04.rb +35 -0
  467. data/lib/stupidedi/versions/003010/segment_defs/W05.rb +24 -0
  468. data/lib/stupidedi/versions/003010/segment_defs/W06.rb +29 -0
  469. data/lib/stupidedi/versions/003010/segment_defs/W07.rb +30 -0
  470. data/lib/stupidedi/versions/003010/segment_defs/W08.rb +26 -0
  471. data/lib/stupidedi/versions/003010/segment_defs/W12.rb +43 -0
  472. data/lib/stupidedi/versions/003010/segment_defs/W14.rb +20 -0
  473. data/lib/stupidedi/versions/003010/segment_defs/W17.rb +26 -0
  474. data/lib/stupidedi/versions/003010/segment_defs/W20.rb +28 -0
  475. data/lib/stupidedi/versions/003010/segment_defs/W27.rb +27 -0
  476. data/lib/stupidedi/versions/003010/segment_defs/W66.rb +26 -0
  477. data/lib/stupidedi/versions/003010/segment_defs/W76.rb +24 -0
  478. data/lib/stupidedi/versions/003010/segment_reqs.rb +11 -0
  479. data/lib/stupidedi/versions/003010/syntax_notes.rb +14 -0
  480. data/lib/stupidedi/versions/003040.rb +14 -0
  481. data/lib/stupidedi/versions/003040/element_defs.rb +10608 -0
  482. data/lib/stupidedi/versions/003040/element_reqs.rb +12 -0
  483. data/lib/stupidedi/versions/003040/element_types.rb +28 -0
  484. data/lib/stupidedi/versions/003040/element_types/date_val.rb +11 -0
  485. data/lib/stupidedi/versions/003040/element_types/fixnum_val.rb +11 -0
  486. data/lib/stupidedi/versions/003040/element_types/float_val.rb +11 -0
  487. data/lib/stupidedi/versions/003040/element_types/identifier_val.rb +11 -0
  488. data/lib/stupidedi/versions/003040/element_types/time_val.rb +11 -0
  489. data/lib/stupidedi/versions/003040/functional_group_def.rb +24 -0
  490. data/lib/stupidedi/versions/003040/segment_defs.rb +95 -0
  491. data/lib/stupidedi/versions/003040/segment_defs/AK1.rb +17 -0
  492. data/lib/stupidedi/versions/003040/segment_defs/AK2.rb +17 -0
  493. data/lib/stupidedi/versions/003040/segment_defs/AK3.rb +18 -0
  494. data/lib/stupidedi/versions/003040/segment_defs/AK9.rb +23 -0
  495. data/lib/stupidedi/versions/003040/segment_defs/AMT.rb +17 -0
  496. data/lib/stupidedi/versions/003040/segment_defs/AT7.rb +29 -0
  497. data/lib/stupidedi/versions/003040/segment_defs/AT8.rb +25 -0
  498. data/lib/stupidedi/versions/003040/segment_defs/B1.rb +20 -0
  499. data/lib/stupidedi/versions/003040/segment_defs/B10.rb +26 -0
  500. data/lib/stupidedi/versions/003040/segment_defs/B2.rb +27 -0
  501. data/lib/stupidedi/versions/003040/segment_defs/B2A.rb +17 -0
  502. data/lib/stupidedi/versions/003040/segment_defs/BEG.rb +21 -0
  503. data/lib/stupidedi/versions/003040/segment_defs/BGN.rb +18 -0
  504. data/lib/stupidedi/versions/003040/segment_defs/BPS.rb +25 -0
  505. data/lib/stupidedi/versions/003040/segment_defs/BSN.rb +24 -0
  506. data/lib/stupidedi/versions/003040/segment_defs/CTT.rb +25 -0
  507. data/lib/stupidedi/versions/003040/segment_defs/CUR.rb +19 -0
  508. data/lib/stupidedi/versions/003040/segment_defs/DTM.rb +18 -0
  509. data/lib/stupidedi/versions/003040/segment_defs/FOB.rb +20 -0
  510. data/lib/stupidedi/versions/003040/segment_defs/G61.rb +22 -0
  511. data/lib/stupidedi/versions/003040/segment_defs/G62.rb +22 -0
  512. data/lib/stupidedi/versions/003040/segment_defs/G69.rb +16 -0
  513. data/lib/stupidedi/versions/003040/segment_defs/GE.rb +17 -0
  514. data/lib/stupidedi/versions/003040/segment_defs/GS.rb +24 -0
  515. data/lib/stupidedi/versions/003040/segment_defs/HL.rb +20 -0
  516. data/lib/stupidedi/versions/003040/segment_defs/IT1.rb +20 -0
  517. data/lib/stupidedi/versions/003040/segment_defs/ITD.rb +28 -0
  518. data/lib/stupidedi/versions/003040/segment_defs/K1.rb +18 -0
  519. data/lib/stupidedi/versions/003040/segment_defs/L11.rb +21 -0
  520. data/lib/stupidedi/versions/003040/segment_defs/L3.rb +37 -0
  521. data/lib/stupidedi/versions/003040/segment_defs/L5.rb +29 -0
  522. data/lib/stupidedi/versions/003040/segment_defs/LE.rb +17 -0
  523. data/lib/stupidedi/versions/003040/segment_defs/LFH.rb +25 -0
  524. data/lib/stupidedi/versions/003040/segment_defs/LH1.rb +29 -0
  525. data/lib/stupidedi/versions/003040/segment_defs/LH2.rb +32 -0
  526. data/lib/stupidedi/versions/003040/segment_defs/LH3.rb +21 -0
  527. data/lib/stupidedi/versions/003040/segment_defs/LIN.rb +33 -0
  528. data/lib/stupidedi/versions/003040/segment_defs/LS.rb +16 -0
  529. data/lib/stupidedi/versions/003040/segment_defs/LX.rb +16 -0
  530. data/lib/stupidedi/versions/003040/segment_defs/M7.rb +21 -0
  531. data/lib/stupidedi/versions/003040/segment_defs/MAN.rb +23 -0
  532. data/lib/stupidedi/versions/003040/segment_defs/MEA.rb +22 -0
  533. data/lib/stupidedi/versions/003040/segment_defs/MS1.rb +33 -0
  534. data/lib/stupidedi/versions/003040/segment_defs/MS2.rb +22 -0
  535. data/lib/stupidedi/versions/003040/segment_defs/MS3.rb +21 -0
  536. data/lib/stupidedi/versions/003040/segment_defs/MSG.rb +17 -0
  537. data/lib/stupidedi/versions/003040/segment_defs/N1.rb +19 -0
  538. data/lib/stupidedi/versions/003040/segment_defs/N2.rb +17 -0
  539. data/lib/stupidedi/versions/003040/segment_defs/N3.rb +17 -0
  540. data/lib/stupidedi/versions/003040/segment_defs/N4.rb +19 -0
  541. data/lib/stupidedi/versions/003040/segment_defs/N7.rb +42 -0
  542. data/lib/stupidedi/versions/003040/segment_defs/N9.rb +18 -0
  543. data/lib/stupidedi/versions/003040/segment_defs/NTE.rb +18 -0
  544. data/lib/stupidedi/versions/003040/segment_defs/PER.rb +20 -0
  545. data/lib/stupidedi/versions/003040/segment_defs/PID.rb +20 -0
  546. data/lib/stupidedi/versions/003040/segment_defs/PLD.rb +21 -0
  547. data/lib/stupidedi/versions/003040/segment_defs/PO1.rb +25 -0
  548. data/lib/stupidedi/versions/003040/segment_defs/PO4.rb +20 -0
  549. data/lib/stupidedi/versions/003040/segment_defs/PRR.rb +21 -0
  550. data/lib/stupidedi/versions/003040/segment_defs/QTY.rb +18 -0
  551. data/lib/stupidedi/versions/003040/segment_defs/REF.rb +18 -0
  552. data/lib/stupidedi/versions/003040/segment_defs/REP.rb +19 -0
  553. data/lib/stupidedi/versions/003040/segment_defs/RMT.rb +25 -0
  554. data/lib/stupidedi/versions/003040/segment_defs/S5.rb +29 -0
  555. data/lib/stupidedi/versions/003040/segment_defs/SE.rb +19 -0
  556. data/lib/stupidedi/versions/003040/segment_defs/SN1.rb +24 -0
  557. data/lib/stupidedi/versions/003040/segment_defs/SSS.rb +24 -0
  558. data/lib/stupidedi/versions/003040/segment_defs/ST.rb +18 -0
  559. data/lib/stupidedi/versions/003040/segment_defs/TD1.rb +27 -0
  560. data/lib/stupidedi/versions/003040/segment_defs/TD3.rb +20 -0
  561. data/lib/stupidedi/versions/003040/segment_defs/TD5.rb +18 -0
  562. data/lib/stupidedi/versions/003040/segment_defs/TDS.rb +16 -0
  563. data/lib/stupidedi/versions/003040/segment_defs/W01.rb +37 -0
  564. data/lib/stupidedi/versions/003040/segment_defs/W03.rb +25 -0
  565. data/lib/stupidedi/versions/003040/segment_defs/W04.rb +35 -0
  566. data/lib/stupidedi/versions/003040/segment_defs/W05.rb +24 -0
  567. data/lib/stupidedi/versions/003040/segment_defs/W06.rb +29 -0
  568. data/lib/stupidedi/versions/003040/segment_defs/W07.rb +30 -0
  569. data/lib/stupidedi/versions/003040/segment_defs/W08.rb +26 -0
  570. data/lib/stupidedi/versions/003040/segment_defs/W12.rb +43 -0
  571. data/lib/stupidedi/versions/003040/segment_defs/W14.rb +20 -0
  572. data/lib/stupidedi/versions/003040/segment_defs/W17.rb +26 -0
  573. data/lib/stupidedi/versions/003040/segment_defs/W20.rb +28 -0
  574. data/lib/stupidedi/versions/003040/segment_defs/W27.rb +27 -0
  575. data/lib/stupidedi/versions/003040/segment_defs/W66.rb +26 -0
  576. data/lib/stupidedi/versions/003040/segment_defs/W76.rb +24 -0
  577. data/lib/stupidedi/versions/003040/segment_reqs.rb +11 -0
  578. data/lib/stupidedi/versions/003040/syntax_notes.rb +14 -0
  579. data/lib/stupidedi/versions/003050.rb +14 -0
  580. data/lib/stupidedi/versions/003050/element_defs.rb +10612 -0
  581. data/lib/stupidedi/versions/003050/element_reqs.rb +12 -0
  582. data/lib/stupidedi/versions/003050/element_types.rb +28 -0
  583. data/lib/stupidedi/versions/003050/element_types/an.rb +11 -0
  584. data/lib/stupidedi/versions/003050/element_types/dt.rb +11 -0
  585. data/lib/stupidedi/versions/003050/element_types/float_val.rb +11 -0
  586. data/lib/stupidedi/versions/003050/element_types/id.rb +11 -0
  587. data/lib/stupidedi/versions/003050/element_types/nn.rb +11 -0
  588. data/lib/stupidedi/versions/003050/element_types/tm.rb +11 -0
  589. data/lib/stupidedi/versions/003050/functional_group_def.rb +24 -0
  590. data/lib/stupidedi/versions/003050/segment_defs.rb +95 -0
  591. data/lib/stupidedi/versions/003050/segment_defs/AK1.rb +17 -0
  592. data/lib/stupidedi/versions/003050/segment_defs/AK2.rb +17 -0
  593. data/lib/stupidedi/versions/003050/segment_defs/AK3.rb +18 -0
  594. data/lib/stupidedi/versions/003050/segment_defs/AK9.rb +23 -0
  595. data/lib/stupidedi/versions/003050/segment_defs/AMT.rb +17 -0
  596. data/lib/stupidedi/versions/003050/segment_defs/AT7.rb +29 -0
  597. data/lib/stupidedi/versions/003050/segment_defs/AT8.rb +25 -0
  598. data/lib/stupidedi/versions/003050/segment_defs/B1.rb +20 -0
  599. data/lib/stupidedi/versions/003050/segment_defs/B10.rb +26 -0
  600. data/lib/stupidedi/versions/003050/segment_defs/B2.rb +27 -0
  601. data/lib/stupidedi/versions/003050/segment_defs/B2A.rb +17 -0
  602. data/lib/stupidedi/versions/003050/segment_defs/BEG.rb +21 -0
  603. data/lib/stupidedi/versions/003050/segment_defs/BGN.rb +18 -0
  604. data/lib/stupidedi/versions/003050/segment_defs/BPS.rb +25 -0
  605. data/lib/stupidedi/versions/003050/segment_defs/BSN.rb +24 -0
  606. data/lib/stupidedi/versions/003050/segment_defs/CTT.rb +17 -0
  607. data/lib/stupidedi/versions/003050/segment_defs/CUR.rb +19 -0
  608. data/lib/stupidedi/versions/003050/segment_defs/DTM.rb +20 -0
  609. data/lib/stupidedi/versions/003050/segment_defs/FOB.rb +20 -0
  610. data/lib/stupidedi/versions/003050/segment_defs/G61.rb +22 -0
  611. data/lib/stupidedi/versions/003050/segment_defs/G62.rb +22 -0
  612. data/lib/stupidedi/versions/003050/segment_defs/G69.rb +16 -0
  613. data/lib/stupidedi/versions/003050/segment_defs/GE.rb +18 -0
  614. data/lib/stupidedi/versions/003050/segment_defs/GS.rb +24 -0
  615. data/lib/stupidedi/versions/003050/segment_defs/HL.rb +20 -0
  616. data/lib/stupidedi/versions/003050/segment_defs/IT1.rb +20 -0
  617. data/lib/stupidedi/versions/003050/segment_defs/ITD.rb +28 -0
  618. data/lib/stupidedi/versions/003050/segment_defs/K1.rb +18 -0
  619. data/lib/stupidedi/versions/003050/segment_defs/L11.rb +21 -0
  620. data/lib/stupidedi/versions/003050/segment_defs/L3.rb +37 -0
  621. data/lib/stupidedi/versions/003050/segment_defs/L5.rb +29 -0
  622. data/lib/stupidedi/versions/003050/segment_defs/LE.rb +17 -0
  623. data/lib/stupidedi/versions/003050/segment_defs/LFH.rb +25 -0
  624. data/lib/stupidedi/versions/003050/segment_defs/LH1.rb +29 -0
  625. data/lib/stupidedi/versions/003050/segment_defs/LH2.rb +32 -0
  626. data/lib/stupidedi/versions/003050/segment_defs/LH3.rb +21 -0
  627. data/lib/stupidedi/versions/003050/segment_defs/LIN.rb +33 -0
  628. data/lib/stupidedi/versions/003050/segment_defs/LS.rb +16 -0
  629. data/lib/stupidedi/versions/003050/segment_defs/LX.rb +16 -0
  630. data/lib/stupidedi/versions/003050/segment_defs/M7.rb +21 -0
  631. data/lib/stupidedi/versions/003050/segment_defs/MAN.rb +23 -0
  632. data/lib/stupidedi/versions/003050/segment_defs/MEA.rb +22 -0
  633. data/lib/stupidedi/versions/003050/segment_defs/MS1.rb +33 -0
  634. data/lib/stupidedi/versions/003050/segment_defs/MS2.rb +22 -0
  635. data/lib/stupidedi/versions/003050/segment_defs/MS3.rb +21 -0
  636. data/lib/stupidedi/versions/003050/segment_defs/MSG.rb +17 -0
  637. data/lib/stupidedi/versions/003050/segment_defs/N1.rb +17 -0
  638. data/lib/stupidedi/versions/003050/segment_defs/N2.rb +17 -0
  639. data/lib/stupidedi/versions/003050/segment_defs/N3.rb +17 -0
  640. data/lib/stupidedi/versions/003050/segment_defs/N4.rb +19 -0
  641. data/lib/stupidedi/versions/003050/segment_defs/N7.rb +42 -0
  642. data/lib/stupidedi/versions/003050/segment_defs/N9.rb +18 -0
  643. data/lib/stupidedi/versions/003050/segment_defs/NTE.rb +18 -0
  644. data/lib/stupidedi/versions/003050/segment_defs/PER.rb +18 -0
  645. data/lib/stupidedi/versions/003050/segment_defs/PID.rb +20 -0
  646. data/lib/stupidedi/versions/003050/segment_defs/PLD.rb +21 -0
  647. data/lib/stupidedi/versions/003050/segment_defs/PO1.rb +23 -0
  648. data/lib/stupidedi/versions/003050/segment_defs/PO4.rb +20 -0
  649. data/lib/stupidedi/versions/003050/segment_defs/PRR.rb +19 -0
  650. data/lib/stupidedi/versions/003050/segment_defs/QTY.rb +18 -0
  651. data/lib/stupidedi/versions/003050/segment_defs/REF.rb +18 -0
  652. data/lib/stupidedi/versions/003050/segment_defs/REP.rb +19 -0
  653. data/lib/stupidedi/versions/003050/segment_defs/RMT.rb +25 -0
  654. data/lib/stupidedi/versions/003050/segment_defs/S5.rb +29 -0
  655. data/lib/stupidedi/versions/003050/segment_defs/SE.rb +19 -0
  656. data/lib/stupidedi/versions/003050/segment_defs/SN1.rb +24 -0
  657. data/lib/stupidedi/versions/003050/segment_defs/SSS.rb +22 -0
  658. data/lib/stupidedi/versions/003050/segment_defs/ST.rb +18 -0
  659. data/lib/stupidedi/versions/003050/segment_defs/TD1.rb +27 -0
  660. data/lib/stupidedi/versions/003050/segment_defs/TD3.rb +20 -0
  661. data/lib/stupidedi/versions/003050/segment_defs/TD5.rb +18 -0
  662. data/lib/stupidedi/versions/003050/segment_defs/TDS.rb +16 -0
  663. data/lib/stupidedi/versions/003050/segment_defs/W01.rb +37 -0
  664. data/lib/stupidedi/versions/003050/segment_defs/W03.rb +25 -0
  665. data/lib/stupidedi/versions/003050/segment_defs/W04.rb +35 -0
  666. data/lib/stupidedi/versions/003050/segment_defs/W05.rb +24 -0
  667. data/lib/stupidedi/versions/003050/segment_defs/W06.rb +29 -0
  668. data/lib/stupidedi/versions/003050/segment_defs/W07.rb +30 -0
  669. data/lib/stupidedi/versions/003050/segment_defs/W08.rb +26 -0
  670. data/lib/stupidedi/versions/003050/segment_defs/W12.rb +43 -0
  671. data/lib/stupidedi/versions/003050/segment_defs/W14.rb +20 -0
  672. data/lib/stupidedi/versions/003050/segment_defs/W17.rb +26 -0
  673. data/lib/stupidedi/versions/003050/segment_defs/W20.rb +28 -0
  674. data/lib/stupidedi/versions/003050/segment_defs/W27.rb +27 -0
  675. data/lib/stupidedi/versions/003050/segment_defs/W66.rb +26 -0
  676. data/lib/stupidedi/versions/003050/segment_defs/W76.rb +24 -0
  677. data/lib/stupidedi/versions/003050/segment_reqs.rb +11 -0
  678. data/lib/stupidedi/versions/003050/syntax_notes.rb +14 -0
  679. data/lib/stupidedi/versions/004010.rb +14 -0
  680. data/lib/stupidedi/versions/004010/element_defs.rb +9512 -0
  681. data/lib/stupidedi/versions/004010/element_reqs.rb +12 -0
  682. data/lib/stupidedi/versions/004010/element_types.rb +28 -0
  683. data/lib/stupidedi/versions/004010/element_types/an.rb +11 -0
  684. data/lib/stupidedi/versions/004010/element_types/dt.rb +11 -0
  685. data/lib/stupidedi/versions/004010/element_types/float_val.rb +11 -0
  686. data/lib/stupidedi/versions/004010/element_types/id.rb +11 -0
  687. data/lib/stupidedi/versions/004010/element_types/nn.rb +11 -0
  688. data/lib/stupidedi/versions/004010/element_types/tm.rb +11 -0
  689. data/lib/stupidedi/versions/004010/functional_group_def.rb +24 -0
  690. data/lib/stupidedi/versions/004010/segment_defs.rb +120 -0
  691. data/lib/stupidedi/versions/004010/segment_defs/AK1.rb +17 -0
  692. data/lib/stupidedi/versions/004010/segment_defs/AK2.rb +17 -0
  693. data/lib/stupidedi/versions/004010/segment_defs/AK3.rb +20 -0
  694. data/lib/stupidedi/versions/004010/segment_defs/AK4.rb +20 -0
  695. data/lib/stupidedi/versions/004010/segment_defs/AK5.rb +22 -0
  696. data/lib/stupidedi/versions/004010/segment_defs/AK9.rb +27 -0
  697. data/lib/stupidedi/versions/004010/segment_defs/AMT.rb +18 -0
  698. data/lib/stupidedi/versions/004010/segment_defs/AT7.rb +29 -0
  699. data/lib/stupidedi/versions/004010/segment_defs/AT8.rb +25 -0
  700. data/lib/stupidedi/versions/004010/segment_defs/B1.rb +20 -0
  701. data/lib/stupidedi/versions/004010/segment_defs/B10.rb +26 -0
  702. data/lib/stupidedi/versions/004010/segment_defs/B2.rb +27 -0
  703. data/lib/stupidedi/versions/004010/segment_defs/B2A.rb +17 -0
  704. data/lib/stupidedi/versions/004010/segment_defs/B3.rb +27 -0
  705. data/lib/stupidedi/versions/004010/segment_defs/BAK.rb +21 -0
  706. data/lib/stupidedi/versions/004010/segment_defs/BCT.rb +17 -0
  707. data/lib/stupidedi/versions/004010/segment_defs/BEG.rb +28 -0
  708. data/lib/stupidedi/versions/004010/segment_defs/BFR.rb +28 -0
  709. data/lib/stupidedi/versions/004010/segment_defs/BPR.rb +44 -0
  710. data/lib/stupidedi/versions/004010/segment_defs/BSN.rb +21 -0
  711. data/lib/stupidedi/versions/004010/segment_defs/BSS.rb +27 -0
  712. data/lib/stupidedi/versions/004010/segment_defs/C3.rb +18 -0
  713. data/lib/stupidedi/versions/004010/segment_defs/CAS.rb +50 -0
  714. data/lib/stupidedi/versions/004010/segment_defs/CLP.rb +28 -0
  715. data/lib/stupidedi/versions/004010/segment_defs/CTP.rb +31 -0
  716. data/lib/stupidedi/versions/004010/segment_defs/CTT.rb +25 -0
  717. data/lib/stupidedi/versions/004010/segment_defs/CUR.rb +51 -0
  718. data/lib/stupidedi/versions/004010/segment_defs/DTM.rb +24 -0
  719. data/lib/stupidedi/versions/004010/segment_defs/FST.rb +24 -0
  720. data/lib/stupidedi/versions/004010/segment_defs/G61.rb +22 -0
  721. data/lib/stupidedi/versions/004010/segment_defs/G62.rb +22 -0
  722. data/lib/stupidedi/versions/004010/segment_defs/G69.rb +16 -0
  723. data/lib/stupidedi/versions/004010/segment_defs/GE.rb +18 -0
  724. data/lib/stupidedi/versions/004010/segment_defs/GS.rb +24 -0
  725. data/lib/stupidedi/versions/004010/segment_defs/H3.rb +22 -0
  726. data/lib/stupidedi/versions/004010/segment_defs/HL.rb +20 -0
  727. data/lib/stupidedi/versions/004010/segment_defs/JIT.rb +18 -0
  728. data/lib/stupidedi/versions/004010/segment_defs/K1.rb +18 -0
  729. data/lib/stupidedi/versions/004010/segment_defs/L0.rb +30 -0
  730. data/lib/stupidedi/versions/004010/segment_defs/L1.rb +39 -0
  731. data/lib/stupidedi/versions/004010/segment_defs/L11.rb +21 -0
  732. data/lib/stupidedi/versions/004010/segment_defs/L3.rb +37 -0
  733. data/lib/stupidedi/versions/004010/segment_defs/L4.rb +21 -0
  734. data/lib/stupidedi/versions/004010/segment_defs/L5.rb +29 -0
  735. data/lib/stupidedi/versions/004010/segment_defs/L7.rb +32 -0
  736. data/lib/stupidedi/versions/004010/segment_defs/LAD.rb +34 -0
  737. data/lib/stupidedi/versions/004010/segment_defs/LFH.rb +25 -0
  738. data/lib/stupidedi/versions/004010/segment_defs/LH1.rb +29 -0
  739. data/lib/stupidedi/versions/004010/segment_defs/LH2.rb +33 -0
  740. data/lib/stupidedi/versions/004010/segment_defs/LH3.rb +21 -0
  741. data/lib/stupidedi/versions/004010/segment_defs/LIN.rb +47 -0
  742. data/lib/stupidedi/versions/004010/segment_defs/LQ.rb +18 -0
  743. data/lib/stupidedi/versions/004010/segment_defs/LX.rb +16 -0
  744. data/lib/stupidedi/versions/004010/segment_defs/M7.rb +21 -0
  745. data/lib/stupidedi/versions/004010/segment_defs/MAN.rb +23 -0
  746. data/lib/stupidedi/versions/004010/segment_defs/MEA.rb +36 -0
  747. data/lib/stupidedi/versions/004010/segment_defs/MIA.rb +40 -0
  748. data/lib/stupidedi/versions/004010/segment_defs/MOA.rb +25 -0
  749. data/lib/stupidedi/versions/004010/segment_defs/MS1.rb +33 -0
  750. data/lib/stupidedi/versions/004010/segment_defs/MS2.rb +22 -0
  751. data/lib/stupidedi/versions/004010/segment_defs/MS3.rb +21 -0
  752. data/lib/stupidedi/versions/004010/segment_defs/N1.rb +23 -0
  753. data/lib/stupidedi/versions/004010/segment_defs/N2.rb +17 -0
  754. data/lib/stupidedi/versions/004010/segment_defs/N3.rb +17 -0
  755. data/lib/stupidedi/versions/004010/segment_defs/N4.rb +22 -0
  756. data/lib/stupidedi/versions/004010/segment_defs/N7.rb +42 -0
  757. data/lib/stupidedi/versions/004010/segment_defs/N9.rb +25 -0
  758. data/lib/stupidedi/versions/004010/segment_defs/NM1.rb +28 -0
  759. data/lib/stupidedi/versions/004010/segment_defs/NTE.rb +18 -0
  760. data/lib/stupidedi/versions/004010/segment_defs/OID.rb +28 -0
  761. data/lib/stupidedi/versions/004010/segment_defs/PER.rb +28 -0
  762. data/lib/stupidedi/versions/004010/segment_defs/PID.rb +29 -0
  763. data/lib/stupidedi/versions/004010/segment_defs/PLB.rb +37 -0
  764. data/lib/stupidedi/versions/004010/segment_defs/PLD.rb +21 -0
  765. data/lib/stupidedi/versions/004010/segment_defs/PO1.rb +52 -0
  766. data/lib/stupidedi/versions/004010/segment_defs/PO4.rb +20 -0
  767. data/lib/stupidedi/versions/004010/segment_defs/PRF.rb +16 -0
  768. data/lib/stupidedi/versions/004010/segment_defs/QTY.rb +21 -0
  769. data/lib/stupidedi/versions/004010/segment_defs/R3.rb +24 -0
  770. data/lib/stupidedi/versions/004010/segment_defs/REF.rb +20 -0
  771. data/lib/stupidedi/versions/004010/segment_defs/S5.rb +29 -0
  772. data/lib/stupidedi/versions/004010/segment_defs/SCH.rb +24 -0
  773. data/lib/stupidedi/versions/004010/segment_defs/SDP.rb +17 -0
  774. data/lib/stupidedi/versions/004010/segment_defs/SE.rb +19 -0
  775. data/lib/stupidedi/versions/004010/segment_defs/SHP.rb +19 -0
  776. data/lib/stupidedi/versions/004010/segment_defs/SN1.rb +24 -0
  777. data/lib/stupidedi/versions/004010/segment_defs/ST.rb +18 -0
  778. data/lib/stupidedi/versions/004010/segment_defs/SVC.rb +23 -0
  779. data/lib/stupidedi/versions/004010/segment_defs/TD1.rb +19 -0
  780. data/lib/stupidedi/versions/004010/segment_defs/TD3.rb +23 -0
  781. data/lib/stupidedi/versions/004010/segment_defs/TD4.rb +22 -0
  782. data/lib/stupidedi/versions/004010/segment_defs/TD5.rb +21 -0
  783. data/lib/stupidedi/versions/004010/segment_defs/TRN.rb +19 -0
  784. data/lib/stupidedi/versions/004010/segment_defs/TS2.rb +35 -0
  785. data/lib/stupidedi/versions/004010/segment_defs/TS3.rb +39 -0
  786. data/lib/stupidedi/versions/004010/segment_defs/UIT.rb +17 -0
  787. data/lib/stupidedi/versions/004010/segment_defs/W01.rb +37 -0
  788. data/lib/stupidedi/versions/004010/segment_defs/W03.rb +25 -0
  789. data/lib/stupidedi/versions/004010/segment_defs/W04.rb +35 -0
  790. data/lib/stupidedi/versions/004010/segment_defs/W05.rb +24 -0
  791. data/lib/stupidedi/versions/004010/segment_defs/W06.rb +29 -0
  792. data/lib/stupidedi/versions/004010/segment_defs/W07.rb +30 -0
  793. data/lib/stupidedi/versions/004010/segment_defs/W08.rb +26 -0
  794. data/lib/stupidedi/versions/004010/segment_defs/W12.rb +43 -0
  795. data/lib/stupidedi/versions/004010/segment_defs/W14.rb +20 -0
  796. data/lib/stupidedi/versions/004010/segment_defs/W17.rb +26 -0
  797. data/lib/stupidedi/versions/004010/segment_defs/W20.rb +28 -0
  798. data/lib/stupidedi/versions/004010/segment_defs/W27.rb +27 -0
  799. data/lib/stupidedi/versions/004010/segment_defs/W66.rb +26 -0
  800. data/lib/stupidedi/versions/004010/segment_defs/W76.rb +24 -0
  801. data/lib/stupidedi/versions/004010/segment_reqs.rb +11 -0
  802. data/lib/stupidedi/versions/004010/syntax_notes.rb +14 -0
  803. data/lib/stupidedi/versions/005010.rb +14 -0
  804. data/lib/stupidedi/versions/005010/element_defs.rb +3520 -0
  805. data/lib/stupidedi/versions/005010/element_reqs.rb +12 -0
  806. data/lib/stupidedi/versions/005010/element_types.rb +28 -0
  807. data/lib/stupidedi/versions/005010/element_types/an.rb +11 -0
  808. data/lib/stupidedi/versions/005010/element_types/dt.rb +11 -0
  809. data/lib/stupidedi/versions/005010/element_types/float_val.rb +11 -0
  810. data/lib/stupidedi/versions/005010/element_types/id.rb +11 -0
  811. data/lib/stupidedi/versions/005010/element_types/nn.rb +11 -0
  812. data/lib/stupidedi/versions/005010/element_types/tm.rb +11 -0
  813. data/lib/stupidedi/versions/005010/functional_group_def.rb +23 -0
  814. data/lib/stupidedi/versions/005010/segment_defs.rb +156 -0
  815. data/lib/stupidedi/versions/005010/segment_defs/AAA.rb +20 -0
  816. data/lib/stupidedi/versions/005010/segment_defs/ACT.rb +27 -0
  817. data/lib/stupidedi/versions/005010/segment_defs/AD1.rb +15 -0
  818. data/lib/stupidedi/versions/005010/segment_defs/ADX.rb +15 -0
  819. data/lib/stupidedi/versions/005010/segment_defs/AIN.rb +15 -0
  820. data/lib/stupidedi/versions/005010/segment_defs/AK1.rb +18 -0
  821. data/lib/stupidedi/versions/005010/segment_defs/AK2.rb +18 -0
  822. data/lib/stupidedi/versions/005010/segment_defs/AK3.rb +20 -0
  823. data/lib/stupidedi/versions/005010/segment_defs/AK4.rb +20 -0
  824. data/lib/stupidedi/versions/005010/segment_defs/AK5.rb +22 -0
  825. data/lib/stupidedi/versions/005010/segment_defs/AK9.rb +27 -0
  826. data/lib/stupidedi/versions/005010/segment_defs/AMT.rb +18 -0
  827. data/lib/stupidedi/versions/005010/segment_defs/ASM.rb +15 -0
  828. data/lib/stupidedi/versions/005010/segment_defs/ATN.rb +15 -0
  829. data/lib/stupidedi/versions/005010/segment_defs/BEN.rb +15 -0
  830. data/lib/stupidedi/versions/005010/segment_defs/BGN.rb +25 -0
  831. data/lib/stupidedi/versions/005010/segment_defs/BHT.rb +23 -0
  832. data/lib/stupidedi/versions/005010/segment_defs/BPR.rb +44 -0
  833. data/lib/stupidedi/versions/005010/segment_defs/CAS.rb +50 -0
  834. data/lib/stupidedi/versions/005010/segment_defs/CL1.rb +19 -0
  835. data/lib/stupidedi/versions/005010/segment_defs/CLM.rb +35 -0
  836. data/lib/stupidedi/versions/005010/segment_defs/CLP.rb +29 -0
  837. data/lib/stupidedi/versions/005010/segment_defs/CN1.rb +21 -0
  838. data/lib/stupidedi/versions/005010/segment_defs/COB.rb +19 -0
  839. data/lib/stupidedi/versions/005010/segment_defs/CR1.rb +28 -0
  840. data/lib/stupidedi/versions/005010/segment_defs/CR2.rb +31 -0
  841. data/lib/stupidedi/versions/005010/segment_defs/CR3.rb +22 -0
  842. data/lib/stupidedi/versions/005010/segment_defs/CR4.rb +15 -0
  843. data/lib/stupidedi/versions/005010/segment_defs/CR5.rb +15 -0
  844. data/lib/stupidedi/versions/005010/segment_defs/CR6.rb +15 -0
  845. data/lib/stupidedi/versions/005010/segment_defs/CR7.rb +15 -0
  846. data/lib/stupidedi/versions/005010/segment_defs/CR8.rb +15 -0
  847. data/lib/stupidedi/versions/005010/segment_defs/CRC.rb +22 -0
  848. data/lib/stupidedi/versions/005010/segment_defs/CTP.rb +31 -0
  849. data/lib/stupidedi/versions/005010/segment_defs/CTX.rb +23 -0
  850. data/lib/stupidedi/versions/005010/segment_defs/CUR.rb +51 -0
  851. data/lib/stupidedi/versions/005010/segment_defs/DED.rb +15 -0
  852. data/lib/stupidedi/versions/005010/segment_defs/DMG.rb +29 -0
  853. data/lib/stupidedi/versions/005010/segment_defs/DN1.rb +19 -0
  854. data/lib/stupidedi/versions/005010/segment_defs/DN2.rb +21 -0
  855. data/lib/stupidedi/versions/005010/segment_defs/DSB.rb +24 -0
  856. data/lib/stupidedi/versions/005010/segment_defs/DTM.rb +21 -0
  857. data/lib/stupidedi/versions/005010/segment_defs/DTP.rb +18 -0
  858. data/lib/stupidedi/versions/005010/segment_defs/EB.rb +30 -0
  859. data/lib/stupidedi/versions/005010/segment_defs/EC.rb +21 -0
  860. data/lib/stupidedi/versions/005010/segment_defs/EM.rb +15 -0
  861. data/lib/stupidedi/versions/005010/segment_defs/EMS.rb +15 -0
  862. data/lib/stupidedi/versions/005010/segment_defs/ENT.rb +15 -0
  863. data/lib/stupidedi/versions/005010/segment_defs/EQ.rb +21 -0
  864. data/lib/stupidedi/versions/005010/segment_defs/FA1.rb +15 -0
  865. data/lib/stupidedi/versions/005010/segment_defs/FA2.rb +15 -0
  866. data/lib/stupidedi/versions/005010/segment_defs/FC.rb +15 -0
  867. data/lib/stupidedi/versions/005010/segment_defs/FRM.rb +22 -0
  868. data/lib/stupidedi/versions/005010/segment_defs/FSA.rb +15 -0
  869. data/lib/stupidedi/versions/005010/segment_defs/G53.rb +15 -0
  870. data/lib/stupidedi/versions/005010/segment_defs/GE.rb +18 -0
  871. data/lib/stupidedi/versions/005010/segment_defs/GS.rb +24 -0
  872. data/lib/stupidedi/versions/005010/segment_defs/HCP.rb +34 -0
  873. data/lib/stupidedi/versions/005010/segment_defs/HCR.rb +15 -0
  874. data/lib/stupidedi/versions/005010/segment_defs/HD.rb +26 -0
  875. data/lib/stupidedi/versions/005010/segment_defs/HI.rb +27 -0
  876. data/lib/stupidedi/versions/005010/segment_defs/HL.rb +20 -0
  877. data/lib/stupidedi/versions/005010/segment_defs/HLH.rb +22 -0
  878. data/lib/stupidedi/versions/005010/segment_defs/HSD.rb +25 -0
  879. data/lib/stupidedi/versions/005010/segment_defs/ICM.rb +22 -0
  880. data/lib/stupidedi/versions/005010/segment_defs/IDC.rb +20 -0
  881. data/lib/stupidedi/versions/005010/segment_defs/III.rb +26 -0
  882. data/lib/stupidedi/versions/005010/segment_defs/IK3.rb +19 -0
  883. data/lib/stupidedi/versions/005010/segment_defs/IK4.rb +20 -0
  884. data/lib/stupidedi/versions/005010/segment_defs/IK5.rb +22 -0
  885. data/lib/stupidedi/versions/005010/segment_defs/IMM.rb +15 -0
  886. data/lib/stupidedi/versions/005010/segment_defs/INS.rb +33 -0
  887. data/lib/stupidedi/versions/005010/segment_defs/INV.rb +15 -0
  888. data/lib/stupidedi/versions/005010/segment_defs/IT1.rb +15 -0
  889. data/lib/stupidedi/versions/005010/segment_defs/K3.rb +18 -0
  890. data/lib/stupidedi/versions/005010/segment_defs/LC.rb +15 -0
  891. data/lib/stupidedi/versions/005010/segment_defs/LE.rb +17 -0
  892. data/lib/stupidedi/versions/005010/segment_defs/LIN.rb +60 -0
  893. data/lib/stupidedi/versions/005010/segment_defs/LOC.rb +15 -0
  894. data/lib/stupidedi/versions/005010/segment_defs/LQ.rb +18 -0
  895. data/lib/stupidedi/versions/005010/segment_defs/LS.rb +16 -0
  896. data/lib/stupidedi/versions/005010/segment_defs/LUI.rb +22 -0
  897. data/lib/stupidedi/versions/005010/segment_defs/LX.rb +16 -0
  898. data/lib/stupidedi/versions/005010/segment_defs/MEA.rb +35 -0
  899. data/lib/stupidedi/versions/005010/segment_defs/MIA.rb +40 -0
  900. data/lib/stupidedi/versions/005010/segment_defs/MOA.rb +25 -0
  901. data/lib/stupidedi/versions/005010/segment_defs/MPI.rb +23 -0
  902. data/lib/stupidedi/versions/005010/segment_defs/MSG.rb +20 -0
  903. data/lib/stupidedi/versions/005010/segment_defs/N1.rb +23 -0
  904. data/lib/stupidedi/versions/005010/segment_defs/N2.rb +17 -0
  905. data/lib/stupidedi/versions/005010/segment_defs/N3.rb +17 -0
  906. data/lib/stupidedi/versions/005010/segment_defs/N4.rb +25 -0
  907. data/lib/stupidedi/versions/005010/segment_defs/N9.rb +15 -0
  908. data/lib/stupidedi/versions/005010/segment_defs/NM1.rb +30 -0
  909. data/lib/stupidedi/versions/005010/segment_defs/NTE.rb +18 -0
  910. data/lib/stupidedi/versions/005010/segment_defs/NX1.rb +15 -0
  911. data/lib/stupidedi/versions/005010/segment_defs/OI.rb +22 -0
  912. data/lib/stupidedi/versions/005010/segment_defs/PAT.rb +26 -0
  913. data/lib/stupidedi/versions/005010/segment_defs/PCT.rb +15 -0
  914. data/lib/stupidedi/versions/005010/segment_defs/PDP.rb +15 -0
  915. data/lib/stupidedi/versions/005010/segment_defs/PDR.rb +15 -0
  916. data/lib/stupidedi/versions/005010/segment_defs/PEN.rb +15 -0
  917. data/lib/stupidedi/versions/005010/segment_defs/PER.rb +28 -0
  918. data/lib/stupidedi/versions/005010/segment_defs/PID.rb +15 -0
  919. data/lib/stupidedi/versions/005010/segment_defs/PKD.rb +15 -0
  920. data/lib/stupidedi/versions/005010/segment_defs/PLA.rb +21 -0
  921. data/lib/stupidedi/versions/005010/segment_defs/PLB.rb +37 -0
  922. data/lib/stupidedi/versions/005010/segment_defs/PM.rb +15 -0
  923. data/lib/stupidedi/versions/005010/segment_defs/PRV.rb +22 -0
  924. data/lib/stupidedi/versions/005010/segment_defs/PS1.rb +18 -0
  925. data/lib/stupidedi/versions/005010/segment_defs/PWK.rb +26 -0
  926. data/lib/stupidedi/versions/005010/segment_defs/PYD.rb +15 -0
  927. data/lib/stupidedi/versions/005010/segment_defs/QTY.rb +21 -0
  928. data/lib/stupidedi/versions/005010/segment_defs/RDM.rb +21 -0
  929. data/lib/stupidedi/versions/005010/segment_defs/REF.rb +20 -0
  930. data/lib/stupidedi/versions/005010/segment_defs/REL.rb +15 -0
  931. data/lib/stupidedi/versions/005010/segment_defs/RMR.rb +15 -0
  932. data/lib/stupidedi/versions/005010/segment_defs/RP.rb +15 -0
  933. data/lib/stupidedi/versions/005010/segment_defs/RPA.rb +15 -0
  934. data/lib/stupidedi/versions/005010/segment_defs/RYL.rb +15 -0
  935. data/lib/stupidedi/versions/005010/segment_defs/SAC.rb +15 -0
  936. data/lib/stupidedi/versions/005010/segment_defs/SBR.rb +25 -0
  937. data/lib/stupidedi/versions/005010/segment_defs/SD1.rb +15 -0
  938. data/lib/stupidedi/versions/005010/segment_defs/SE.rb +19 -0
  939. data/lib/stupidedi/versions/005010/segment_defs/SLN.rb +15 -0
  940. data/lib/stupidedi/versions/005010/segment_defs/ST.rb +19 -0
  941. data/lib/stupidedi/versions/005010/segment_defs/STC.rb +28 -0
  942. data/lib/stupidedi/versions/005010/segment_defs/SV1.rb +38 -0
  943. data/lib/stupidedi/versions/005010/segment_defs/SV2.rb +26 -0
  944. data/lib/stupidedi/versions/005010/segment_defs/SV3.rb +26 -0
  945. data/lib/stupidedi/versions/005010/segment_defs/SV4.rb +15 -0
  946. data/lib/stupidedi/versions/005010/segment_defs/SV5.rb +24 -0
  947. data/lib/stupidedi/versions/005010/segment_defs/SV6.rb +15 -0
  948. data/lib/stupidedi/versions/005010/segment_defs/SV7.rb +15 -0
  949. data/lib/stupidedi/versions/005010/segment_defs/SVC.rb +23 -0
  950. data/lib/stupidedi/versions/005010/segment_defs/SVD.rb +23 -0
  951. data/lib/stupidedi/versions/005010/segment_defs/TOO.rb +19 -0
  952. data/lib/stupidedi/versions/005010/segment_defs/TRN.rb +19 -0
  953. data/lib/stupidedi/versions/005010/segment_defs/TS2.rb +35 -0
  954. data/lib/stupidedi/versions/005010/segment_defs/TS3.rb +39 -0
  955. data/lib/stupidedi/versions/005010/segment_defs/TXI.rb +15 -0
  956. data/lib/stupidedi/versions/005010/segment_defs/TXP.rb +15 -0
  957. data/lib/stupidedi/versions/005010/segment_defs/UM.rb +15 -0
  958. data/lib/stupidedi/versions/005010/segment_defs/UR.rb +15 -0
  959. data/lib/stupidedi/versions/005010/segment_defs/VEH.rb +15 -0
  960. data/lib/stupidedi/versions/005010/segment_reqs.rb +11 -0
  961. data/lib/stupidedi/versions/005010/syntax_notes.rb +14 -0
  962. data/lib/stupidedi/versions/common.rb +11 -0
  963. data/lib/stupidedi/versions/common/element_reqs.rb +13 -0
  964. data/lib/stupidedi/versions/common/element_types.rb +29 -0
  965. data/lib/stupidedi/versions/common/element_types/an.rb +386 -0
  966. data/lib/stupidedi/versions/common/element_types/dt.rb +572 -0
  967. data/lib/stupidedi/versions/common/element_types/id.rb +304 -0
  968. data/lib/stupidedi/versions/common/element_types/nn.rb +312 -0
  969. data/lib/stupidedi/versions/common/element_types/operators.rb +128 -0
  970. data/lib/stupidedi/versions/common/element_types/r.rb +340 -0
  971. data/lib/stupidedi/versions/common/element_types/simple_element.rb +73 -0
  972. data/lib/stupidedi/versions/common/element_types/tm.rb +347 -0
  973. data/lib/stupidedi/versions/common/segment_reqs.rb +15 -0
  974. data/lib/stupidedi/versions/common/syntax_notes.rb +172 -0
  975. data/lib/stupidedi/versions/functional_groups.rb +23 -8
  976. data/lib/stupidedi/versions/interchanges.rb +2 -9
  977. data/lib/stupidedi/writer.rb +0 -1
  978. data/lib/stupidedi/writer/claredi.rb +75 -41
  979. data/lib/stupidedi/writer/default.rb +23 -31
  980. data/lib/stupidedi/zipper.rb +20 -4
  981. data/lib/stupidedi/zipper/abstract_cursor.rb +10 -14
  982. data/lib/stupidedi/zipper/dangling_cursor.rb +0 -4
  983. data/lib/stupidedi/zipper/edited_cursor.rb +0 -4
  984. data/lib/stupidedi/zipper/memoized_cursor.rb +2 -4
  985. data/lib/stupidedi/zipper/path.rb +8 -4
  986. data/lib/stupidedi/zipper/root_cursor.rb +1 -5
  987. data/lib/stupidedi/zipper/stack_cursor.rb +107 -0
  988. metadata +880 -1027
  989. data/doc/unwritten/Defining.md +0 -0
  990. data/lib/ruby/instance_exec.rb +0 -30
  991. data/lib/ruby/jruby_hack.rb +0 -683
  992. data/lib/ruby/symbol.rb +0 -29
  993. data/lib/stupidedi/blank_slate.rb +0 -12
  994. data/lib/stupidedi/builder/builder_dsl.rb +0 -288
  995. data/lib/stupidedi/builder/constraint_table.rb +0 -450
  996. data/lib/stupidedi/builder/generation.rb +0 -116
  997. data/lib/stupidedi/builder/identifier_stack.rb +0 -171
  998. data/lib/stupidedi/builder/instruction.rb +0 -106
  999. data/lib/stupidedi/builder/instruction_table.rb +0 -208
  1000. data/lib/stupidedi/builder/navigation.rb +0 -721
  1001. data/lib/stupidedi/builder/state_machine.rb +0 -59
  1002. data/lib/stupidedi/builder/states/abstract_state.rb +0 -338
  1003. data/lib/stupidedi/builder/states/failure_state.rb +0 -73
  1004. data/lib/stupidedi/builder/states/functional_group_state.rb +0 -100
  1005. data/lib/stupidedi/builder/states/initial_state.rb +0 -66
  1006. data/lib/stupidedi/builder/states/interchange_state.rb +0 -98
  1007. data/lib/stupidedi/builder/states/loop_state.rb +0 -83
  1008. data/lib/stupidedi/builder/states/table_state.rb +0 -100
  1009. data/lib/stupidedi/builder/states/transaction_set_state.rb +0 -116
  1010. data/lib/stupidedi/builder/states/transmission_state.rb +0 -63
  1011. data/lib/stupidedi/builder/tokenization.rb +0 -202
  1012. data/lib/stupidedi/contrib/002001.rb +0 -14
  1013. data/lib/stupidedi/contrib/002001/guides.rb +0 -22
  1014. data/lib/stupidedi/contrib/002001/guides/FA997.rb +0 -82
  1015. data/lib/stupidedi/contrib/002001/guides/PO830.rb +0 -184
  1016. data/lib/stupidedi/contrib/002001/guides/SH856.rb +0 -217
  1017. data/lib/stupidedi/contrib/002001/transaction_set_defs.rb +0 -25
  1018. data/lib/stupidedi/contrib/002001/transaction_set_defs/FA997.rb +0 -32
  1019. data/lib/stupidedi/contrib/002001/transaction_set_defs/PO830.rb +0 -47
  1020. data/lib/stupidedi/contrib/002001/transaction_set_defs/SH856.rb +0 -39
  1021. data/lib/stupidedi/contrib/003010.rb +0 -14
  1022. data/lib/stupidedi/contrib/003010/guides.rb +0 -23
  1023. data/lib/stupidedi/contrib/003010/guides/PC860.rb +0 -176
  1024. data/lib/stupidedi/contrib/003010/guides/PO850.rb +0 -169
  1025. data/lib/stupidedi/contrib/003010/guides/PS830.rb +0 -169
  1026. data/lib/stupidedi/contrib/003010/guides/RA820.rb +0 -177
  1027. data/lib/stupidedi/contrib/003010/transaction_set_defs.rb +0 -25
  1028. data/lib/stupidedi/contrib/003010/transaction_set_defs/PC860.rb +0 -48
  1029. data/lib/stupidedi/contrib/003010/transaction_set_defs/PO850.rb +0 -49
  1030. data/lib/stupidedi/contrib/003010/transaction_set_defs/PS830.rb +0 -49
  1031. data/lib/stupidedi/contrib/003010/transaction_set_defs/RA820.rb +0 -40
  1032. data/lib/stupidedi/contrib/003040.rb +0 -14
  1033. data/lib/stupidedi/contrib/003040/guides.rb +0 -20
  1034. data/lib/stupidedi/contrib/003040/guides/WA142.rb +0 -187
  1035. data/lib/stupidedi/contrib/003040/transaction_set_defs.rb +0 -16
  1036. data/lib/stupidedi/contrib/003040/transaction_set_defs/WA142.rb +0 -53
  1037. data/lib/stupidedi/contrib/003050.rb +0 -14
  1038. data/lib/stupidedi/contrib/003050/guides.rb +0 -16
  1039. data/lib/stupidedi/contrib/003050/guides/PO850.rb +0 -97
  1040. data/lib/stupidedi/contrib/003050/transaction_set_defs.rb +0 -15
  1041. data/lib/stupidedi/contrib/003050/transaction_set_defs/PO850.rb +0 -43
  1042. data/lib/stupidedi/contrib/004010.rb +0 -14
  1043. data/lib/stupidedi/contrib/004010/guides.rb +0 -29
  1044. data/lib/stupidedi/contrib/004010/guides/AR943.rb +0 -89
  1045. data/lib/stupidedi/contrib/004010/guides/FA997.rb +0 -82
  1046. data/lib/stupidedi/contrib/004010/guides/GF990.rb +0 -55
  1047. data/lib/stupidedi/contrib/004010/guides/IM210.rb +0 -267
  1048. data/lib/stupidedi/contrib/004010/guides/OW940.rb +0 -121
  1049. data/lib/stupidedi/contrib/004010/guides/PO850.rb +0 -133
  1050. data/lib/stupidedi/contrib/004010/guides/PS830.rb +0 -165
  1051. data/lib/stupidedi/contrib/004010/guides/QM214.rb +0 -141
  1052. data/lib/stupidedi/contrib/004010/guides/RE944.rb +0 -75
  1053. data/lib/stupidedi/contrib/004010/guides/SH856.rb +0 -187
  1054. data/lib/stupidedi/contrib/004010/guides/SM204.rb +0 -480
  1055. data/lib/stupidedi/contrib/004010/guides/SQ866.rb +0 -120
  1056. data/lib/stupidedi/contrib/004010/guides/SS862.rb +0 -178
  1057. data/lib/stupidedi/contrib/004010/guides/SW945.rb +0 -120
  1058. data/lib/stupidedi/contrib/004010/transaction_set_defs.rb +0 -61
  1059. data/lib/stupidedi/contrib/004010/transaction_set_defs/AR943.rb +0 -35
  1060. data/lib/stupidedi/contrib/004010/transaction_set_defs/FA997.rb +0 -31
  1061. data/lib/stupidedi/contrib/004010/transaction_set_defs/GF990.rb +0 -22
  1062. data/lib/stupidedi/contrib/004010/transaction_set_defs/IM210.rb +0 -47
  1063. data/lib/stupidedi/contrib/004010/transaction_set_defs/OW940.rb +0 -44
  1064. data/lib/stupidedi/contrib/004010/transaction_set_defs/PO850.rb +0 -51
  1065. data/lib/stupidedi/contrib/004010/transaction_set_defs/PR855.rb +0 -35
  1066. data/lib/stupidedi/contrib/004010/transaction_set_defs/PS830.rb +0 -45
  1067. data/lib/stupidedi/contrib/004010/transaction_set_defs/QM214.rb +0 -41
  1068. data/lib/stupidedi/contrib/004010/transaction_set_defs/RE944.rb +0 -35
  1069. data/lib/stupidedi/contrib/004010/transaction_set_defs/SC832.rb +0 -45
  1070. data/lib/stupidedi/contrib/004010/transaction_set_defs/SH856.rb +0 -50
  1071. data/lib/stupidedi/contrib/004010/transaction_set_defs/SM204.rb +0 -85
  1072. data/lib/stupidedi/contrib/004010/transaction_set_defs/SQ866.rb +0 -33
  1073. data/lib/stupidedi/contrib/004010/transaction_set_defs/SS862.rb +0 -41
  1074. data/lib/stupidedi/contrib/004010/transaction_set_defs/SW945.rb +0 -44
  1075. data/lib/stupidedi/guides/004010.rb +0 -22
  1076. data/lib/stupidedi/guides/004010/X091A1-HP835.rb +0 -533
  1077. data/lib/stupidedi/guides/004010/element_reqs.rb +0 -41
  1078. data/lib/stupidedi/guides/004010/guide_builder.rb +0 -184
  1079. data/lib/stupidedi/guides/004010/segment_reqs.rb +0 -35
  1080. data/lib/stupidedi/guides/005010.rb +0 -87
  1081. data/lib/stupidedi/guides/005010/X212-HR276.rb +0 -387
  1082. data/lib/stupidedi/guides/005010/X214-HN277.rb +0 -412
  1083. data/lib/stupidedi/guides/005010/X220-BE834.rb +0 -709
  1084. data/lib/stupidedi/guides/005010/X220A1-BE834.rb +0 -709
  1085. data/lib/stupidedi/guides/005010/X221-HP835.rb +0 -616
  1086. data/lib/stupidedi/guides/005010/X221A1-HP835.rb +0 -616
  1087. data/lib/stupidedi/guides/005010/X222-HC837P.rb +0 -2294
  1088. data/lib/stupidedi/guides/005010/X222A1-HC837P.rb +0 -2300
  1089. data/lib/stupidedi/guides/005010/X223-HC837I.rb +0 -2582
  1090. data/lib/stupidedi/guides/005010/X231-FA999.rb +0 -126
  1091. data/lib/stupidedi/guides/005010/X231A1-FA999.rb +0 -122
  1092. data/lib/stupidedi/guides/005010/X279-HB271.rb +0 -832
  1093. data/lib/stupidedi/guides/005010/X279-HS270.rb +0 -594
  1094. data/lib/stupidedi/guides/005010/X279A1-HB271.rb +0 -845
  1095. data/lib/stupidedi/guides/005010/X279A1-HS270.rb +0 -594
  1096. data/lib/stupidedi/guides/005010/element_reqs.rb +0 -41
  1097. data/lib/stupidedi/guides/005010/guide_builder.rb +0 -205
  1098. data/lib/stupidedi/guides/005010/segment_reqs.rb +0 -35
  1099. data/lib/stupidedi/schema/element_def.rb +0 -177
  1100. data/lib/stupidedi/schema/element_use.rb +0 -255
  1101. data/lib/stupidedi/tail_call.rb +0 -111
  1102. data/lib/stupidedi/thread_local.rb +0 -177
  1103. data/lib/stupidedi/versions/functional_groups/002001.rb +0 -41
  1104. data/lib/stupidedi/versions/functional_groups/002001/element_defs.rb +0 -10698
  1105. data/lib/stupidedi/versions/functional_groups/002001/element_reqs.rb +0 -21
  1106. data/lib/stupidedi/versions/functional_groups/002001/element_types.rb +0 -130
  1107. data/lib/stupidedi/versions/functional_groups/002001/element_types/date_val.rb +0 -576
  1108. data/lib/stupidedi/versions/functional_groups/002001/element_types/fixnum_val.rb +0 -318
  1109. data/lib/stupidedi/versions/functional_groups/002001/element_types/float_val.rb +0 -349
  1110. data/lib/stupidedi/versions/functional_groups/002001/element_types/identifier_val.rb +0 -362
  1111. data/lib/stupidedi/versions/functional_groups/002001/element_types/operators.rb +0 -134
  1112. data/lib/stupidedi/versions/functional_groups/002001/element_types/string_val.rb +0 -394
  1113. data/lib/stupidedi/versions/functional_groups/002001/element_types/time_val.rb +0 -330
  1114. data/lib/stupidedi/versions/functional_groups/002001/functional_group_def.rb +0 -33
  1115. data/lib/stupidedi/versions/functional_groups/002001/segment_defs.rb +0 -252
  1116. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK1.rb +0 -21
  1117. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK2.rb +0 -22
  1118. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK3.rb +0 -21
  1119. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK4.rb +0 -23
  1120. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK5.rb +0 -25
  1121. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK9.rb +0 -25
  1122. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AT7.rb +0 -32
  1123. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AT8.rb +0 -29
  1124. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/ATH.rb +0 -24
  1125. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B1.rb +0 -23
  1126. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B10.rb +0 -30
  1127. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B2.rb +0 -31
  1128. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B2A.rb +0 -21
  1129. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/BEG.rb +0 -31
  1130. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/BFR.rb +0 -32
  1131. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/BSN.rb +0 -27
  1132. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/CTT.rb +0 -29
  1133. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/CUR.rb +0 -58
  1134. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/DTM.rb +0 -30
  1135. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/FST.rb +0 -32
  1136. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/G61.rb +0 -26
  1137. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/G62.rb +0 -27
  1138. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/G69.rb +0 -21
  1139. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/GE.rb +0 -21
  1140. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/GS.rb +0 -27
  1141. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/HL.rb +0 -23
  1142. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/J2X.rb +0 -23
  1143. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/K1.rb +0 -21
  1144. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/L11.rb +0 -25
  1145. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/L3.rb +0 -40
  1146. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/L5.rb +0 -33
  1147. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LFH.rb +0 -29
  1148. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LH1.rb +0 -33
  1149. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LH2.rb +0 -37
  1150. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LH3.rb +0 -25
  1151. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LIN.rb +0 -51
  1152. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LX.rb +0 -20
  1153. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/M7.rb +0 -24
  1154. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MAN.rb +0 -21
  1155. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MEA.rb +0 -33
  1156. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MS1.rb +0 -36
  1157. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MS2.rb +0 -26
  1158. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MS3.rb +0 -26
  1159. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N1.rb +0 -23
  1160. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N2.rb +0 -21
  1161. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N3.rb +0 -21
  1162. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N4.rb +0 -30
  1163. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N7.rb +0 -46
  1164. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N9.rb +0 -29
  1165. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/NTE.rb +0 -21
  1166. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PER.rb +0 -32
  1167. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PID.rb +0 -34
  1168. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PLD.rb +0 -25
  1169. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PO1.rb +0 -60
  1170. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PO4.rb +0 -23
  1171. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/REF.rb +0 -25
  1172. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/S5.rb +0 -34
  1173. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/SDP.rb +0 -21
  1174. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/SE.rb +0 -21
  1175. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/SN1.rb +0 -28
  1176. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/ST.rb +0 -21
  1177. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/TD1.rb +0 -30
  1178. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/TD3.rb +0 -23
  1179. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/TD5.rb +0 -23
  1180. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/UNT.rb +0 -20
  1181. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W01.rb +0 -44
  1182. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W03.rb +0 -30
  1183. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W04.rb +0 -40
  1184. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W05.rb +0 -29
  1185. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W06.rb +0 -33
  1186. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W07.rb +0 -36
  1187. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W08.rb +0 -32
  1188. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W12.rb +0 -51
  1189. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W14.rb +0 -25
  1190. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W17.rb +0 -31
  1191. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W20.rb +0 -33
  1192. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W27.rb +0 -31
  1193. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W66.rb +0 -31
  1194. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W76.rb +0 -30
  1195. data/lib/stupidedi/versions/functional_groups/002001/segment_reqs.rb +0 -21
  1196. data/lib/stupidedi/versions/functional_groups/002001/syntax_notes.rb +0 -177
  1197. data/lib/stupidedi/versions/functional_groups/002001/transaction_set_defs.rb +0 -14
  1198. data/lib/stupidedi/versions/functional_groups/003010.rb +0 -41
  1199. data/lib/stupidedi/versions/functional_groups/003010/element_defs.rb +0 -9324
  1200. data/lib/stupidedi/versions/functional_groups/003010/element_reqs.rb +0 -22
  1201. data/lib/stupidedi/versions/functional_groups/003010/element_types.rb +0 -130
  1202. data/lib/stupidedi/versions/functional_groups/003010/element_types/date_val.rb +0 -576
  1203. data/lib/stupidedi/versions/functional_groups/003010/element_types/fixnum_val.rb +0 -319
  1204. data/lib/stupidedi/versions/functional_groups/003010/element_types/float_val.rb +0 -349
  1205. data/lib/stupidedi/versions/functional_groups/003010/element_types/identifier_val.rb +0 -361
  1206. data/lib/stupidedi/versions/functional_groups/003010/element_types/operators.rb +0 -134
  1207. data/lib/stupidedi/versions/functional_groups/003010/element_types/string_val.rb +0 -391
  1208. data/lib/stupidedi/versions/functional_groups/003010/element_types/time_val.rb +0 -330
  1209. data/lib/stupidedi/versions/functional_groups/003010/functional_group_def.rb +0 -33
  1210. data/lib/stupidedi/versions/functional_groups/003010/segment_defs.rb +0 -269
  1211. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK1.rb +0 -21
  1212. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK2.rb +0 -22
  1213. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK3.rb +0 -21
  1214. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK9.rb +0 -25
  1215. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AT7.rb +0 -32
  1216. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AT8.rb +0 -29
  1217. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B1.rb +0 -23
  1218. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B10.rb +0 -30
  1219. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B2.rb +0 -31
  1220. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B2A.rb +0 -21
  1221. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BCH.rb +0 -32
  1222. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BEG.rb +0 -31
  1223. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BFR.rb +0 -41
  1224. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BPS.rb +0 -34
  1225. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BSN.rb +0 -27
  1226. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/CTT.rb +0 -29
  1227. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/CUR.rb +0 -59
  1228. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/DTM.rb +0 -31
  1229. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/FOB.rb +0 -26
  1230. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/FST.rb +0 -31
  1231. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/G61.rb +0 -26
  1232. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/G62.rb +0 -27
  1233. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/G69.rb +0 -21
  1234. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/GE.rb +0 -21
  1235. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/GS.rb +0 -27
  1236. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/HL.rb +0 -23
  1237. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/ITD.rb +0 -31
  1238. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/K1.rb +0 -21
  1239. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/L11.rb +0 -25
  1240. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/L3.rb +0 -40
  1241. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/L5.rb +0 -33
  1242. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LE.rb +0 -20
  1243. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LFH.rb +0 -29
  1244. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LH1.rb +0 -33
  1245. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LH2.rb +0 -37
  1246. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LH3.rb +0 -25
  1247. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LIN.rb +0 -51
  1248. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LS.rb +0 -20
  1249. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LX.rb +0 -20
  1250. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/M7.rb +0 -24
  1251. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MAN.rb +0 -28
  1252. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MEA.rb +0 -33
  1253. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MS1.rb +0 -36
  1254. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MS2.rb +0 -26
  1255. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MS3.rb +0 -26
  1256. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MSG.rb +0 -20
  1257. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N1.rb +0 -22
  1258. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N2.rb +0 -21
  1259. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N3.rb +0 -21
  1260. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N4.rb +0 -30
  1261. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N7.rb +0 -46
  1262. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N9.rb +0 -29
  1263. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/NTE.rb +0 -21
  1264. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PER.rb +0 -32
  1265. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PID.rb +0 -34
  1266. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PLD.rb +0 -25
  1267. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PO1.rb +0 -60
  1268. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PO4.rb +0 -23
  1269. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/POC.rb +0 -32
  1270. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/REF.rb +0 -22
  1271. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/RMT.rb +0 -36
  1272. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/S5.rb +0 -34
  1273. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SDP.rb +0 -22
  1274. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SE.rb +0 -21
  1275. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SHP.rb +0 -24
  1276. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SN1.rb +0 -28
  1277. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/ST.rb +0 -21
  1278. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/TD1.rb +0 -30
  1279. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/TD3.rb +0 -23
  1280. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/TD5.rb +0 -23
  1281. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/UIT.rb +0 -22
  1282. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W01.rb +0 -44
  1283. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W03.rb +0 -30
  1284. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W04.rb +0 -40
  1285. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W05.rb +0 -29
  1286. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W06.rb +0 -33
  1287. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W07.rb +0 -36
  1288. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W08.rb +0 -32
  1289. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W12.rb +0 -51
  1290. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W14.rb +0 -25
  1291. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W17.rb +0 -31
  1292. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W20.rb +0 -33
  1293. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W27.rb +0 -31
  1294. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W66.rb +0 -31
  1295. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W76.rb +0 -30
  1296. data/lib/stupidedi/versions/functional_groups/003010/segment_reqs.rb +0 -21
  1297. data/lib/stupidedi/versions/functional_groups/003010/syntax_notes.rb +0 -177
  1298. data/lib/stupidedi/versions/functional_groups/003010/transaction_set_defs.rb +0 -14
  1299. data/lib/stupidedi/versions/functional_groups/003040.rb +0 -41
  1300. data/lib/stupidedi/versions/functional_groups/003040/element_defs.rb +0 -10779
  1301. data/lib/stupidedi/versions/functional_groups/003040/element_reqs.rb +0 -21
  1302. data/lib/stupidedi/versions/functional_groups/003040/element_types.rb +0 -130
  1303. data/lib/stupidedi/versions/functional_groups/003040/element_types/date_val.rb +0 -575
  1304. data/lib/stupidedi/versions/functional_groups/003040/element_types/fixnum_val.rb +0 -318
  1305. data/lib/stupidedi/versions/functional_groups/003040/element_types/float_val.rb +0 -350
  1306. data/lib/stupidedi/versions/functional_groups/003040/element_types/identifier_val.rb +0 -359
  1307. data/lib/stupidedi/versions/functional_groups/003040/element_types/operators.rb +0 -134
  1308. data/lib/stupidedi/versions/functional_groups/003040/element_types/string_val.rb +0 -392
  1309. data/lib/stupidedi/versions/functional_groups/003040/element_types/time_val.rb +0 -330
  1310. data/lib/stupidedi/versions/functional_groups/003040/functional_group_def.rb +0 -33
  1311. data/lib/stupidedi/versions/functional_groups/003040/segment_defs.rb +0 -274
  1312. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK1.rb +0 -21
  1313. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK2.rb +0 -22
  1314. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK3.rb +0 -21
  1315. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK9.rb +0 -25
  1316. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AMT.rb +0 -20
  1317. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AT7.rb +0 -32
  1318. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AT8.rb +0 -29
  1319. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B1.rb +0 -23
  1320. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B10.rb +0 -30
  1321. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B2.rb +0 -31
  1322. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B2A.rb +0 -21
  1323. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BEG.rb +0 -31
  1324. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BGN.rb +0 -23
  1325. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BPS.rb +0 -27
  1326. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BSN.rb +0 -27
  1327. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/CTT.rb +0 -29
  1328. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/CUR.rb +0 -59
  1329. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/DTM.rb +0 -31
  1330. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/FOB.rb +0 -24
  1331. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/G61.rb +0 -26
  1332. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/G62.rb +0 -27
  1333. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/G69.rb +0 -21
  1334. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/GE.rb +0 -21
  1335. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/GS.rb +0 -27
  1336. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/HL.rb +0 -23
  1337. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/IT1.rb +0 -23
  1338. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/ITD.rb +0 -31
  1339. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/K1.rb +0 -21
  1340. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/L11.rb +0 -25
  1341. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/L3.rb +0 -40
  1342. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/L5.rb +0 -33
  1343. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LE.rb +0 -20
  1344. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LFH.rb +0 -29
  1345. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LH1.rb +0 -33
  1346. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LH2.rb +0 -37
  1347. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LH3.rb +0 -25
  1348. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LIN.rb +0 -51
  1349. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LS.rb +0 -20
  1350. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LX.rb +0 -20
  1351. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/M7.rb +0 -24
  1352. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MAN.rb +0 -28
  1353. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MEA.rb +0 -33
  1354. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MS1.rb +0 -36
  1355. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MS2.rb +0 -26
  1356. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MS3.rb +0 -26
  1357. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MSG.rb +0 -20
  1358. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N1.rb +0 -28
  1359. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N2.rb +0 -21
  1360. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N3.rb +0 -21
  1361. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N4.rb +0 -30
  1362. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N7.rb +0 -46
  1363. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N9.rb +0 -29
  1364. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/NTE.rb +0 -21
  1365. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PER.rb +0 -32
  1366. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PID.rb +0 -34
  1367. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PLD.rb +0 -25
  1368. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PO1.rb +0 -60
  1369. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PO4.rb +0 -23
  1370. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PRR.rb +0 -24
  1371. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/QTY.rb +0 -21
  1372. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/REF.rb +0 -22
  1373. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/REP.rb +0 -22
  1374. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/RMT.rb +0 -37
  1375. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/S5.rb +0 -34
  1376. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/SE.rb +0 -21
  1377. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/SN1.rb +0 -28
  1378. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/SSS.rb +0 -27
  1379. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/ST.rb +0 -21
  1380. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TD1.rb +0 -30
  1381. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TD3.rb +0 -23
  1382. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TD5.rb +0 -20
  1383. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TDS.rb +0 -19
  1384. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W01.rb +0 -44
  1385. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W03.rb +0 -30
  1386. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W04.rb +0 -40
  1387. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W05.rb +0 -29
  1388. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W06.rb +0 -33
  1389. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W07.rb +0 -36
  1390. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W08.rb +0 -32
  1391. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W12.rb +0 -51
  1392. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W14.rb +0 -25
  1393. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W17.rb +0 -31
  1394. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W20.rb +0 -33
  1395. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W27.rb +0 -31
  1396. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W66.rb +0 -31
  1397. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W76.rb +0 -30
  1398. data/lib/stupidedi/versions/functional_groups/003040/segment_reqs.rb +0 -21
  1399. data/lib/stupidedi/versions/functional_groups/003040/syntax_notes.rb +0 -177
  1400. data/lib/stupidedi/versions/functional_groups/003040/transaction_set_defs.rb +0 -14
  1401. data/lib/stupidedi/versions/functional_groups/003050.rb +0 -41
  1402. data/lib/stupidedi/versions/functional_groups/003050/element_defs.rb +0 -10782
  1403. data/lib/stupidedi/versions/functional_groups/003050/element_reqs.rb +0 -21
  1404. data/lib/stupidedi/versions/functional_groups/003050/element_types.rb +0 -130
  1405. data/lib/stupidedi/versions/functional_groups/003050/element_types/date_val.rb +0 -576
  1406. data/lib/stupidedi/versions/functional_groups/003050/element_types/fixnum_val.rb +0 -319
  1407. data/lib/stupidedi/versions/functional_groups/003050/element_types/float_val.rb +0 -351
  1408. data/lib/stupidedi/versions/functional_groups/003050/element_types/identifier_val.rb +0 -360
  1409. data/lib/stupidedi/versions/functional_groups/003050/element_types/operators.rb +0 -134
  1410. data/lib/stupidedi/versions/functional_groups/003050/element_types/string_val.rb +0 -393
  1411. data/lib/stupidedi/versions/functional_groups/003050/element_types/time_val.rb +0 -330
  1412. data/lib/stupidedi/versions/functional_groups/003050/functional_group_def.rb +0 -33
  1413. data/lib/stupidedi/versions/functional_groups/003050/segment_defs.rb +0 -274
  1414. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK1.rb +0 -21
  1415. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK2.rb +0 -22
  1416. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK3.rb +0 -21
  1417. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK9.rb +0 -25
  1418. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AMT.rb +0 -20
  1419. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AT7.rb +0 -32
  1420. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AT8.rb +0 -29
  1421. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B1.rb +0 -23
  1422. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B10.rb +0 -30
  1423. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B2.rb +0 -31
  1424. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B2A.rb +0 -21
  1425. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BEG.rb +0 -31
  1426. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BGN.rb +0 -23
  1427. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BPS.rb +0 -27
  1428. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BSN.rb +0 -27
  1429. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/CTT.rb +0 -29
  1430. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/CUR.rb +0 -59
  1431. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/DTM.rb +0 -30
  1432. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/FOB.rb +0 -24
  1433. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/G61.rb +0 -26
  1434. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/G62.rb +0 -27
  1435. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/G69.rb +0 -21
  1436. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/GE.rb +0 -21
  1437. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/GS.rb +0 -27
  1438. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/HL.rb +0 -23
  1439. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/IT1.rb +0 -23
  1440. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/ITD.rb +0 -31
  1441. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/K1.rb +0 -21
  1442. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/L11.rb +0 -25
  1443. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/L3.rb +0 -40
  1444. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/L5.rb +0 -33
  1445. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LE.rb +0 -20
  1446. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LFH.rb +0 -29
  1447. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LH1.rb +0 -33
  1448. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LH2.rb +0 -37
  1449. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LH3.rb +0 -25
  1450. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LIN.rb +0 -51
  1451. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LS.rb +0 -20
  1452. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LX.rb +0 -20
  1453. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/M7.rb +0 -24
  1454. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MAN.rb +0 -28
  1455. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MEA.rb +0 -33
  1456. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MS1.rb +0 -36
  1457. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MS2.rb +0 -26
  1458. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MS3.rb +0 -26
  1459. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MSG.rb +0 -20
  1460. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N1.rb +0 -28
  1461. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N2.rb +0 -21
  1462. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N3.rb +0 -21
  1463. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N4.rb +0 -30
  1464. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N7.rb +0 -46
  1465. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N9.rb +0 -29
  1466. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/NTE.rb +0 -21
  1467. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PER.rb +0 -32
  1468. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PID.rb +0 -34
  1469. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PLD.rb +0 -25
  1470. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PO1.rb +0 -60
  1471. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PO4.rb +0 -23
  1472. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PRR.rb +0 -22
  1473. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/QTY.rb +0 -21
  1474. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/REF.rb +0 -22
  1475. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/REP.rb +0 -22
  1476. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/RMT.rb +0 -36
  1477. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/S5.rb +0 -34
  1478. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/SE.rb +0 -21
  1479. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/SN1.rb +0 -28
  1480. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/SSS.rb +0 -25
  1481. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/ST.rb +0 -21
  1482. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TD1.rb +0 -31
  1483. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TD3.rb +0 -24
  1484. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TD5.rb +0 -20
  1485. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TDS.rb +0 -19
  1486. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W01.rb +0 -44
  1487. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W03.rb +0 -30
  1488. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W04.rb +0 -40
  1489. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W05.rb +0 -29
  1490. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W06.rb +0 -33
  1491. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W07.rb +0 -36
  1492. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W08.rb +0 -32
  1493. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W12.rb +0 -51
  1494. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W14.rb +0 -25
  1495. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W17.rb +0 -31
  1496. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W20.rb +0 -33
  1497. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W27.rb +0 -31
  1498. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W66.rb +0 -31
  1499. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W76.rb +0 -30
  1500. data/lib/stupidedi/versions/functional_groups/003050/segment_reqs.rb +0 -21
  1501. data/lib/stupidedi/versions/functional_groups/003050/syntax_notes.rb +0 -177
  1502. data/lib/stupidedi/versions/functional_groups/003050/transaction_set_defs.rb +0 -14
  1503. data/lib/stupidedi/versions/functional_groups/004010.rb +0 -41
  1504. data/lib/stupidedi/versions/functional_groups/004010/element_defs.rb +0 -9627
  1505. data/lib/stupidedi/versions/functional_groups/004010/element_reqs.rb +0 -21
  1506. data/lib/stupidedi/versions/functional_groups/004010/element_types.rb +0 -130
  1507. data/lib/stupidedi/versions/functional_groups/004010/element_types/date_val.rb +0 -577
  1508. data/lib/stupidedi/versions/functional_groups/004010/element_types/fixnum_val.rb +0 -319
  1509. data/lib/stupidedi/versions/functional_groups/004010/element_types/float_val.rb +0 -350
  1510. data/lib/stupidedi/versions/functional_groups/004010/element_types/identifier_val.rb +0 -361
  1511. data/lib/stupidedi/versions/functional_groups/004010/element_types/operators.rb +0 -134
  1512. data/lib/stupidedi/versions/functional_groups/004010/element_types/string_val.rb +0 -393
  1513. data/lib/stupidedi/versions/functional_groups/004010/element_types/time_val.rb +0 -331
  1514. data/lib/stupidedi/versions/functional_groups/004010/functional_group_def.rb +0 -33
  1515. data/lib/stupidedi/versions/functional_groups/004010/segment_defs.rb +0 -349
  1516. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK1.rb +0 -21
  1517. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK2.rb +0 -22
  1518. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK3.rb +0 -23
  1519. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK4.rb +0 -23
  1520. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK5.rb +0 -25
  1521. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK9.rb +0 -29
  1522. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AMT.rb +0 -22
  1523. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AT7.rb +0 -32
  1524. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AT8.rb +0 -29
  1525. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B1.rb +0 -23
  1526. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B10.rb +0 -30
  1527. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B2.rb +0 -31
  1528. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B2A.rb +0 -21
  1529. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B3.rb +0 -31
  1530. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BAK.rb +0 -24
  1531. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BCT.rb +0 -20
  1532. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BEG.rb +0 -31
  1533. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BFR.rb +0 -33
  1534. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BPR.rb +0 -50
  1535. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BSN.rb +0 -24
  1536. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BSS.rb +0 -36
  1537. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/C3.rb +0 -22
  1538. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CAS.rb +0 -57
  1539. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CLP.rb +0 -34
  1540. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CTP.rb +0 -37
  1541. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CTT.rb +0 -29
  1542. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CUR.rb +0 -58
  1543. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/DTM.rb +0 -28
  1544. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/FST.rb +0 -32
  1545. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/G61.rb +0 -26
  1546. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/G62.rb +0 -27
  1547. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/G69.rb +0 -21
  1548. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/GE.rb +0 -21
  1549. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/GS.rb +0 -28
  1550. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/H3.rb +0 -25
  1551. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/HL.rb +0 -23
  1552. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/JIT.rb +0 -21
  1553. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/K1.rb +0 -21
  1554. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L0.rb +0 -34
  1555. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L1.rb +0 -42
  1556. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L11.rb +0 -25
  1557. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L3.rb +0 -40
  1558. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L4.rb +0 -25
  1559. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L5.rb +0 -33
  1560. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L7.rb +0 -35
  1561. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LAD.rb +0 -39
  1562. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LFH.rb +0 -29
  1563. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LH1.rb +0 -33
  1564. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LH2.rb +0 -37
  1565. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LH3.rb +0 -25
  1566. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LIN.rb +0 -54
  1567. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LQ.rb +0 -22
  1568. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LX.rb +0 -20
  1569. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/M7.rb +0 -24
  1570. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MAN.rb +0 -28
  1571. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MEA.rb +0 -40
  1572. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MIA.rb +0 -46
  1573. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MOA.rb +0 -29
  1574. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MS1.rb +0 -36
  1575. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MS2.rb +0 -26
  1576. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MS3.rb +0 -26
  1577. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N1.rb +0 -28
  1578. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N2.rb +0 -21
  1579. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N3.rb +0 -21
  1580. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N4.rb +0 -26
  1581. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N7.rb +0 -46
  1582. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N9.rb +0 -29
  1583. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/NM1.rb +0 -33
  1584. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/NTE.rb +0 -21
  1585. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/OID.rb +0 -33
  1586. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PER.rb +0 -32
  1587. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PID.rb +0 -34
  1588. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PLB.rb +0 -41
  1589. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PLD.rb +0 -25
  1590. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PO1.rb +0 -60
  1591. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PO4.rb +0 -24
  1592. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PRF.rb +0 -20
  1593. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/QTY.rb +0 -25
  1594. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/R3.rb +0 -28
  1595. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/REF.rb +0 -25
  1596. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/S5.rb +0 -34
  1597. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SCH.rb +0 -29
  1598. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SDP.rb +0 -21
  1599. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SE.rb +0 -21
  1600. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SHP.rb +0 -23
  1601. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SN1.rb +0 -29
  1602. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/ST.rb +0 -21
  1603. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SVC.rb +0 -27
  1604. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD1.rb +0 -24
  1605. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD3.rb +0 -27
  1606. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD4.rb +0 -26
  1607. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD5.rb +0 -23
  1608. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TRN.rb +0 -23
  1609. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TS2.rb +0 -41
  1610. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TS3.rb +0 -46
  1611. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/UIT.rb +0 -21
  1612. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W01.rb +0 -44
  1613. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W03.rb +0 -30
  1614. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W04.rb +0 -40
  1615. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W05.rb +0 -29
  1616. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W06.rb +0 -33
  1617. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W07.rb +0 -36
  1618. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W08.rb +0 -32
  1619. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W12.rb +0 -51
  1620. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W14.rb +0 -25
  1621. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W17.rb +0 -31
  1622. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W20.rb +0 -33
  1623. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W27.rb +0 -31
  1624. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W66.rb +0 -31
  1625. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W76.rb +0 -30
  1626. data/lib/stupidedi/versions/functional_groups/004010/segment_reqs.rb +0 -21
  1627. data/lib/stupidedi/versions/functional_groups/004010/syntax_notes.rb +0 -177
  1628. data/lib/stupidedi/versions/functional_groups/004010/transaction_set_defs.rb +0 -16
  1629. data/lib/stupidedi/versions/functional_groups/004010/transaction_set_defs/HP835.rb +0 -81
  1630. data/lib/stupidedi/versions/functional_groups/005010.rb +0 -41
  1631. data/lib/stupidedi/versions/functional_groups/005010/element_defs.rb +0 -2478
  1632. data/lib/stupidedi/versions/functional_groups/005010/element_reqs.rb +0 -21
  1633. data/lib/stupidedi/versions/functional_groups/005010/element_types.rb +0 -135
  1634. data/lib/stupidedi/versions/functional_groups/005010/element_types/date_val.rb +0 -575
  1635. data/lib/stupidedi/versions/functional_groups/005010/element_types/fixnum_val.rb +0 -318
  1636. data/lib/stupidedi/versions/functional_groups/005010/element_types/float_val.rb +0 -351
  1637. data/lib/stupidedi/versions/functional_groups/005010/element_types/identifier_val.rb +0 -361
  1638. data/lib/stupidedi/versions/functional_groups/005010/element_types/operators.rb +0 -134
  1639. data/lib/stupidedi/versions/functional_groups/005010/element_types/string_val.rb +0 -393
  1640. data/lib/stupidedi/versions/functional_groups/005010/element_types/time_val.rb +0 -330
  1641. data/lib/stupidedi/versions/functional_groups/005010/functional_group_def.rb +0 -33
  1642. data/lib/stupidedi/versions/functional_groups/005010/segment_defs.rb +0 -287
  1643. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AAA.rb +0 -22
  1644. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/ACT.rb +0 -33
  1645. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AK1.rb +0 -22
  1646. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AK2.rb +0 -22
  1647. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AK9.rb +0 -29
  1648. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AMT.rb +0 -22
  1649. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/BGN.rb +0 -31
  1650. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/BHT.rb +0 -25
  1651. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/BPR.rb +0 -50
  1652. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CAS.rb +0 -57
  1653. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CL1.rb +0 -23
  1654. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CLM.rb +0 -42
  1655. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CLP.rb +0 -35
  1656. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CN1.rb +0 -25
  1657. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/COB.rb +0 -24
  1658. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CR1.rb +0 -33
  1659. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CR2.rb +0 -36
  1660. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CR3.rb +0 -26
  1661. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CRC.rb +0 -27
  1662. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CTP.rb +0 -37
  1663. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CTX.rb +0 -25
  1664. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CUR.rb +0 -59
  1665. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DMG.rb +0 -35
  1666. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DN1.rb +0 -23
  1667. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DN2.rb +0 -25
  1668. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DSB.rb +0 -30
  1669. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DTM.rb +0 -25
  1670. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DTP.rb +0 -22
  1671. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/EB.rb +0 -34
  1672. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/EC.rb +0 -26
  1673. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/EQ.rb +0 -25
  1674. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/FRM.rb +0 -26
  1675. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/GE.rb +0 -21
  1676. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/GS.rb +0 -28
  1677. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HCP.rb +0 -40
  1678. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HD.rb +0 -31
  1679. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HI.rb +0 -32
  1680. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HL.rb +0 -23
  1681. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HLH.rb +0 -27
  1682. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HSD.rb +0 -29
  1683. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/ICM.rb +0 -26
  1684. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IDC.rb +0 -24
  1685. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/III.rb +0 -31
  1686. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IK3.rb +0 -23
  1687. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IK4.rb +0 -23
  1688. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IK5.rb +0 -25
  1689. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/INS.rb +0 -39
  1690. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/K3.rb +0 -22
  1691. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LE.rb +0 -20
  1692. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LIN.rb +0 -70
  1693. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LQ.rb +0 -23
  1694. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LS.rb +0 -20
  1695. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LUI.rb +0 -28
  1696. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LX.rb +0 -20
  1697. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MEA.rb +0 -40
  1698. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MIA.rb +0 -46
  1699. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MOA.rb +0 -29
  1700. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MPI.rb +0 -27
  1701. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MSG.rb +0 -23
  1702. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N1.rb +0 -28
  1703. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N2.rb +0 -21
  1704. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N3.rb +0 -21
  1705. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N4.rb +0 -30
  1706. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/NM1.rb +0 -36
  1707. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/NTE.rb +0 -21
  1708. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/OI.rb +0 -25
  1709. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PAT.rb +0 -32
  1710. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PER.rb +0 -33
  1711. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PLA.rb +0 -25
  1712. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PLB.rb +0 -41
  1713. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PRV.rb +0 -27
  1714. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PS1.rb +0 -22
  1715. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PWK.rb +0 -31
  1716. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/QTY.rb +0 -26
  1717. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/RDM.rb +0 -24
  1718. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/REF.rb +0 -25
  1719. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SBR.rb +0 -29
  1720. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SE.rb +0 -21
  1721. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/ST.rb +0 -22
  1722. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/STC.rb +0 -31
  1723. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV1.rb +0 -45
  1724. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV2.rb +0 -30
  1725. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV3.rb +0 -31
  1726. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV5.rb +0 -30
  1727. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SVC.rb +0 -27
  1728. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SVD.rb +0 -25
  1729. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TOO.rb +0 -22
  1730. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TRN.rb +0 -23
  1731. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TS2.rb +0 -41
  1732. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TS3.rb +0 -46
  1733. data/lib/stupidedi/versions/functional_groups/005010/segment_reqs.rb +0 -21
  1734. data/lib/stupidedi/versions/functional_groups/005010/syntax_notes.rb +0 -168
  1735. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs.rb +0 -71
  1736. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/BE834.rb +0 -163
  1737. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/FA999.rb +0 -41
  1738. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HB271.rb +0 -89
  1739. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HC837.rb +0 -167
  1740. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HI278.rb +0 -70
  1741. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HN277.rb +0 -77
  1742. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HP835.rb +0 -71
  1743. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HR276.rb +0 -60
  1744. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HS270.rb +0 -57
  1745. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/RA820.rb +0 -245
  1746. data/lib/stupidedi/versions/interchanges/00200.rb +0 -26
  1747. data/lib/stupidedi/versions/interchanges/00200/element_defs.rb +0 -277
  1748. data/lib/stupidedi/versions/interchanges/00200/interchange_def.rb +0 -71
  1749. data/lib/stupidedi/versions/interchanges/00200/segment_defs.rb +0 -31
  1750. data/lib/stupidedi/versions/interchanges/00200/segment_defs/IEA.rb +0 -21
  1751. data/lib/stupidedi/versions/interchanges/00200/segment_defs/ISA.rb +0 -35
  1752. data/lib/stupidedi/versions/interchanges/00200/segment_defs/TA1.rb +0 -24
  1753. data/lib/stupidedi/versions/interchanges/00300.rb +0 -26
  1754. data/lib/stupidedi/versions/interchanges/00300/element_defs.rb +0 -278
  1755. data/lib/stupidedi/versions/interchanges/00300/interchange_def.rb +0 -71
  1756. data/lib/stupidedi/versions/interchanges/00300/segment_defs.rb +0 -31
  1757. data/lib/stupidedi/versions/interchanges/00300/segment_defs/IEA.rb +0 -21
  1758. data/lib/stupidedi/versions/interchanges/00300/segment_defs/ISA.rb +0 -35
  1759. data/lib/stupidedi/versions/interchanges/00300/segment_defs/TA1.rb +0 -24
  1760. data/lib/stupidedi/versions/interchanges/00400.rb +0 -26
  1761. data/lib/stupidedi/versions/interchanges/00400/element_defs.rb +0 -270
  1762. data/lib/stupidedi/versions/interchanges/00400/interchange_def.rb +0 -71
  1763. data/lib/stupidedi/versions/interchanges/00400/segment_defs.rb +0 -31
  1764. data/lib/stupidedi/versions/interchanges/00400/segment_defs/IEA.rb +0 -21
  1765. data/lib/stupidedi/versions/interchanges/00400/segment_defs/ISA.rb +0 -35
  1766. data/lib/stupidedi/versions/interchanges/00400/segment_defs/TA1.rb +0 -24
  1767. data/lib/stupidedi/versions/interchanges/00401.rb +0 -26
  1768. data/lib/stupidedi/versions/interchanges/00401/element_defs.rb +0 -271
  1769. data/lib/stupidedi/versions/interchanges/00401/interchange_def.rb +0 -71
  1770. data/lib/stupidedi/versions/interchanges/00401/segment_defs.rb +0 -31
  1771. data/lib/stupidedi/versions/interchanges/00401/segment_defs/IEA.rb +0 -21
  1772. data/lib/stupidedi/versions/interchanges/00401/segment_defs/ISA.rb +0 -35
  1773. data/lib/stupidedi/versions/interchanges/00401/segment_defs/TA1.rb +0 -24
  1774. data/lib/stupidedi/versions/interchanges/00501.rb +0 -26
  1775. data/lib/stupidedi/versions/interchanges/00501/element_defs.rb +0 -272
  1776. data/lib/stupidedi/versions/interchanges/00501/interchange_def.rb +0 -73
  1777. data/lib/stupidedi/versions/interchanges/00501/segment_defs.rb +0 -40
  1778. data/lib/stupidedi/versions/interchanges/00501/segment_defs/IEA.rb +0 -21
  1779. data/lib/stupidedi/versions/interchanges/00501/segment_defs/ISA.rb +0 -35
  1780. data/lib/stupidedi/versions/interchanges/00501/segment_defs/ISB.rb +0 -19
  1781. data/lib/stupidedi/versions/interchanges/00501/segment_defs/ISE.rb +0 -19
  1782. data/lib/stupidedi/versions/interchanges/00501/segment_defs/TA1.rb +0 -24
  1783. data/lib/stupidedi/versions/interchanges/00501/segment_defs/TA3.rb +0 -19
  1784. data/spec/examples/integration/generating_spec.rb +0 -560
  1785. data/spec/examples/integration/navigating_spec.rb +0 -214
  1786. data/spec/examples/integration/parsing/005010/X091A1-HP835_spec.rb +0 -94
  1787. data/spec/examples/integration/parsing/005010/X212-HR276_spec.rb +0 -152
  1788. data/spec/examples/integration/parsing/005010/X221-HP835_spec.rb +0 -386
  1789. data/spec/examples/integration/parsing/005010/X222-HC837_spec.rb +0 -257
  1790. data/spec/examples/ruby/array_spec.rb +0 -477
  1791. data/spec/examples/ruby/blank_spec.rb +0 -63
  1792. data/spec/examples/ruby/count_spec.rb +0 -69
  1793. data/spec/examples/ruby/object_spec.rb +0 -99
  1794. data/spec/examples/ruby/string_spec.rb +0 -112
  1795. data/spec/examples/ruby/symbol_spec.rb +0 -99
  1796. data/spec/examples/ruby/to_d_spec.rb +0 -91
  1797. data/spec/examples/ruby/try_spec.rb +0 -51
  1798. data/spec/examples/stupidedi/either_spec.rb +0 -375
  1799. data/spec/examples/stupidedi/reader/failure_spec.rb +0 -68
  1800. data/spec/examples/stupidedi/reader/input/delegated_input_spec.rb +0 -293
  1801. data/spec/examples/stupidedi/reader/separators_spec.rb +0 -73
  1802. data/spec/examples/stupidedi/reader/stream_reader_spec.rb +0 -48
  1803. data/spec/examples/stupidedi/reader/success_spec.rb +0 -34
  1804. data/spec/examples/stupidedi/reader/token_reader_spec.rb +0 -776
  1805. data/spec/examples/stupidedi/reader_spec.rb +0 -168
  1806. data/spec/examples/stupidedi/versions/005010/element_types/an_spec.rb +0 -202
  1807. data/spec/examples/stupidedi/versions/005010/element_types/dt_spec.rb +0 -258
  1808. data/spec/examples/stupidedi/versions/005010/element_types/id_spec.rb +0 -192
  1809. data/spec/examples/stupidedi/versions/005010/element_types/nn_spec.rb +0 -179
  1810. data/spec/examples/stupidedi/versions/005010/element_types/r_spec.rb +0 -180
  1811. data/spec/examples/stupidedi/versions/005010/element_types/tm_spec.rb +0 -2
  1812. data/spec/examples/stupidedi/zipper/abstract_cursor_spec.rb +0 -417
  1813. data/spec/examples/stupidedi/zipper_spec.rb +0 -9
  1814. data/spec/fixtures/FA997/1-good.txt +0 -10
  1815. data/spec/fixtures/PC860/1-good.txt +0 -21
  1816. data/spec/fixtures/PO830/1-good.txt +0 -29
  1817. data/spec/fixtures/PO850/1-good-v3010.txt +0 -31
  1818. data/spec/fixtures/PO850/1-good-v3050.txt +0 -16
  1819. data/spec/fixtures/PR855/1-good-v4010.txt +0 -11
  1820. data/spec/fixtures/PR855/2-good-v4010.txt +0 -17
  1821. data/spec/fixtures/PS830/1-good.txt +0 -29
  1822. data/spec/fixtures/RA820/1-good.txt +0 -52
  1823. data/spec/fixtures/SC832/1-good.txt +0 -22
  1824. data/spec/fixtures/SC832/2-good.txt +0 -1067
  1825. data/spec/fixtures/SH856/1-good.txt +0 -70
  1826. data/spec/fixtures/SH856/2-good.txt +0 -31
  1827. data/spec/fixtures/SQ866/1-good.txt +0 -29
  1828. data/spec/fixtures/SS862/1-good.txt +0 -33
  1829. data/spec/fixtures/WA142/1-good.txt +0 -307
  1830. data/spec/fixtures/X091A1-HP835/1-good.txt +0 -1
  1831. data/spec/fixtures/X186-AG824/1-bad.txt +0 -21
  1832. data/spec/fixtures/X186-AG824/1-good.txt +0 -17
  1833. data/spec/fixtures/X186-AG824/2-bad.txt +0 -26
  1834. data/spec/fixtures/X186-AG824/2-good.txt +0 -21
  1835. data/spec/fixtures/X186-AG824/3-bad.txt +0 -87
  1836. data/spec/fixtures/X186-AG824/3-good.txt +0 -61
  1837. data/spec/fixtures/X212-HN277/1-bad.txt +0 -54
  1838. data/spec/fixtures/X212-HN277/1-good.txt +0 -46
  1839. data/spec/fixtures/X212-HN277/2-bad.txt +0 -37
  1840. data/spec/fixtures/X212-HN277/2-good.txt +0 -29
  1841. data/spec/fixtures/X212-HN277/3-bad.txt +0 -22
  1842. data/spec/fixtures/X212-HN277/3-good.txt +0 -17
  1843. data/spec/fixtures/X212-HN277/4-bad.txt +0 -30
  1844. data/spec/fixtures/X212-HN277/4-good.txt +0 -24
  1845. data/spec/fixtures/X212-HR276/1-bad.txt +0 -53
  1846. data/spec/fixtures/X212-HR276/1-good.txt +0 -46
  1847. data/spec/fixtures/X212-HR276/2-bad.txt +0 -45
  1848. data/spec/fixtures/X212-HR276/2-good.txt +0 -38
  1849. data/spec/fixtures/X212-HR276/3-bad.txt +0 -32
  1850. data/spec/fixtures/X212-HR276/3-good.txt +0 -26
  1851. data/spec/fixtures/X212-HR276/4-bad.txt +0 -32
  1852. data/spec/fixtures/X212-HR276/4-good.txt +0 -26
  1853. data/spec/fixtures/X214-HN277/1-bad.txt +0 -58
  1854. data/spec/fixtures/X214-HN277/1-good.txt +0 -47
  1855. data/spec/fixtures/X214-HN277/2-bad.txt +0 -34
  1856. data/spec/fixtures/X214-HN277/2-good.txt +0 -22
  1857. data/spec/fixtures/X214-HN277/3-bad.txt +0 -64
  1858. data/spec/fixtures/X214-HN277/3-good.txt +0 -54
  1859. data/spec/fixtures/X214-HN277/4-bad.txt +0 -77
  1860. data/spec/fixtures/X214-HN277/4-good.txt +0 -63
  1861. data/spec/fixtures/X216-HI278/1-bad.txt +0 -42
  1862. data/spec/fixtures/X216-HI278/1-good.txt +0 -27
  1863. data/spec/fixtures/X216-HI278/2-bad.txt +0 -43
  1864. data/spec/fixtures/X216-HI278/2-good.txt +0 -29
  1865. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-1.txt +0 -24
  1866. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-1_Clean.txt +0 -20
  1867. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-2.txt +0 -46
  1868. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-2_Clean.txt +0 -30
  1869. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-3.txt +0 -38
  1870. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-3_Clean.txt +0 -24
  1871. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4a.txt +0 -39
  1872. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4a_Clean.txt +0 -24
  1873. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4b.txt +0 -43
  1874. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4b_Clean.txt +0 -25
  1875. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-5.txt +0 -63
  1876. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-5_Clean.txt +0 -41
  1877. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-6.txt +0 -36
  1878. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-6_Clean.txt +0 -20
  1879. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-1r.txt +0 -34
  1880. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-1r_Clean.txt +0 -23
  1881. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-2r.txt +0 -46
  1882. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-2r_Clean.txt +0 -31
  1883. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-3r.txt +0 -44
  1884. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-3r_Clean.txt +0 -26
  1885. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-4ar_Clean.txt +0 -28
  1886. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-4br_Clean.txt +0 -35
  1887. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-5r.txt +0 -60
  1888. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-5r_Clean.txt +0 -42
  1889. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-6r.txt +0 -40
  1890. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-6r_Clean.txt +0 -24
  1891. data/spec/fixtures/X218-RA820/1-bad.txt +0 -31
  1892. data/spec/fixtures/X218-RA820/1-good.txt +0 -25
  1893. data/spec/fixtures/X218-RA820/2-bad.txt +0 -37
  1894. data/spec/fixtures/X218-RA820/2-good.txt +0 -29
  1895. data/spec/fixtures/X218-RA820/3-bad.txt +0 -29
  1896. data/spec/fixtures/X218-RA820/3-good.txt +0 -23
  1897. data/spec/fixtures/X218-RA820/4-bad.txt +0 -36
  1898. data/spec/fixtures/X218-RA820/4-good.txt +0 -27
  1899. data/spec/fixtures/X220-BE834/1-bad.txt +0 -35
  1900. data/spec/fixtures/X220-BE834/1-good.txt +0 -29
  1901. data/spec/fixtures/X220-BE834/10-bad.txt +0 -26
  1902. data/spec/fixtures/X220-BE834/10-good.txt +0 -19
  1903. data/spec/fixtures/X220-BE834/2-bad.txt +0 -31
  1904. data/spec/fixtures/X220-BE834/2-good.txt +0 -23
  1905. data/spec/fixtures/X220-BE834/3-bad.txt +0 -36
  1906. data/spec/fixtures/X220-BE834/3-good.txt +0 -26
  1907. data/spec/fixtures/X220-BE834/4-bad.txt +0 -27
  1908. data/spec/fixtures/X220-BE834/4-good.txt +0 -21
  1909. data/spec/fixtures/X220-BE834/5-bad.txt +0 -26
  1910. data/spec/fixtures/X220-BE834/5-good.txt +0 -17
  1911. data/spec/fixtures/X220-BE834/6-bad.txt +0 -25
  1912. data/spec/fixtures/X220-BE834/6-good.txt +0 -20
  1913. data/spec/fixtures/X220-BE834/7-bad.txt +0 -25
  1914. data/spec/fixtures/X220-BE834/7-good.txt +0 -20
  1915. data/spec/fixtures/X220-BE834/8-bad.txt +0 -25
  1916. data/spec/fixtures/X220-BE834/8-good.txt +0 -20
  1917. data/spec/fixtures/X220-BE834/9-bad.txt +0 -27
  1918. data/spec/fixtures/X220-BE834/9-good.txt +0 -21
  1919. data/spec/fixtures/X221-HP835/1-bad.txt +0 -58
  1920. data/spec/fixtures/X221-HP835/1-good.txt +0 -40
  1921. data/spec/fixtures/X221-HP835/2-bad.txt +0 -51
  1922. data/spec/fixtures/X221-HP835/2-good.txt +0 -40
  1923. data/spec/fixtures/X221-HP835/3a-bad.txt +0 -78
  1924. data/spec/fixtures/X221-HP835/3a-good.txt +0 -49
  1925. data/spec/fixtures/X221-HP835/3b-bad.txt +0 -60
  1926. data/spec/fixtures/X221-HP835/3b-good.txt +0 -32
  1927. data/spec/fixtures/X221-HP835/3c-bad.txt +0 -55
  1928. data/spec/fixtures/X221-HP835/3c-good.txt +0 -34
  1929. data/spec/fixtures/X222-HC837/1-bad.txt +0 -60
  1930. data/spec/fixtures/X222-HC837/1-good.txt +0 -53
  1931. data/spec/fixtures/X222-HC837/10a-bad.txt +0 -52
  1932. data/spec/fixtures/X222-HC837/10a-good.txt +0 -40
  1933. data/spec/fixtures/X222-HC837/10b-bad.txt +0 -99
  1934. data/spec/fixtures/X222-HC837/10b-good.txt +0 -80
  1935. data/spec/fixtures/X222-HC837/10c-bad.txt +0 -105
  1936. data/spec/fixtures/X222-HC837/10c-good.txt +0 -80
  1937. data/spec/fixtures/X222-HC837/11-bad.txt +0 -69
  1938. data/spec/fixtures/X222-HC837/11-good.txt +0 -45
  1939. data/spec/fixtures/X222-HC837/12-bad.txt +0 -73
  1940. data/spec/fixtures/X222-HC837/12-good.txt +0 -51
  1941. data/spec/fixtures/X222-HC837/13-bad.txt +0 -64
  1942. data/spec/fixtures/X222-HC837/13-good.txt +0 -46
  1943. data/spec/fixtures/X222-HC837/3a-bad.txt +0 -83
  1944. data/spec/fixtures/X222-HC837/3a-good.txt +0 -59
  1945. data/spec/fixtures/X222-HC837/3b-bad.txt +0 -97
  1946. data/spec/fixtures/X222-HC837/3b-good.txt +0 -70
  1947. data/spec/fixtures/X222-HC837/3c-bad.txt +0 -95
  1948. data/spec/fixtures/X222-HC837/3c-good.txt +0 -74
  1949. data/spec/fixtures/X222-HC837/4-bad.txt +0 -67
  1950. data/spec/fixtures/X222-HC837/4-good.txt +0 -48
  1951. data/spec/fixtures/X222-HC837/5-bad.txt +0 -73
  1952. data/spec/fixtures/X222-HC837/5-good.txt +0 -60
  1953. data/spec/fixtures/X222-HC837/6-bad.txt +0 -50
  1954. data/spec/fixtures/X222-HC837/6-good.txt +0 -39
  1955. data/spec/fixtures/X222-HC837/7-bad.txt +0 -93
  1956. data/spec/fixtures/X222-HC837/7-good.txt +0 -78
  1957. data/spec/fixtures/X222-HC837/8-bad.txt +0 -64
  1958. data/spec/fixtures/X222-HC837/8-good.txt +0 -52
  1959. data/spec/fixtures/X222-HC837/9-bad.txt +0 -56
  1960. data/spec/fixtures/X222-HC837/9-good.txt +0 -38
  1961. data/spec/fixtures/X223-HC837/1-bad.txt +0 -66
  1962. data/spec/fixtures/X223-HC837/1-good.txt +0 -53
  1963. data/spec/fixtures/X223-HC837/2-bad.txt +0 -69
  1964. data/spec/fixtures/X223-HC837/2-good.txt +0 -60
  1965. data/spec/fixtures/X223-HC837/3-bad.txt +0 -89
  1966. data/spec/fixtures/X223-HC837/3-good.txt +0 -61
  1967. data/spec/fixtures/X223-HC837/4-bad.txt +0 -60
  1968. data/spec/fixtures/X223-HC837/4-good.txt +0 -40
  1969. data/spec/fixtures/X223-HC837/5-bad.txt +0 -75
  1970. data/spec/fixtures/X223-HC837/5-good.txt +0 -58
  1971. data/spec/fixtures/X224-HC837/1-bad.txt +0 -54
  1972. data/spec/fixtures/X224-HC837/1-good.txt +0 -44
  1973. data/spec/fixtures/X224-HC837/2a-bad.txt +0 -52
  1974. data/spec/fixtures/X224-HC837/2a-good.txt +0 -42
  1975. data/spec/fixtures/X224-HC837/2b-bad.txt +0 -67
  1976. data/spec/fixtures/X224-HC837/2b-good.txt +0 -52
  1977. data/spec/fixtures/X224-HC837/3-bad.txt +0 -67
  1978. data/spec/fixtures/X224-HC837/3-good.txt +0 -51
  1979. data/spec/fixtures/X224-HC837/4-bad.txt +0 -49
  1980. data/spec/fixtures/X224-HC837/4-good.txt +0 -40
  1981. data/spec/fixtures/X230-FA997/1-bad.txt +0 -19
  1982. data/spec/fixtures/X230-FA997/1-good.txt +0 -16
  1983. data/spec/fixtures/X231-FA999/1-bad.txt +0 -20
  1984. data/spec/fixtures/X231-FA999/1-good.txt +0 -20
  1985. data/spec/fixtures/X279-HB271/1-bad.txt +0 -36
  1986. data/spec/fixtures/X279-HB271/1-good.txt +0 -30
  1987. data/spec/fixtures/X279-HB271/2-bad.txt +0 -22
  1988. data/spec/fixtures/X279-HB271/2-good.txt +0 -16
  1989. data/spec/fixtures/X279-HB271/3-bad.txt +0 -44
  1990. data/spec/fixtures/X279-HB271/3-good.txt +0 -36
  1991. data/spec/fixtures/X279-HS270/1-bad.txt +0 -29
  1992. data/spec/fixtures/X279-HS270/1-good.txt +0 -23
  1993. data/spec/fixtures/X279-HS270/2-bad.txt +0 -32
  1994. data/spec/fixtures/X279-HS270/2-good.txt +0 -25
  1995. data/spec/spec_helper.rb +0 -47
  1996. data/spec/support/fixtures.rb +0 -26
  1997. data/spec/support/matchers/either_matchers.rb +0 -53
  1998. data/spec/support/matchers/navigation_matchers.rb +0 -247
  1999. data/spec/support/node.rb +0 -41
  2000. data/spec/support/quickcheck.rb +0 -303
  2001. data/spec/support/quickcheck/characters.rb +0 -33
  2002. data/spec/support/quickcheck/property.rb +0 -105
  2003. data/spec/support/quickcheck/serialized_edi.rb +0 -400
  2004. data/spec/support/rcov.rb +0 -36
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module TransactionSets
4
+ module FortyTen
5
+ module Standards
6
+ b = Builder
7
+ d = Schema
8
+ r = SegmentReqs
9
+ s = SegmentDefs
10
+
11
+ RE944 = b.build("RE", "944", "Warehouse Stock Transfer Receipt Advice",
12
+ d::TableDef.header("1 - Header",
13
+ s:: ST.use( 10, r::Mandatory, d::RepeatCount.bounded(1)),
14
+ s::W17.use(20, r::Mandatory, d::RepeatCount.bounded(1)),
15
+
16
+ d::LoopDef.build("N1", d::RepeatCount.bounded(10),
17
+ s:: N1.use( 40, r::Mandatory, d::RepeatCount.bounded(1))),
18
+
19
+ s::G62.use(140, r::Optional , d::RepeatCount.bounded(2))),
20
+
21
+ d::TableDef.detail("2 - Detail",
22
+ d::LoopDef.build("W07", d::RepeatCount.bounded(9999),
23
+ s::W07.use(20, r::Mandatory, d::RepeatCount.bounded(1)),
24
+ s::G69.use(30, r::Optional, d::RepeatCount.bounded(5)),
25
+ s:: N9.use(40, r::Mandatory, d::RepeatCount.bounded(200)))),
26
+
27
+ d::TableDef.summary("3 - Summary",
28
+ s::W14.use(10, r::Mandatory, d::RepeatCount.bounded(1)),
29
+ s:: SE.use(20, r::Mandatory, d::RepeatCount.bounded(1))))
30
+
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module TransactionSets
4
+ module FortyTen
5
+ module Standards
6
+ b = Builder
7
+ d = Schema
8
+ r = SegmentReqs
9
+ s = SegmentDefs
10
+
11
+ SC832 = b.build("SC", "832", "Price/Sales Catalog",
12
+ d::TableDef.header("1 - Header",
13
+ s:: ST.use( 100, r::Mandatory, d::RepeatCount.bounded(1)),
14
+ s::BCT.use( 200, r::Mandatory, d::RepeatCount.bounded(1)),
15
+ s::REF.use( 500, r::Optional, d::RepeatCount.unbounded),
16
+ s::DTM.use( 700, r::Optional, d::RepeatCount.bounded(10)),
17
+ d::LoopDef.build("N1", d::RepeatCount.bounded(1),
18
+ s::N1.use(1500, r::Optional, d::RepeatCount.bounded(1)))),
19
+
20
+ d::TableDef.detail("2 - Products",
21
+ d::LoopDef.build("LIN", d::RepeatCount.bounded(200000),
22
+ s::LIN.use( 100, r::Optional, d::RepeatCount.bounded(1)),
23
+ s::DTM.use( 300, r::Optional, d::RepeatCount.bounded(10)),
24
+ s::REF.use( 400, r::Optional, d::RepeatCount.unbounded),
25
+ s::PID.use( 700, r::Optional, d::RepeatCount.bounded(200)),
26
+ s::PO4.use(1000, r::Mandatory, d::RepeatCount.bounded(1)),
27
+ d::LoopDef.build("CTP", d::RepeatCount.bounded(100),
28
+ s::CTP.use(1700, r::Optional, d::RepeatCount.bounded(1))))),
29
+
30
+ d::TableDef.summary("3 - Summary",
31
+ s::CTT.use(100, r::Optional, d::RepeatCount.bounded(1)),
32
+ s:: SE.use(200, r::Mandatory, d::RepeatCount.bounded(1))))
33
+
34
+ end
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module TransactionSets
4
+ module FortyTen
5
+ module Standards
6
+ b = Builder
7
+ d = Schema
8
+ r = SegmentReqs
9
+ s = SegmentDefs
10
+
11
+ SH856 = b.build("SH", "856", "Ship Notice/Manifest",
12
+ d::TableDef.header("1 - Header",
13
+ s:: ST.use( 10, r::Mandatory, d::RepeatCount.bounded(1)),
14
+ s::BSN.use( 20, r::Mandatory, d::RepeatCount.bounded(1)),
15
+ s::DTM.use( 40, r::Optional, d::RepeatCount.bounded(10))),
16
+
17
+ d::TableDef.detail("2 - Detail",
18
+ d::LoopDef.build("HL", d::RepeatCount.bounded(200000),
19
+ s:: HL.use( 10, r::Mandatory, d::RepeatCount.bounded(1)),
20
+ s::MEA.use( 80, r::Optional, d::RepeatCount.bounded(40)),
21
+ s::TD1.use(110, r::Optional, d::RepeatCount.bounded(20)),
22
+ s::TD5.use(120, r::Optional, d::RepeatCount.bounded(12)),
23
+ s::TD3.use(130, r::Optional, d::RepeatCount.bounded(12)),
24
+ s::TD4.use(140, r::Optional, d::RepeatCount.bounded(5)),
25
+ s::REF.use(150, r::Optional, d::RepeatCount.unbounded),),
26
+
27
+ d::LoopDef.build("N1", d::RepeatCount.bounded(200),
28
+ s:: N1.use( 310, r::Optional, d::RepeatCount.bounded(1)),
29
+ s:: N3.use( 330, r::Optional, d::RepeatCount.bounded(2)),
30
+ s:: N4.use( 340, r::Optional, d::RepeatCount.unbounded),
31
+ s::REF.use( 350, r::Optional, d::RepeatCount.bounded(12)))),
32
+
33
+ d::TableDef.summary("4 - Summary",
34
+ s::CTT.use(100, r::Optional, d::RepeatCount.bounded(1)),
35
+ s:: SE.use(200, r::Mandatory, d::RepeatCount.bounded(1))))
36
+
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,85 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module TransactionSets
4
+ module FortyTen
5
+ module Standards
6
+ b = Builder
7
+ d = Schema
8
+ r = SegmentReqs
9
+ s = SegmentDefs
10
+
11
+ SM204 = b.build("SM", "204", "Motor Carrier Load Tender",
12
+ d::TableDef.header("1 - Header",
13
+ s:: ST.use( 10, r::Mandatory, d::RepeatCount.bounded(1)),
14
+ s:: B2.use( 20, r::Mandatory, d::RepeatCount.bounded(1)),
15
+ s::B2A.use( 30, r::Mandatory, d::RepeatCount.bounded(1)),
16
+ s::L11.use( 80, r::Optional, d::RepeatCount.bounded(100)),
17
+ s::G62.use( 90, r::Optional, d::RepeatCount.bounded(1)),
18
+ s::MS3.use(100, r::Mandatory, d::RepeatCount.bounded(1)),
19
+ s::PLD.use(120, r::Optional, d::RepeatCount.bounded(1)),
20
+ s::NTE.use(130, r::Optional, d::RepeatCount.bounded(10)),
21
+
22
+ d::LoopDef.build("0100", d::RepeatCount.bounded(5),
23
+ s:: N1.use(140, r::Optional, d::RepeatCount.bounded(1)),
24
+ s:: N3.use(160, r::Optional, d::RepeatCount.bounded(2)),
25
+ s:: N4.use(170, r::Optional, d::RepeatCount.bounded(1)),
26
+ s::G61.use(190, r::Optional, d::RepeatCount.bounded(3))),
27
+
28
+ d::LoopDef.build("0200", d::RepeatCount.bounded(10),
29
+ s:: N7.use(200, r::Mandatory, d::RepeatCount.bounded(1)),
30
+ s::MEA.use(208, r::Optional, d::RepeatCount.bounded(1)),
31
+ s:: M7.use(210, r::Optional, d::RepeatCount.bounded(2)))),
32
+
33
+ d::TableDef.detail("2 - Detail",
34
+ d::LoopDef.build("0300", d::RepeatCount.unbounded,
35
+ s:: S5.use(10, r::Mandatory, d::RepeatCount.bounded(1)),
36
+ s::L11.use(20, r::Optional, d::RepeatCount.bounded(200)),
37
+ s::G62.use(30, r::Optional, d::RepeatCount.bounded(2)),
38
+ s::LAD.use(50, r::Optional, d::RepeatCount.bounded(999)),
39
+ s::NTE.use(65, r::Optional, d::RepeatCount.bounded(20)),
40
+
41
+ d::LoopDef.build("0310", d::RepeatCount.bounded(1),
42
+ s:: N1.use( 70, r::Mandatory, d::RepeatCount.bounded(1)),
43
+ s:: N3.use( 90, r::Optional, d::RepeatCount.bounded(2)),
44
+ s:: N4.use(100, r::Optional, d::RepeatCount.bounded(1)),
45
+ s::G61.use(120, r::Optional, d::RepeatCount.bounded(3))),
46
+
47
+ d::LoopDef.build("0320", d::RepeatCount.bounded(99),
48
+ s:: L5.use(130, r::Optional, d::RepeatCount.bounded(1)),
49
+ s::AT8.use(135, r::Optional, d::RepeatCount.bounded(1)),
50
+
51
+ d::LoopDef.build("0325", d::RepeatCount.bounded(99),
52
+ s::G61.use(140, r::Optional, d::RepeatCount.bounded(1)),
53
+ s::L11.use(135, r::Optional, d::RepeatCount.bounded(30)),
54
+
55
+ d::LoopDef.build("0330", d::RepeatCount.bounded(25),
56
+ s::LH1.use(143, r::Optional, d::RepeatCount.bounded(1)),
57
+ s::LH2.use(144, r::Optional, d::RepeatCount.bounded(4)),
58
+ s::LH3.use(145, r::Optional, d::RepeatCount.bounded(10)),
59
+ s::LFH.use(146, r::Optional, d::RepeatCount.bounded(20))))),
60
+
61
+ d::LoopDef.build("0350", d::RepeatCount.bounded(999),
62
+ s::OID.use(150, r::Optional, d::RepeatCount.bounded(1)),
63
+
64
+ d::LoopDef.build("0360", d::RepeatCount.bounded(99),
65
+ s:: L5.use(190, r::Optional, d::RepeatCount.bounded(1)),
66
+ s::AT8.use(195, r::Optional, d::RepeatCount.bounded(1)),
67
+
68
+ d::LoopDef.build("0365", d::RepeatCount.bounded(99),
69
+ s::G61.use(200, r::Optional, d::RepeatCount.bounded(1)),
70
+ s::L11.use(201, r::Optional, d::RepeatCount.bounded(5)),
71
+
72
+ d::LoopDef.build("0370", d::RepeatCount.bounded(25),
73
+ s::LH1.use(203, r::Optional, d::RepeatCount.bounded(1)),
74
+ s::LH2.use(204, r::Optional, d::RepeatCount.bounded(4)),
75
+ s::LH3.use(205, r::Optional, d::RepeatCount.bounded(10)),
76
+ s::LFH.use(206, r::Optional, d::RepeatCount.bounded(20)))))))),
77
+
78
+ d::TableDef.summary("Summary",
79
+ s:: L3.use(10, r::Optional, d::RepeatCount.bounded(1)),
80
+ s:: SE.use(20, r::Mandatory, d::RepeatCount.bounded(1))))
81
+
82
+ end
83
+ end
84
+ end
85
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module TransactionSets
4
+ module FortyTen
5
+ module Standards
6
+ b = Builder
7
+ d = Schema
8
+ r = SegmentReqs
9
+ s = SegmentDefs
10
+
11
+ SQ866 = b.build("SQ", "866", "Production Sequence",
12
+ d::TableDef.header("1 - Header",
13
+ s:: ST.use( 10, r::Mandatory, d::RepeatCount.bounded(1)),
14
+ s::BSS.use( 20, r::Mandatory, d::RepeatCount.bounded(1))),
15
+
16
+ d::TableDef.detail("2 - Detail",
17
+ d::LoopDef.build("DTM", d::RepeatCount.bounded(100),
18
+ s::DTM.use(110, r::Mandatory, d::RepeatCount.bounded(1)),
19
+
20
+ d::LoopDef.build("LIN", d::RepeatCount.unbounded,
21
+ s::LIN.use(150, r::Optional, d::RepeatCount.bounded(1)),
22
+ s::REF.use(160, r::Optional, d::RepeatCount.unbounded),
23
+ s::QTY.use(170, r::Optional, d::RepeatCount.bounded(1))))),
24
+
25
+ d::TableDef.summary("3 - Summary",
26
+ s::CTT.use(195, r::Mandatory, d::RepeatCount.bounded(1)),
27
+ s:: SE.use(200, r::Mandatory, d::RepeatCount.bounded(1))))
28
+
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module TransactionSets
4
+ module FortyTen
5
+ module Standards
6
+ b = Builder
7
+ d = Schema
8
+ r = SegmentReqs
9
+ s = SegmentDefs
10
+
11
+ SS862 = b.build("SS", "862", "Shipping Schedule",
12
+ d::TableDef.header("1 - Header",
13
+ s:: ST.use( 10, r::Mandatory, d::RepeatCount.bounded(1)),
14
+ s::BSS.use( 20, r::Mandatory, d::RepeatCount.bounded(1)),
15
+ s::DTM.use( 30, r::Optional, d::RepeatCount.bounded(10)),
16
+
17
+ d::LoopDef.build("N1", d::RepeatCount.bounded(200),
18
+ s:: N1.use( 50, r::Optional, d::RepeatCount.bounded(1)),
19
+ s::REF.use( 90, r::Optional, d::RepeatCount.bounded(12)),
20
+ s::PER.use(100, r::Optional, d::RepeatCount.bounded(3)))),
21
+
22
+ d::TableDef.detail("2 - Detail",
23
+ d::LoopDef.build("LIN", d::RepeatCount.bounded(10000),
24
+ s::LIN.use( 10, r::Mandatory, d::RepeatCount.bounded(1)),
25
+ s::UIT.use( 20, r::Mandatory, d::RepeatCount.bounded(1)),
26
+ s::REF.use( 50, r::Optional, d::RepeatCount.bounded(12)),
27
+
28
+ d::LoopDef.build("FST", d::RepeatCount.bounded(100),
29
+ s::FST.use( 80, r::Optional, d::RepeatCount.bounded(1)),
30
+
31
+ d::LoopDef.build("JIT", d::RepeatCount.bounded(96),
32
+ s::JIT.use(110, r::Optional, d::RepeatCount.bounded(1)),
33
+ s::REF.use(120, r::Optional, d::RepeatCount.bounded(500)))))),
34
+
35
+ d::TableDef.detail("Summary",
36
+ s::CTT.use(10, r::Optional, d::RepeatCount.bounded(1)),
37
+ s:: SE.use(20, r::Mandatory, d::RepeatCount.bounded(1))))
38
+
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module TransactionSets
4
+ module FortyTen
5
+ module Standards
6
+ b = Builder
7
+ d = Schema
8
+ r = SegmentReqs
9
+ s = SegmentDefs
10
+
11
+ SW945 = b.build("SW", "945", "Warehouse Shipping Advice",
12
+ d::TableDef.header("1 - Header",
13
+ s:: ST.use( 10, r::Mandatory, d::RepeatCount.bounded(1)),
14
+ s::W06.use( 20, r::Mandatory, d::RepeatCount.bounded(1)),
15
+
16
+ d::LoopDef.build("N1", d::RepeatCount.bounded(10),
17
+ s:: N1.use( 40, r::Mandatory, d::RepeatCount.bounded(1)),
18
+ s:: N3.use( 60, r::Optional, d::RepeatCount.bounded(1)),
19
+ s:: N4.use( 70, r::Optional, d::RepeatCount.bounded(1))),
20
+
21
+ s:: N9.use( 90, r::Optional, d::RepeatCount.bounded(10)),
22
+ s::G62.use(110, r::Optional, d::RepeatCount.bounded(5)),
23
+ s::NTE.use(120, r::Optional, d::RepeatCount.bounded(20)),
24
+ s::W27.use(130, r::Optional, d::RepeatCount.bounded(1))),
25
+
26
+ d::TableDef.header("2 - Detail",
27
+ d::LoopDef.build("LX", d::RepeatCount.bounded(9999),
28
+ s:: LX.use( 5, r::Mandatory, d::RepeatCount.bounded(1)),
29
+ s::MAN.use( 10, r::Mandatory, d::RepeatCount.bounded(1))),
30
+
31
+ d::LoopDef.build("W12", d::RepeatCount.bounded(9999),
32
+ s::W12.use( 20, r::Mandatory, d::RepeatCount.bounded(1)),
33
+ s::G69.use( 30, r::Optional, d::RepeatCount.bounded(5)),
34
+ s:: N9.use( 40, r::Optional, d::RepeatCount.bounded(200)))),
35
+
36
+ d::TableDef.header("3 - Summary",
37
+ s::W03.use( 10, r::Mandatory, d::RepeatCount.bounded(1)),
38
+ s:: SE.use( 30, r::Mandatory, d::RepeatCount.bounded(1))))
39
+
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module TransactionSets
4
+ module FiftyTen
5
+ SegmentDefs = Versions::FiftyTen::SegmentDefs
6
+
7
+ autoload :Implementations, "stupidedi/transaction_sets/005010/implementations"
8
+ autoload :Standards, "stupidedi/transaction_sets/005010/standards"
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,89 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module TransactionSets
4
+ module FiftyTen
5
+ module Implementations
6
+ module SegmentReqs
7
+ Required = Common::Implementations::SegmentReqs::Required
8
+ Situational = Common::Implementations::SegmentReqs::Situational
9
+ end
10
+
11
+ module ElementReqs
12
+ Required = Common::Implementations::ElementReqs::Required
13
+ Situational = Common::Implementations::ElementReqs::Situational
14
+ NotUsed = Common::Implementations::ElementReqs::NotUsed
15
+ end
16
+
17
+ module X212
18
+ autoload :HR276, "stupidedi/transaction_sets/005010/implementations/X212-HR276"
19
+ autoload :HN277, "stupidedi/transaction_sets/005010/implementations/X212-HN277"
20
+ end
21
+
22
+ module X214
23
+ autoload :HN277, "stupidedi/transaction_sets/005010/implementations/X214-HN277"
24
+ end
25
+
26
+ module X220
27
+ autoload :BE834, "stupidedi/transaction_sets/005010/implementations/X220-BE834"
28
+ end
29
+
30
+ module X220A1
31
+ autoload :BE834, "stupidedi/transaction_sets/005010/implementations/X220A1-BE834"
32
+ end
33
+
34
+ module X221
35
+ autoload :HP835, "stupidedi/transaction_sets/005010/implementations/X221-HP835"
36
+ end
37
+
38
+ module X221A1
39
+ autoload :HP835, "stupidedi/transaction_sets/005010/implementations/X221A1-HP835"
40
+ end
41
+
42
+ module X222
43
+ autoload :HC837, "stupidedi/transaction_sets/005010/implementations/X222-HC837"
44
+ autoload :HC837P, "stupidedi/transaction_sets/005010/implementations/X222-HC837P"
45
+ end
46
+
47
+ module X222A1
48
+ autoload :HC837, "stupidedi/transaction_sets/005010/implementations/X222A1-HC837"
49
+ autoload :HC837P, "stupidedi/transaction_sets/005010/implementations/X222A1-HC837P"
50
+ end
51
+
52
+ module X223
53
+ autoload :HC837, "stupidedi/transaction_sets/005010/implementations/X223-HC837"
54
+ autoload :HC837I, "stupidedi/transaction_sets/005010/implementations/X223-HC837I"
55
+ end
56
+
57
+ module X223A1
58
+ autoload :HC837, "stupidedi/transaction_sets/005010/implementations/X223A1-HC837"
59
+ end
60
+
61
+ module X223A2
62
+ autoload :HC837, "stupidedi/transaction_sets/005010/implementations/X223A2-HC837"
63
+ end
64
+
65
+ module X223A3
66
+ autoload :HC837, "stupidedi/transaction_sets/005010/implementations/X223A3-HC837"
67
+ end
68
+
69
+ module X231
70
+ autoload :FA999, "stupidedi/transaction_sets/005010/implementations/X231-FA999"
71
+ end
72
+
73
+ module X231A1
74
+ autoload :FA999, "stupidedi/transaction_sets/005010/implementations/X231A1-FA999"
75
+ end
76
+
77
+ module X279
78
+ autoload :HS270, "stupidedi/transaction_sets/005010/implementations/X279-HS270"
79
+ autoload :HB271, "stupidedi/transaction_sets/005010/implementations/X279-HB271"
80
+ end
81
+
82
+ module X279A1
83
+ autoload :HS270, "stupidedi/transaction_sets/005010/implementations/X279A1-HS270"
84
+ autoload :HB271, "stupidedi/transaction_sets/005010/implementations/X279A1-HB271"
85
+ end
86
+ end
87
+ end
88
+ end
89
+ end
@@ -0,0 +1,552 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module TransactionSets
4
+ module FiftyTen
5
+ module Implementations
6
+ module X212
7
+ b = Builder
8
+ d = Schema
9
+ r = SegmentReqs
10
+ e = ElementReqs
11
+ s = SegmentDefs
12
+
13
+ HN277 = Builder::Dsl.build("HN", "277", "Health Care Information Status Notification") do
14
+ entity_values = %w[
15
+ 03 13 17 1e 1g 1h 1i 1o 1p 1q 1r 1s 1t 1u 1v 1w 1x 1y 1z 28 2a 2b
16
+ 2d 2e 2i 2k 2p 2q 2s 2z 30 36 3a 3c 3d 3e 3f 3g 3h 3i 3j 3k 3l 3m 3n 3o 3p 3q
17
+ 3r 3s 3t 3u 3v 3w 3x 3y 3z 40 43 44 4a 4b 4c 4d 4e 4f 4g 4h 4i 4j 4l 4m 4n 4o
18
+ 4p 4q 4r 4s 4u 4v 4w 4x 4y 4z 5a 5b 5c 5d 5e 5f 5g 5h 5i 5j 5k 5l
19
+ 5m 5n 5o 5p 5q 5r 5s 5t 5u 5v 5w 5x 5y 5z 61 6a 6b 6c 6d 6e 6f 6g 6h 6i 6j 6k
20
+ 6l 6n 6o 6p 6q 6r 6s 6u 6v 6w 6x 6y 71 72 73 74 77 7c 80 82 84 85 87 95 ck cz
21
+ d2 dd dj dk dn do dq e1 e2 e7 e9 fa fd fe g0 g3 gb gb gi gj gk gm gy hf hh i3
22
+ ij il in li lr mr msc ob od ox p0 p2 p3 p4 p5 p7 prp pt pv pw qa qb qc qd qe qh qk
23
+ ql qn qo qs qv qy rc rw s4 sep sj su t4 tl tq tt ttp tu uh x3 x4 x5 zz
24
+ ].map(&:upcase)
25
+ table_header("1 - Header") do
26
+ segment(100, s::ST, "Transaction Set Header", r::Required, d::RepeatCount.bounded(1)) do
27
+ element(e::Required, "Transaction Set Identifier Code", b::Values("277"))
28
+ element(e::Required, "Transaction Set Control Number")
29
+ element(e::Required, "Version, Release, or Industry Identifier", b::Values("005010X212"))
30
+ end
31
+ segment(200, s::BHT, "Beginning of Hierarchical Transaction", r::Required, d::RepeatCount.bounded(1)) do
32
+ element(e::Required, "Hierarchical Structure Code", b::Values("0010"))
33
+ element(e::Required, "Transaction Set Purpose Code", b::Values("08"))
34
+ element(e::Required, "Originator Application Transaction Identifier", b::MaxLength(30))
35
+ element(e::Required, "Transaction Set Creation Date")
36
+ element(e::Required, "Transaction Set Creation Time")
37
+ element(e::Required, "Transaction Type Code", b::Values("DG"))
38
+ end
39
+ end
40
+
41
+ table_detail("2 - Information Source Detail") do
42
+ loop_("2000A INFORMATION SOURCE LEVEL", d::RepeatCount.unbounded) do
43
+ segment(100, s::HL, "Information Source Level", r::Required, d::RepeatCount.bounded(1)) do
44
+ element(e::Required, "Hierarchical ID Number")
45
+ element(e::NotUsed, "Hierarchical Parent ID Number")
46
+ element(e::Required, "Hierarchical Level Code", values("20"))
47
+ element(e::Required, "Hierachical Child Code", values("1"))
48
+ end
49
+ # positions on page 100
50
+ loop_("2100A INFORMATION SOURCE NAME", d::RepeatCount.bounded(1)) do
51
+ segment(500, s::NM1, "Information Source Name", r::Required, d::RepeatCount.bounded(1)) do
52
+ element(e::Required, "Entity Identifier Code", values("PR"))
53
+ element(e::Required, "Entity Type Qualifier", values("2"))
54
+ element(e::Required, "Payer Name")
55
+ element(e::NotUsed, "Name First")
56
+ element(e::NotUsed, "Name Middle")
57
+ element(e::NotUsed, "Name Prefix")
58
+ element(e::NotUsed, "Name Suffix")
59
+ element(e::Required, "Identification Code Qualifier", values("PI", "XV"))
60
+ element(e::Required, "Payer Identifier")
61
+ element(e::NotUsed, "Entity Relationship Code")
62
+ element(e::NotUsed, "Entity Identifier Code")
63
+ element(e::NotUsed, "Name Last or Organization Name")
64
+ end
65
+ segment(800, s::PER, "Administrative Communications Contact", r::Situational, d::RepeatCount.bounded(1)) do
66
+ element(e::Required, "Concat Function Code", values("IC"))
67
+ element(e::Situational, "Payer Contact Name")
68
+ element(e::Required, "Communication Number Qualifier", values("ED", "EM", "FX", "TE"))
69
+ element(e::Required, "Payer Contact Communication Number")
70
+ element(e::Required, "Communication Number Qualifier", values("ED", "EM", "FX", "TE"))
71
+ element(e::Required, "Payer Contact Communication Number")
72
+ element(e::Required, "Communication Number Qualifier", values("ED", "EM", "FX", "TE"))
73
+ element(e::Required, "Payer Contact Communication Number")
74
+ element(e::NotUsed, "Contact Inquiry Reference")
75
+ end
76
+ end
77
+ end
78
+ end
79
+ table_detail("2 - Information Receiver Detail") do
80
+ loop_("2000B INFORMATION RECEIVER LEVEL", d::RepeatCount.unbounded) do
81
+ segment(100, s::HL, "Information Receiver Level", r::Required, d::RepeatCount.bounded(1)) do
82
+ element(e::Required, "Hierarchical ID Number")
83
+ element(e::Required, "Hierarchical Parent ID Number")
84
+ element(e::Required, "Hierarchical Level Code", b::Values("21"))
85
+ element(e::Required, "Hierachical Child Code", b::Values("0", "1"))
86
+ end # segment Information Receiver Level
87
+
88
+ loop_("2100B INFORMATION RECEIVER NAME", d::RepeatCount.bounded(2)) do
89
+ segment(500, s::NM1, "Information Receiver Name", r::Required, d::RepeatCount.bounded(1)) do
90
+ element(e::Required, "Entity Identifier Code", b::Values("41"))
91
+ element(e::Required, "Entity Type Qualifier", b::Values("1", "2"))
92
+ element(e::Situational, "Information Receiver Last or Organizational Name")
93
+ element(e::Situational, "Information Receiver First Name")
94
+ element(e::Situational, "Information Receiver Middle Name")
95
+ element(e::NotUsed, "Name Prefix")
96
+ element(e::NotUsed, "Name Suffix")
97
+ element(e::Required, "Identification Code Qualifier", b::Values("46"))
98
+ element(e::Required, "Information Receiver Identification Number")
99
+ element(e::NotUsed, "Entity Relationship Code")
100
+ element(e::NotUsed, "Entity Identifier Code")
101
+ element(e::NotUsed, "Name Last or Organization Name")
102
+ end # Segment Information Receiver Name
103
+ end # Loop information Receiver Name
104
+ loop_("2200B INFORMATION RECEIVER TRACE IDENTIFIER", d::RepeatCount.bounded(1)) do
105
+ segment(900, s::TRN, "Information Receiver Trace Identifier", r::Situational, d::RepeatCount.bounded(1)) do
106
+ element(e::Required, "Trace Type Code", b::Values("2"))
107
+ element(e::Required, "Claim Transaction Batch Number")
108
+ element(e::NotUsed, "Originating Company Identifier")
109
+ element(e::NotUsed, "Reference Identification")
110
+ end # Segment Information Receiever Application Trace Ident
111
+ segment(1000, s::STC, "Information Receiver Status Information", r::Required, d::RepeatCount.unbounded) do
112
+ composite(e::Required, "HEALTH CARE CLAIM STATUS") do
113
+ element(e::Required, "Status Code")
114
+ element(e::Required, "Health Care Claim Status Code")
115
+ element(e::Situational, "Entity Identifier Code", b::Values("41", "AY", "PR"))
116
+ element(e::NotUsed, "Code List Qualifier Code")
117
+ end # composite value
118
+ element(e::Required, "Status Information Effective Date")
119
+ element(e::NotUsed, "Action Code")
120
+ element(e::NotUsed, "Monetary Amount")
121
+ element(e::NotUsed, "Monetary Amount")
122
+ element(e::NotUsed, "Date")
123
+ element(e::NotUsed, "Payment Method Code")
124
+ element(e::NotUsed, "Date")
125
+ element(e::NotUsed, "Check Number")
126
+ composite(e::Situational, "HEALTH CARE CLAIM STATUS") do
127
+ element(e::Required, "Health Care Claim Status Category Code") # @todo: CodeSource.external("507")
128
+ element(e::Required, "Status Code") # @todo: CodeSource.external("508")
129
+ element(e::Situational, "Entity Identifier Qualifier", b::Values("41", "AY", "PR"))
130
+ element(e::NotUsed, "Code List Qualifier Code")
131
+ end # composite value
132
+ composite(e::Situational, "HEALTH CARE CLAIM STATUS") do
133
+ element(e::Required, "Health Care Claim Status Category Code") # @todo: CodeSource.external("507")
134
+ element(e::Required, "Status Code") # @todo: CodeSource.external("508")
135
+ element(e::Situational, "Entity Identifier Qualifier", b::Values("41", "AY", "PR"))
136
+ element(e::NotUsed, "Code List Qualifier Code")
137
+ end # composite value
138
+ element(e::NotUsed, "Free-form Message Text")
139
+ end # Segment information receiver status information
140
+ end # loop Information Receiver Trace Identifier
141
+ end # loop Information Receiver Level
142
+ end # Table 2 - Information Receiver Detail
143
+ table_detail("2 - Service Provider Detail") do
144
+ loop_("2000C Service Provider Level", d::RepeatCount.unbounded) do
145
+ segment(100, s::HL, "Service Provider Level", r::Situational, d::RepeatCount.bounded(1)) do
146
+ element(e::Required, "Hierarchical ID Number")
147
+ element(e::Required, "Hierarchical Parent ID Number")
148
+ element(e::Required, "Hierarchical Level Code", b::Values("19"))
149
+ element(e::Required, "Hierachical Child Code", b::Values("0", "1"))
150
+ end # Segment 100 Service Provider Level
151
+ loop_("2100C PROVIDER NAME", d::RepeatCount.bounded(2)) do
152
+ segment(500, s::NM1, "Provider Name", r::Required, d::RepeatCount.bounded(1)) do
153
+ element(e::Required, "Entity Identifier Code", b::Values("1P"))
154
+ element(e::Required, "Entity Type Qualifier", b::Values("1", "2"))
155
+ element(e::Situational, "Provider Last or Organization Name")
156
+ element(e::Situational, "Provider First Name")
157
+ element(e::Situational, "Provider Middle Name")
158
+ element(e::NotUsed, "Name Prefix")
159
+ element(e::Situational, "Provider Name Suffix")
160
+ element(
161
+ e::Required, "Identification Code Qualifier",
162
+ b::Values("FI", "SV", "XX")
163
+ )
164
+ element(e::Required, "Provider Identifier")
165
+ element(e::NotUsed, "Entity Relationship Code")
166
+ element(e::NotUsed, "Entity Identifier Code")
167
+ element(e::NotUsed, "Name Last or Organization Name")
168
+ end # Segment/NM1 - Provider Name
169
+ end # Loop/2100C - Provider Name
170
+ loop_("2200C PROVIDER OF SERVICE TRACE IDENTIFIER", d::RepeatCount.bounded(1)) do
171
+ segment(900, s::TRN, "Provider of Service Trace Identifier", r::Situational, d::RepeatCount.bounded(1)) do
172
+ element(e::Required, "Trace Type Code", values("1"))
173
+ element(e::Required, "Provider of Service INformation Trace Identifier")
174
+ element(e::NotUsed, "Originating Company Identifier")
175
+ element(e::NotUsed, "Reference Identification")
176
+ end # Segment/TRN - Provider of Service Trance Information
177
+ segment(1000, s::STC, "Provider Status Information", r::Required, d::RepeatCount.unbounded) do
178
+ composite(e::Required, "HEALTH CARE CLAIM STATUS") do
179
+ element(e::Required, "Health Care Claim Status Category Code")
180
+ element(e::Required, "Status Code")
181
+ element(e::Situational, "Entity Identifier Code", b::Values("1P"))
182
+ element(e::NotUsed, "Code List Qualifier Code")
183
+ end # composite value
184
+ element(e::Required, "Status Information Effective Date")
185
+ element(e::NotUsed, "Action Code")
186
+ element(e::NotUsed, "Monetary Amount")
187
+ element(e::NotUsed, "Monetary Amount")
188
+ element(e::NotUsed, "Date")
189
+ element(e::NotUsed, "Payment Method Code")
190
+ element(e::NotUsed, "Date")
191
+ element(e::NotUsed, "Check Number")
192
+ composite(e::Situational, "HEALTH CARE CLAIM STATUS") do
193
+ element(e::Required, "Health Care Claim Status Category Code") # @todo: CodeSource.external("507")
194
+ element(e::Required, "Health Care Claim Status Code") # @todo: CodeSource.external("508")
195
+ element(e::Situational, "Entity Identifier Qualifier", b::Values("1P"))
196
+ element(e::NotUsed, "Code List Qualifier Code")
197
+ end # composite value
198
+ composite(e::Situational, "HEALTH CARE CLAIM STATUS") do
199
+ element(e::Required, "Health Care Claim Status Category Code") # @todo: CodeSource.external("507")
200
+ element(e::Required, "Health Care Claim Status Code") # @todo: CodeSource.external("508")
201
+ element(e::Situational, "Entity Identifier Qualifier", b::Values("1P"))
202
+ element(e::NotUsed, "Code List Qualifier Code")
203
+ end # composite value
204
+ element(e::NotUsed, "Free-form Message Text")
205
+ end # Segment/STC - Provider Status Information
206
+ end # Loop/2200C - Provider of Service Trace Identifier
207
+ end # Loop/2000C Service Provider Level
208
+ end # Table/2 - Service Provider Detail
209
+ table_detail("2 - Subscriber Detail") do
210
+ loop_("2000D SUBSCRIBER LEVEL", d::RepeatCount.unbounded) do
211
+ segment(100, s::HL, "Subscriber Level", r::Situational, d::RepeatCount.bounded(1)) do
212
+ element(e::Required, "Hierarchical ID Number")
213
+ element(e::Required, "Hierarchical Parent ID Number")
214
+ element(e::Required, "Hierarchical Level Code", values("22"))
215
+ element(e::Required, "Hierachical Child Code", values("0", "1"))
216
+ end # Segment/HL - Subscriber Level
217
+
218
+ loop_("2100D SUBSCRIBER NAME", d::RepeatCount.bounded(1)) do
219
+ segment(500, s::NM1, "Subscriber Name", r::Required, d::RepeatCount.bounded(1)) do
220
+ element(e::Required, "Entity Identifier Code", values("IL"))
221
+ element(e::Required, "Entity Type Qualifier", values("1", "2"))
222
+ element(e::Required, "Subscriber Last Name")
223
+ element(e::Situational, "Subscriber First Name")
224
+ element(e::Situational, "Subscriber Middle Name or Initial")
225
+ element(e::NotUsed, "Name Prefix")
226
+ element(e::Situational, "Subscriber Name Suffix")
227
+ element(e::Required, "Identification Code Qualifier", values("24", "II", "MI"))
228
+ element(e::Required, "Subscriber Identifier")
229
+ element(e::NotUsed, "Entity Relationship Code")
230
+ element(e::NotUsed, "Entity Identifier Code")
231
+ element(e::NotUsed, "Name Last or Organization Name")
232
+ end # Segment/NM1 - Subscriber Name
233
+ end # Loop/2100D - Subscriber name
234
+ loop_("2200D CLAIM STATUS TRACKING NUMBER", d::RepeatCount.unbounded) do
235
+ segment(900, s::TRN, "Claim Status Tracking Number", r::Situational, d::RepeatCount.bounded(1)) do
236
+ element(e::Required, "Trace Type Code", values("2"))
237
+ element(e::Required, "Referenced Transaction Trace Number")
238
+ element(e::NotUsed, "Originating Company Identifier")
239
+ element(e::NotUsed, "Reference Identification")
240
+ end # Segment/TRN - Claim Status Tracking Number
241
+ segment(1000, s::STC, "Claim Level Status Information", r::Required, d::RepeatCount.unbounded) do
242
+ composite(e::Required, "HEALTH CARE CLAIM STATUS") do
243
+ element(e::Required, "Health Care Claim Status Category Code")
244
+ element(e::Required, "Health Care Claim Status Code")
245
+ element(e::Situational, "Entity Identifier Code", values(*entity_values))
246
+ element(e::Situational, "Code List Qualifier Code", values("RX"))
247
+ end # Composite/Health care claim status
248
+ element(e::Required, "Status Information Effective Date")
249
+ element(e::NotUsed, "Action Code")
250
+ element(e::Situational, "Total Claim Charge Amount")
251
+ element(e::Situational, "Claim Payment Amount")
252
+ element(e::Situational, "Adjudication Finalized Date")
253
+ element(e::NotUsed, "Payment Method Code")
254
+ element(e::Situational, "Remittance Date")
255
+ element(e::Situational, "Remittance Trace Number")
256
+ composite(e::Situational, "HEALTH CARE CLAIM STATUS") do
257
+ element(e::Required, "Health Care Claim Status Category Code")
258
+ element(e::Required, "Health Care Claim Status Code")
259
+ element(e::Situational, "Entity Identifier Code", values(*entity_values))
260
+ element(e::Situational, "Code List Qualifier Code", values("RX"))
261
+ end # Composite/Health Care Claim Status
262
+ composite(e::Situational, "HEALTH CARE CLAIM STATUS") do
263
+ element(e::Required, "Health Care Claim Status Category Code")
264
+ element(e::Required, "Health Care Claim Status Code")
265
+ element(e::Situational, "Entity Identifier Code", values(*entity_values))
266
+ element(e::Situational, "Code List Qualifier Code", values("RX"))
267
+ end # Composite/Health Care Claim Status
268
+ element(e::NotUsed, "Free Form Message Text")
269
+ end # Segment/STC - Claim Level Status Information
270
+ segment(1100, s::REF, "Payer Claim Control Number", r::Situational, d::RepeatCount.bounded(1)) do
271
+ element(e::Required, "Reference Identification Qualifier", values("1K"))
272
+ element(e::Required, "Payer Claim Control Number")
273
+ element(e::NotUsed, "Description")
274
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
275
+ end # Segment/REF - Payer Claim Control Number
276
+ segment(1100, s::REF, "Institutional Bill Type Identification", r::Situational, d::RepeatCount.bounded(1)) do
277
+ element(e::Required, "Reference Identification Qualifier", values("BLT"))
278
+ element(e::Required, "Bill Type Identifier")
279
+ element(e::NotUsed, "Description")
280
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
281
+ end # Segment/REF - Institutional Bill Type Identification
282
+ segment(1100, s::REF, "Patient Control Number", r::Situational, d::RepeatCount.bounded(1)) do
283
+ element(e::Required, "Reference Identification Qualifier", values("EJ"))
284
+ element(e::Required, "Patient Control Number")
285
+ element(e::NotUsed, "Description")
286
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
287
+ end # Segment/REF - Patient Control Number
288
+ segment(1100, s::REF, "Pharmacy Prescription Number", r::Situational, d::RepeatCount.bounded(1)) do
289
+ element(e::Required, "Reference Identification Qualifier", values("XZ"))
290
+ element(e::Required, "Pharmacy Prescription Number")
291
+ element(e::NotUsed, "Description")
292
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
293
+ end # Segment/REF - Pharmacy Prescription Number
294
+ segment(1100, s::REF, "Voucher Identifier", r::Situational, d::RepeatCount.bounded(1)) do
295
+ element(e::Required, "Reference Identification Qualifier", values("VV"))
296
+ element(e::Required, "Voucher Identifier")
297
+ element(e::NotUsed, "Description")
298
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
299
+ end # Segment/REF - Voucher Identifier
300
+ segment(1100, s::REF, "Claim Identifier Number for Clearinghous and Other Transmission Intermediaries", r::Situational, d::RepeatCount.bounded(1)) do
301
+ element(e::Required, "Reference Identification Qualifier", values("D9"))
302
+ element(e::Required, "Clearinghouse Trace Number")
303
+ element(e::NotUsed, "Description")
304
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
305
+ end # Segment/REF - Claim Identifier Number for Clearinghouses and...
306
+ segment(1200, s::DTP, "Claim Level Service Date", r::Situational, d::RepeatCount.bounded(1)) do
307
+ element(e::Required, "Date Time Qualifier", values("472"))
308
+ element(e::Required, "Date Time Period Format Qualifier", values("D8", "RD8"))
309
+ element(e::Required, "Claim Service Period")
310
+ end # Segment/DTP - Claim Level Service Date
311
+
312
+ loop_("2220D SERVICE LINE INFORMATION", d::RepeatCount.unbounded) do
313
+ segment(1800, s::SVC, "Service Line Information", r::Situational, d::RepeatCount.bounded(1)) do
314
+ composite(e::Required, "COMPOSITE MEDICAL PROCEDURE IDENTIFIER") do
315
+ element(e::Required, "Product or Service ID Qualifier", values("AD", "ER", "HC", "HP", "IV", "NU", "WK"))
316
+ element(e::Required, "Procedure Code")
317
+ element(e::Situational, "Procedure Modifier")
318
+ element(e::Situational, "Procedure Modifier")
319
+ element(e::Situational, "Procedure Modifier")
320
+ element(e::Situational, "Procedure Modifier")
321
+ element(e::NotUsed, "Description")
322
+ element(e::NotUsed, "Product/Service ID")
323
+ end # composite/medical procedure identifier
324
+ element(e::Required, "Line Item Charge Amount")
325
+ element(e::Required, "Line Item Payment Amount")
326
+ element(e::Situational, "Revenue Code")
327
+ element(e::NotUsed, "Quantity")
328
+ element(e::NotUsed, "COMPOSITE MEDICAL PROCEDURE IDENTIFIER")
329
+ element(e::Required, "Units of Service Count")
330
+ end # Segment/SVC - Service Line Information
331
+
332
+ segment(1900, s::STC, "Service Line Level Status Information", r::Required, d::RepeatCount.unbounded) do
333
+ composite(e::Required, "HEALTH CARE CLAIM STATUS") do
334
+ element(e::Required, "Health Care Claim Status Category Code") # @todo: CodeSource.external("507")
335
+ element(e::Required, "Health Care Claim Status Code") # @todo: CodeSource.external("508")
336
+ element(e::Situational, "Entity Identifier Code", values(*entity_values))
337
+ element(e::Situational, "Code List Qualifier Code", values("RX"))
338
+ end # composite/ health care claim status
339
+ element(e::Required, "Statue Information Effective Date")
340
+ element(e::NotUsed, "Action Code")
341
+ element(e::NotUsed, "Monetary Amount")
342
+ element(e::NotUsed, "Monetary Amount")
343
+ element(e::NotUsed, "Date")
344
+ element(e::NotUsed, "Payment Method Code")
345
+ element(e::NotUsed, "Date")
346
+ element(e::NotUsed, "Check Number")
347
+ composite(e::Situational, "HEALTH CARE CLAIM STATUS") do
348
+ element(e::Required, "Health Care Claim Status Category Code") # @todo: CodeSource.external("507")
349
+ element(e::Required, "Health Care Claim Status Code") # @todo: CodeSource.external("508")
350
+ element(e::Situational, "Entity Identifier Code", values(*entity_values))
351
+ element(e::Situational, "Code List Qualifier Code", values("RX"))
352
+ end # composite/Health care claims
353
+ composite(e::Situational, "HEALTH CARE CLAIM STATUS") do
354
+ element(e::Required, "Health Care Claim Status Category Code")
355
+ element(e::Required, "Health Care Claim Status Code")
356
+ element(e::Situational, "Entity Identifier Code", values(*entity_values))
357
+ element(e::Situational, "Code List Qualifier Code", values("RX"))
358
+ end # composite/Health care claim status
359
+ element(e::NotUsed, "Free Form Message Text")
360
+ end # Segment/STC - Service Line Level Information
361
+ segment(2000, s::REF, "Service Line Item Identification", r::Situational, d::RepeatCount.bounded(1)) do
362
+ element(e::Required, "Reference Identification Qualifier", values("FJ"))
363
+ element(e::Required, "Line Item Control Number")
364
+ element(e::NotUsed, "Description")
365
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
366
+ end # Segment/REF - Service Line item Identification
367
+ segment(2100, s::DTP, "Service Line Date", r::Required, d::RepeatCount.bounded(1)) do
368
+ element(e::Required, "Date Time Qualifier", values("472"))
369
+ element(e::Required, "Date Time Period Format Qualifier", values("D8", "RD8"))
370
+ element(e::Required, "Service Line Date")
371
+ end # Segment/DTP - Service Line Date
372
+ end # Loop/2220D - Service Line Information
373
+ end # Loop/2200D - Claim Status Tracking Number
374
+ end # Loop/2000D - Subscriber Level
375
+ end # Table/2 - Subscriber Detail
376
+ table_detail("2 - Dependent Detail") do
377
+ loop_("2000E DEPENDENT LEVEL", d::RepeatCount.unbounded) do
378
+ segment(100, s::HL, "Dependent Level", r::Situational, d::RepeatCount.bounded(1)) do
379
+ element(e::Required, "Hierarchical ID Number")
380
+ element(e::Required, "Hierarchical Parent ID Number")
381
+ element(e::Required, "Hierarchical Level Code", values("23"))
382
+ element(e::NotUsed, "Hierachical Child Code")
383
+ end # Segment/HL - Dependent Level
384
+
385
+ loop_("2100E DEPENDENT NAME", d::RepeatCount.bounded(1)) do
386
+ segment(500, s::NM1, "Dependent Name", r::Required, d::RepeatCount.bounded(1)) do
387
+ element(e::Required, "Entity Identifier Code", values("QC"))
388
+ element(e::Required, "Entity Type Qualifier", values("1"))
389
+ element(e::Required, "Patient Last Name")
390
+ element(e::Situational, "Patient First Name")
391
+ element(e::Situational, "Patient Last Name")
392
+ element(e::NotUsed, "Name Prefix")
393
+ element(e::Situational, "Patient Name Suffix")
394
+ element(e::NotUsed, "Identification Code Qualifier")
395
+ element(e::NotUsed, "Subscriber Identification Number")
396
+ element(e::NotUsed, "Entity Relationship Code")
397
+ element(e::NotUsed, "Entity Identifier Code")
398
+ element(e::NotUsed, "Name Last or Organization Name")
399
+ end # Segment/NM1 - Dependent Name
400
+ end # Loop/2100D - Subscriber name
401
+ loop_("2200E CLAIM STATUS TRACKING NUMBER", d::RepeatCount.unbounded) do
402
+ segment(900, s::TRN, "Claim Status Tracking Number", r::Required, d::RepeatCount.bounded(1)) do
403
+ element(e::Required, "Trace Type Code", values("2"))
404
+ element(e::Required, "Reference Transaction Trace Number")
405
+ element(e::NotUsed, "Originating Company Identifier")
406
+ element(e::NotUsed, "Reference Identification")
407
+ end # Segment/TRN - Claim Status Tracking Number
408
+ segment(1000, s::STC, "Claim Level Status Information", r::Required, d::RepeatCount.unbounded) do
409
+ composite(e::Required, "HEALTH CARE CLAIM STATUS") do
410
+ element(e::Required, "Health Care Claim Status Category Code")
411
+ element(e::Required, "Status Code")
412
+ element(e::Situational, "Entity Identifier Code", values(*entity_values))
413
+ element(e::Situational, "Code List Qualifier Code", values("RX"))
414
+ end # Composite/Health care claim status
415
+ element(e::Required, "Status Information Effective Date")
416
+ element(e::NotUsed, "Action Code")
417
+ element(e::Situational, "Total Claim Charge Amount")
418
+ element(e::Situational, "Claim Payment Amount")
419
+ element(e::Situational, "Adjudication Finalized Date")
420
+ element(e::NotUsed, "Payment Method Code")
421
+ element(e::Situational, "Remittance Date")
422
+ element(e::Situational, "Remittance Trace Number")
423
+ composite(e::Situational, "HEALTH CARE CLAIM STATUS") do
424
+ element(e::Required, "Health Care Claim Status Category Code")
425
+ element(e::Required, "Health Care Claim Status Code")
426
+ element(e::Situational, "Entity Identifier Code", values(*entity_values))
427
+ element(e::Situational, "Code List Qualifier Code", values("RX"))
428
+ end # Composite/Health Care Claim Status
429
+ composite(e::Situational, "HEALTH CARE CLAIM STATUS") do
430
+ element(e::Required, "Health Care Claim Status Category Code")
431
+ element(e::Required, "Health Care Claim Status Code")
432
+ element(e::Situational, "Entity Identifier Code", values(*entity_values))
433
+ element(e::Situational, "Code List Qualifier Code", values("RX"))
434
+ end # Composite/Health Care Claim Status
435
+ element(e::NotUsed, "Free Form Message Text")
436
+ end # Segment/STC - Claim Level Status Information
437
+ segment(1100, s::REF, "Payer Claim Control Number", r::Situational, d::RepeatCount.bounded(1)) do
438
+ element(e::Required, "Reference Identification Qualifier", values("1K"))
439
+ element(e::Required, "Payer Claim Control Number")
440
+ element(e::NotUsed, "Description")
441
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
442
+ end # Segment/REF - Payer Claim Control Number
443
+ segment(1100, s::REF, "Institutional Bill Type Identification", r::Situational, d::RepeatCount.bounded(1)) do
444
+ element(e::Required, "Reference Identification Qualifier", values("BLT"))
445
+ element(e::Required, "Institutional Bill Type Identification")
446
+ element(e::NotUsed, "Description")
447
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
448
+ end # Segment/REF - Institutional Bill Type Identification
449
+ segment(1100, s::REF, "Patient Control Number", r::Situational, d::RepeatCount.bounded(1)) do
450
+ element(e::Required, "Reference Identification Qualifier", values("EJ"))
451
+ element(e::Required, "Patient Control Number")
452
+ element(e::NotUsed, "Description")
453
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
454
+ end # Segment/REF - Patient Control Number
455
+ segment(1100, s::REF, "Pharmacy Prescription Number", r::Situational, d::RepeatCount.bounded(1)) do
456
+ element(e::Required, "Reference Identification Qualifier", values("XZ"))
457
+ element(e::Required, "Pharmacy Prescription Number")
458
+ element(e::NotUsed, "Description")
459
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
460
+ end # Segment/REF - Pharmacy Prescription Number
461
+ segment(1100, s::REF, "Voucher Identifier", r::Situational, d::RepeatCount.bounded(1)) do
462
+ element(e::Required, "Reference Identification Qualifier", values("VV"))
463
+ element(e::Required, "Pharmacy Prescription Number")
464
+ element(e::NotUsed, "Description")
465
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
466
+ end # Segment/REF - Voucher Identifier
467
+ segment(1100, s::REF, "Claim Identifier Number for Clearinghous and Other Transmission Intermediaries", r::Situational, d::RepeatCount.bounded(3)) do
468
+ element(e::Required, "Reference Identification Qualifier", values("D9"))
469
+ element(e::Required, "Clearinghouse Trace Number")
470
+ element(e::NotUsed, "Description")
471
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
472
+ end # Segment/REF - Claim Identifier Number for Clearinghouses and...
473
+ segment(1200, s::DTP, "Claim Level Service Date", r::Situational, d::RepeatCount.bounded(1)) do
474
+ element(e::Required, "Date Time Qualifier", values("472"))
475
+ element(e::Required, "Date Time Period Format Qualifier", values("D8", "RD8"))
476
+ element(e::Required, "Claim Service Period")
477
+ end # Segment/DTP - Claim Level Service Date
478
+
479
+ loop_("2220E SERVICE LINE INFORMATION", d::RepeatCount.unbounded) do
480
+ segment(1800, s::SVC, "Service Line Information", r::Situational, d::RepeatCount.bounded(1)) do
481
+ composite(e::Required, "COMPOSITE MEDICAL PROCEDURE IDENTIFIER") do
482
+ element(e::Required, "Product or Service ID Qualifier", values("AD", "ER", "HC", "HP", "IV", "NU", "WK"))
483
+ element(e::Required, "Procedure Code")
484
+ element(e::Situational, "Procedure Modifier")
485
+ element(e::Situational, "Procedure Modifier")
486
+ element(e::Situational, "Procedure Modifier")
487
+ element(e::Situational, "Procedure Modifier")
488
+ element(e::NotUsed, "Description")
489
+ element(e::NotUsed, "Product/Service ID")
490
+ end # composite/medical procedure identifier
491
+ element(e::Required, "Line Item Charge Amount")
492
+ element(e::Required, "Line Item Payment Amount")
493
+ element(e::Situational, "Revenue Code")
494
+ element(e::NotUsed, "Quantity")
495
+ element(e::NotUsed, "COMPOSITE MEDICAL PROCEDURE IDENTIFIER")
496
+ element(e::Required, "Units of Service Count")
497
+ end # Segment/SVC - Service Line Information
498
+ segment(1900, s::STC, "Service Line Level Status Information", r::Required, d::RepeatCount.unbounded) do
499
+ composite(e::Required, "HEALTH CARE CLAIM STATUS") do
500
+ element(e::Required, "Health Care Claim Status Category Code") # @todo: CodeSource.external("507")
501
+ element(e::Required, "Status Code") # @todo: CodeSource.external("508")
502
+ element(e::Situational, "Entity Identifier Code", values(*entity_values))
503
+ element(e::Situational, "Code List Qualifier Code", values("RX"))
504
+ end # composite/ health care claim status
505
+ element(e::Required, "Status Information Effective Date")
506
+ element(e::NotUsed, "Action Code")
507
+ element(e::NotUsed, "Monetary Amount")
508
+ element(e::NotUsed, "Monetary Amount")
509
+ element(e::NotUsed, "Date")
510
+ element(e::NotUsed, "Payment Method Code")
511
+ element(e::NotUsed, "Date")
512
+ element(e::NotUsed, "Check Number")
513
+ composite(e::Situational, "HEALTH CARE CLAIM STATUS") do
514
+ element(e::Required, "Health Care Claim Status Category Code") # @todo: CodeSource.external("507")
515
+ element(e::Required, "Status Code") # @todo: CodeSource.external("508")
516
+
517
+ element(e::Situational, "Entity Identifier Code", values(*entity_values))
518
+ element(e::Situational, "Code List Qualifier Code", values("RX"))
519
+ end # composite/Health care claims
520
+ composite(e::Situational, "HEALTH CARE CLAIM STATUS") do
521
+ element(e::Required, "Health Care Claim Status Category Code")
522
+ element(e::Required, "Health Care Claim Status Code")
523
+ element(e::Situational, "Entity Identifier Code", values(*entity_values))
524
+ element(e::Situational, "Code List Qualifier Code", values("RX"))
525
+ end # composite/Health care claim status
526
+ element(e::NotUsed, "Free Form Message Text")
527
+ end # Segment/STC - Service Line Level Information
528
+ segment(2000, s::REF, "Service Line Item Identification", r::Situational, d::RepeatCount.bounded(1)) do
529
+ element(e::Required, "Reference Identification Qualifier", values("FJ"))
530
+ element(e::Required, "Line Item Control Number")
531
+ element(e::NotUsed, "Description")
532
+ element(e::NotUsed, "REFERENCE IDENTIFIER")
533
+ end # Segment/REF - Service Line item Identification
534
+ segment(2100, s::DTP, "Service Line Date", r::Required, d::RepeatCount.bounded(1)) do
535
+ element(e::Required, "Date Time Qualifier", values("472"))
536
+ element(e::Required, "Date Time Period Format Qualifier", values("D8", "RD8"))
537
+ element(e::Required, "Service Line Date")
538
+ end # Segment/DTP - Service Line Date
539
+ end # Loop/2220D - Service Line Information
540
+ end # Loop/2200D - Claim Status Tracking Number
541
+ end # Loop/2000E - Subscriber Level
542
+ segment(2700, s::SE, "Transaction Set Trailer", r::Required, d::RepeatCount.bounded(1)) do
543
+ element(e::Required, "Transaction Segment Count")
544
+ element(e::Required, "Transaction Set Control Number")
545
+ end
546
+ end # Table/2 - Dependent Detail
547
+ end
548
+ end
549
+ end
550
+ end
551
+ end
552
+ end