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
@@ -1,41 +0,0 @@
1
- # frozen_string_literal: true
2
- module Stupidedi
3
- using Refinements
4
-
5
- module Versions
6
- module FunctionalGroups
7
-
8
- #
9
- # @see Guides::FiftyTen
10
- # @see Interchanges::FiveOhOne
11
- #
12
- module FiftyTen
13
-
14
- autoload :ElementTypes,
15
- "stupidedi/versions/functional_groups/005010/element_types"
16
-
17
- autoload :ElementDefs,
18
- "stupidedi/versions/functional_groups/005010/element_defs"
19
-
20
- autoload :ElementReqs,
21
- "stupidedi/versions/functional_groups/005010/element_reqs"
22
-
23
- autoload :FunctionalGroupDef,
24
- "stupidedi/versions/functional_groups/005010/functional_group_def"
25
-
26
- autoload :SegmentDefs,
27
- "stupidedi/versions/functional_groups/005010/segment_defs"
28
-
29
- autoload :SegmentReqs,
30
- "stupidedi/versions/functional_groups/005010/segment_reqs"
31
-
32
- autoload :SyntaxNotes,
33
- "stupidedi/versions/functional_groups/005010/syntax_notes"
34
-
35
- autoload :TransactionSetDefs,
36
- "stupidedi/versions/functional_groups/005010/transaction_set_defs"
37
- end
38
-
39
- end
40
- end
41
- end
@@ -1,2478 +0,0 @@
1
- # frozen_string_literal: true
2
- module Stupidedi
3
- using Refinements
4
-
5
- module Versions
6
- module FunctionalGroups
7
- module FiftyTen
8
- module ElementDefs
9
-
10
- t = ElementTypes
11
- r = ElementReqs
12
- s = Schema
13
-
14
- E2 = t::Nn.new(:E2 , "Number of Accepted Transaction Sets" , 1, 6, 0)
15
- E19 = t::AN.new(:E19 , "City Name" , 2, 30)
16
- E26 = t::ID.new(:E26 , "Country Code" , 2, 3,
17
- s::CodeList.external("5"))
18
-
19
- E28 = t::Nn.new(:E28 , "Group Control Number" , 1, 9, 0)
20
- E61 = t::AN.new(:E61 , "Free-form Information" , 1, 30)
21
- E65 = t:: R.new(:E65 , "Height" , 1, 8)
22
- E66 = t::ID.new(:E66 , "Identification Code Qualifier" , 1, 2,
23
- s::CodeList.build(
24
- "1" => s::CodeList.external("16"),
25
- "9" => s::CodeList.external("16"),
26
- "21" => s::CodeList.external("121"),
27
- "24" => "Employer’s Identification Number",
28
- "34" => "Social Security Number",
29
- "38" => s::CodeList.external("5"),
30
- "46" => "Electronic Transmitter Identification Number (ETIN)",
31
- "51" => s::CodeList.external("51"),
32
- "94" => "Code assigned by the organization that is the ultimate destination of the transaction set",
33
- "AC" => "Attachment Control Number",
34
- "AD" => "Blue Cross Blue Shield Associtation Plan Code",
35
- "BD" => "Blue Cross Provider Number",
36
- "BS" => "Blue Shield Provider Number",
37
- "C" => "Insured's Changed Unique Identification Number",
38
- "CF" => s::CodeList.external("91"),
39
- "FA" => "Facility Identification",
40
- "FI" => "Federal Taxpayer's Identification Number",
41
- "HN" => "Health Insurance Claim (HIC) Number",
42
- "II" => "Standard Unique Health Identifier for each Individual in the United States",
43
- "LD" => s::CodeList.external("457"),
44
- "LE" => s::CodeList.external("102"),
45
- "NI" => "National Association of Insurance Commisioners (NAIC) Identification",
46
- "MI" => "Member Identification Number",
47
- "MC" => "Medicaid Provider",
48
- "MR" => "Medicaid Recipient Identification Number",
49
- "PC" => "Provider Commercial Number",
50
- "PI" => "Payor Identification",
51
- "PP" => "Pharmacy Processor Number",
52
- "SJ" => s::CodeList.external("22"),
53
- "SL" => "State License Number",
54
- "SV" => "Service Provider Number",
55
- "UP" => "Unique Physician Identification Number (UPIN)",
56
- "XV" => s::CodeList.external("540"),
57
- "XX" => s::CodeList.external("537"),
58
- "ZZ" => "Mutually Defined"))
59
-
60
- E67 = t::AN.new(:E67 , "Identification Code" , 2, 80)
61
- E81 = t:: R.new(:E81 , "Weight" , 1, 10)
62
- E93 = t::AN.new(:E93 , "Name" , 1, 60)
63
- E96 = t::Nn.new(:E96 , "Number of Included Segments" , 1, 10, 0)
64
- E97 = t::Nn.new(:E97 , "Number of Transaction Sets Included" , 1, 6, 0)
65
- E98 = t::ID.new(:E98 , "Entity Identifier Code" , 2, 3,
66
- s::CodeList.build(
67
- "03" => "Dependent",
68
- "13" => "Contracted Service Provider",
69
- "1I" => "Preferred Provider Organization (PPO)",
70
- "1P" => "Provider",
71
- "1X" => "Laboratory",
72
- "1Z" => "Home Health Care",
73
- "2B" => "Third-Party Administrator",
74
- "31" => "Postal Mailing Address",
75
- "36" => "Employer",
76
- "3D" => "Obstetrics and Gynecology Facility",
77
- "40" => "Receiver",
78
- "41" => "Submitter",
79
- "45" => "Drop-off Location",
80
- "6Y" => "Case Manager",
81
- "70" => "Prior Incorrect Insured",
82
- "71" => "Attending Physician",
83
- "72" => "Operating Physician",
84
- "73" => "Other Physician",
85
- "74" => "Corrected Insured",
86
- "75" => "Participant",
87
- "77" => "Service Location",
88
- "80" => "Hospital",
89
- "82" => "Rendering Provider",
90
- "85" => "Billing Provider",
91
- "87" => "Pay-to Provider",
92
- "98" => "Receiver",
93
- "9K" => "Key Person",
94
- "AY" => "Clearinghouse",
95
- "BO" => "Broker or Sales Office",
96
- "DK" => "Ordering Physician",
97
- "DN" => "Referring Provider",
98
- "DQ" => "Supervising Physician",
99
- "E1" => "Person or Other Entity Legally Responsible for a Child",
100
- "EI" => "Executor of Estate",
101
- "EXS" => "Ex-spouse",
102
- "FA" => "Facility",
103
- "GB" => "Other Insured",
104
- "GP" => "Gateway Provider",
105
- "GD" => "Guardian",
106
- "GW" => "Group",
107
- "HK" => "Subscriber",
108
- "I3" => "Independent Physicians Association (IPA)",
109
- "IL" => "Insured or Subscriber",
110
- "IN" => "Insurer",
111
- "J6" => "Power of Attorney",
112
- "LI" => "Independent Lab",
113
- "LR" => "Legal Representative",
114
- "M8" => "Educational Institution",
115
- "MSC" => "Mammography Screening Center",
116
- "OC" => "Origin Carrier",
117
- "OD" => "Doctor of Optometry",
118
- "P3" => "Primary Care Provider",
119
- "P4" => "Prior Insurance Carrier",
120
- "P5" => "Plan Sponsor",
121
- "PE" => "Payee",
122
- "PR" => "Payer",
123
- "PRP" => "Primary Payer",
124
- "PW" => "Pickup Address",
125
- "QA" => "Pharmacy",
126
- "QN" => "Dentist",
127
- "TT" => "Transfer To",
128
- "QB" => "Purchase Service Provider",
129
- "QC" => "Patient",
130
- "QD" => "Responsible Party",
131
- "S1" => "Parent",
132
- "S3" => "Custodial Parent",
133
- "SEP" => "Secondary Payer",
134
- "TL" => "Testing Laboratory",
135
- "TZ" => "Significant Other",
136
- "TTP" => "Tertiary Payer",
137
- "TU" => "Third Party Repricing Organization (TPO)",
138
- "TV" => "Third Party Administrator (TPA)",
139
- "VER" => "Party Performing Verification",
140
- "VN" => "Vendor",
141
- "VY" => "Organization Completing Configuration Change",
142
- "X3" => "Utilitazion Management Origanization",
143
- "Y2" => "Managed Care Organization",
144
- "X4" => "Spouse",
145
- "ZZ" => "Mutually Defined"))
146
-
147
- E100 = t::ID.new(:E100 , "Currency Code" , 3, 3,
148
- s::CodeList.external("5"))
149
-
150
- E107 = t::ID.new(:E107 , "Payment Method Type Code" , 1, 2)
151
- E116 = t::ID.new(:E116 , "Postal Code" , 3, 15,
152
- s::CodeList.external("51"))
153
-
154
- E118 = t:: R.new(:E118 , "Rate" , 1, 9)
155
- E123 = t::Nn.new(:E123 , "Number of Received Transaction Sets" , 1, 6, 0)
156
- E124 = t::AN.new(:E124 , "Application Receiver's Code" , 2, 15)
157
- E127 = t::AN.new(:E127 , "Reference Identification" , 1, 50)
158
- E128 = t::ID.new(:E128 , "Reference Identification Qualifier" , 2, 3,
159
- s::CodeList.build(
160
- "00" => "Contracting District Number",
161
- "04" => s::CodeList.external("91"),
162
- "0B" => "State License Number",
163
- "0F" => "Subscriber Number",
164
- "0K" => "Policy Form Identifying Number",
165
- "17" => "Client Reporting Category",
166
- "18" => "Plan Number",
167
- "19" => "Division Identifier",
168
- "1A" => "Blue Cross Provider Number",
169
- "1B" => "Blue Shield Provider Number",
170
- "1C" => "Medicare Provider Number",
171
- "1D" => "Medicaid Provider Number",
172
- "1G" => "Provider UPIN Number",
173
- "1H" => "CHAMPUS Identification Number",
174
- "1J" => "Facility ID Number",
175
- "1K" => "Payor's Claim Number",
176
- "1L" => "Group or Policy Number",
177
- "1S" => "Ambulatory Patient Group (APG) Number",
178
- "1W" => "Member Identification Number",
179
- "23" => "Client Number",
180
- "26" => "Union Number",
181
- "28" => "Employee Identification Number",
182
- "2U" => "Payer Identification Number",
183
- "38" => "Master Policy Number",
184
- "3H" => "Case Number",
185
- "3L" => "Branch Identifier",
186
- "4A" => "Personal Identification Number (PIN)",
187
- "4N" => "Special Payment Reference Number",
188
- "49" => "Family Unit Number",
189
- "60" => "Account Suffix Code",
190
- "6M" => "Application Number",
191
- "6O" => "Cross Reference Number",
192
- "6P" => "Group Number",
193
- "6R" => "Provider Control Number",
194
- "9A" => "Repriced Claim Reference Number",
195
- "9B" => "Repriced Line Item Reference Number",
196
- "9C" => "Adjusted Repriced Claim Reference Number",
197
- "9D" => "Adjusted Repriced Line Item Reference Number",
198
- "9F" => "Referral Number",
199
- "9K" => "Servicer",
200
- "9V" => "Payment Category",
201
- "9X" => "Account Category",
202
- "ABB" => "Personal ID Number",
203
- "ABY" => s::CodeList.external("540"),
204
- "ALS" => "Alternative List ID",
205
- "AP" => "Ambulatory Payment Classification",
206
- "APC" => s::CodeList.external("468"),
207
- "BB" => "Authorization Number",
208
- "BLT" => "Billing Type",
209
- "BT" => "Batch Number",
210
- "CE" => "Class of Contract Code",
211
- "CLI" => "Coverage List ID",
212
- "CT" => "Contract Number",
213
- "CPT" => s::CodeList.external("133"),
214
- "D3" => s::CodeList.external("307"),
215
- "D9" => "Claim Number",
216
- "DNS" => s::CodeList.external("16"),
217
- "DUN" => s::CodeList.external("16"),
218
- "DX" => "Department/Agency Number",
219
- "E8" => "Service Contract (Coverage) Number",
220
- "E9" => "Attachment Code",
221
- "EA" => "Medical Record Identification Number",
222
- "EL" => "Electronic Device PIN Number",
223
- "EI" => "Employer's Identification Number",
224
- "EJ" => "Patient Account Number",
225
- "EO" => "Submitter Identification Number",
226
- "EV" => "Receiver Identification Number",
227
- "EW" => "Mammography Certification Number",
228
- "F2" => "Version Code - Local",
229
- "F4" => "Facility Certification Number",
230
- "F5" => "Medicare Version Code",
231
- "F6" => "Health Insurance Claim (HIC) Number",
232
- "F8" => "Original Reference Number",
233
- "FJ" => "Line Item Control Number",
234
- "FO" => "Drug Formulary Number",
235
- "FY" => "Claim Office Number",
236
- "G1" => "Prior Authorization Number",
237
- "G2" => "Provider Commercial Number",
238
- "G3" => "Predetermination of Benefits Identification Number",
239
- "GH" => "Identification Card Serial Number",
240
- "G4" => "Peer Review Organization (PRO) Approval Number",
241
- "GE" => "Geographic Number",
242
- "HI" => s::CodeList.external("121"),
243
- "HJ" => "Identity Card Number",
244
- "HPI" => s::CodeList.external("537"),
245
- "ICD" => s::CodeList.external("131"),
246
- "IF" => "Issue Number",
247
- "IG" => "Insurance Policy Number",
248
- "JD" => "User Identification",
249
- "LOI" => s::CodeList.external("663"),
250
- "LU" => "Location Number",
251
- "LX" => "Qualified Products List",
252
- "M7" => "Medical Assistance Category",
253
- "MRC" => s::CodeList.external("844"),
254
- "N5" => "Provider Plan Network Identification Number",
255
- "N6" => "Plan Network Identification Number",
256
- "N7" => "Facitily Network Identification Number",
257
- "NF" => s::CodeList.external("245"),
258
- "NQ" => "Medicaid Recipient Identification Number",
259
- "P4" => "Project Code",
260
- "P5" => "Position Code",
261
- "PID" => "Program Identification Number",
262
- "PQ" => "Payee Indentification",
263
- "PXC" => s::CodeList.external("682"),
264
- "Q4" => "Prior Identifier Number",
265
- "QQ" => "Unit Number",
266
- "RB" => "Rate code number",
267
- "SY" => "Social Security Number",
268
- "T4" => "Signal Code",
269
- "TJ" => "Federal Taxpayer's Identification Number",
270
- "VY" => "Link Sequence Number",
271
- "Y4" => "Agency Claim Number",
272
- "X4" => "Clinical Laboratory Improvement Amendment Number",
273
- "X9" => "Internal Control Number",
274
- "XM" => "Issuer Number",
275
- "XX1" => "Special Program Code",
276
- "XX2" => "Service Area Code",
277
- "XZ" => "Pharmacy Prescription Number",
278
- "YY" => "Geographic Key",
279
- "ZX" => "County Code",
280
- "ZZ" => "Mutually Defined"))
281
-
282
- E142 = t::AN.new(:E142 , "Application's Sender Code" , 2, 15)
283
- E143 = t::ID.new(:E143 , "Transaction Set Identifier Number" , 3, 3,
284
- s::CodeList.build(
285
- "270" => "Eligibility, Coverage, or Benefit Inquiry",
286
- "271" => "Eligibility, Coverage, or Benefit Information",
287
- "276" => "Health Care Claim Status Request",
288
- "277" => "Health Care Information Status Notification",
289
- "834" => "Benefit Enrollment and Maintenance",
290
- "835" => "Health Care Claim Payment/Advice",
291
- "837" => "Health Care Claim",
292
- "999" => "Implementation Acknowledgement"))
293
-
294
- E156 = t::ID.new(:E156 , "State or Province Code" , 2, 2,
295
- s::CodeList.external("22"))
296
-
297
- E166 = t::AN.new(:E166 , "Address Information" , 1, 55)
298
- E212 = t:: R.new(:E212 , "Unit Price" , 1, 17)
299
- E234 = t::AN.new(:E234 , "Product/Service ID" , 1, 48)
300
- E235 = t::ID.new(:E235 , "Product/Service ID Qualifier" , 2, 2,
301
- s::CodeList.build(
302
- "AD" => s::CodeList.external("135"),
303
- "A5" => s::CodeList.external("22"),
304
- "CH" => s::CodeList.external("5"),
305
- "CJ" => s::CodeList.external("135"),
306
- "DC" => s::CodeList.external("897"),
307
- "DX" => s::CodeList.external("131"),
308
- "EN" => "EAN/UCC - 13",
309
- "EO" => "EAN/UCC - 8",
310
- "ER" => s::CodeList.external("576"),
311
- "HC" => s::CodeList.external("130"),
312
- "HP" => s::CodeList.external("716"),
313
- "ID" => s::CodeList.external("131"),
314
- "IP" => s::CodeList.external("896"),
315
- "IV" => s::CodeList.external("513"),
316
- "HI" => "HIBC (Health Care Industry Bar Code) Supplier Labeling Standard Primary Data Message",
317
- "LB" => s::CodeList.external("663"),
318
- "N1" => s::CodeList.external("240"),
319
- "N2" => s::CodeList.external("240"),
320
- "N3" => s::CodeList.external("240"),
321
- "N4" => s::CodeList.external("240"),
322
- "N5" => s::CodeList.external("240"),
323
- "N6" => s::CodeList.external("240"),
324
- "NU" => s::CodeList.external("132"),
325
- "ON" => "Customer Order Number",
326
- "TD" => s::CodeList.external("359"),
327
- "UI" => "U.P.C. Consumer Package (1-5-5)",
328
- "UK" => "GTIN 14-digit Data Structure",
329
- "UP" => "UCC - 12",
330
- "RB" => s::CodeList.external("132"),
331
- "WK" => s::CodeList.external("843"),
332
- "ZZ" => "Mutually Defined"))
333
-
334
- E236 = t::ID.new(:E236 , "Price Identifier Code" , 3, 3)
335
- E280 = t:: R.new(:E280 , "Exchange Rate" , 4, 10)
336
- E289 = t::Nn.new(:E289 , "Multiple Price Quantity" , 1, 2, 0)
337
- E305 = t::ID.new(:E305 , "Transaction Handling Code" , 1, 2,
338
- s::CodeList.build(
339
- "C" => "Payment Accompanies Remittance Advice",
340
- "D" => "Make Payment Only",
341
- "H" => "Notification Only",
342
- "I" => "Remittance Information Only",
343
- "P" => "Prenotification of Future Transfers",
344
- "U" => "Split Payment and Remittance",
345
- "X" => "Handling Party's Option to Split Payment and Remittance"))
346
-
347
- E306 = t::ID.new(:E306 , "Action Code" , 1, 2,
348
- s::CodeList.build(
349
- "1" => "Add",
350
- "2" => "Change (Update)",
351
- "4" => "Verify",
352
- "RX" => "Replace",
353
- "U" => "Reject",
354
- "WQ" => "Accept"))
355
-
356
- E309 = t::ID.new(:E309 , "Location Qualifier" , 1, 2,
357
- s::CodeList.build(
358
- "60" => "Area",
359
- "CY" => "County/Parish",
360
- "PQ" => s::CodeList.external("51"),
361
- "PR" => s::CodeList.external("51"),
362
- "PS" => s::CodeList.external("51"),
363
- "RJ" => s::CodeList.external("DOD1")))
364
-
365
- E310 = t::ID.new(:E310 , "Location Identifier" , 1, 30)
366
- E329 = t::AN.new(:E329 , "Transaction Set Control Number" , 4, 9)
367
- E332 = t:: R.new(:E332 , "Percent, Decimal Format" , 1, 6)
368
- E337 = t::TM.new(:E337 , "Time" , 4, 8)
369
- E338 = t:: R.new(:E338 , "Terms Discount Percent" , 1, 6)
370
- E350 = t::AN.new(:E350 , "Assigned Identification" , 1, 20)
371
- E352 = t::AN.new(:E352 , "Description" , 1, 80)
372
- E353 = t::ID.new(:E353 , "Transaction Set Purpose Code" , 2, 2,
373
- s::CodeList.build(
374
- "00" => "Original",
375
- "01" => "Cancellation",
376
- "06" => "Confirmation",
377
- "08" => "Status",
378
- "15" => "Re-Submission",
379
- "11" => "Response",
380
- "13" => "Request",
381
- "18" => "Reissue",
382
- "22" => "Information Copy"))
383
-
384
- E355 = t::ID.new(:E355 , "Unit or Basis for Measurement Code" , 2, 2,
385
- s::CodeList.build(
386
- "01" => "Actual Pounds",
387
- "DA" => "Days",
388
- "DH" => "Miles",
389
- "F2" => "International Unit",
390
- "GR" => "Gram",
391
- "LB" => "Pound",
392
- "ME" => "Milligram",
393
- "MJ" => "Minutes",
394
- "ML" => "Milliliter",
395
- "MO" => "Months",
396
- "UN" => "Units",
397
- "WK" => "Week",
398
- "VS" => "Visit",
399
- "YR" => "Years"))
400
-
401
- E363 = t::ID.new(:E363 , "Note Reference Code" , 3, 3,
402
- s::CodeList.build(
403
- "ADD" => "Additional Information",
404
- "ALG" => "Allergies",
405
- "CER" => "Certification Narrative",
406
- "DCP" => "Goals, Rehabilitation Potential, or Discharge Plans",
407
- "DGN" => "Diagnosis Description",
408
- "DME" => "Durable Medical Equipment (DME) and Supplies",
409
- "MED" => "Medications",
410
- "NTR" => "Nutritional Requirements",
411
- "ODT" => "Orders for Disciplines and Treatments",
412
- "RHB" => "Functional Limitations, Reason Homebound, or Both",
413
- "RLH" => "Reasons Patient Leaves Home",
414
- "RNH" => "Times and Reasons Patient Not at Home",
415
- "SET" => "Unusual Home, Social Environment, or Both",
416
- "SFM" => "Safety Measures",
417
- "SPT" => "Supplementary Plan of Treatment",
418
- "TPO" => "Third Party Organization Notes",
419
- "UPI" => "Updated Information"))
420
-
421
- E364 = t::AN.new(:E364 , "Communication Number" , 1, 256)
422
- E365 = t::ID.new(:E365 , "Communication Number Qualifier" , 2, 2,
423
- s::CodeList.build(
424
- "AP" => "Alternate Telephone",
425
- "BN" => "Beeper Number",
426
- "CP" => "Cellular Phone",
427
- "ED" => "Electronic Data Interchange Access Number",
428
- "EM" => "Electronic Mail",
429
- "EX" => "Telephone Extension",
430
- "FX" => "Facsimile",
431
- "HP" => "Home Phone Number",
432
- "TE" => "Telephone",
433
- "UR" => "Uniform Resource Locator (URL)",
434
- "WP" => "Work Phone Number"))
435
-
436
- E366 = t::ID.new(:E366 , "Contract Function Code" , 2, 2,
437
- s::CodeList.build(
438
- "BL" => "Technical Department",
439
- "CN" => "General Contact",
440
- "CX" => "Payers Claim Office",
441
- "EP" => "Employer Contact",
442
- "IC" => "Information Contact",
443
- "IP" => "Insured Party",
444
- "RP" => "Responsible Person",
445
- "PQ" => "Parent or Guardian",
446
- "SK" => "School Clerk"))
447
-
448
- E373 = t::DT.new(:E373 , "Date" , 8, 8)
449
- E374 = t::ID.new(:E374 , "Date/Time Qualifier" , 3, 3,
450
- s::CodeList.build(
451
- "007" => "Effective",
452
- "009" => "Process",
453
- "011" => "Shipped",
454
- "036" => "Expiration",
455
- "050" => "Received",
456
- "090" => "Report Start",
457
- "091" => "Report End",
458
- "096" => "Discharge",
459
- "102" => "Issue",
460
- "150" => "Service Period Start",
461
- "151" => "Service Period End",
462
- "152" => "Effective Date of Change",
463
- "193" => "Period Start",
464
- "194" => "Period End",
465
- "198" => "Completion",
466
- "232" => "Claim Statement Period Start",
467
- "233" => "Claim Statement Period End",
468
- "286" => "Retirement",
469
- "290" => "Coordination of Benefits",
470
- "291" => "Plan",
471
- "292" => "Benefit",
472
- "295" => "Primary Care Provider",
473
- "296" => "Initial Disability Period Return To Work",
474
- "297" => "Initial Disability Period Last Day Worked",
475
- "300" => "Enrollment Signature Date",
476
- "301" => "Consolidated Omnibus Budget Reconciliation Act (COBRA) Qualifying Event",
477
- "303" => "Maintenance Effective",
478
- "304" => "Latest Visit or Consultation",
479
- "307" => "Eligibility",
480
- "314" => "Disability",
481
- "318" => "Added",
482
- "336" => "Employment Begin",
483
- "337" => "Employment End",
484
- "338" => "Medicare Begin",
485
- "339" => "Medicare End",
486
- "340" => "Consolidated Omnibus Budget Reconciliation Act (COBRA) Begin",
487
- "341" => "Consolidated Omnibus Budget Reconciliation Act (COBRA) End",
488
- "342" => "Premium Paid to Date Begin",
489
- "343" => "Premium Paid to Date End",
490
- "344" => "Coordination of Benefits Begin",
491
- "345" => "Coordination of Benefits End",
492
- "346" => "Plan Begin",
493
- "347" => "Plan End",
494
- "348" => "Benefit Begin",
495
- "349" => "Benefit End",
496
- "350" => "Education Begin",
497
- "351" => "Education End",
498
- "356" => "Eligibility Begin",
499
- "357" => "Eligibility End",
500
- "360" => "Initial Disability Period Start",
501
- "361" => "Initial Disability Period End",
502
- "382" => "Enrollment",
503
- "383" => "Adjusted Hire",
504
- "385" => "Credited Service Begin",
505
- "386" => "Credited Service End",
506
- "388" => "Payment Cancellation",
507
- "393" => "Plan Participation Suspension",
508
- "394" => "Rehire",
509
- "405" => "Production",
510
- "431" => "Onset of Current Symptoms or Illness",
511
- "434" => "Statement",
512
- "435" => "Admission",
513
- "439" => "Accident",
514
- "442" => "Date of Birth",
515
- "444" => "First Visit or Consultation",
516
- "453" => "Acute Manifestation of a Chronic Condition",
517
- "454" => "Initial Treatment",
518
- "455" => "Last X-Ray",
519
- "458" => "Certification",
520
- "461" => "Last Certification",
521
- "463" => "Begin Therapy",
522
- "471" => "Prescription",
523
- "472" => "Service",
524
- "473" => "Medicaid Begin",
525
- "474" => "Medicaid End",
526
- "484" => "Last Menstrual Period",
527
- "539" => "Policy Effective",
528
- "540" => "Policy Expiration",
529
- "543" => "Last Premium Paid Date",
530
- "573" => "Date Claim Paid",
531
- "607" => "Certification Revision",
532
- "636" => "Date of Last Update",
533
- "695" => "Previous Period",
534
- "738" => "Most Recent Hemoglobin or Hematocrit or Both",
535
- "739" => "Most Recent Serum Creatine",
536
- "771" => "Status"))
537
-
538
- E380 = t:: R.new(:E380 , "Quantity" , 1, 15)
539
- E426 = t::ID.new(:E426 , "Adjustment Reason Code" , 2, 2,
540
- s::CodeList.build(
541
- "50" => "Late Charge",
542
- "51" => "Interest Penalty Charge",
543
- "72" => "Authorized Return",
544
- "90" => "Early Payment Allowance",
545
- "AH" => "Origination Fee",
546
- "AM" => "Applied to Borrower's Account",
547
- "AP" => "Acceleration of Benefits",
548
- "B2" => "Rebate",
549
- "B3" => "Recovery Allowance",
550
- "BD" => "Bad Debt Adjustment",
551
- "BN" => "Bonus",
552
- "C5" => "Temporary Allowance",
553
- "CR" => "Capitation Interest",
554
- "CS" => "Adjustment",
555
- "CT" => "Capitation Payment",
556
- "CV" => "Capital Passthru",
557
- "CW" => "Certified Registered Nurse Anesthetist Passthru",
558
- "DM" => "Direct Medical Education Passthru",
559
- "E3" => "Withholding",
560
- "FB" => "Forwarding Balance",
561
- "FC" => "Fund Allocation",
562
- "GO" => "Graduate Medicale Education Passthru",
563
- "HM" => "Hemophelia Clotting Factor Supplement",
564
- "IP" => "Incentive Premium Payment",
565
- "IR" => "Internal Revenue Service Withholding",
566
- "IS" => "Interim Settlement",
567
- "J1" => "Nonreimbursable",
568
- "L3" => "Penalty",
569
- "L6" => "Interest Owed",
570
- "LE" => "Levy",
571
- "LS" => "Lump Sum",
572
- "OA" => "Organ Acquisition Passthru",
573
- "OB" => "Offset for Affiliated Providers",
574
- "PI" => "Periodic Interim Payment",
575
- "PL" => "Payment Final",
576
- "RA" => "Retro-activity Adjustment",
577
- "RE" => "Return on Equity",
578
- "SL" => "Student Loan Repayment",
579
- "TL" => "Third Party Liability",
580
- "WO" => "Overpayment Recovery",
581
- "WU" => "Unspecified Recovery"))
582
-
583
- E429 = t::AN.new(:E429 , "Check Number" , 1, 16)
584
- E443 = t::AN.new(:E443 , "Contract Inquiry Reference" , 1, 20)
585
- E447 = t::AN.new(:E447 , "Loop Identifier Code" , 1, 4)
586
- E449 = t::AN.new(:E449 , "Fixed Format Information" , 1, 80)
587
- E478 = t::ID.new(:E478 , "Credit/Debit Flag Code" , 1, 1,
588
- s::CodeList.build(
589
- "C" => "Credit",
590
- "D" => "Debit",
591
- "ACH" => "Automated Clearing House (ACH)",
592
- "BOP" => "Financial Institution Option",
593
- "CHK" => "Check",
594
- "FWT" => "Federal Reserve Funds/Wire Transfer - Nonrepetitive",
595
- "NON" => "Non-Payment Data"))
596
-
597
- E479 = t::ID.new(:E479 , "Functional Identifier Code" , 2, 2,
598
- s::CodeList.build(
599
- "BE" => "Benefit Enrollment and Maintenance",
600
- "FA" => "Functional or Implementation Acknowledgment Transaction Sets",
601
- "HB" => "Eligibility, Coverage or Benefit Inforation",
602
- "HC" => "Health Care Claim",
603
- "HI" => "Health Care Services Review Information",
604
- "HN" => "Health Care Information Status Notification",
605
- "HP" => "Health Care Claim Payment/Advice",
606
- "HS" => "Eligibility, Coverage or Benefit Inquiry",
607
- "HR" => "Health Care Claim Status Request",
608
- "RA" => "Payment Order/Remittance Advice"))
609
-
610
- E455 = t::ID.new(:E455 , "Responsible Agency Code" , 1, 2,
611
- s::CodeList.build(
612
- "X" => "Accredited Standards Committee X12"))
613
-
614
- E480 = t::AN.new(:E480 , "Version / Release / Identifier Code" , 1, 12,
615
- s::CodeList.external("881"))
616
-
617
- E481 = t::ID.new(:E481 , "Trace Type Code" , 1, 2,
618
- s::CodeList.build(
619
- "1" => "Current Transaction Trace Numbers",
620
- "2" => "Referenced Transaction Trace Numbers"))
621
-
622
- E499 = t::AN.new(:E499 , "Condition Value" , 1, 10)
623
- E506 = t::ID.new(:E506 , "DFI Identification Number Qualifier" , 2, 2,
624
- s::CodeList.build(
625
- "01" => s::CodeList.external("4"),
626
- "04" => s::CodeList.external("91")))
627
-
628
- E507 = t::AN.new(:E507 , "DFI Identification Number" , 3, 12,
629
- s::CodeList.external("60"))
630
-
631
- E508 = t::AN.new(:E508 , "Account Number" , 1, 35)
632
- E509 = t::AN.new(:E509 , "Originating Company Identifier" , 10,10)
633
- E510 = t::AN.new(:E510 , "Originating Company Supplemental Code", 9, 9)
634
- E522 = t::ID.new(:E522 , "Amount Qualifier Code" , 1, 3,
635
- s::CodeList.build(
636
- "A8" => "Noncovered Charges - Actual",
637
- "AU" => "Coverage Amount",
638
- "B6" => "Allowed Amount",
639
- "B9" => "Co-insurance - Actual",
640
- "C1" => "Co-Payment Amount",
641
- "D" => "Payor Amount Paid",
642
- "D2" => "Deductible Amount",
643
- "D8" => "Discount Amount",
644
- "DY" => "Per Day Limit",
645
- "EAF" => "Amount Owed",
646
- "EBA" => "Expected Expenditure Amount",
647
- "F3" => "Patient Responsibility - Estimated",
648
- "F4" => "Postage Claimed",
649
- "F5" => "Patient Amount Paid",
650
- "FK" => "Other Unlisted Amount",
651
- "GT" => "Goods and Services Tax",
652
- "I" => "Interest",
653
- "KH" => "Deduction Amount",
654
- "N8" => "Miscellaneous Taxes",
655
- "NL" => "Negative Ledger Balance",
656
- "P3" => "Premium Amount",
657
- "T3" => "Total Submitted Charges",
658
- "PB" => "Billed Amount",
659
- "R" => "Spend Down",
660
- "T" => "Tax",
661
- "T2" => "Total Claim Before Taxes",
662
- "YU" => "In Process",
663
- "YY" => "Returned",
664
- "ZK" => "Federal Medicare or Medicaid Payment Mandate Category 1",
665
- "ZL" => "Federal Medicare or Medicaid Payment Mandate Category 2",
666
- "ZM" => "Federal Medicare or Medicaid Payment Mandate Category 3",
667
- "ZN" => "Federal Medicare or Medicaid Payment Mandate Category 4",
668
- "ZO" => "Federal Medicare or Medicaid Payment Mandate Category 5"))
669
-
670
- E554 = t::Nn.new(:E554 , "Assigned Number" , 1, 6, 0)
671
- E559 = t::ID.new(:E559 , "Agency Qualifier Code" , 2, 2,
672
- s::CodeList.build(
673
- "LB" => s::CodeList.external("407")))
674
-
675
- E569 = t::ID.new(:E569 , "Account Number Qualifier" , 1, 3,
676
- s::CodeList.build(
677
- "DA" => "Demand Deposit",
678
- "SG" => "Savings"))
679
-
680
- E584 = t::ID.new(:E584 , "Employment Status Code" , 2, 2,
681
- s::CodeList.build(
682
- "AC" => "Active",
683
- "AE" => "",
684
- "AO" => "Active Military - Overseas",
685
- "AU" => "Active Military - USA",
686
- "AS" => "",
687
- "AT" => "",
688
- "CC" => "",
689
- "DD" => "",
690
- "HD" => "",
691
- "IR" => "",
692
- "FT" => "Full-time",
693
- "L1" => "Leave of Absence",
694
- "LX" => "",
695
- "PE" => "",
696
- "PT" => "Part-time",
697
- "RE" => "",
698
- "RM" => "",
699
- "RR" => "",
700
- "RU" => "",
701
- "RT" => "Retired",
702
- "TE" => "Terminated"))
703
-
704
- E591 = t::ID.new(:E591 , "Payment Method Code" , 3, 3)
705
- E594 = t::ID.new(:E594 , "Frequency Code" , 1, 1,
706
- s::CodeList.build(
707
- "1" => "Weekly",
708
- "2" => "Biweekly",
709
- "3" => "Semimonthly",
710
- "4" => "Monthly",
711
- "6" => "Daily",
712
- "7" => "Annual",
713
- "8" => "Two Calendar Months",
714
- "9" => "Lump-Sum Separation Allowance",
715
- "B" => "Year-to-Date",
716
- "C" => "Single",
717
- "H" => "Hourly",
718
- "Q" => "Quarterly",
719
- "S" => "Semiannual",
720
- "U" => "Unknown"))
721
-
722
- E609 = t::Nn.new(:E609 , "Count" , 1, 9, 0)
723
- E615 = t::ID.new(:E615 , "Time Period Qualifier" , 1, 2,
724
- s::CodeList.build(
725
- "6" => "Hour",
726
- "7" => "Day",
727
- "13" => "24 Hours",
728
- "21" => "Years",
729
- "22" => "Service Year",
730
- "23" => "Calendar Year",
731
- "24" => "Year to Date",
732
- "25" => "Contract",
733
- "26" => "Episode",
734
- "27" => "Visit",
735
- "28" => "Outlier",
736
- "29" => "Remaining",
737
- "30" => "Exceeded",
738
- "31" => "Not Exceeded",
739
- "32" => "Lifetime",
740
- "33" => "Lifetime Remaining",
741
- "34" => "Month",
742
- "35" => "Week",
743
- "36" => "Admission"))
744
-
745
- E616 = t::Nn.new(:E616 , "Number of Periods" , 1, 3, 0)
746
- E618 = t::ID.new(:E618 , "Implementation Transaction Set Syntax Error Code", 1, 3,
747
- s::CodeList.build(
748
- "1" => "Transaction Set Not Supported",
749
- "2" => "Transaction Set Trailer Missing",
750
- "3" => "Transaction Set Control Number in Header and Trailer Do Not Match",
751
- "4" => "Number of Included Segments Does Not Match Actual Content",
752
- "5" => "One or More Segments in Error",
753
- "6" => "Missing or Invalid Transaction Set Identifier",
754
- "7" => "Missing or Invalid Transaction Set Control Number",
755
- "8" => "Authentication Key Name Unknown",
756
- "9" => "Encryption Key Name Unknown",
757
- "10" => "Requested Service (Authentication or Encrypted) Not Available",
758
- "11" => "Unknown Security Recipient",
759
- "12" => "Incorrect Message Length (Encryption Only)",
760
- "13" => "Message Authentication Code Failed",
761
- "15" => "Unknown Security Originator",
762
- "16" => "Syntax Error in Decrypted Text",
763
- "17" => "Security Not Supported",
764
- "18" => "Transaction Set not in Functional Group",
765
- "19" => "Invalid Transaction Set Implementation Convention Reference",
766
- "23" => "Transaction Set Control Number Not Unique within the Functional Group",
767
- "24" => "S3E Security End Segment Missing for S3S Security Start Segment",
768
- "25" => "S3S Security Start Segment Missing for S3E Security End Segment",
769
- "26" => "S4E Security End Segment Missing for S4S Security Start Segment",
770
- "27" => "S4S Security Start Segment Missing for S4E Security End Segment",
771
- "I5" => "Implementation One or More Segments In Error",
772
- "I6" => "Implementation Convention Not Supported"))
773
-
774
-
775
- E620 = t::ID.new(:E620 , "Implementation Segment Syntax Error Code", 1, 3,
776
- s::CodeList.build(
777
- "1" => "Unrecognized segment ID",
778
- "2" => "Unexpected segment",
779
- "3" => "Required Segment Missing",
780
- "4" => "Loop Occurs Over Maximum Times",
781
- "5" => "Segment Exceeds Maximum Use",
782
- "6" => "Segment Not in Defined Transaction Set",
783
- "7" => "Segment Not in Proper Sequence",
784
- "8" => "Segment Has Data Element Errors",
785
- "I4" => "Implementation 'Not Used' Segment Present",
786
- "I6" => "Implementation Dependent Segment Missing",
787
- "I7" => "Implementation Loop Occurs Under Minimum Times",
788
- "I8" => "Implementation Segment Below Minimum Use",
789
- "I9" => "Implementation Dependent 'Not Used' Segment Present"))
790
-
791
- E621 = t::ID.new(:E621 , "Implementation Data Element Syntax Error Code", 1, 3,
792
- s::CodeList.build(
793
- "1" => "Required Data Element Missing",
794
- "2" => "Conditional Required Data Element Missing",
795
- "3" => "Too Many Data Elements",
796
- "4" => "Data Element Too Short",
797
- "5" => "Data Element Too Long",
798
- "6" => "Invalid Character In Data Element",
799
- "7" => "Invalid Code Value",
800
- "8" => "Invalid Date",
801
- "9" => "Invalid Time",
802
- "10" => "Exclusion Conditional Violated",
803
- "12" => "Too Many Repetitions",
804
- "13" => "Too Many Components",
805
- "I6" => "Code Value Not Used in Implementation",
806
- "I9" => "Implementation Dependent Data Element Missing",
807
- "I10" => "Implementation 'Not Used' Data Element Present",
808
- "I11" => "Implementation Too Few Repetitions",
809
- "I12" => "Implementation Pattern Match Failure",
810
- "I13" => "Implementation Dependent 'Not Used' Data Element Present"))
811
-
812
- E623 = t::ID.new(:E623 , "Time Code" , 2, 2,
813
- s::CodeList.external("94"))
814
-
815
- E628 = t::AN.new(:E628 , "Hierachical ID Number" , 1, 12)
816
- E639 = t::ID.new(:E639 , "Basis of Unit Price Code" , 2, 2)
817
- E640 = t::ID.new(:E640 , "Transaction Type Code" , 2, 2,
818
- s::CodeList.build(
819
- "31" => "Subrogation Demand",
820
- "CH" => "Chargeable",
821
- "DG" => "Response",
822
- "NO" => "Notice",
823
- "RP" => "Reporting",
824
- "RQ" => "Request",
825
- "RT" => "Spend Down",
826
- "TH" => "Receipt Acknowledgement Advice"))
827
-
828
- E648 = t::ID.new(:E648 , "Price Multiplier Qualifier" , 3, 3)
829
- E649 = t:: R.new(:E649 , "Multiplier" , 1, 10)
830
- E659 = t::ID.new(:E659 , "Basis of Verification Code" , 1, 2)
831
- E669 = t::ID.new(:E669 , "Currency Market/Exchnage Code" , 3, 3)
832
- E673 = t::ID.new(:E673 , "Quantity Qualifier" , 2, 2,
833
- s::CodeList.build(
834
- "8H" => "Minimum",
835
- "90" => "Acknowledged Quantity",
836
- "99" => "Quantity Used",
837
- "AA" => "Unacknowledged Quantity",
838
- "CA" => "Covered - Actual",
839
- "CD" => "Co-insured - Actual",
840
- "CE" => "Covered - Estimated",
841
- "D3" => "Number of Co-insurance Days",
842
- "DB" => "Deductible Blood Units",
843
- "DY" => "Days",
844
- "FA" => "Facility Identification",
845
- "FI" => "Federal Taxpayer's Identification Number",
846
- "DT" => "Dependent Total",
847
- "ET" => "Employee Total",
848
- "FL" => "Units",
849
- "HS" => "Hours",
850
- "II" => "Standard Unique Health Identifier For Each Individual In The United States",
851
- "LA" => "Life-time Reserve - Actual",
852
- "LE" => "Life-time Reserve - Estimated",
853
- "M2" => "Maximum",
854
- "MI" => "Member Identification Number",
855
- "MN" => "Month",
856
- "NE" => "Non-Covered Amount - Estimated",
857
- "NI" => "National Association of Insurance Commissioners (NAIC) Identification",
858
- "NR" => "Not Replaced Blood Units",
859
- "OU" => "Outlier Days",
860
- "P6" => "Number of Services or Procedures",
861
- "PI" => "Payor Identification",
862
- "PP" => "Pharmacy Processor Number",
863
- "PS" => "Prescription",
864
- "PT" => "Patients",
865
- "QA" => "Quantity Approved",
866
- "QC" => "Quantity Disapproved",
867
- "S7" => "Age, High Value",
868
- "S8" => "Age, Low Value",
869
- "SV" => "Service Provider Number",
870
- "TO" => "Total",
871
- "VS" => "Visits",
872
- "XV" => s::CodeList.external("540"),
873
- "XX" => s::CodeList.external("537"),
874
- "YY" => "Years",
875
- "ZK" => "Federal Medicare or Medicaid Payment Mandate Category 1",
876
- "ZL" => "Federal Medicare or Medicaid Payment Mandate Category 2",
877
- "ZM" => "Federal Medicare or Medicaid Payment Mandate Category 3",
878
- "ZN" => "Federal Medicare or Medicaid Payment Mandate Category 4",
879
- "ZO" => "Federal Medicare or Medicaid Payment Mandate Category 5"))
880
-
881
- E678 = t::ID.new(:E678 , "Ship/Delivery or Calendar Pattern Code", 1, 2,
882
- s::CodeList.build(
883
- "1" => "1st Week of the Month",
884
- "2" => "2nd Week of the Month",
885
- "3" => "3rd Week of the Month",
886
- "4" => "4th Week of the Month",
887
- "5" => "5th Week of the Month",
888
- "6" => "1st & 3rd Weeks of the Month",
889
- "7" => "2nd & 4th Weeks of the Month",
890
- "8" => "1st Working Day of Period",
891
- "9" => "Last Working Day of Period",
892
- "A" => "Monday through Friday",
893
- "B" => "Monday through Saturday",
894
- "C" => "Monday through Sunday",
895
- "D" => "Monday",
896
- "E" => "Tuesday",
897
- "F" => "Wednesday",
898
- "G" => "Thursday",
899
- "H" => "Friday",
900
- "J" => "Saturday",
901
- "K" => "Sunday",
902
- "L" => "Monday through Thursday",
903
- "M" => "Immediately",
904
- "N" => "As Directed",
905
- "O" => "Daily Mon. through Fri.",
906
- "P" => "1/2 Mon. & 1/2 Thurs.",
907
- "Q" => "1/2 Tues. & 1/2 Thurs.",
908
- "R" => "1/2 Wed. & 1/2 Fri.",
909
- "S" => "Once Anytime Mon. through Fri.",
910
- "SG" => "Tuesday through Friday",
911
- "SL" => "Monday, Tuesday and Thursday",
912
- "SP" => "MOnday, Tuesday and Friday",
913
- "SX" => "Wednesday and Thursday",
914
- "SY" => "Monday, Wednesday and Thursday",
915
- "SZ" => "Tuesday, Thursday and Friday",
916
- "SGT" => "uesday through Friday",
917
- "SLM" => "onday, Tuesday and Thursday",
918
- "SPM" => "onday, Tuesday and Friday",
919
- "SXW" => "ednesday and Thursday",
920
- "SYM" => "onday, Wednesday and Thursday",
921
- "SZT" => "uesday, Thursday and Friday",
922
- "T" => "1/2 Tue. & 1/2 Fri.",
923
- "U" => "1/2 Mon. & 1/2 Wed.",
924
- "V" => "1/3 Mon., 1/3 Wed., 1/3 Fri.",
925
- "W" => "Whenever Necessary",
926
- "X" => "1/2 By Wed., Bal. By Fri.",
927
- "Y" => "None (Also Used to Cancel or Override a Previous Pattern)"))
928
- E679 = t::ID.new(:E679 , "Ship/Delivery Pattern Time Code" , 1, 1,
929
- s::CodeList.build(
930
- "A" => "1st Shift (Normal Working Hours)",
931
- "B" => "2nd Shift",
932
- "C" => "3rd Shift",
933
- "D" => "A.M.",
934
- "E" => "P.M.",
935
- "F" => "As Directed",
936
- "G" => "Any Shift",
937
- "Y" => "None (Also Used to Cancel or Override a Previous Pattern)"))
938
-
939
- E687 = t::ID.new(:E687 , "Class of Trade Code" , 2, 2)
940
- E704 = t::ID.new(:E704 , "Paperwork/Report Action Code" , 1, 2)
941
- # @note Copied from an unverified 4010 internet source
942
-
943
- E706 = t::ID.new(:E706 , "Entity Relation Code" , 2, 2)
944
- E715 = t::ID.new(:E715 , "Functional Group Acknowledgment Code" , 1, 1,
945
- s::CodeList.build(
946
- "A" => "Accepted",
947
- "E" => "Accepted, But Errors Were Noted",
948
- "M" => "Rejected, Message Authentication Code (MAC) Failed",
949
- "P" => "Partially Accepted, At Least One Transaction Set Was Rejected",
950
- "R" => "Rejected",
951
- "W" => "Rejected, Assurance Failed Validity Tests",
952
- "X" => "Rejected, Content After Decryption Could Not Be Analyzed"))
953
-
954
- E716 = t::ID.new(:E716 , "Functional Group Syntax Error Code" , 1, 3,
955
- s::CodeList.build(
956
- "1" => "Functional Group Not Supported",
957
- "2" => "Functional Group Version Not Supported",
958
- "3" => "Functional Group Trailer Missing",
959
- "4" => "Group Control Number in the Functional Group Header and Trailer Do Not Agree",
960
- "5" => "Number of Included Transaction Sets Does Not Match Actual Count",
961
- "6" => "Group Control Number Violates Syntax",
962
- "10" => "Authentication Key Name Unknown",
963
- "11" => "Encryption Key Name Unknown",
964
- "12" => "Requested Service (Authentication or Encryption) Not Available",
965
- "13" => "Unknown Security Recipient",
966
- "14" => "Unknown Security Originator",
967
- "15" => "Syntax Error in Decrypted Text",
968
- "16" => "Security Not Supported",
969
- "17" => "Incorrect Message Length (Encryption Only)",
970
- "18" => "Message Authentication Code Failed",
971
- "19" => "Functional Group Control Number not Unique within Interchange",
972
- "23" => "S3E Security End Segment Missing for S3S Security Start Segment",
973
- "24" => "S3S Security Start Segment Missing for S3E Security End Segment",
974
- "25" => "S4E Security End Segment Missing for S4S Security Start Segment",
975
- "26" => "S4S Security Start Segment Missing for S4E Security End Segment"))
976
-
977
- E717 = t::ID.new(:E717 , "Transaction Set Acknowledgment Code" , 1, 1,
978
- s::CodeList.build(
979
- "A" => "Accepted",
980
- "E" => "Accepted But Errors Were Reported",
981
- "M" => "Rejected, Message Authentication Code (MAC) Failed",
982
- "R" => "Rejected",
983
- "W" => "Rejected, Assurance Failed Validity Tests",
984
- "X" => "Rejected, Content After Decryption Could Not Be Analyzed"))
985
-
986
- E718 = t::ID.new(:E718 , "Transaction Set Syntax Error Code" , 1, 3)
987
- E719 = t::Nn.new(:E719 , "Segment Position in Transaction Set" , 1, 10, 0)
988
-
989
- E721 = t::ID.new(:E721 , "Segment ID Code" , 2, 3)
990
- # S77
991
-
992
- E722 = t::Nn.new(:E722 , "Element Position in Segment" , 1, 2, 0)
993
- E724 = t::AN.new(:E724 , "Copy of Bad Data Element" , 1, 99)
994
- E725 = t::Nn.new(:E725 , "Data Element Reference Number" , 1, 4, 0)
995
- # S77
996
-
997
- E734 = t::AN.new(:E734 , "Hierarchical Parent ID Number" , 1, 12)
998
- E735 = t::ID.new(:E735 , "Hierarchical Level Code" , 1, 2,
999
- s::CodeList.build(
1000
- "19" => "Provider of Service",
1001
- "20" => "Information Source",
1002
- "21" => "Information Receiver",
1003
- "22" => "Subscriber",
1004
- "23" => "Dependent",
1005
- "PT" => "Patient"))
1006
-
1007
- E736 = t::ID.new(:E736 , "Hierarchical Child Code" , 1, 1,
1008
- s::CodeList.build(
1009
- "0" => "No Subordinate HL Segment in This Hierarchical Structure",
1010
- "1" => "Additional Subordinate HL Data Segment in This Hierarchical Structure"))
1011
-
1012
- E737 = t::ID.new(:E737 , "Measurement Reference ID Code" , 2, 2,
1013
- s::CodeList.build(
1014
- "OG" => "Original",
1015
- "TR" => "Test Results"))
1016
-
1017
- E738 = t::ID.new(:E738 , "Measurement Qualifier" , 2, 2,
1018
- s::CodeList.build(
1019
- "HT" => "Height",
1020
- "R1" => "Hemoglobin",
1021
- "R2" => "Hematocrit",
1022
- "R3" => "Epoetin Starting Dosage",
1023
- "R4" => "Creatinine"))
1024
-
1025
- E739 = t:: R.new(:E739 , "Measurement Value" , 1, 20)
1026
- E740 = t:: R.new(:E740 , "Range Minimum" , 1, 20)
1027
- E741 = t:: R.new(:E741 , "Range Maximum" , 1, 20)
1028
- E752 = t::ID.new(:E752 , "Surface/Layer/Position Code" , 2, 2)
1029
- E753 = t::ID.new(:E753 , "Measurement Method or Device" , 2, 4)
1030
- E755 = t::ID.new(:E755 , "Report Type Code" , 2, 2,
1031
- s::CodeList.build(
1032
- "03" => "Report Justifying Treatment Beyond Utilization Guidelines",
1033
- "04" => "Drugs Administered",
1034
- "05" => "Treatment Diagnosis",
1035
- "06" => "Initial Assesment",
1036
- "07" => "Functional Goals",
1037
- "08" => "Plan of Treatment",
1038
- "09" => "Progress Report",
1039
- "10" => "Continued Treatment",
1040
- "11" => "Chemical Analysis",
1041
- "13" => "Certified Test Report",
1042
- "15" => "Justification for Admission",
1043
- "21" => "Recovery Plan",
1044
- "A3" => "Allergies/Sensitivies Document",
1045
- "A4" => "Autopsy Report",
1046
- "AM" => "Ambulance Certification",
1047
- "AS" => "Admission Summary",
1048
- "B2" => "Prescription",
1049
- "B3" => "Physician Order",
1050
- "B4" => "Referral Form",
1051
- "BR" => "Benchmark Testing Results",
1052
- "BS" => "Baseline",
1053
- "BT" => "Blanket Test Results",
1054
- "CB" => "Chiropractic Justification",
1055
- "CK" => "Conset Form(s)",
1056
- "CT" => "Certification",
1057
- "D2" => "Drug Profile Document",
1058
- "DA" => "Dental Models",
1059
- "DB" => "Durable Medical Equipment Prescription",
1060
- "DG" => "Diagnostic Report",
1061
- "DJ" => "Discharge Monitoring Report",
1062
- "DS" => "Discharge Summary",
1063
- "EB" => "Explanation of Benefits (Coordination of Benefits or Medicare Secondary Payer)",
1064
- "HC" => "Health Cerification",
1065
- "HR" => "Health Clinic Records",
1066
- "I5" => "Immunization Record",
1067
- "IR" => "State School Immunization Records",
1068
- "LA" => "Laboratory Results",
1069
- "M1" => "Medical Record Attachment",
1070
- "MT" => "Models",
1071
- "NN" => "Nursing Notes",
1072
- "OB" => "Operative Note",
1073
- "OC" => "Oxygen Content Averaging Report",
1074
- "OD" => "Orders and Treatments Document",
1075
- "OE" => "Objective Physical Examination (including vital signs) Document",
1076
- "OX" => "Oxygen Therapy Certification",
1077
- "OZ" => "Support Data for Claim",
1078
- "P4" => "Pathology Report",
1079
- "P5" => "Patient Medical History Document",
1080
- "PE" => "Parenteral or Enteral Certification",
1081
- "PN" => "Physical Therapy Notes",
1082
- "PO" => "Prosthetics or Orthotic Certification",
1083
- "PQ" => "Paramedical Results",
1084
- "PY" => "Physician's Report",
1085
- "PZ" => "Physical Therapy Certification",
1086
- "RB" => "Radiology Films",
1087
- "RR" => "Radiology Reports",
1088
- "RT" => "Report of Tests and Analysis Report",
1089
- "RX" => "Renewable Oxygen Content Averaging Report",
1090
- "SG" => "Symptoms Document",
1091
- "V5" => "Death Notification",
1092
- "XP" => "Photographs"))
1093
-
1094
- E756 = t::ID.new(:E756 , "Report Transmission Code" , 1, 2,
1095
- s::CodeList.build(
1096
- "AA" => "Available on Request at Provider Site",
1097
- "AB" => "Previously Submitted to Payer",
1098
- "AD" => "Certification Included in this Claim",
1099
- "AF" => "Narrative Segment Included in this Claim",
1100
- "AG" => "No Documentation is Required",
1101
- "BM" => "By Mail",
1102
- "EL" => "Electronically Only",
1103
- "EM" => "E-Mail",
1104
- "FT" => "File Transfer",
1105
- "FX" => "By Fax",
1106
- "NS" => "Not Specified",
1107
- "OL" => "On-Line"))
1108
-
1109
- E757 = t::Nn.new(:E757 , "Report Copies Needed" , 1, 2, 0)
1110
- E782 = t:: R.new(:E782 , "Monetary Amount" , 1, 18)
1111
- E786 = t::ID.new(:E786 , "Security Level Code" , 2, 2,
1112
- s::CodeList.build(
1113
- "00" => "Company Non-Classified",
1114
- "01" => "Company Internal Use Only",
1115
- "02" => "Company Confidential",
1116
- "03" => "Company Confidential, Restricted (Need to Know)",
1117
- "04" => "Company Registered (Signature Required)",
1118
- "05" => "Personal",
1119
- "06" => "Supplier Proprietary",
1120
- "09" => "Company Defined (Trading Partner Level)",
1121
- "11" => "Competition Sensitive",
1122
- "20" => "Court Restricted",
1123
- "21" => "Juvenile Record Restricted",
1124
- "90" => "Government Non-Classified",
1125
- "92" => "Government Confidential",
1126
- "93" => "Government Secret",
1127
- "94" => "Government Top Secret",
1128
- "99" => "Government Defined (Trading Partner Level)",
1129
- "ZZ" => "Mutually Defined"))
1130
-
1131
- E799 = t::AN.new(:E799 , "Version Identifier" , 1, 30)
1132
- E812 = t::ID.new(:E812 , "Payment Format Code" , 3, 3,
1133
- s::CodeList.build(
1134
- "CCP" => "Cash Concentration/Disbursement plus Addenda (CCD+)(ACH)",
1135
- "CTX" => "Corporate Trade Exchange (CTX) (ACH)"))
1136
-
1137
- E875 = t::ID.new(:E875 , "Maintenance Type Code" , 3, 3,
1138
- s::CodeList.build(
1139
- "001" => "Change",
1140
- "002" => "Delete",
1141
- "021" => "Addition",
1142
- "024" => "Cancellation or Termination",
1143
- "025" => "Reinstatement",
1144
- "026" => "Correction",
1145
- "030" => "Audit or Compare",
1146
- "032" => "Employee Information Not Applicable"))
1147
-
1148
- E889 = t::ID.new(:E889 , "Follow-up Action Code" , 1, 1,
1149
- s::CodeList.build(
1150
- "C" => "Please Correct and Resubmit",
1151
- "N" => "Resubmission Not Allowed",
1152
- "P" => "Please Resubmit Original Transaction",
1153
- "R" => "Resubmission Allowed",
1154
- "S" => "Do Not Resubmit; Inquiry Initiated to a Third Party",
1155
- "W" => "Please Wait 30 Days and Resubmit",
1156
- "X" => "Please Wait 10 Days and Resubmit",
1157
- "Y" => "Do Not Resubmit; We Will Hold Your Request and Respond Again Shortly"))
1158
-
1159
- E901 = t::ID.new(:E901 , "Reject Reason Code" , 2, 2,
1160
- s::CodeList.build(
1161
- "04" => "Authorization Quantity Exceeded",
1162
- "15" => "Required Application Data Missing",
1163
- "33" => "Input Errors",
1164
- "35" => "Out of Network",
1165
- "41" => "Authorization/Access Restrictions",
1166
- "42" => "Unable to Respond at Current Time",
1167
- "43" => "Invalid/Missing Provider Identification",
1168
- "44" => "Invalid/Missing Provider Name",
1169
- "45" => "Invalid/Missing Provider Specialty",
1170
- "46" => "Invalid/Missing Provider Phone Number",
1171
- "47" => "Invalid/Missing Provider State",
1172
- "48" => "Invalid/Missing Referring Provider Identification Number",
1173
- "49" => "Provider is Not Primary Care Physician",
1174
- "50" => "Provider Ineligible for Inquiries",
1175
- "51" => "Provider Not on File",
1176
- "52" => "Service Dates Not Within Provider Plan Enrollment",
1177
- "53" => "Inquired Benefit Inconsistent with Provider Type",
1178
- "54" => "Inappropriate Product/Service ID Qualifier",
1179
- "55" => "Inappropriate Product/Service ID",
1180
- "56" => "Inappropriate Date",
1181
- "57" => "Invalid/Missing Date(s) of Service",
1182
- "58" => "Invalid/Missing Date-of-Birth",
1183
- "60" => "Date of Birth Follows Date(s) of Service",
1184
- "61" => "Date of Death Preceeds Date(s) of Service",
1185
- "62" => "Date of Service Not Within Allowable Inquiry Period",
1186
- "63" => "Date of Service in Future",
1187
- "64" => "Invalid/Missing Patient ID",
1188
- "65" => "Invalid/Missing Patient Name",
1189
- "66" => "Invalid/Missing Patient Gender Code",
1190
- "67" => "Patient Not Found",
1191
- "68" => "Duplicate Patient ID Number",
1192
- "69" => "Inconsistent with Patient's Age",
1193
- "70" => "Inconsistent with Patient's Gender",
1194
- "71" => "Patient Birth Date Does Not Match That for the Patient on the Database",
1195
- "72" => "Invalid/Missing Subscriber/Insured ID",
1196
- "73" => "Invalid/Missing Subscriber/Insured Name",
1197
- "74" => "Invalid/Missing Subscriber/Insured Gender Code",
1198
- "75" => "Subscribed/Insured Not Found",
1199
- "76" => "Duplicate Subscriber/Insured ID Number",
1200
- "77" => "Subscriber Found, Patient Not Found",
1201
- "78" => "Subscriber/Insured Not in Group/Plan Identified",
1202
- "79" => "Invalid Participant Identification",
1203
- "80" => "No Response Received - Transaction Terminated",
1204
- "97" => "Invalid or Missing Provider Address",
1205
- "98" => "Experimental Service or Procedure",
1206
- "AA" => "Authorization Number Not Found",
1207
- "AE" => "Requires Primary Care Physician Authorization",
1208
- "AF" => "Invalid/Missing Diagnosis Code(s)",
1209
- "AG" => "Invalid/Missing Procedure Code(s)",
1210
- "AO" => "Additional Patient Condition Information Required",
1211
- "CI" => "Certification Information Does Not Match Patient",
1212
- "E8" => "Requires Medical Review",
1213
- "IA" => "Invalid Authorization Number Format",
1214
- "MA" => "Missing Authorization Number",
1215
- "T1" => "Cannot Identify Provider as TPO (Third Party Organization) Participant",
1216
- "T2" => "Cannot Identify Payer as TPO (Third Party Organization) Participant",
1217
- "T3" => "Cannot Identify Insured as TPO (Third Party Organization) Participant",
1218
- "T4" => "Payer Name or Identifier Missing",
1219
- "T5" => "Certification Information Missing",
1220
- "T6" => "Claim does not contain enough information for re-pricing"))
1221
-
1222
- E923 = t::ID.new(:E923 , "Prognosis Code" , 1, 1)
1223
-
1224
- E933 = t::AN.new(:E933 , "Free-form Message Text" , 1, 264)
1225
- E934 = t::AN.new(:E934 , "Printer Carriage Control Code" , 2, 2)
1226
- E935 = t::ID.new(:E935 , "Measurement Significance Code" , 2, 2)
1227
- E936 = t::ID.new(:E936 , "Measurement Attribute Code" , 2, 2)
1228
- E954 = t:: R.new(:E954 , "Percentage as Decimal" , 1, 10)
1229
- E1005 = t::ID.new(:E1005, "Hierarchical Structure Code" , 4, 4,
1230
- s::CodeList.build(
1231
- "0010" => "Information Source, Information Receiver, Provider of Service, Subscriber, Dependent",
1232
- "0019" => "Information Source, Subscriber, Dependent",
1233
- "0022" => "Information Source, Information Receiver, Subscriber, Dependent",
1234
- "0085" => "Information Source, Information Receiver, Provider of Service, Patient"))
1235
-
1236
- E1018 = t:: R.new(:E1018, "Exponent" , 1, 15)
1237
- E1028 = t::AN.new(:E1028, "Claim Submitter's Identifier" , 1, 38)
1238
- E1029 = t::ID.new(:E1029, "Claim Status Code" , 1, 2,
1239
- s::CodeList.build(
1240
- "1" => "Processed as Primary",
1241
- "2" => "Processed as Secondary",
1242
- "3" => "Processed as Tertiary",
1243
- "4" => "Denied",
1244
- "19" => "Processed as Primary, Forwarded to Additional Payer(s)",
1245
- "20" => "Processed as Secondary, Forwarded to Additional Payer(s)",
1246
- "21" => "Processed as Tertiary, Forwarded to Additional Payer(s)",
1247
- "22" => "Reversal of Previous Payment",
1248
- "23" => "Not Our Claim, Forwarded to Additional Payer(s)",
1249
- "25" => "Predetermination Pricing Only - No Payment"))
1250
-
1251
- E1032 = t::ID.new(:E1032, "Claim Filing Indicator Code" , 1, 2,
1252
- s::CodeList.build(
1253
- "11" => "Other Non-Federal Programs",
1254
- "12" => "Preferred Provider Organization (PPO)",
1255
- "13" => "Point of Service (POS)",
1256
- "14" => "Exclusive Provider Organization (EPO)",
1257
- "15" => "Indemnity Insurance",
1258
- "16" => "Health Maintenance Organization (HMO) Medicare Risk",
1259
- "17" => "Dentail Maintenance Organization",
1260
- "AM" => "Automobile Medical",
1261
- "BL" => "Blue Cross/Blue Shield",
1262
- "CH" => "Champus",
1263
- "CI" => "Commercial Insurance Co.",
1264
- "DS" => "Disability",
1265
- "FI" => "Federal Employees Program",
1266
- "HM" => "Health Maintenance Organization",
1267
- "LM" => "Liability Medical",
1268
- "MA" => "Medicare Part A",
1269
- "MB" => "Medicare Part B",
1270
- "MC" => "Medicaid",
1271
- "OF" => "Other Federal Program",
1272
- "TV" => "Title V",
1273
- "VA" => "Veterans Affairs Plan",
1274
- "WC" => "Worker's Compensation Health Claim",
1275
- "ZZ" => "Mutually Defined"))
1276
-
1277
- E1033 = t::ID.new(:E1033, "Claim Adjustment Group Code" , 1, 12,
1278
- s::CodeList.build(
1279
- "CO" => "Contractual Obligations",
1280
- "CR" => "Corrections and Reversals",
1281
- "OA" => "Other adjustments",
1282
- "PI" => "Payor Initiated Reductions",
1283
- "PR" => "Patient Responsibility"))
1284
-
1285
- E1034 = t::ID.new(:E1034, "Claim Adjustment Reason Code" , 1, 5,
1286
- s::CodeList.external("139"))
1287
-
1288
- E1035 = t::AN.new(:E1035, "Name Last or Organization Name" , 1, 60)
1289
- E1036 = t::AN.new(:E1036, "Name First" , 1, 35)
1290
- E1037 = t::AN.new(:E1037, "Name Middle" , 1, 25)
1291
- E1038 = t::AN.new(:E1038, "Name Prefix" , 1, 10)
1292
- E1039 = t::AN.new(:E1039, "Name Suffix" , 1, 10)
1293
- E1048 = t::ID.new(:E1048, "Business Function Code" , 1, 3)
1294
- E1065 = t::ID.new(:E1065, "Entity Type Qualifier" , 1, 1,
1295
- s::CodeList.build(
1296
- "1" => "Person",
1297
- "2" => "Non-Person Entity"))
1298
-
1299
- E1066 = t::ID.new(:E1066, "Citizenship Status Code" , 1, 2)
1300
- E1067 = t::ID.new(:E1067, "Marital Status Code" , 1, 1)
1301
- E1068 = t::ID.new(:E1068, "Gender Code" , 1, 1,
1302
- s::CodeList.build(
1303
- "F" => "Female",
1304
- "M" => "Male",
1305
- "U" => "Unknown"))
1306
-
1307
- E1069 = t::ID.new(:E1069, "Individual Relationship Code" , 2, 2,
1308
- s::CodeList.build(
1309
- "01" => "Spouse",
1310
- "03" => "Father or Mother",
1311
- "04" => "Grandfather or Grandmother",
1312
- "05" => "Grandson or Granddaughter",
1313
- "06" => "Uncle or Aunt",
1314
- "07" => "Nephew or Niece",
1315
- "08" => "Cousin",
1316
- "09" => "Adopted Child",
1317
- "10" => "Foster Child",
1318
- "11" => "Son-in-law or Daughter-in-law",
1319
- "12" => "Brother-in-law or Sister-in-law",
1320
- "13" => "Mother-in-law or Father-in-law",
1321
- "14" => "Brother or Sister",
1322
- "15" => "Ward",
1323
- "16" => "Stepparent",
1324
- "17" => "Stepson or Stepdaughter",
1325
- "18" => "Self",
1326
- "19" => "Child",
1327
- "20" => "Employee",
1328
- "21" => "Unknown",
1329
- "23" => "Sponsored Dependent",
1330
- "24" => "Dependent of a Minor Dependent",
1331
- "25" => "Ex-spouse",
1332
- "26" => "Guardian",
1333
- "31" => "Court Appointed Guardian",
1334
- "34" => "Other Adult",
1335
- "38" => "Collateral Dependent",
1336
- "39" => "Organ Donor",
1337
- "40" => "Cadaver Donor",
1338
- "53" => "Life Partner",
1339
- "60" => "Annuitant",
1340
- "D2" => "Trustee",
1341
- "G8" => "Other Relationship",
1342
- "G9" => "Other Relative"))
1343
-
1344
- E1073 = t::ID.new(:E1073, "Yes/No Condition or Response Code" , 1, 1,
1345
- s::CodeList.build(
1346
- "N" => "No",
1347
- "U" => "Unknown",
1348
- "Y" => "Yes",
1349
- "W" => "Not Applicable"))
1350
-
1351
- E1109 = t::ID.new(:E1109, "Race or Ethnicity Code" , 1, 1)
1352
- E1136 = t::ID.new(:E1136, "Code Category" , 2, 2,
1353
- s::CodeList.build(
1354
- "07" => "Ambulance Certification",
1355
- "09" => "Durable Medical Equipment Certification",
1356
- "12" => "Medicare Secondary Working Aged Beneficiary or Spouse with Employer Group Health Plan",
1357
- "13" => "Medicare Secondary End-Stage Renal Disease Beneficiary in Mandated Coordination Period with an Employer's Group Health Plan",
1358
- "14" => "Medicare Secondary, No-fault Insurance including Auto is Primary",
1359
- "15" => "Medicare Secondary Worker's Compensation",
1360
- "16" => "Medicare Secondary Public Health Service (PHS) or Other Federal Agency",
1361
- "41" => "Medicare Secondary Blank Lung",
1362
- "42" => "Medicare Secondary Veteran's Administration",
1363
- "43" => "Medicare Secondary Disabled Beneficiary Under Age 65 with Large Group Health Plan (LGHP)",
1364
- "44" => "Nature of Injury",
1365
- "47" => "Medicare Secondary, Other Liability Insurance is Primary",
1366
- "70" => "Hospice",
1367
- "75" => "Functional Limitations",
1368
- "E1" => "Spectacle Lenses",
1369
- "E2" => "Contact Lenses",
1370
- "E3" => "Spectacle Frames",
1371
- "ZZ" => "Mutually Defined"))
1372
-
1373
- E1137 = t::AN.new(:E1137, "Medical Code Value" , 1, 15)
1374
- E1138 = t::ID.new(:E1138, "Payer Responsibility Sequence" , 1, 1,
1375
- s::CodeList.build(
1376
- "P" => "Primary",
1377
- "S" => "Secondary",
1378
- "T" => "Tertiary",
1379
- "U" => "Unknown",
1380
- "A" => "Payer Responsibility Four",
1381
- "B" => "Payer Responsibility Five",
1382
- "C" => "Payer Responsibility Six",
1383
- "D" => "Payer Responsibility Seven",
1384
- "E" => "Payer Responsibility Eight",
1385
- "F" => "Payer Responsibility Nine",
1386
- "G" => "Payer Responsibility Ten",
1387
- "H" => "Payer Responsibility Eleven"))
1388
-
1389
- E1143 = t::ID.new(:E1143, "Coordination of Benefits Code" , 1, 1,
1390
- s::CodeList.build(
1391
- "1" => "Coordination of Benefits",
1392
- "5" => "Unknown",
1393
- "6" => "No Coordination of Benefits"))
1394
-
1395
- E1146 = t::ID.new(:E1146, "Disability Type Code" , 1, 1,
1396
- s::CodeList.build(
1397
- "1" => "Short Term Disability",
1398
- "2" => "Long Term Disability",
1399
- "3" => "Permanent or Total Disability",
1400
- "4" => "No Disability"))
1401
-
1402
- E1149 = t::ID.new(:E1149, "Occupation Code" , 4, 6)
1403
- E1154 = t::ID.new(:E1154, "Work Intensity Code" , 1, 1)
1404
- E1161 = t::ID.new(:E1161, "Product Option Code" , 1, 2)
1405
- E1165 = t::ID.new(:E1165, "Confidentiality Code" , 1, 1,
1406
- s::CodeList.build(
1407
- "R" => "Restricted Access",
1408
- "U" => "Unrestricted Access"))
1409
-
1410
- E1166 = t::ID.new(:E1166, "Contract Type Code" , 2, 2,
1411
- s::CodeList.build(
1412
- "01" => "Diagnosis Related Group (DRG)",
1413
- "02" => "Per Diem",
1414
- "03" => "Variable Per Diem",
1415
- "04" => "Flat",
1416
- "05" => "Captitated",
1417
- "06" => "Percent",
1418
- "09" => "Other"))
1419
-
1420
- E1167 = t:: R.new(:E1167, "Sample Selection Modulus" , 1, 6)
1421
-
1422
- E1176 = t::ID.new(:E1176, "Employment Class Code" , 2, 3,
1423
- s::CodeList.build(
1424
- "01" => "Union",
1425
- "02" => "Non-Union",
1426
- "03" => "Executive",
1427
- "04" => "Non-Executive",
1428
- "05" => "Management",
1429
- "06" => "Non-Management",
1430
- "07" => "Hourly",
1431
- "08" => "Salaried",
1432
- "09" => "Administrative",
1433
- "10" => "Non-Administrative",
1434
- "11" => "Exempt",
1435
- "12" => "Non-Exempt",
1436
- "17" => "Highly Compensated",
1437
- "18" => "Key-Employee",
1438
- "19" => "Bargaining",
1439
- "20" => "Non-Bargaining",
1440
- "21" => "Owner",
1441
- "22" => "President",
1442
- "23" => "Vice President"))
1443
-
1444
- E1201 = t::ID.new(:E1201, "Information Status Code" , 1, 1,
1445
- s::CodeList.build(
1446
- "A" => "Partial",
1447
- "C" => "Current",
1448
- "L" => "Latest",
1449
- "O" => "Oldest",
1450
- "P" => "Prior",
1451
- "S" => "Second Most Current",
1452
- "T" => "Third Most Current"))
1453
-
1454
-
1455
- E1203 = t::ID.new(:E1203, "Maintenance Reason Code" , 2, 3,
1456
- s::CodeList.build(
1457
- "01" => "Divorce",
1458
- "02" => "Birth",
1459
- "03" => "Death",
1460
- "04" => "Retirement",
1461
- "05" => "Adoption",
1462
- "06" => "Strike",
1463
- "07" => "Termination of Benefits",
1464
- "08" => "Termination of Employment",
1465
- "09" => "Consolidation Omnibus Budget Reconciliation Act (COBRA)",
1466
- "10" => "Consolidation Omnibus Budget Reconciliation Act (COBRA) Premium Paid",
1467
- "11" => "Surviving Spouse",
1468
- "14" => "Voluntary Withdrawal",
1469
- "15" => "Primary Care Provider (PCP) Change",
1470
- "16" => "Quit",
1471
- "17" => "Fired",
1472
- "18" => "Suspended",
1473
- "20" => "Active",
1474
- "21" => "Disability",
1475
- "22" => "Plan Change",
1476
- "25" => "Change in Identifying Data Elements",
1477
- "26" => "Declined Coverage",
1478
- "27" => "Pre-Enrollment",
1479
- "28" => "Initial Enrollment",
1480
- "29" => "Benefit Selection",
1481
- "31" => "Legal Separation",
1482
- "32" => "Marriage",
1483
- "33" => "Personnel Data",
1484
- "37" => "Leave of Absence with Benefits",
1485
- "38" => "Leave of Absence without Benefits",
1486
- "39" => "Lay Off with Benefits",
1487
- "40" => "Lay Off without Benefits",
1488
- "41" => "Re-enrollment",
1489
- "43" => "Change of Location",
1490
- "46" => "Current Customer Information File in Error",
1491
- "59" => "Non Payment",
1492
- "AA" => "Dissatisfaction with Office Staff",
1493
- "AB" => "Dissatisfaction with Medical Care/Services Rendered",
1494
- "AC" => "Inconvenient Office Location",
1495
- "AD" => "Dissatisfaction with Office Hours",
1496
- "AE" => "Unable to Schedule Appointments in a Timely Manner",
1497
- "AF" => "Dissatisfaction with Physician's Referral Policy",
1498
- "AG" => "Less Respect and Attention Time Given than to Other Patients",
1499
- "AH" => "Patient Moved to a New Location",
1500
- "AI" => "No Reason Given",
1501
- "AJ" => "Appointment Times not Met in a Timely Manner",
1502
- "AL" => "Algorithm Assigned Benefit Selection",
1503
- "EC" => "Member Benefit Selection",
1504
- "XN" => "Notification Only",
1505
- "XT" => "Transfer"))
1506
-
1507
- E1204 = t::AN.new(:E1204, "Plan Coverage Description" , 1, 50)
1508
- E1205 = t::ID.new(:E1205, "Insurance Line Code" , 2, 3,
1509
- s::CodeList.build(
1510
- "AG" => "Preventative Care/Wellness",
1511
- "AH" => "24 Hour Care",
1512
- "AJ" => "Medicare Risk",
1513
- "AK" => "Mental Health",
1514
- "DCP" => "Dental Capitation",
1515
- "DEN" => "Dental",
1516
- "EPO" => "Exclusive Provider Organization",
1517
- "FAC" => "Facility",
1518
- "HE" => "Hearing",
1519
- "HLT" => "Health",
1520
- "HMO" => "Health Maintenance Organization",
1521
- "LTC" => "Long-Term Care",
1522
- "LTD" => "Long-Term Disability",
1523
- "MM" => "Major Medical",
1524
- "MOD" => "Mail Order Drug",
1525
- "PDG" => "Prescription Drug",
1526
- "POS" => "Point of Service",
1527
- "PPO" => "Preferred Provider Organization",
1528
- "PRA" => "Practitioners",
1529
- "STD" => "Short-Term Disability",
1530
- "UR" => "Utilization Review",
1531
- "VIS" => "Vision"))
1532
-
1533
- E1207 = t::ID.new(:E1207, "Coverage Level Code" , 3, 3,
1534
- s::CodeList.build(
1535
- "CHD" => "Children Only",
1536
- "DEP" => "Dependents Only",
1537
- "E1D" => "Employee and One Dependent",
1538
- "E2D" => "Employee and Two Dependents",
1539
- "E3D" => "Employee and Three Dependents",
1540
- "E5D" => "Employee and One or More Dependents",
1541
- "E6D" => "Employee and Two or More Dependents",
1542
- "E7D" => "Employee and Three or More Dependents",
1543
- "E8D" => "Employee and Four or More Dependents",
1544
- "E9D" => "Employee and Five or More Dependents",
1545
- "ECH" => "Employee and Children",
1546
- "EMP" => "Employee Only",
1547
- "ESP" => "Employee and Spouse",
1548
- "FAM" => "Family",
1549
- "IND" => "Individual",
1550
- "SPC" => "Spouse and Children",
1551
- "SPO" => "Spouse Only",
1552
- "TWO" => "Two Party"))
1553
-
1554
- E1209 = t::ID.new(:E1209, "Underwriting Decision Code" , 1, 1)
1555
- E1211 = t::ID.new(:E1211, "Drug House Code" , 2, 3)
1556
- E1212 = t::ID.new(:E1212, "Health-Related Code" , 1, 1,
1557
- s::CodeList.build(
1558
- "N" => "None",
1559
- "S" => "Substance Abuse",
1560
- "T" => "Tobacco Use",
1561
- "U" => "Unknown",
1562
- "X" => "Tobacco Use and Substance Abuse"))
1563
-
1564
- E1213 = t::ID.new(:E1213, "Current Health Condition Code" , 1, 1)
1565
- E1214 = t::AN.new(:E1214, "Salary Grade" , 1, 5)
1566
- E1215 = t::ID.new(:E1215, "Identification Card Type Code" , 1, 1,
1567
- s::CodeList.build(
1568
- "D" => "Dental Insurance",
1569
- "H" => "Health Insurance",
1570
- "P" => "Prescription Drug Service Drug Insurance"))
1571
-
1572
- E1216 = t::ID.new(:E1216, "Benefit Status Code" , 1, 1,
1573
- s::CodeList.build(
1574
- "A" => "Active",
1575
- "C" => "Consolidated Omnibus Budget Reconciliation Act (COBRA)",
1576
- "S" => "Surviving Insured",
1577
- "T" => "Tax Equity and Fiscal Responsibility Act (TEFRA)"))
1578
-
1579
- E1218 = t::ID.new(:E1218, "Benefit Status Code" , 1, 1,
1580
- s::CodeList.build(
1581
- "A" => "Medicare Part A",
1582
- "B" => "Medicare Part B",
1583
- "C" => "Medicare Part A and B",
1584
- "D" => "Medicare",
1585
- "E" => "No Medicare",
1586
- "F" => "Medicare Part D",
1587
- "G" => "Medicare Part A and D",
1588
- "H" => "Medicare Part B and D",
1589
- "I" => "Medicare Part A, B, and D"))
1590
-
1591
- E1219 = t::ID.new(:E1219, "Consolidated Omnibus Budget Reconciliation Act (COBRA) Qualifying", 1, 2,
1592
- s::CodeList.build(
1593
- "1" => "Termination of Employment",
1594
- "2" => "Reduction of work hours",
1595
- "3" => "Medicare",
1596
- "4" => "Death",
1597
- "5" => "Divorce",
1598
- "6" => "Separation",
1599
- "7" => "Ineligible Child",
1600
- "8" => "Bankruptcy of Retiree's Former Employer (26 U.S.C. 4980B(f)(3)(F))",
1601
- "9" => "Layoff",
1602
- "10" => "Leave of Absence",
1603
- "ZZ" => "Mutually Defined"))
1604
-
1605
- E1220 = t::ID.new(:E1220, "Student Status Code" , 1, 1,
1606
- s::CodeList.build(
1607
- "F" => "Full-time",
1608
- "N" => "Not a Student",
1609
- "P" => "Part-time"))
1610
-
1611
- E1221 = t::ID.new(:E1221, "Provider Code" , 1, 3,
1612
- s::CodeList.build(
1613
- "AD" => "Admitting",
1614
- "AT" => "Attending",
1615
- "BI" => "Billing",
1616
- "CO" => "Consulting",
1617
- "CV" => "Covering",
1618
- "H" => "Hospital",
1619
- "HH" => "Home Health Care",
1620
- "LA" => "Laboratory",
1621
- "OT" => "Other Physician",
1622
- "P1" => "Pharmacist",
1623
- "P2" => "Pharmacy",
1624
- "PC" => "Primary Care Physician",
1625
- "PE" => "Performing",
1626
- "R" => "Rural Health Clinic",
1627
- "RF" => "Referring",
1628
- "SB" => "Submitting",
1629
- "SK" => "Skilled Nursing Facility",
1630
- "SU" => "Supervising"))
1631
-
1632
- E1222 = t::AN.new(:E1222, "Provider Specialty Code" , 1, 3)
1633
- # @note Copied from an unverified 4010 internet source
1634
-
1635
- E1223 = t::ID.new(:E1223, "Provider Organization Code" , 3, 3)
1636
- E1250 = t::ID.new(:E1250, "Date Time Period Format Qualifier" , 2, 3,
1637
- s::CodeList.build(
1638
- "CC" => "First Two Digits of Year Expressed in Format CCYY",
1639
- "CD" => "Month and Year Expressed in Format MMMYYY",
1640
- "CM" => "Date in Format CCYYMM",
1641
- "CQ" => "Date in Format CCYYQ",
1642
- "CY" => "Year Expressed in Format CCYY",
1643
- "D6" => "Date Expressed in Format YYMMDD",
1644
- "D8" => "Date Expressed in Format CCYYMMDD",
1645
- "DA" => "Range of Dates within a Single Month Expressed in Format DD-DD",
1646
- "DB" => "Date Expressed in Format MMDDCCYY",
1647
- "DD" => "Day of Month in Numeric Format",
1648
- "DDT" => "Range of Dates and Time Expressed in Format CCYYMMDD-CCYYMMDDHHMM",
1649
- "DT" => "Date and Time Expressed in Format CCYYMMDDHHMM",
1650
- "DTD" => "Range of Dates and Time Expressed in Format CCYYMMDDHHMM-CCYYMMDD",
1651
- "DTS" => "Range of Date and Time Expressed in Format CCYYMMDDHHMMSS-CCYYMMDDHHMMSS",
1652
- "EH" => "Last Digit of Year and Julian Date Expressed in Format YDDD",
1653
- "KA" => "Date Expressed in Format YYMMMDD",
1654
- "MD" => "Month of Year and Day of Month Expressed in Format MMDD",
1655
- "MM" => "Month of Year in Numeric Format",
1656
- "RD" => "Range of Dates Expressed in Format MMDDCCYY-MMDDCCYY",
1657
- "RD2" => "Range of Years Expressed in Format YY-YY",
1658
- "RD4" => "Range of Years Expressed in Format CCYY-CCYY",
1659
- "RD5" => "Range of Years and Months Expressed in Format CCYYMM-CCYYMM",
1660
- "RD6" => "Range of Dates Expressed in Format YYMMDD-YYMMDD",
1661
- "RD8" => "Range of Dates Expressed in Format CCYYMMDD-CCYYMMDD",
1662
- "RDM" => "Range of Dates Expressed in Format YYMMDD-MMDD",
1663
- "RDT" => "Range of Date and Time Expressed in Format CCYYMMDDHHMM-CCYYMMDDHHMM",
1664
- "RMD" => "Range of Months and Days Expressed in Format MMDD-MMDD",
1665
- "RMY" => "Range of Years and Months Expressed in Format YYMM-YYMM",
1666
- "RTM" => "Range of Time Expressed in Format HHMM-HHMM",
1667
- "RTS" => "Date and Time Expressed in Format CCYYMMDDHHMMSS",
1668
- "TC" => "Julian Date Expressed in Format DDD",
1669
- "TM" => "Time Expressed in Format HHMM",
1670
- "TQ" => "Date Expressed in Format MMYY",
1671
- "TR" => "Date and Time Expressed in Format DDMMYYHHMM",
1672
- "TS" => "Time Expressed in Format HHMMSS",
1673
- "TT" => "Date Expressed in Format MMDDYY",
1674
- "TU" => "Date EXpressed in Format YYDDD",
1675
- "UN" => "Unstructured",
1676
- "YM" => "Year and Month Expressed in Format YYMM",
1677
- "YMM" => "Range of Year and Month Expressed in Format CCYYMM-MMM",
1678
- "YY" => "Last Two Digits of Year Expressed in Format CCYY"))
1679
-
1680
- E1251 = t::AN.new(:E1251, "Date Time Period" , 1, 35)
1681
- E1270 = t::ID.new(:E1270, "Code List Qualifier Code" , 1, 3,
1682
- s::CodeList.build(
1683
- "65" => s::CodeList.external("508"),
1684
- "68" => s::CodeList.external("682"),
1685
- "AAU" => s::CodeList.external("131"),
1686
- "AAW" => s::CodeList.external("133"),
1687
- "AAX" => s::CodeList.external("131"),
1688
- "AAY" => s::CodeList.external("135"),
1689
- "ABF" => s::CodeList.external("897"),
1690
- "ABJ" => s::CodeList.external("897"),
1691
- "ABK" => s::CodeList.external("897"),
1692
- "ABN" => s::CodeList.external("897"),
1693
- "ABU" => s::CodeList.external("897"),
1694
- "ABV" => s::CodeList.external("897"),
1695
- "ADD" => s::CodeList.external("897"),
1696
- "APR" => s::CodeList.external("897"),
1697
- "AS" => s::CodeList.external("656"),
1698
- "ASD" => s::CodeList.external("897"),
1699
- "ATD" => s::CodeList.external("897"),
1700
- "CAH" => s::CodeList.external("843"),
1701
- "BBQ" => s::CodeList.external("896"),
1702
- "BBR" => s::CodeList.external("896"),
1703
- "BE" => s::CodeList.external("132"),
1704
- "BF" => s::CodeList.external("131"),
1705
- "BG" => s::CodeList.external("132"),
1706
- "BH" => s::CodeList.external("132"),
1707
- "BI" => s::CodeList.external("132"),
1708
- "BK" => s::CodeList.external("131"),
1709
- "BJ" => s::CodeList.external("131"),
1710
- "BN" => s::CodeList.external("131"),
1711
- "BO" => s::CodeList.external("130"),
1712
- "BP" => s::CodeList.external("130"),
1713
- "BQ" => s::CodeList.external("131"),
1714
- "BR" => s::CodeList.external("131"),
1715
- "BT" => s::CodeList.external("407"),
1716
- "BU" => s::CodeList.external("407"),
1717
- "BS" => s::CodeList.external("133"),
1718
- "DD" => s::CodeList.external("131"),
1719
- "DR" => s::CodeList.external("229"),
1720
- "EK" => s::CodeList.external("407"),
1721
- "GR" => s::CodeList.external("284"),
1722
- "GS" => s::CodeList.external("407"),
1723
- "GU" => s::CodeList.external("407"),
1724
- "GW" => s::CodeList.external("407"),
1725
- "HE" => s::CodeList.external("411"),
1726
- "HI" => s::CodeList.external("121"),
1727
- "HO" => s::CodeList.external("537"),
1728
- "JO" => s::CodeList.external("135"),
1729
- "JP" => s::CodeList.external("135"),
1730
- "LOI" => s::CodeList.external("663"),
1731
- "NI" => s::CodeList.external("284"), # or s::CodeList.external("407")
1732
- "NUB" => s::CodeList.external("132"),
1733
- "NDC" => s::CodeList.external("240"),
1734
- "PR" => s::CodeList.external("131"),
1735
- "PB" => s::CodeList.external("407"),
1736
- "REC" => s::CodeList.external("860"),
1737
- "RET" => s::CodeList.external("859"),
1738
- "RX" => s::CodeList.external("530"),
1739
- "S" => s::CodeList.external("327"),
1740
- "SD" => s::CodeList.external("131"),
1741
- "SJ" => s::CodeList.external("407"),
1742
- "SL" => s::CodeList.external("407"),
1743
- "TC" => s::CodeList.external("359"),
1744
- "TD" => s::CodeList.external("131"),
1745
- "TQ" => s::CodeList.external("135"),
1746
- "UT" => s::CodeList.external("528"),
1747
- "ZZ" => "Mutually Defined"))
1748
-
1749
- E1271 = t::AN.new(:E1271, "Industry Code" , 1, 30,
1750
- s::CodeList.external("508"))
1751
-
1752
- E1303 = t::ID.new(:E1303, "Use of Language Indicator" , 1, 2,
1753
- s::CodeList.build(
1754
- "5" => "Language Reading",
1755
- "6" => "Language Writing",
1756
- "7" => "Language Speaking",
1757
- "8" => "Native Language"))
1758
-
1759
- E1314 = t::ID.new(:E1314, "Admission Source Code" , 1, 1,
1760
- s::CodeList.external("230"))
1761
-
1762
- E1315 = t::ID.new(:E1315, "Admission Type Code" , 1, 1,
1763
- s::CodeList.external("231"))
1764
-
1765
- E1316 = t::ID.new(:E1316, "Ambulance Transport Code" , 1, 1)
1766
- E1317 = t::ID.new(:E1317, "Ambulance Transport Reason Code" , 1, 1,
1767
- s::CodeList.build(
1768
- "A" => "Patient was transported to nearest facility for care of symptoms, complaints, or both",
1769
- "B" => "Patient was transported for the benefit of a preferred physician",
1770
- "C" => "Patient was transported for the nearness of family members",
1771
- "D" => "Patient was transported for the care of a specialist or for availability of specialized equipment",
1772
- "E" => "Patient Transferred to Rehabilitation Facility"))
1773
-
1774
- E1321 = t::ID.new(:E1321, "Condition Indicator" , 2, 3,
1775
- s::CodeList.build(
1776
- "01" => "Patient was admitted to a hospital",
1777
- "04" => "Patient was moved by stretcher",
1778
- "05" => "Patient was unconscious or in shock",
1779
- "06" => "Patient was transported in an emergency situation",
1780
- "07" => "Patient had to be physically restrained",
1781
- "08" => "Patient had visible hemorrhaging",
1782
- "09" => "Ambulance service was medically necessary",
1783
- "12" => "Patient is confined to a bed or chair",
1784
- "38" => "Certification signed by the physician is on file at the supplier's office",
1785
- "65" => "Open",
1786
- "AV" => "Available - Not Used",
1787
- "IH" => "Independent at Home",
1788
- "L1" => "General Standard of 20 Degree or .5 Diopter Sphere or Cylinder Change Met",
1789
- "L2" => "Replacement Due to Loss or Theft",
1790
- "L3" => "Replacement Due to Breakage or Damage",
1791
- "L4" => "Replacement Due to Patient Preference",
1792
- "L5" => "Replacement Due to Medical Reason",
1793
- "NU" => "Not Used",
1794
- "S2" => "Under Treatment",
1795
- "ST" => "New Services Requested",
1796
- "ZV" => "Replacement Item"))
1797
-
1798
- E1322 = t::ID.new(:E1322, "Certification Type Code" , 1, 1,
1799
- s::CodeList.build(
1800
- "I" => "Initial",
1801
- "R" => "Renewal",
1802
- "S" => "Revised"))
1803
-
1804
- E1325 = t::ID.new(:E1325, "Claim Frequency Type Code" , 1, 1,
1805
- s::CodeList.external("235"))
1806
-
1807
- E1327 = t::ID.new(:E1327, "Copay Status Code" , 1, 1,
1808
- s::CodeList.build(
1809
- "0" => "Copay exempt"))
1810
-
1811
- E1328 = t::Nn.new(:E1328, "Diagnosis Code Pointer" , 1, 2, 0)
1812
- E1331 = t::AN.new(:E1331, "Facility Code Value" , 1, 2)
1813
- # S237
1814
-
1815
- E1332 = t::ID.new(:E1332, "Facility Code Qualifier" , 1, 2,
1816
- s::CodeList.build(
1817
- "A" => s::CodeList.external("236"),
1818
- "B" => s::CodeList.external("237")))
1819
-
1820
- E1333 = t::ID.new(:E1333, "Record Format Code" , 1, 2)
1821
- E1334 = t::ID.new(:E1334, "Professional Shortage Area Code" , 1, 1)
1822
- E1335 = t::ID.new(:E1335, "Insulin Type Code" , 1, 3)
1823
- E1336 = t::ID.new(:E1336, "Insurance Type Code" , 1, 3,
1824
- s::CodeList.build(
1825
- "02" => "Physically Handicapped Children's Program",
1826
- "03" => "Special Federal Funding",
1827
- "05" => "Disability",
1828
- "09" => "Second Opinion or Surgery",
1829
- "12" => "Medicare Secondary Working Aged Beneficiary or Spouse with Employer Group Health Plan",
1830
- "13" => "Medicare Secondary End-Stage Renal Disease Beneficiary in the Mandated Coordination Period",
1831
- "14" => "Medicare Secondary, No-fault Insurance including Auto is Primary",
1832
- "15" => "Medicare Secondary Worker's Compensation",
1833
- "16" => "Medicare Secondary Public Health Service (PHS) or Other Federal Agency",
1834
- "41" => "Medicare Secondary Blank Lung",
1835
- "42" => "Medicare Secondary Veteran's Administration",
1836
- "43" => "Medicare Secondary Disabled Beneficiary Under Age 65 with Large Group Health Plan (LGHP)",
1837
- "47" => "Medicare Secondary, Other Liability Insurance is Primary",
1838
- "AP" => "Auto Insurance Policy",
1839
- "C1" => "Commercial",
1840
- "CO" => "Consolidated Omnibus Budget Reconciliation Act (COBRA)",
1841
- "CP" => "Medicare Conditionally Primary",
1842
- "D" => "Disability",
1843
- "DB" => "Disability Benefits",
1844
- "EP" => "Exclusive Provider Organization",
1845
- "FF" => "Family or Friends",
1846
- "GP" => "Group Policy",
1847
- "HM" => "Health Maintenance Organization (HMO)",
1848
- "HN" => "Health Maintenance Organization (HMO) - Medicare Risk",
1849
- "HS" => "Special Low Income Medicare Beneficiary",
1850
- "IN" => "Indemnity",
1851
- "IP" => "Individual Policy",
1852
- "LC" => "Long Term Care",
1853
- "LD" => "Long Term Policy",
1854
- "LI" => "Life Insurance",
1855
- "LT" => "Litigation",
1856
- "MA" => "Medicare Part A",
1857
- "MB" => "Medicare Part B",
1858
- "MC" => "Medicaid",
1859
- "MH" => "Medigap Part A",
1860
- "MI" => "Medigap Part B",
1861
- "MP" => "Medicare Primary",
1862
- "OT" => "Other",
1863
- "PE" => "Property Insurance - Personal",
1864
- "PL" => "Personal",
1865
- "PP" => "Personal Payment (Cash - No Insurance)",
1866
- "PR" => "Preferred Provider Organization (PPO)",
1867
- "PS" => "Point of Service (POS)",
1868
- "QM" => "Qualified Medicare Beneficiary",
1869
- "RP" => "Property Insurance - Real",
1870
- "SP" => "Supplemental Policy",
1871
- "TF" => "Tax Equity Fiscal Responsibility Act (TEFRA)",
1872
- "WC" => "Workers Compensation",
1873
- "WU" => "Wrap Up Policy"))
1874
-
1875
- E1337 = t::ID.new(:E1337, "Level of Care Code" , 1, 1)
1876
- E1338 = t::ID.new(:E1338, "Level of Service Code" , 1, 3)
1877
- E1339 = t::AN.new(:E1339, "Procedure Modifier" , 2, 2)
1878
- E1340 = t::ID.new(:E1340, "Multiple Procedure Code" , 1, 2)
1879
- E1341 = t::AN.new(:E1341, "National or Local Assigned Review" , 1, 2)
1880
- E1342 = t::ID.new(:E1342, "Nature of Condition Code" , 1, 1,
1881
- s::CodeList.build(
1882
- "A" => "Acute Condition",
1883
- "C" => "Chronic Condition",
1884
- "D" => "Non-acute",
1885
- "E" => "Non-Life Threatening",
1886
- "F" => "Routine",
1887
- "G" => "Symptomatic",
1888
- "M" => "Acute Manifestation of a Chronic Condition"))
1889
-
1890
- E1343 = t::ID.new(:E1343, "Non-Institutional Claim Type Code" , 1, 2)
1891
- E1345 = t::ID.new(:E1345, "Nursing Home Residential Status Code" , 1, 1)
1892
- E1351 = t::ID.new(:E1351, "Patient Signature Source Code" , 1, 1,
1893
- s::CodeList.build(
1894
- "P" => "Signature generated by provider because the patient was not physically present for services"))
1895
-
1896
- E1352 = t::ID.new(:E1352, "Patient Status Code" , 1, 2,
1897
- s::CodeList.external("239"))
1898
-
1899
- E1354 = t::ID.new(:E1354, "Diagnosis Related Group (DRG) Code" , 1, 4,
1900
- s::CodeList.external("229"))
1901
-
1902
- E1358 = t::ID.new(:E1358, "Prosthesis, Crown, or Inlay Code" , 1, 1)
1903
- E1359 = t::ID.new(:E1359, "Provider Accept Assignment Code" , 1, 1,
1904
- s::CodeList.build(
1905
- "A" => "Assigned",
1906
- "B" => "Assigned Accepted on Clinical Lab Services Only",
1907
- "C" => "Not Assigned"))
1908
-
1909
- E1360 = t::ID.new(:E1360, "Provider Agreement Code" , 1, 1)
1910
- E1361 = t::ID.new(:E1361, "Oral Cavity Designation Code" , 1, 3,
1911
- s::CodeList.external("135"))
1912
-
1913
- E1362 = t::ID.new(:E1362, "Related-Causes Code" , 2, 3,
1914
- s::CodeList.build(
1915
- "AA" => "Auto Accident",
1916
- "EM" => "Employment",
1917
- "OA" => "Other Accident"))
1918
-
1919
- E1363 = t::ID.new(:E1363, "Release of Information Code" , 1, 1,
1920
- s::CodeList.build(
1921
- "I" => "Informed Consent to Release Medical Information for Conditions or Diagnoses Regulated by Federal Statutes",
1922
- "Y" => "Yes, Provider has a Signed Statement Permitting Release of Medical Billing Data Related to a Claim"))
1923
-
1924
- E1364 = t::ID.new(:E1364, "Review Code" , 1, 2)
1925
- E1365 = t::ID.new(:E1365, "Service Type Code" , 1, 2,
1926
- s::CodeList.build(
1927
- "1" => "Medical Care",
1928
- "2" => "Surgical",
1929
- "3" => "Consultation",
1930
- "4" => "Diagnostic X-Ray",
1931
- "5" => "Diagnostic Lab",
1932
- "6" => "Radiation Therapy",
1933
- "7" => "Anesthesia",
1934
- "8" => "Surgical Assistance",
1935
- "9" => "Other Medical",
1936
- "10" => "Blood Charges",
1937
- "11" => "Used Durable Medical Equipment",
1938
- "12" => "Durable Medical Equipment Purchase",
1939
- "13" => "Ambulatory Service Center Facility",
1940
- "14" => "Renal Supplies in the Home",
1941
- "15" => "Alternate Method Dialysis",
1942
- "16" => "Chronic Renal Disease (CRD) Equipment",
1943
- "17" => "Pre-Admission Testing",
1944
- "18" => "Durable Medical Equipment Rental",
1945
- "19" => "Pneumonia Vaccine",
1946
- "20" => "Second Surgical Opinion",
1947
- "21" => "Third Surgical Opinion",
1948
- "22" => "Social Work",
1949
- "23" => "Diagnostic Dental",
1950
- "24" => "Periodontics",
1951
- "25" => "Restorative",
1952
- "26" => "Endodontics",
1953
- "27" => "Maxillofacial Prosthetics",
1954
- "28" => "Adjunctive Dental Services",
1955
- "30" => "Health Benefit Plan Coverage",
1956
- "32" => "Plan Waiting Period",
1957
- "33" => "Chiropractic",
1958
- "34" => "Chiropractic Office Visits",
1959
- "35" => "Dental Care",
1960
- "36" => "Dental Crowns",
1961
- "37" => "Dental Accident",
1962
- "38" => "Orthodontics",
1963
- "39" => "Prosthodontics",
1964
- "40" => "Oral Surgery",
1965
- "41" => "Routine (Preventive) Dental",
1966
- "42" => "Home Health Care",
1967
- "43" => "Home Health Prescriptions",
1968
- "44" => "Home Health Visits",
1969
- "45" => "Hospice",
1970
- "46" => "Respite Care",
1971
- "47" => "Hospital",
1972
- "48" => "Hospital - Inpatient",
1973
- "49" => "Hospital - Room and Board",
1974
- "50" => "Hospital - Outpatient",
1975
- "51" => "Hospital - Emergency Accident",
1976
- "52" => "Hospital - Emergency Medical",
1977
- "53" => "Hospital - Ambulatory Surgical",
1978
- "54" => "Long Term Care",
1979
- "55" => "Major Medical",
1980
- "56" => "Medically Related Transportation",
1981
- "57" => "Air Transportation",
1982
- "58" => "Cabulance",
1983
- "59" => "Licensed Ambulance",
1984
- "60" => "General Benefits",
1985
- "61" => "In-vitro Fertilization",
1986
- "62" => "MRI/CAT Scan",
1987
- "63" => "Donor Procedures",
1988
- "64" => "Acupuncture",
1989
- "65" => "Newborn Care",
1990
- "66" => "Pathology",
1991
- "67" => "Smoking Cessation",
1992
- "68" => "Well Baby Care",
1993
- "69" => "Maternity",
1994
- "70" => "Transplants",
1995
- "71" => "Audiology Exam",
1996
- "72" => "Inhalation Therapy",
1997
- "73" => "Diagnostic Medical",
1998
- "74" => "Private Duty Nursing",
1999
- "75" => "Prosthetic Device",
2000
- "76" => "Dialysis",
2001
- "77" => "Otological Exam",
2002
- "78" => "Chemotherapy",
2003
- "79" => "Allergy Testing",
2004
- "80" => "Immunizations",
2005
- "AN" => "Routine Exam",
2006
- "AO" => "Lenses",
2007
- "AQ" => "Nonmedically Necessary Physical",
2008
- "AR" => "Experimental Drug Therapy",
2009
- "B1" => "Burn Care",
2010
- "B2" => "Brand Name Prescription Drug - Formulary",
2011
- "B3" => "Brand Name Prescription Drug - Non-Formulary",
2012
- "BA" => "Independent Medical Evaluation",
2013
- "BB" => "Partial Hospitalization (Psychiatric)",
2014
- "BC" => "Day Care (Psychiatric)",
2015
- "BD" => "Cognitive Therapy",
2016
- "BE" => "Massage Therapy",
2017
- "BF" => "Pulmonary Rehabilitation",
2018
- "BG" => "Cardiac Rehabilitation",
2019
- "BH" => "Pediatric",
2020
- "BI" => "Nursery",
2021
- "BJ" => "Skin",
2022
- "BK" => "Orthopedic",
2023
- "BL" => "Cardiac",
2024
- "BM" => "Lymphatic",
2025
- "BN" => "Gastrointestinal",
2026
- "BP" => "Endocrine",
2027
- "BQ" => "Neurology",
2028
- "BR" => "Eye",
2029
- "BS" => "Invasive Procedures",
2030
- "BT" => "Gynecological",
2031
- "BU" => "Obstetrical",
2032
- "BV" => "Obstetrical/Gynecological",
2033
- "BW" => "Mail Order Prescription Drug: Brand Name",
2034
- "BX" => "Mail Order Prescription Drug: Generic",
2035
- "BY" => "Physician Visit - Office: Sick",
2036
- "BZ" => "Physician Visit - Office: Well",
2037
- "C1" => "Coronary Care",
2038
- "CA" => "Private Duty Nursing - Inpatient",
2039
- "CB" => "Private Duty Nursing - Home",
2040
- "CC" => "Surgical Benefits - Professional (Physician)",
2041
- "CD" => "Surgical Benefits - Facility",
2042
- "CE" => "Mental Health Provider - Inpatient",
2043
- "CF" => "Mental Health Provider - Outpatient",
2044
- "CG" => "Mental Health Facility - Inpatient",
2045
- "CH" => "Mental Health Facility - Outpatient",
2046
- "CI" => "Substance Abuse Facility - Inpatient",
2047
- "CJ" => "Substance Abuse Facility - Outpatient",
2048
- "81" => "Routine Physical",
2049
- "82" => "Family Planning",
2050
- "83" => "Infertility",
2051
- "84" => "Abortion",
2052
- "85" => "AIDS",
2053
- "86" => "Emergency Services",
2054
- "87" => "Cancer",
2055
- "88" => "Pharmacy",
2056
- "89" => "Free Standing Prescription Drug",
2057
- "90" => "Mail Order Prescription Drug",
2058
- "91" => "Brand Name Prescription Drug",
2059
- "92" => "Generic Prescription Drug",
2060
- "93" => "Podiatry",
2061
- "94" => "Podiatry - Office Visits",
2062
- "95" => "Podiatry - Nursing Home Visits",
2063
- "96" => "Professional (Physician)",
2064
- "97" => "Anesthesiologist",
2065
- "98" => "Professional (Physician) Visit - Office",
2066
- "99" => "Professional (Physician) Visit - Inpatient",
2067
- "A0" => "Professional (Physician) Visit - Outpatient",
2068
- "A1" => "Professional (Physician) Visit - Nursing Home",
2069
- "A2" => "Professional (Physician) Visit - Skilled Nursing Facility",
2070
- "A3" => "Professional (Physician) Visit - Home",
2071
- "A4" => "Psychiatric",
2072
- "A5" => "Psychiatric - Room and Board",
2073
- "A6" => "Psychotherapy",
2074
- "A7" => "Psychiatric - Inpatient",
2075
- "A8" => "Psychiatric - Outpatient",
2076
- "A9" => "Rehabilitation",
2077
- "AA" => "Rehabilitation - Room and Board",
2078
- "AB" => "Rehabilitation - Inpatient",
2079
- "AC" => "Rehabilitation - Outpatient",
2080
- "AD" => "Occupational Therapy",
2081
- "AE" => "Physical Medicine",
2082
- "AF" => "Speech Therapy",
2083
- "AG" => "Skilled Nursing Care",
2084
- "AH" => "Skilled Nursing Care - Room and Board",
2085
- "AI" => "Substance Abuse",
2086
- "AJ" => "Alcoholism",
2087
- "AK" => "Drug Addiction",
2088
- "AL" => "Vision (Optometry)",
2089
- "AM" => "Frames",
2090
- "CK" => "Screening X-ray",
2091
- "CL" => "Screening laboratory",
2092
- "CM" => "Mammogram, High Risk Patient",
2093
- "CN" => "Mammogram, Low Risk Patient",
2094
- "CO" => "Flu Vaccination",
2095
- "CP" => "Eyewear and Eyewear Accessories",
2096
- "CQ" => "Case Management",
2097
- "DG" => "Dermatology",
2098
- "DM" => "Durable Medical Equipment",
2099
- "DS" => "Diabetic Supplies",
2100
- "GF" => "Generic Prescription Drug - Formulary",
2101
- "GN" => "Generic Prescription Drug - Non-Formulary",
2102
- "GY" => "Allergy",
2103
- "IC" => "Intensive Care",
2104
- "MH" => "Mental Health",
2105
- "NI" => "Neonatal Intensive Care",
2106
- "ON" => "Oncology",
2107
- "PT" => "Physical Therapy",
2108
- "PU" => "Pulmonary",
2109
- "RN" => "Renal",
2110
- "RT" => "Residential Psychiatric Treatment",
2111
- "TC" => "Transitional Care",
2112
- "TN" => "Transitional Nursery Care",
2113
- "UC" => "Urgent Care"))
2114
- E1366 = t::ID.new(:E1366, "Special Program Code" , 2, 3)
2115
- E1367 = t::ID.new(:E1367, "Sublaxation Level Code" , 2, 3)
2116
- E1368 = t::ID.new(:E1368, "Tooth Status Code" , 1, 2)
2117
- E1369 = t::ID.new(:E1369, "Tooth Surface Code" , 1, 2)
2118
- E1371 = t:: R.new(:E1371, "Unit Rate" , 1, 10)
2119
- E1383 = t::ID.new(:E1383, "Claim Submission Reason Code" , 2, 2)
2120
- E1384 = t::ID.new(:E1384, "Patient Location Code" , 1, 1)
2121
- E1390 = t::ID.new(:E1390, "Eligibility or Benefit Information Code", 1, 2,
2122
- s::CodeList.build(
2123
- "1" => "Active Coverage",
2124
- "2" => "Active - Full Risk Capitation",
2125
- "3" => "Active - Services Capitated",
2126
- "4" => "Active - Services Capitated to Primary Care Physician",
2127
- "5" => "Active - Pending Investigation",
2128
- "6" => "Inactive",
2129
- "7" => "Inactive - Pending Eligibility Update",
2130
- "8" => "Inactive - Pending Investigation",
2131
- "A" => "Co-Insurance",
2132
- "B" => "Co-Payment",
2133
- "C" => "Deductible",
2134
- "CB" => "Coverage Basis",
2135
- "D" => "Benefit Description",
2136
- "E" => "Exclusions",
2137
- "F" => "Limitations",
2138
- "G" => "Out of Pocket (Stop Loss)",
2139
- "H" => "Unlimited",
2140
- "I" => "Non-Covered",
2141
- "J" => "Cost Containment",
2142
- "K" => "Reserve",
2143
- "L" => "Primary Care Provider",
2144
- "M" => "Pre-existing Condition",
2145
- "MC" => "Managed Care Coordinator",
2146
- "N" => "Services Restricted to Following Provider",
2147
- "O" => "Not Deemed a Medical Necessity",
2148
- "P" => "Benefit Disclaimer",
2149
- "Q" => "Second Surgical Opinion Required",
2150
- "R" => "Other or Additional Payor",
2151
- "S" => "Prior Year(s) History",
2152
- "T" => "Card(s) Reported Lost/Stolen",
2153
- "U" => "Contact Following Entity for Eligibility or Benefit Information",
2154
- "V" => "Cannot Process",
2155
- "W" => "Other Source of Data",
2156
- "X" => "Health Care Facility",
2157
- "Y" => "Spend Down"))
2158
-
2159
- E1470 = t::Nn.new(:E1470, "Number" , 1, 9, 0)
2160
- E1473 = t::ID.new(:E1473, "Pricing Methodology" , 2, 2,
2161
- s::CodeList.build(
2162
- "00" => "Zero Pricing (Not Covered Under Contract)",
2163
- "01" => "Priced as Billed at 100%",
2164
- "02" => "Priced at the Standard Fee Schedule",
2165
- "03" => "Priced at a Contractual Percentage",
2166
- "04" => "Bundled Pricing",
2167
- "05" => "Peer Review Pricing",
2168
- "06" => "Per Diem Pricing",
2169
- "07" => "Flat Rate Pricing",
2170
- "08" => "Combination Pricing",
2171
- "09" => "Maternity Pricing",
2172
- "10" => "Other Pricing",
2173
- "11" => "Lower of Cost",
2174
- "12" => "Ratio of Cost",
2175
- "13" => "Cost Reimbursed",
2176
- "14" => "Adjustment Pricing"))
2177
-
2178
- E1476 = t::ID.new(:E1476, "Language Proficiency Indicator" , 1, 1)
2179
- E1514 = t::ID.new(:E1514, "Delay Reason Code" , 1, 2,
2180
- s::CodeList.build(
2181
- "1" => "Proof of Eligibility Unknown or Unavailable",
2182
- "2" => "Litigation",
2183
- "3" => "Authorization Delays",
2184
- "4" => "Delay in Certifying Provider",
2185
- "5" => "Delay in Shipping Billing Forms",
2186
- "6" => "Delay in Delivery of Custom-made Appliances",
2187
- "7" => "Third Party Processing Delay",
2188
- "8" => "Delay in Eligibility Determination",
2189
- "9" => "Original Claim Rejected or Denied Due to a Reason Unrelated to the Billing Limitation Rules",
2190
- "10" => "Administration Delay in the Prior Approval Process",
2191
- "11" => "Other",
2192
- "15" => "Natural Disaster"))
2193
-
2194
- E1525 = t::ID.new(:E1525, "Request Category Code" , 1, 2)
2195
- E1526 = t::ID.new(:E1526, "Policy Compliance Code" , 1, 2,
2196
- s::CodeList.build(
2197
- "1" => "Procedure Followed (Compliance)",
2198
- "2" => "Not Followed - Call Not Made (Non-Compliance Call Not Made)",
2199
- "3" => "Not Medically Necessary (Non-Compliance Non-Medically Necessary)",
2200
- "4" => "Not Followed Other (Non-Compliance Other)",
2201
- "5" => "Emergency Admit to Non-Network Hospital"))
2202
-
2203
- E1527 = t::ID.new(:E1527, "Exception Code" , 1, 2,
2204
- s::CodeList.build(
2205
- "1" => "Non-Network Professional Provider in Network Hospital",
2206
- "2" => "Emergency Care",
2207
- "3" => "Services or Specialist not in Network",
2208
- "4" => "Out-of-Service Area",
2209
- "5" => "State Mandates",
2210
- "6" => "Other"))
2211
-
2212
- E1528 = t::Nn.new(:E1528, "Component Data Element Position in Composite", 1, 2, 0)
2213
- E1595 = t::ID.new(:E1595, "Government Service Affilition Code" , 1, 1,
2214
- s::CodeList.build(
2215
- "A" => "Air Force",
2216
- "B" => "Air Force Reserves",
2217
- "C" => "Army",
2218
- "D" => "Army Reserves",
2219
- "E" => "Coast Guard",
2220
- "F" => "Marine Corps",
2221
- "G" => "Marine Corps Reserves",
2222
- "H" => "National Guard",
2223
- "I" => "Navy",
2224
- "J" => "Navy Reserves",
2225
- "K" => "Other",
2226
- "L" => "Peace Corp",
2227
- "M" => "Regular Armed Forces",
2228
- "N" => "Reserves",
2229
- "O" => "U.S. Public Health Service",
2230
- "Q" => "Foreign Military",
2231
- "R" => "American Red Cross",
2232
- "S" => "Department of Defense",
2233
- "U" => "United Services Organization",
2234
- "W" => "Military Sealift Command"))
2235
- E1596 = t::ID.new(:E1596, "Military Service Rank" , 1, 1,
2236
- s::CodeList.build(
2237
- "A1" => "Admiral",
2238
- "A2" => "Airman",
2239
- "A3" => "Airman First Class",
2240
- "B1" => "Basic Airman",
2241
- "B2" => "Brigadier General",
2242
- "C1" => "Captain",
2243
- "C2" => "Chief Master Sergeant",
2244
- "C3" => "Chief Petty Officer",
2245
- "C4" => "Chief Warrant",
2246
- "C5" => "Colonel",
2247
- "C6" => "Commander",
2248
- "C7" => "Commodore",
2249
- "C8" => "Corporal",
2250
- "C9" => "Corporal Specialist 4",
2251
- "E1" => "Ensign",
2252
- "F1" => "First Lieutenant",
2253
- "F2" => "First Sergeant",
2254
- "F3" => "First Sergeant-Master Sergeant",
2255
- "F4" => "Fleet Admiral",
2256
- "G1" => "General",
2257
- "G4" => "Gunnery Sergeant",
2258
- "L1" => "Lance Corporal",
2259
- "L2" => "Lieutenant",
2260
- "L3" => "Lieutenant Colonel",
2261
- "L4" => "Lieutenant Commander",
2262
- "L5" => "Lieutenant General",
2263
- "L6" => "Lieutenant Junior Grade",
2264
- "M1" => "Major",
2265
- "M2" => "Major General",
2266
- "M3" => "Master Chief Petty Officer",
2267
- "M4" => "Master Gunnery Sergeant Major",
2268
- "M5" => "Master Sergeant",
2269
- "M6" => "Master Sergeant Specialist 8",
2270
- "P1" => "Petty Officer First Class",
2271
- "P2" => "Petty Officer Second Class",
2272
- "P3" => "Petty Officer Third Class",
2273
- "P4" => "Private",
2274
- "P5" => "Private First Class",
2275
- "R1" => "Rear Admiral",
2276
- "R2" => "Recruit",
2277
- "S1" => "Seaman",
2278
- "S2" => "Seaman Apprentice",
2279
- "S3" => "Seaman Recruit",
2280
- "S4" => "Second Lieutenant",
2281
- "S5" => "Senior Chief Petty Officer",
2282
- "S6" => "Senior Master Sergeant",
2283
- "S7" => "Sergeant",
2284
- "S8" => "Sergeant First Class Specialist 7",
2285
- "S9" => "Sergeant Major Specialist 9",
2286
- "SA" => "Sergeant Specialist 5",
2287
- "SB" => "Staff Sergeant",
2288
- "SC" => "Staff Sergeant Specialist 6",
2289
- "T1" => "Technical Sergeant",
2290
- "V1" => "Vice Admiral",
2291
- "W1" => "Warrant Officer"))
2292
-
2293
- E1686 = t::Nn.new(:E1686, "Repeating Data Element Position" , 1, 4, 0)
2294
- E1701 = t::ID.new(:E1701, "Eligibility Reason Code" , 1, 1,
2295
- s::CodeList.build(
2296
- "0" => "Age",
2297
- "1" => "Disability",
2298
- "2" => "End Stage Renal Disease (ESRD)"))
2299
-
2300
- E1705 = t::AN.new(:E1705, "Implementation Convention Reference" , 1, 35)
2301
- E1715 = t::ID.new(:E1715, "Country Subdivision Code" , 1, 3,
2302
- s::CodeList.external("5"))
2303
-
2304
- E9998 = t::AN.new(:E9998, "Context Reference" , 1, 35)
2305
- E9999 = t::AN.new(:E9998, "Context Name" , 1, 35)
2306
-
2307
- C001 = Schema::CompositeElementDef.build(:C001,
2308
- "Composite Unit of Measure",
2309
- "To identify a composite unit of measure",
2310
- E355 .component_use(r::Mandatory),
2311
- E1018.component_use(r::Optional),
2312
- E649 .component_use(r::Optional),
2313
- E355 .component_use(r::Optional),
2314
- E1018.component_use(r::Optional),
2315
- E649 .component_use(r::Optional),
2316
- E355 .component_use(r::Optional),
2317
- E1018.component_use(r::Optional),
2318
- E649 .component_use(r::Optional),
2319
- E355 .component_use(r::Optional),
2320
- E1018.component_use(r::Optional), # If not used, value is interpreted as 1
2321
- E649 .component_use(r::Optional), # If not used, value is interpreted as 1
2322
- E355 .component_use(r::Optional),
2323
- E1018.component_use(r::Optional), # If not used, value is interpreted as 1
2324
- E649 .component_use(r::Optional)) # If not used, value is interpreted as 1
2325
-
2326
- # @note Copied from an unverified 4010 internet source
2327
- C002 = Schema::CompositeElementDef.build(:C002,
2328
- "Actions Indicated",
2329
- "",
2330
- E704.component_use(r::Mandatory),
2331
- E704.component_use(r::Optional),
2332
- E704.component_use(r::Optional),
2333
- E704.component_use(r::Optional),
2334
- E704.component_use(r::Optional))
2335
-
2336
- C003 = Schema::CompositeElementDef.build(:C003,
2337
- "Composite Medical Procedure Identifier",
2338
- "To identify a procedure by its standardized codes and applicable modifiers",
2339
- E235 .component_use(r::Mandatory),
2340
- E234 .component_use(r::Mandatory), # Qualified by C003-01
2341
- E1339.component_use(r::Optional),
2342
- E1339.component_use(r::Optional),
2343
- E1339.component_use(r::Optional),
2344
- E1339.component_use(r::Optional),
2345
- E352 .component_use(r::Optional),
2346
- E234 .component_use(r::Optional)) # Qualified by C003-01
2347
-
2348
- C004 = Schema::CompositeElementDef.build(:C004,
2349
- "Composite Diagnosis Code Pointer",
2350
- "To identify one or more diagnosis code pointers",
2351
- E1328.component_use(r::Mandatory),
2352
- E1328.component_use(r::Optional),
2353
- E1328.component_use(r::Optional),
2354
- E1328.component_use(r::Optional))
2355
-
2356
- C005 = Schema::CompositeElementDef.build(:C005,
2357
- "Tooth Surface",
2358
- "To identify one or more tooth surface codes",
2359
- E1369.component_use(r::Mandatory),
2360
- E1369.component_use(r::Optional),
2361
- E1369.component_use(r::Optional),
2362
- E1369.component_use(r::Optional),
2363
- E1369.component_use(r::Optional))
2364
-
2365
- C006 = Schema::CompositeElementDef.build(:C006,
2366
- "Oral Cavity Designation",
2367
- "To identify one or more areas of oral cavity",
2368
- E1361.component_use(r::Mandatory),
2369
- E1361.component_use(r::Optional),
2370
- E1361.component_use(r::Optional),
2371
- E1361.component_use(r::Optional),
2372
- E1361.component_use(r::Optional))
2373
-
2374
- C022 = Schema::CompositeElementDef.build(:C022,
2375
- "Health Care Code Information",
2376
- "To send health care codes and their associated dates, amounts and quantities",
2377
- E1270.component_use(r::Mandatory),
2378
- E1271.component_use(r::Mandatory),
2379
- E1250.component_use(r::Relational),
2380
- E1251.component_use(r::Relational),
2381
- E782 .component_use(r::Optional),
2382
- E380 .component_use(r::Optional),
2383
- E799 .component_use(r::Optional),
2384
- E1271.component_use(r::Relational),
2385
- E1073.component_use(r::Relational),
2386
- SyntaxNotes::P.build(3, 4),
2387
- SyntaxNotes::E.build(8, 9))
2388
-
2389
- C023 = Schema::CompositeElementDef.build(:C023,
2390
- "Health Care Service Location Information",
2391
- "To provide information that identifies the place of service or the type of bill related to the location at which a health care service was rendered",
2392
- E1331 .component_use(r::Mandatory),
2393
- E1332 .component_use(r::Optional),
2394
- E1325 .component_use(r::Optional))
2395
-
2396
- C024 = Schema::CompositeElementDef.build(:C024,
2397
- "Related Causes Information",
2398
- "To identify one or more related causes and associated state or country information",
2399
- E1362.component_use(r::Optional),
2400
- E1362.component_use(r::Mandatory),
2401
- E1362.component_use(r::Optional),
2402
- E156 .component_use(r::Optional),
2403
- E26 .component_use(r::Optional))
2404
-
2405
- C030 = Schema::CompositeElementDef.build(:C030,
2406
- "Position in Segment",
2407
- "Code indicating the relative position of the simple data element or composite data structure in error within a segment, count beginning with 1 for the position immediately following the segment ID; additionally, indicating the relative position of a repeating structure in error, count beginning with 1 for the position immediately following the preceding element separator; additionally indicating the relative position of a component of a composite data structure in error, count beginning with 1 for the position following the preceding element or repetition separator",
2408
- E722 .component_use(r::Mandatory),
2409
- E1528.component_use(r::Optional),
2410
- E1686.component_use(r::Optional))
2411
-
2412
- # @note Copied from an unverified 4010 internet source
2413
- C035 = Schema::CompositeElementDef.build(:C035,
2414
- "Provider Specialty Information",
2415
- "",
2416
- E1222.component_use(r::Mandatory),
2417
- E559 .component_use(r::Optional),
2418
- E1073.component_use(r::Optional))
2419
-
2420
- C040 = Schema::CompositeElementDef.build(:C040,
2421
- "Reference Identifier",
2422
- "To identify one or more reference numbers or identification numbers as specified by the Reference Qualifier",
2423
- E128 .component_use(r::Mandatory),
2424
- E127 .component_use(r::Mandatory),
2425
- E128 .component_use(r::Relational),
2426
- E127 .component_use(r::Relational),
2427
- E128 .component_use(r::Relational),
2428
- E127 .component_use(r::Relational),
2429
- SyntaxNotes::P.build(3, 4),
2430
- SyntaxNotes::P.build(5, 6))
2431
-
2432
- C042 = Schema::CompositeElementDef.build(:C042,
2433
- "Adjustment Identifier",
2434
- "To provide the category and identifying reference information for an adjustment",
2435
- E426 .component_use(r::Mandatory),
2436
- E127 .component_use(r::Optional))
2437
-
2438
- C043 = Schema::CompositeElementDef.build(:C043,
2439
- "Health Care Claim Status",
2440
- "Used to convey status of the entire claim or a specific service line",
2441
- E1271.component_use(r::Mandatory),
2442
- E1271.component_use(r::Mandatory),
2443
- E98 .component_use(r::Optional),
2444
- E1270.component_use(r::Optional))
2445
-
2446
- # @note Copied from unverified source
2447
- C052 = Schema::CompositeElementDef.build(:C052,
2448
- "Medicare Status Code",
2449
- "To provide Medicare coverage and associated reason for Medicare eligibility",
2450
- E1218.component_use(r::Mandatory),
2451
- E1701.component_use(r::Optional),
2452
- E1701.component_use(r::Optional),
2453
- E1701.component_use(r::Optional))
2454
-
2455
- C056 = Schema::CompositeElementDef.build(:C056,
2456
- "Composite Race or Ethnicity Information",
2457
- "",
2458
- E1109.component_use(r::Optional),
2459
- E1270.component_use(r::Relational),
2460
- E1271.component_use(r::Relational))
2461
-
2462
- C998 = Schema::CompositeElementDef.build(:C998,
2463
- "Context Identification",
2464
- "Holds information to identify a context",
2465
- E9999.component_use(r::Mandatory),
2466
- E9998.component_use(r::Optional))
2467
-
2468
- C999 = Schema::CompositeElementDef.build(:C999,
2469
- "Reference in Segment",
2470
- "To hold the reference number of a data element and optionally component data element within a composite",
2471
- E725.component_use(r::Mandatory),
2472
- E725.component_use(r::Mandatory))
2473
-
2474
- end
2475
- end
2476
- end
2477
- end
2478
- end