stupidedi 1.2.20 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2004) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -6
  3. data/Rakefile +17 -92
  4. data/bin/edi-ed +8 -12
  5. data/bin/edi-obfuscate +111 -0
  6. data/bin/edi-pp +31 -25
  7. data/doc/{Transcribing.md → Defining.md} +0 -0
  8. data/doc/{unwritten/Parsing.md → Parsing.md} +0 -0
  9. data/doc/{unwritten/Tokenizing.md → Tokenizing.md} +0 -0
  10. data/doc/{unwritten/Validating.md → Validating.md} +0 -0
  11. data/lib/ruby/array.rb +1 -4
  12. data/lib/ruby/blank.rb +0 -3
  13. data/lib/ruby/exception.rb +13 -33
  14. data/lib/ruby/hash.rb +0 -2
  15. data/lib/ruby/module.rb +1 -3
  16. data/lib/ruby/object.rb +0 -13
  17. data/lib/ruby/string.rb +12 -3
  18. data/lib/ruby/to_d.rb +20 -25
  19. data/lib/ruby/to_date.rb +0 -3
  20. data/lib/ruby/to_time.rb +0 -3
  21. data/lib/ruby/try.rb +0 -3
  22. data/lib/stupidedi.rb +27 -41
  23. data/lib/stupidedi/builder.rb +3 -22
  24. data/lib/stupidedi/color.rb +4 -6
  25. data/lib/stupidedi/config.rb +78 -69
  26. data/lib/stupidedi/config/code_list_config.rb +0 -2
  27. data/lib/stupidedi/config/editor_config.rb +0 -2
  28. data/lib/stupidedi/config/functional_group_config.rb +3 -2
  29. data/lib/stupidedi/config/interchange_config.rb +5 -6
  30. data/lib/stupidedi/config/transaction_set_config.rb +17 -48
  31. data/lib/stupidedi/contrib.rb +41 -6
  32. data/lib/stupidedi/editor.rb +0 -4
  33. data/lib/stupidedi/editor/00401.rb +0 -3
  34. data/lib/stupidedi/editor/004010.rb +5 -9
  35. data/lib/stupidedi/editor/004010/N4.rb +0 -4
  36. data/lib/stupidedi/editor/00501.rb +0 -3
  37. data/lib/stupidedi/editor/005010.rb +5 -9
  38. data/lib/stupidedi/editor/005010/N4.rb +0 -4
  39. data/lib/stupidedi/editor/X12.rb +0 -5
  40. data/lib/stupidedi/editor/X222-HC837.rb +0 -5
  41. data/lib/stupidedi/editor/abstract_ed.rb +0 -2
  42. data/lib/stupidedi/editor/claim_ack.rb +0 -2
  43. data/lib/stupidedi/editor/implementation_ack.rb +5 -6
  44. data/lib/stupidedi/editor/interchange_ack.rb +0 -2
  45. data/lib/stupidedi/editor/result.rb +1 -6
  46. data/lib/stupidedi/editor/result_set.rb +1 -3
  47. data/lib/stupidedi/editor/transaction_set_ed.rb +23 -19
  48. data/lib/stupidedi/editor/transmission_ed.rb +0 -3
  49. data/lib/stupidedi/either.rb +1 -6
  50. data/lib/stupidedi/exceptions/invalid_element_error.rb +0 -2
  51. data/lib/stupidedi/exceptions/invalid_schema_error.rb +0 -2
  52. data/lib/stupidedi/exceptions/output_error.rb +0 -2
  53. data/lib/stupidedi/exceptions/parse_error.rb +0 -2
  54. data/lib/stupidedi/exceptions/stupidedi_error.rb +0 -2
  55. data/lib/stupidedi/exceptions/tokenize_error.rb +0 -2
  56. data/lib/stupidedi/exceptions/zipper_error.rb +0 -2
  57. data/lib/stupidedi/guides.rb +7 -3
  58. data/lib/stupidedi/inspect.rb +1 -4
  59. data/lib/stupidedi/interchanges.rb +11 -0
  60. data/lib/stupidedi/interchanges/00200.rb +12 -0
  61. data/lib/stupidedi/interchanges/00200/element_defs.rb +104 -0
  62. data/lib/stupidedi/interchanges/00200/interchange_def.rb +59 -0
  63. data/lib/stupidedi/interchanges/00200/segment_defs.rb +12 -0
  64. data/lib/stupidedi/interchanges/00200/segment_defs/IEA.rb +17 -0
  65. data/lib/stupidedi/interchanges/00200/segment_defs/ISA.rb +31 -0
  66. data/lib/stupidedi/interchanges/00200/segment_defs/TA1.rb +20 -0
  67. data/lib/stupidedi/interchanges/00300.rb +12 -0
  68. data/lib/stupidedi/interchanges/00300/element_defs.rb +105 -0
  69. data/lib/stupidedi/interchanges/00300/interchange_def.rb +59 -0
  70. data/lib/stupidedi/interchanges/00300/segment_defs.rb +12 -0
  71. data/lib/stupidedi/interchanges/00300/segment_defs/IEA.rb +17 -0
  72. data/lib/stupidedi/interchanges/00300/segment_defs/ISA.rb +31 -0
  73. data/lib/stupidedi/interchanges/00300/segment_defs/TA1.rb +20 -0
  74. data/lib/stupidedi/interchanges/00400.rb +12 -0
  75. data/lib/stupidedi/interchanges/00400/element_defs.rb +97 -0
  76. data/lib/stupidedi/interchanges/00400/interchange_def.rb +59 -0
  77. data/lib/stupidedi/interchanges/00400/segment_defs.rb +12 -0
  78. data/lib/stupidedi/interchanges/00400/segment_defs/IEA.rb +17 -0
  79. data/lib/stupidedi/interchanges/00400/segment_defs/ISA.rb +31 -0
  80. data/lib/stupidedi/interchanges/00400/segment_defs/TA1.rb +20 -0
  81. data/lib/stupidedi/interchanges/00401.rb +12 -0
  82. data/lib/stupidedi/interchanges/00401/element_defs.rb +96 -0
  83. data/lib/stupidedi/interchanges/00401/interchange_def.rb +59 -0
  84. data/lib/stupidedi/interchanges/00401/segment_defs.rb +12 -0
  85. data/lib/stupidedi/interchanges/00401/segment_defs/IEA.rb +17 -0
  86. data/lib/stupidedi/interchanges/00401/segment_defs/ISA.rb +31 -0
  87. data/lib/stupidedi/interchanges/00401/segment_defs/TA1.rb +20 -0
  88. data/lib/stupidedi/interchanges/00501.rb +12 -0
  89. data/lib/stupidedi/interchanges/00501/element_defs.rb +130 -0
  90. data/lib/stupidedi/interchanges/00501/interchange_def.rb +59 -0
  91. data/lib/stupidedi/interchanges/00501/segment_defs.rb +12 -0
  92. data/lib/stupidedi/interchanges/00501/segment_defs/IEA.rb +17 -0
  93. data/lib/stupidedi/interchanges/00501/segment_defs/ISA.rb +31 -0
  94. data/lib/stupidedi/interchanges/00501/segment_defs/ISB.rb +15 -0
  95. data/lib/stupidedi/interchanges/00501/segment_defs/ISE.rb +15 -0
  96. data/lib/stupidedi/interchanges/00501/segment_defs/TA1.rb +20 -0
  97. data/lib/stupidedi/interchanges/00501/segment_defs/TA3.rb +15 -0
  98. data/lib/stupidedi/interchanges/element_types.rb +11 -0
  99. data/lib/stupidedi/interchanges/element_types/separator_val.rb +79 -0
  100. data/lib/stupidedi/interchanges/element_types/special_val.rb +48 -0
  101. data/lib/stupidedi/parser.rb +32 -0
  102. data/lib/stupidedi/parser/builder_dsl.rb +292 -0
  103. data/lib/stupidedi/parser/constraint_table.rb +488 -0
  104. data/lib/stupidedi/parser/generation.rb +147 -0
  105. data/lib/stupidedi/parser/identifier_stack.rb +248 -0
  106. data/lib/stupidedi/parser/instruction.rb +112 -0
  107. data/lib/stupidedi/parser/instruction_table.rb +222 -0
  108. data/lib/stupidedi/parser/navigation.rb +786 -0
  109. data/lib/stupidedi/parser/state_machine.rb +62 -0
  110. data/lib/stupidedi/parser/states/abstract_state.rb +325 -0
  111. data/lib/stupidedi/parser/states/failure_state.rb +69 -0
  112. data/lib/stupidedi/parser/states/functional_group_state.rb +98 -0
  113. data/lib/stupidedi/parser/states/initial_state.rb +62 -0
  114. data/lib/stupidedi/parser/states/interchange_state.rb +93 -0
  115. data/lib/stupidedi/parser/states/loop_state.rb +80 -0
  116. data/lib/stupidedi/parser/states/table_state.rb +94 -0
  117. data/lib/stupidedi/parser/states/transaction_set_state.rb +118 -0
  118. data/lib/stupidedi/parser/states/transmission_state.rb +59 -0
  119. data/lib/stupidedi/parser/tokenization.rb +195 -0
  120. data/lib/stupidedi/reader.rb +0 -2
  121. data/lib/stupidedi/reader/input.rb +0 -3
  122. data/lib/stupidedi/reader/input/abstract_input.rb +4 -6
  123. data/lib/stupidedi/reader/input/delegated_input.rb +0 -5
  124. data/lib/stupidedi/reader/input/file_input.rb +10 -11
  125. data/lib/stupidedi/reader/position.rb +13 -8
  126. data/lib/stupidedi/reader/result.rb +5 -5
  127. data/lib/stupidedi/reader/segment_dict.rb +0 -3
  128. data/lib/stupidedi/reader/separators.rb +5 -4
  129. data/lib/stupidedi/reader/stream_reader.rb +3 -6
  130. data/lib/stupidedi/reader/token_reader.rb +0 -5
  131. data/lib/stupidedi/reader/tokens/component_element_tok.rb +14 -2
  132. data/lib/stupidedi/reader/tokens/composite_element_tok.rb +20 -2
  133. data/lib/stupidedi/reader/tokens/repeated_element_tok.rb +9 -2
  134. data/lib/stupidedi/reader/tokens/segment_tok.rb +23 -3
  135. data/lib/stupidedi/reader/tokens/simple_element_tok.rb +12 -2
  136. data/lib/stupidedi/schema.rb +17 -19
  137. data/lib/stupidedi/schema/abstract_def.rb +4 -6
  138. data/lib/stupidedi/schema/abstract_element_def.rb +35 -0
  139. data/lib/stupidedi/schema/abstract_element_use.rb +47 -0
  140. data/lib/stupidedi/schema/abstract_use.rb +6 -4
  141. data/lib/stupidedi/schema/code_list.rb +6 -5
  142. data/lib/stupidedi/schema/component_element_use.rb +76 -0
  143. data/lib/stupidedi/schema/composite_element_def.rb +103 -0
  144. data/lib/stupidedi/schema/composite_element_use.rb +78 -0
  145. data/lib/stupidedi/schema/element_req.rb +1 -4
  146. data/lib/stupidedi/schema/functional_group_def.rb +9 -3
  147. data/lib/stupidedi/schema/interchange_def.rb +9 -3
  148. data/lib/stupidedi/schema/loop_def.rb +23 -4
  149. data/lib/stupidedi/schema/repeat_count.rb +0 -3
  150. data/lib/stupidedi/schema/segment_def.rb +6 -4
  151. data/lib/stupidedi/schema/segment_req.rb +2 -3
  152. data/lib/stupidedi/schema/segment_use.rb +4 -7
  153. data/lib/stupidedi/schema/simple_element_def.rb +51 -0
  154. data/lib/stupidedi/schema/simple_element_use.rb +83 -0
  155. data/lib/stupidedi/schema/syntax_note.rb +1 -12
  156. data/lib/stupidedi/schema/table_def.rb +55 -18
  157. data/lib/stupidedi/schema/transaction_set_def.rb +37 -4
  158. data/lib/stupidedi/sets.rb +0 -3
  159. data/lib/stupidedi/transaction_sets.rb +14 -0
  160. data/lib/stupidedi/transaction_sets/002001.rb +11 -0
  161. data/lib/stupidedi/transaction_sets/002001/implementations.rb +23 -0
  162. data/lib/stupidedi/transaction_sets/002001/implementations/FA997.rb +66 -0
  163. data/lib/stupidedi/transaction_sets/002001/implementations/PO830.rb +160 -0
  164. data/lib/stupidedi/transaction_sets/002001/implementations/SH856.rb +190 -0
  165. data/lib/stupidedi/transaction_sets/002001/standards.rb +14 -0
  166. data/lib/stupidedi/transaction_sets/002001/standards/FA997.rb +31 -0
  167. data/lib/stupidedi/transaction_sets/002001/standards/PO830.rb +45 -0
  168. data/lib/stupidedi/transaction_sets/002001/standards/SH856.rb +38 -0
  169. data/lib/stupidedi/transaction_sets/003010.rb +11 -0
  170. data/lib/stupidedi/transaction_sets/003010/implementations.rb +24 -0
  171. data/lib/stupidedi/transaction_sets/003010/implementations/PC860.rb +140 -0
  172. data/lib/stupidedi/transaction_sets/003010/implementations/PO850.rb +132 -0
  173. data/lib/stupidedi/transaction_sets/003010/implementations/PS830.rb +150 -0
  174. data/lib/stupidedi/transaction_sets/003010/implementations/RA820.rb +158 -0
  175. data/lib/stupidedi/transaction_sets/003010/standards.rb +15 -0
  176. data/lib/stupidedi/transaction_sets/003010/standards/PC860.rb +49 -0
  177. data/lib/stupidedi/transaction_sets/003010/standards/PO850.rb +49 -0
  178. data/lib/stupidedi/transaction_sets/003010/standards/PS830.rb +49 -0
  179. data/lib/stupidedi/transaction_sets/003010/standards/RA820.rb +40 -0
  180. data/lib/stupidedi/transaction_sets/003040.rb +12 -0
  181. data/lib/stupidedi/transaction_sets/003040/implementations.rb +21 -0
  182. data/lib/stupidedi/transaction_sets/003040/implementations/WA142.rb +153 -0
  183. data/lib/stupidedi/transaction_sets/003040/standards.rb +12 -0
  184. data/lib/stupidedi/transaction_sets/003040/standards/WA142.rb +53 -0
  185. data/lib/stupidedi/transaction_sets/003050.rb +12 -0
  186. data/lib/stupidedi/transaction_sets/003050/implementations.rb +21 -0
  187. data/lib/stupidedi/transaction_sets/003050/implementations/PO850.rb +77 -0
  188. data/lib/stupidedi/transaction_sets/003050/standards.rb +12 -0
  189. data/lib/stupidedi/transaction_sets/003050/standards/PO850.rb +41 -0
  190. data/lib/stupidedi/transaction_sets/004010.rb +12 -0
  191. data/lib/stupidedi/transaction_sets/004010/implementations.rb +38 -0
  192. data/lib/stupidedi/transaction_sets/004010/implementations/AR943.rb +72 -0
  193. data/lib/stupidedi/transaction_sets/004010/implementations/FA997.rb +65 -0
  194. data/lib/stupidedi/transaction_sets/004010/implementations/GF990.rb +40 -0
  195. data/lib/stupidedi/transaction_sets/004010/implementations/IM210.rb +221 -0
  196. data/lib/stupidedi/transaction_sets/004010/implementations/OW940.rb +98 -0
  197. data/lib/stupidedi/transaction_sets/004010/implementations/PO850.rb +108 -0
  198. data/lib/stupidedi/transaction_sets/004010/implementations/PS830.rb +143 -0
  199. data/lib/stupidedi/transaction_sets/004010/implementations/QM214.rb +106 -0
  200. data/lib/stupidedi/transaction_sets/004010/implementations/RE944.rb +63 -0
  201. data/lib/stupidedi/transaction_sets/004010/implementations/SH856.rb +156 -0
  202. data/lib/stupidedi/transaction_sets/004010/implementations/SM204.rb +391 -0
  203. data/lib/stupidedi/transaction_sets/004010/implementations/SQ866.rb +103 -0
  204. data/lib/stupidedi/transaction_sets/004010/implementations/SS862.rb +154 -0
  205. data/lib/stupidedi/transaction_sets/004010/implementations/SW945.rb +99 -0
  206. data/lib/stupidedi/transaction_sets/004010/implementations/X091A1-HP835.rb +481 -0
  207. data/lib/stupidedi/transaction_sets/004010/standards.rb +28 -0
  208. data/lib/stupidedi/transaction_sets/004010/standards/AR943.rb +34 -0
  209. data/lib/stupidedi/transaction_sets/004010/standards/FA997.rb +31 -0
  210. data/lib/stupidedi/transaction_sets/004010/standards/GF990.rb +21 -0
  211. data/lib/stupidedi/transaction_sets/004010/standards/HP835.rb +61 -0
  212. data/lib/stupidedi/transaction_sets/004010/standards/IM210.rb +47 -0
  213. data/lib/stupidedi/transaction_sets/004010/standards/OW940.rb +43 -0
  214. data/lib/stupidedi/transaction_sets/004010/standards/PO850.rb +50 -0
  215. data/lib/stupidedi/transaction_sets/004010/standards/PR855.rb +35 -0
  216. data/lib/stupidedi/transaction_sets/004010/standards/PS830.rb +43 -0
  217. data/lib/stupidedi/transaction_sets/004010/standards/QM214.rb +41 -0
  218. data/lib/stupidedi/transaction_sets/004010/standards/RE944.rb +34 -0
  219. data/lib/stupidedi/transaction_sets/004010/standards/SC832.rb +37 -0
  220. data/lib/stupidedi/transaction_sets/004010/standards/SH856.rb +40 -0
  221. data/lib/stupidedi/transaction_sets/004010/standards/SM204.rb +85 -0
  222. data/lib/stupidedi/transaction_sets/004010/standards/SQ866.rb +32 -0
  223. data/lib/stupidedi/transaction_sets/004010/standards/SS862.rb +42 -0
  224. data/lib/stupidedi/transaction_sets/004010/standards/SW945.rb +43 -0
  225. data/lib/stupidedi/transaction_sets/005010.rb +11 -0
  226. data/lib/stupidedi/transaction_sets/005010/implementations.rb +89 -0
  227. data/lib/stupidedi/transaction_sets/005010/implementations/X212-HN277.rb +552 -0
  228. data/lib/stupidedi/transaction_sets/005010/implementations/X212-HR276.rb +329 -0
  229. data/lib/stupidedi/transaction_sets/005010/implementations/X214-HN277.rb +356 -0
  230. data/lib/stupidedi/transaction_sets/005010/implementations/X220-BE834.rb +15 -0
  231. data/lib/stupidedi/transaction_sets/005010/implementations/X220A1-BE834.rb +623 -0
  232. data/lib/stupidedi/transaction_sets/005010/implementations/X221-HP835.rb +15 -0
  233. data/lib/stupidedi/transaction_sets/005010/implementations/X221A1-HP835.rb +556 -0
  234. data/lib/stupidedi/transaction_sets/005010/implementations/X222-HC837.rb +15 -0
  235. data/lib/stupidedi/transaction_sets/005010/implementations/X222-HC837P.rb +15 -0
  236. data/lib/stupidedi/transaction_sets/005010/implementations/X222A1-HC837.rb +2033 -0
  237. data/lib/stupidedi/transaction_sets/005010/implementations/X222A1-HC837P.rb +15 -0
  238. data/lib/stupidedi/transaction_sets/005010/implementations/X223-HC837.rb +15 -0
  239. data/lib/stupidedi/transaction_sets/005010/implementations/X223-HC837I.rb +15 -0
  240. data/lib/stupidedi/transaction_sets/005010/implementations/X223A1-HC837.rb +15 -0
  241. data/lib/stupidedi/transaction_sets/005010/implementations/X223A2-HC837.rb +2390 -0
  242. data/lib/stupidedi/transaction_sets/005010/implementations/X223A3-HC837.rb +2595 -0
  243. data/lib/stupidedi/transaction_sets/005010/implementations/X231-FA999.rb +15 -0
  244. data/lib/stupidedi/transaction_sets/005010/implementations/X231A1-FA999.rb +106 -0
  245. data/lib/stupidedi/transaction_sets/005010/implementations/X279-HB271.rb +749 -0
  246. data/lib/stupidedi/transaction_sets/005010/implementations/X279-HS270.rb +533 -0
  247. data/lib/stupidedi/transaction_sets/005010/implementations/X279A1-HB271.rb +751 -0
  248. data/lib/stupidedi/transaction_sets/005010/implementations/X279A1-HS270.rb +533 -0
  249. data/lib/stupidedi/transaction_sets/005010/standards.rb +22 -0
  250. data/lib/stupidedi/transaction_sets/005010/standards/BE834.rb +171 -0
  251. data/lib/stupidedi/transaction_sets/005010/standards/FA997.rb +31 -0
  252. data/lib/stupidedi/transaction_sets/005010/standards/FA999.rb +35 -0
  253. data/lib/stupidedi/transaction_sets/005010/standards/HB271.rb +95 -0
  254. data/lib/stupidedi/transaction_sets/005010/standards/HC837.rb +161 -0
  255. data/lib/stupidedi/transaction_sets/005010/standards/HI278.rb +62 -0
  256. data/lib/stupidedi/transaction_sets/005010/standards/HN277.rb +71 -0
  257. data/lib/stupidedi/transaction_sets/005010/standards/HP835.rb +65 -0
  258. data/lib/stupidedi/transaction_sets/005010/standards/HR276.rb +54 -0
  259. data/lib/stupidedi/transaction_sets/005010/standards/HS270.rb +50 -0
  260. data/lib/stupidedi/transaction_sets/005010/standards/RA820.rb +238 -0
  261. data/lib/stupidedi/transaction_sets/builder.rb +188 -0
  262. data/lib/stupidedi/transaction_sets/builder/dsl.rb +192 -0
  263. data/lib/stupidedi/transaction_sets/common.rb +8 -0
  264. data/lib/stupidedi/transaction_sets/common/implementations.rb +11 -0
  265. data/lib/stupidedi/transaction_sets/common/implementations/element_reqs.rb +37 -0
  266. data/lib/stupidedi/transaction_sets/common/implementations/segment_reqs.rb +31 -0
  267. data/lib/stupidedi/transaction_sets/validation.rb +9 -0
  268. data/lib/stupidedi/transaction_sets/validation/ambiguity.rb +391 -0
  269. data/lib/stupidedi/transaction_sets/validation/implementation.rb +12 -0
  270. data/lib/stupidedi/values.rb +0 -1
  271. data/lib/stupidedi/values/abstract_element_val.rb +0 -4
  272. data/lib/stupidedi/values/abstract_val.rb +3 -4
  273. data/lib/stupidedi/values/composite_element_val.rb +11 -9
  274. data/lib/stupidedi/values/functional_group_val.rb +3 -4
  275. data/lib/stupidedi/values/interchange_val.rb +3 -4
  276. data/lib/stupidedi/values/invalid_envelope_val.rb +2 -6
  277. data/lib/stupidedi/values/invalid_segment_val.rb +16 -9
  278. data/lib/stupidedi/values/loop_val.rb +3 -4
  279. data/lib/stupidedi/values/repeated_element_val.rb +6 -8
  280. data/lib/stupidedi/values/segment_val.rb +7 -11
  281. data/lib/stupidedi/values/segment_val_group.rb +0 -4
  282. data/lib/stupidedi/values/simple_element_val.rb +2 -7
  283. data/lib/stupidedi/values/table_val.rb +3 -4
  284. data/lib/stupidedi/values/transaction_set_val.rb +3 -4
  285. data/lib/stupidedi/values/transmission_val.rb +5 -5
  286. data/lib/stupidedi/version.rb +1 -2
  287. data/lib/stupidedi/versions.rb +11 -3
  288. data/lib/stupidedi/versions/002001.rb +14 -0
  289. data/lib/stupidedi/versions/002001/element_defs.rb +10576 -0
  290. data/lib/stupidedi/versions/002001/element_reqs.rb +12 -0
  291. data/lib/stupidedi/versions/002001/element_types.rb +28 -0
  292. data/lib/stupidedi/versions/002001/element_types/an.rb +11 -0
  293. data/lib/stupidedi/versions/002001/element_types/dt.rb +11 -0
  294. data/lib/stupidedi/versions/002001/element_types/float_val.rb +11 -0
  295. data/lib/stupidedi/versions/002001/element_types/id.rb +11 -0
  296. data/lib/stupidedi/versions/002001/element_types/nn.rb +11 -0
  297. data/lib/stupidedi/versions/002001/element_types/tm.rb +11 -0
  298. data/lib/stupidedi/versions/002001/functional_group_def.rb +24 -0
  299. data/lib/stupidedi/versions/002001/segment_defs.rb +88 -0
  300. data/lib/stupidedi/versions/002001/segment_defs/AK1.rb +17 -0
  301. data/lib/stupidedi/versions/002001/segment_defs/AK2.rb +17 -0
  302. data/lib/stupidedi/versions/002001/segment_defs/AK3.rb +18 -0
  303. data/lib/stupidedi/versions/002001/segment_defs/AK4.rb +20 -0
  304. data/lib/stupidedi/versions/002001/segment_defs/AK5.rb +22 -0
  305. data/lib/stupidedi/versions/002001/segment_defs/AK9.rb +23 -0
  306. data/lib/stupidedi/versions/002001/segment_defs/AT7.rb +29 -0
  307. data/lib/stupidedi/versions/002001/segment_defs/AT8.rb +25 -0
  308. data/lib/stupidedi/versions/002001/segment_defs/ATH.rb +21 -0
  309. data/lib/stupidedi/versions/002001/segment_defs/B1.rb +20 -0
  310. data/lib/stupidedi/versions/002001/segment_defs/B10.rb +26 -0
  311. data/lib/stupidedi/versions/002001/segment_defs/B2.rb +27 -0
  312. data/lib/stupidedi/versions/002001/segment_defs/B2A.rb +17 -0
  313. data/lib/stupidedi/versions/002001/segment_defs/BEG.rb +28 -0
  314. data/lib/stupidedi/versions/002001/segment_defs/BFR.rb +27 -0
  315. data/lib/stupidedi/versions/002001/segment_defs/BSN.rb +24 -0
  316. data/lib/stupidedi/versions/002001/segment_defs/CTT.rb +25 -0
  317. data/lib/stupidedi/versions/002001/segment_defs/CUR.rb +51 -0
  318. data/lib/stupidedi/versions/002001/segment_defs/DTM.rb +25 -0
  319. data/lib/stupidedi/versions/002001/segment_defs/FST.rb +24 -0
  320. data/lib/stupidedi/versions/002001/segment_defs/G61.rb +22 -0
  321. data/lib/stupidedi/versions/002001/segment_defs/G62.rb +22 -0
  322. data/lib/stupidedi/versions/002001/segment_defs/G69.rb +16 -0
  323. data/lib/stupidedi/versions/002001/segment_defs/GE.rb +18 -0
  324. data/lib/stupidedi/versions/002001/segment_defs/GS.rb +24 -0
  325. data/lib/stupidedi/versions/002001/segment_defs/HL.rb +20 -0
  326. data/lib/stupidedi/versions/002001/segment_defs/J2X.rb +18 -0
  327. data/lib/stupidedi/versions/002001/segment_defs/K1.rb +18 -0
  328. data/lib/stupidedi/versions/002001/segment_defs/L11.rb +21 -0
  329. data/lib/stupidedi/versions/002001/segment_defs/L3.rb +37 -0
  330. data/lib/stupidedi/versions/002001/segment_defs/L5.rb +29 -0
  331. data/lib/stupidedi/versions/002001/segment_defs/LFH.rb +25 -0
  332. data/lib/stupidedi/versions/002001/segment_defs/LH1.rb +29 -0
  333. data/lib/stupidedi/versions/002001/segment_defs/LH2.rb +32 -0
  334. data/lib/stupidedi/versions/002001/segment_defs/LH3.rb +21 -0
  335. data/lib/stupidedi/versions/002001/segment_defs/LIN.rb +47 -0
  336. data/lib/stupidedi/versions/002001/segment_defs/LX.rb +16 -0
  337. data/lib/stupidedi/versions/002001/segment_defs/M7.rb +21 -0
  338. data/lib/stupidedi/versions/002001/segment_defs/MAN.rb +17 -0
  339. data/lib/stupidedi/versions/002001/segment_defs/MEA.rb +22 -0
  340. data/lib/stupidedi/versions/002001/segment_defs/MS1.rb +33 -0
  341. data/lib/stupidedi/versions/002001/segment_defs/MS2.rb +22 -0
  342. data/lib/stupidedi/versions/002001/segment_defs/MS3.rb +21 -0
  343. data/lib/stupidedi/versions/002001/segment_defs/N1.rb +19 -0
  344. data/lib/stupidedi/versions/002001/segment_defs/N2.rb +17 -0
  345. data/lib/stupidedi/versions/002001/segment_defs/N3.rb +17 -0
  346. data/lib/stupidedi/versions/002001/segment_defs/N4.rb +25 -0
  347. data/lib/stupidedi/versions/002001/segment_defs/N7.rb +42 -0
  348. data/lib/stupidedi/versions/002001/segment_defs/N9.rb +25 -0
  349. data/lib/stupidedi/versions/002001/segment_defs/NTE.rb +18 -0
  350. data/lib/stupidedi/versions/002001/segment_defs/PER.rb +28 -0
  351. data/lib/stupidedi/versions/002001/segment_defs/PID.rb +29 -0
  352. data/lib/stupidedi/versions/002001/segment_defs/PLD.rb +21 -0
  353. data/lib/stupidedi/versions/002001/segment_defs/PO1.rb +52 -0
  354. data/lib/stupidedi/versions/002001/segment_defs/PO4.rb +20 -0
  355. data/lib/stupidedi/versions/002001/segment_defs/REF.rb +20 -0
  356. data/lib/stupidedi/versions/002001/segment_defs/S5.rb +29 -0
  357. data/lib/stupidedi/versions/002001/segment_defs/SDP.rb +17 -0
  358. data/lib/stupidedi/versions/002001/segment_defs/SE.rb +19 -0
  359. data/lib/stupidedi/versions/002001/segment_defs/SN1.rb +24 -0
  360. data/lib/stupidedi/versions/002001/segment_defs/ST.rb +17 -0
  361. data/lib/stupidedi/versions/002001/segment_defs/TD1.rb +27 -0
  362. data/lib/stupidedi/versions/002001/segment_defs/TD3.rb +20 -0
  363. data/lib/stupidedi/versions/002001/segment_defs/TD5.rb +21 -0
  364. data/lib/stupidedi/versions/002001/segment_defs/UNT.rb +16 -0
  365. data/lib/stupidedi/versions/002001/segment_defs/W01.rb +37 -0
  366. data/lib/stupidedi/versions/002001/segment_defs/W03.rb +25 -0
  367. data/lib/stupidedi/versions/002001/segment_defs/W04.rb +35 -0
  368. data/lib/stupidedi/versions/002001/segment_defs/W05.rb +24 -0
  369. data/lib/stupidedi/versions/002001/segment_defs/W06.rb +29 -0
  370. data/lib/stupidedi/versions/002001/segment_defs/W07.rb +30 -0
  371. data/lib/stupidedi/versions/002001/segment_defs/W08.rb +26 -0
  372. data/lib/stupidedi/versions/002001/segment_defs/W12.rb +43 -0
  373. data/lib/stupidedi/versions/002001/segment_defs/W14.rb +20 -0
  374. data/lib/stupidedi/versions/002001/segment_defs/W17.rb +26 -0
  375. data/lib/stupidedi/versions/002001/segment_defs/W20.rb +28 -0
  376. data/lib/stupidedi/versions/002001/segment_defs/W27.rb +26 -0
  377. data/lib/stupidedi/versions/002001/segment_defs/W66.rb +26 -0
  378. data/lib/stupidedi/versions/002001/segment_defs/W76.rb +24 -0
  379. data/lib/stupidedi/versions/002001/segment_reqs.rb +11 -0
  380. data/lib/stupidedi/versions/002001/syntax_notes.rb +14 -0
  381. data/lib/stupidedi/versions/003010.rb +14 -0
  382. data/lib/stupidedi/versions/003010/element_defs.rb +9152 -0
  383. data/lib/stupidedi/versions/003010/element_reqs.rb +13 -0
  384. data/lib/stupidedi/versions/003010/element_types.rb +28 -0
  385. data/lib/stupidedi/versions/003010/element_types/an.rb +11 -0
  386. data/lib/stupidedi/versions/003010/element_types/dt.rb +11 -0
  387. data/lib/stupidedi/versions/003010/element_types/float_val.rb +11 -0
  388. data/lib/stupidedi/versions/003010/element_types/id.rb +11 -0
  389. data/lib/stupidedi/versions/003010/element_types/nn.rb +11 -0
  390. data/lib/stupidedi/versions/003010/element_types/tm.rb +11 -0
  391. data/lib/stupidedi/versions/003010/functional_group_def.rb +24 -0
  392. data/lib/stupidedi/versions/003010/segment_defs.rb +94 -0
  393. data/lib/stupidedi/versions/003010/segment_defs/AK1.rb +17 -0
  394. data/lib/stupidedi/versions/003010/segment_defs/AK2.rb +17 -0
  395. data/lib/stupidedi/versions/003010/segment_defs/AK3.rb +18 -0
  396. data/lib/stupidedi/versions/003010/segment_defs/AK9.rb +23 -0
  397. data/lib/stupidedi/versions/003010/segment_defs/AT7.rb +29 -0
  398. data/lib/stupidedi/versions/003010/segment_defs/AT8.rb +25 -0
  399. data/lib/stupidedi/versions/003010/segment_defs/B1.rb +20 -0
  400. data/lib/stupidedi/versions/003010/segment_defs/B10.rb +26 -0
  401. data/lib/stupidedi/versions/003010/segment_defs/B2.rb +27 -0
  402. data/lib/stupidedi/versions/003010/segment_defs/B2A.rb +17 -0
  403. data/lib/stupidedi/versions/003010/segment_defs/BCH.rb +22 -0
  404. data/lib/stupidedi/versions/003010/segment_defs/BEG.rb +21 -0
  405. data/lib/stupidedi/versions/003010/segment_defs/BFR.rb +29 -0
  406. data/lib/stupidedi/versions/003010/segment_defs/BPS.rb +32 -0
  407. data/lib/stupidedi/versions/003010/segment_defs/BSN.rb +24 -0
  408. data/lib/stupidedi/versions/003010/segment_defs/CTT.rb +18 -0
  409. data/lib/stupidedi/versions/003010/segment_defs/CUR.rb +19 -0
  410. data/lib/stupidedi/versions/003010/segment_defs/DTM.rb +17 -0
  411. data/lib/stupidedi/versions/003010/segment_defs/FOB.rb +22 -0
  412. data/lib/stupidedi/versions/003010/segment_defs/FST.rb +24 -0
  413. data/lib/stupidedi/versions/003010/segment_defs/G61.rb +22 -0
  414. data/lib/stupidedi/versions/003010/segment_defs/G62.rb +22 -0
  415. data/lib/stupidedi/versions/003010/segment_defs/G69.rb +16 -0
  416. data/lib/stupidedi/versions/003010/segment_defs/GE.rb +18 -0
  417. data/lib/stupidedi/versions/003010/segment_defs/GS.rb +24 -0
  418. data/lib/stupidedi/versions/003010/segment_defs/HL.rb +20 -0
  419. data/lib/stupidedi/versions/003010/segment_defs/ITD.rb +28 -0
  420. data/lib/stupidedi/versions/003010/segment_defs/K1.rb +18 -0
  421. data/lib/stupidedi/versions/003010/segment_defs/L11.rb +21 -0
  422. data/lib/stupidedi/versions/003010/segment_defs/L3.rb +37 -0
  423. data/lib/stupidedi/versions/003010/segment_defs/L5.rb +29 -0
  424. data/lib/stupidedi/versions/003010/segment_defs/LE.rb +17 -0
  425. data/lib/stupidedi/versions/003010/segment_defs/LFH.rb +25 -0
  426. data/lib/stupidedi/versions/003010/segment_defs/LH1.rb +29 -0
  427. data/lib/stupidedi/versions/003010/segment_defs/LH2.rb +32 -0
  428. data/lib/stupidedi/versions/003010/segment_defs/LH3.rb +21 -0
  429. data/lib/stupidedi/versions/003010/segment_defs/LIN.rb +47 -0
  430. data/lib/stupidedi/versions/003010/segment_defs/LS.rb +16 -0
  431. data/lib/stupidedi/versions/003010/segment_defs/LX.rb +16 -0
  432. data/lib/stupidedi/versions/003010/segment_defs/M7.rb +21 -0
  433. data/lib/stupidedi/versions/003010/segment_defs/MAN.rb +23 -0
  434. data/lib/stupidedi/versions/003010/segment_defs/MEA.rb +22 -0
  435. data/lib/stupidedi/versions/003010/segment_defs/MS1.rb +33 -0
  436. data/lib/stupidedi/versions/003010/segment_defs/MS2.rb +22 -0
  437. data/lib/stupidedi/versions/003010/segment_defs/MS3.rb +21 -0
  438. data/lib/stupidedi/versions/003010/segment_defs/MSG.rb +17 -0
  439. data/lib/stupidedi/versions/003010/segment_defs/N1.rb +19 -0
  440. data/lib/stupidedi/versions/003010/segment_defs/N2.rb +17 -0
  441. data/lib/stupidedi/versions/003010/segment_defs/N3.rb +17 -0
  442. data/lib/stupidedi/versions/003010/segment_defs/N4.rb +19 -0
  443. data/lib/stupidedi/versions/003010/segment_defs/N7.rb +42 -0
  444. data/lib/stupidedi/versions/003010/segment_defs/N9.rb +18 -0
  445. data/lib/stupidedi/versions/003010/segment_defs/NTE.rb +18 -0
  446. data/lib/stupidedi/versions/003010/segment_defs/PER.rb +28 -0
  447. data/lib/stupidedi/versions/003010/segment_defs/PID.rb +20 -0
  448. data/lib/stupidedi/versions/003010/segment_defs/PLD.rb +21 -0
  449. data/lib/stupidedi/versions/003010/segment_defs/PO1.rb +25 -0
  450. data/lib/stupidedi/versions/003010/segment_defs/PO4.rb +20 -0
  451. data/lib/stupidedi/versions/003010/segment_defs/POC.rb +26 -0
  452. data/lib/stupidedi/versions/003010/segment_defs/REF.rb +18 -0
  453. data/lib/stupidedi/versions/003010/segment_defs/RMT.rb +25 -0
  454. data/lib/stupidedi/versions/003010/segment_defs/S5.rb +29 -0
  455. data/lib/stupidedi/versions/003010/segment_defs/SDP.rb +18 -0
  456. data/lib/stupidedi/versions/003010/segment_defs/SE.rb +19 -0
  457. data/lib/stupidedi/versions/003010/segment_defs/SHP.rb +20 -0
  458. data/lib/stupidedi/versions/003010/segment_defs/SN1.rb +24 -0
  459. data/lib/stupidedi/versions/003010/segment_defs/ST.rb +18 -0
  460. data/lib/stupidedi/versions/003010/segment_defs/TD1.rb +27 -0
  461. data/lib/stupidedi/versions/003010/segment_defs/TD3.rb +20 -0
  462. data/lib/stupidedi/versions/003010/segment_defs/TD5.rb +21 -0
  463. data/lib/stupidedi/versions/003010/segment_defs/UIT.rb +18 -0
  464. data/lib/stupidedi/versions/003010/segment_defs/W01.rb +37 -0
  465. data/lib/stupidedi/versions/003010/segment_defs/W03.rb +25 -0
  466. data/lib/stupidedi/versions/003010/segment_defs/W04.rb +35 -0
  467. data/lib/stupidedi/versions/003010/segment_defs/W05.rb +24 -0
  468. data/lib/stupidedi/versions/003010/segment_defs/W06.rb +29 -0
  469. data/lib/stupidedi/versions/003010/segment_defs/W07.rb +30 -0
  470. data/lib/stupidedi/versions/003010/segment_defs/W08.rb +26 -0
  471. data/lib/stupidedi/versions/003010/segment_defs/W12.rb +43 -0
  472. data/lib/stupidedi/versions/003010/segment_defs/W14.rb +20 -0
  473. data/lib/stupidedi/versions/003010/segment_defs/W17.rb +26 -0
  474. data/lib/stupidedi/versions/003010/segment_defs/W20.rb +28 -0
  475. data/lib/stupidedi/versions/003010/segment_defs/W27.rb +27 -0
  476. data/lib/stupidedi/versions/003010/segment_defs/W66.rb +26 -0
  477. data/lib/stupidedi/versions/003010/segment_defs/W76.rb +24 -0
  478. data/lib/stupidedi/versions/003010/segment_reqs.rb +11 -0
  479. data/lib/stupidedi/versions/003010/syntax_notes.rb +14 -0
  480. data/lib/stupidedi/versions/003040.rb +14 -0
  481. data/lib/stupidedi/versions/003040/element_defs.rb +10608 -0
  482. data/lib/stupidedi/versions/003040/element_reqs.rb +12 -0
  483. data/lib/stupidedi/versions/003040/element_types.rb +28 -0
  484. data/lib/stupidedi/versions/003040/element_types/date_val.rb +11 -0
  485. data/lib/stupidedi/versions/003040/element_types/fixnum_val.rb +11 -0
  486. data/lib/stupidedi/versions/003040/element_types/float_val.rb +11 -0
  487. data/lib/stupidedi/versions/003040/element_types/identifier_val.rb +11 -0
  488. data/lib/stupidedi/versions/003040/element_types/time_val.rb +11 -0
  489. data/lib/stupidedi/versions/003040/functional_group_def.rb +24 -0
  490. data/lib/stupidedi/versions/003040/segment_defs.rb +95 -0
  491. data/lib/stupidedi/versions/003040/segment_defs/AK1.rb +17 -0
  492. data/lib/stupidedi/versions/003040/segment_defs/AK2.rb +17 -0
  493. data/lib/stupidedi/versions/003040/segment_defs/AK3.rb +18 -0
  494. data/lib/stupidedi/versions/003040/segment_defs/AK9.rb +23 -0
  495. data/lib/stupidedi/versions/003040/segment_defs/AMT.rb +17 -0
  496. data/lib/stupidedi/versions/003040/segment_defs/AT7.rb +29 -0
  497. data/lib/stupidedi/versions/003040/segment_defs/AT8.rb +25 -0
  498. data/lib/stupidedi/versions/003040/segment_defs/B1.rb +20 -0
  499. data/lib/stupidedi/versions/003040/segment_defs/B10.rb +26 -0
  500. data/lib/stupidedi/versions/003040/segment_defs/B2.rb +27 -0
  501. data/lib/stupidedi/versions/003040/segment_defs/B2A.rb +17 -0
  502. data/lib/stupidedi/versions/003040/segment_defs/BEG.rb +21 -0
  503. data/lib/stupidedi/versions/003040/segment_defs/BGN.rb +18 -0
  504. data/lib/stupidedi/versions/003040/segment_defs/BPS.rb +25 -0
  505. data/lib/stupidedi/versions/003040/segment_defs/BSN.rb +24 -0
  506. data/lib/stupidedi/versions/003040/segment_defs/CTT.rb +25 -0
  507. data/lib/stupidedi/versions/003040/segment_defs/CUR.rb +19 -0
  508. data/lib/stupidedi/versions/003040/segment_defs/DTM.rb +18 -0
  509. data/lib/stupidedi/versions/003040/segment_defs/FOB.rb +20 -0
  510. data/lib/stupidedi/versions/003040/segment_defs/G61.rb +22 -0
  511. data/lib/stupidedi/versions/003040/segment_defs/G62.rb +22 -0
  512. data/lib/stupidedi/versions/003040/segment_defs/G69.rb +16 -0
  513. data/lib/stupidedi/versions/003040/segment_defs/GE.rb +17 -0
  514. data/lib/stupidedi/versions/003040/segment_defs/GS.rb +24 -0
  515. data/lib/stupidedi/versions/003040/segment_defs/HL.rb +20 -0
  516. data/lib/stupidedi/versions/003040/segment_defs/IT1.rb +20 -0
  517. data/lib/stupidedi/versions/003040/segment_defs/ITD.rb +28 -0
  518. data/lib/stupidedi/versions/003040/segment_defs/K1.rb +18 -0
  519. data/lib/stupidedi/versions/003040/segment_defs/L11.rb +21 -0
  520. data/lib/stupidedi/versions/003040/segment_defs/L3.rb +37 -0
  521. data/lib/stupidedi/versions/003040/segment_defs/L5.rb +29 -0
  522. data/lib/stupidedi/versions/003040/segment_defs/LE.rb +17 -0
  523. data/lib/stupidedi/versions/003040/segment_defs/LFH.rb +25 -0
  524. data/lib/stupidedi/versions/003040/segment_defs/LH1.rb +29 -0
  525. data/lib/stupidedi/versions/003040/segment_defs/LH2.rb +32 -0
  526. data/lib/stupidedi/versions/003040/segment_defs/LH3.rb +21 -0
  527. data/lib/stupidedi/versions/003040/segment_defs/LIN.rb +33 -0
  528. data/lib/stupidedi/versions/003040/segment_defs/LS.rb +16 -0
  529. data/lib/stupidedi/versions/003040/segment_defs/LX.rb +16 -0
  530. data/lib/stupidedi/versions/003040/segment_defs/M7.rb +21 -0
  531. data/lib/stupidedi/versions/003040/segment_defs/MAN.rb +23 -0
  532. data/lib/stupidedi/versions/003040/segment_defs/MEA.rb +22 -0
  533. data/lib/stupidedi/versions/003040/segment_defs/MS1.rb +33 -0
  534. data/lib/stupidedi/versions/003040/segment_defs/MS2.rb +22 -0
  535. data/lib/stupidedi/versions/003040/segment_defs/MS3.rb +21 -0
  536. data/lib/stupidedi/versions/003040/segment_defs/MSG.rb +17 -0
  537. data/lib/stupidedi/versions/003040/segment_defs/N1.rb +19 -0
  538. data/lib/stupidedi/versions/003040/segment_defs/N2.rb +17 -0
  539. data/lib/stupidedi/versions/003040/segment_defs/N3.rb +17 -0
  540. data/lib/stupidedi/versions/003040/segment_defs/N4.rb +19 -0
  541. data/lib/stupidedi/versions/003040/segment_defs/N7.rb +42 -0
  542. data/lib/stupidedi/versions/003040/segment_defs/N9.rb +18 -0
  543. data/lib/stupidedi/versions/003040/segment_defs/NTE.rb +18 -0
  544. data/lib/stupidedi/versions/003040/segment_defs/PER.rb +20 -0
  545. data/lib/stupidedi/versions/003040/segment_defs/PID.rb +20 -0
  546. data/lib/stupidedi/versions/003040/segment_defs/PLD.rb +21 -0
  547. data/lib/stupidedi/versions/003040/segment_defs/PO1.rb +25 -0
  548. data/lib/stupidedi/versions/003040/segment_defs/PO4.rb +20 -0
  549. data/lib/stupidedi/versions/003040/segment_defs/PRR.rb +21 -0
  550. data/lib/stupidedi/versions/003040/segment_defs/QTY.rb +18 -0
  551. data/lib/stupidedi/versions/003040/segment_defs/REF.rb +18 -0
  552. data/lib/stupidedi/versions/003040/segment_defs/REP.rb +19 -0
  553. data/lib/stupidedi/versions/003040/segment_defs/RMT.rb +25 -0
  554. data/lib/stupidedi/versions/003040/segment_defs/S5.rb +29 -0
  555. data/lib/stupidedi/versions/003040/segment_defs/SE.rb +19 -0
  556. data/lib/stupidedi/versions/003040/segment_defs/SN1.rb +24 -0
  557. data/lib/stupidedi/versions/003040/segment_defs/SSS.rb +24 -0
  558. data/lib/stupidedi/versions/003040/segment_defs/ST.rb +18 -0
  559. data/lib/stupidedi/versions/003040/segment_defs/TD1.rb +27 -0
  560. data/lib/stupidedi/versions/003040/segment_defs/TD3.rb +20 -0
  561. data/lib/stupidedi/versions/003040/segment_defs/TD5.rb +18 -0
  562. data/lib/stupidedi/versions/003040/segment_defs/TDS.rb +16 -0
  563. data/lib/stupidedi/versions/003040/segment_defs/W01.rb +37 -0
  564. data/lib/stupidedi/versions/003040/segment_defs/W03.rb +25 -0
  565. data/lib/stupidedi/versions/003040/segment_defs/W04.rb +35 -0
  566. data/lib/stupidedi/versions/003040/segment_defs/W05.rb +24 -0
  567. data/lib/stupidedi/versions/003040/segment_defs/W06.rb +29 -0
  568. data/lib/stupidedi/versions/003040/segment_defs/W07.rb +30 -0
  569. data/lib/stupidedi/versions/003040/segment_defs/W08.rb +26 -0
  570. data/lib/stupidedi/versions/003040/segment_defs/W12.rb +43 -0
  571. data/lib/stupidedi/versions/003040/segment_defs/W14.rb +20 -0
  572. data/lib/stupidedi/versions/003040/segment_defs/W17.rb +26 -0
  573. data/lib/stupidedi/versions/003040/segment_defs/W20.rb +28 -0
  574. data/lib/stupidedi/versions/003040/segment_defs/W27.rb +27 -0
  575. data/lib/stupidedi/versions/003040/segment_defs/W66.rb +26 -0
  576. data/lib/stupidedi/versions/003040/segment_defs/W76.rb +24 -0
  577. data/lib/stupidedi/versions/003040/segment_reqs.rb +11 -0
  578. data/lib/stupidedi/versions/003040/syntax_notes.rb +14 -0
  579. data/lib/stupidedi/versions/003050.rb +14 -0
  580. data/lib/stupidedi/versions/003050/element_defs.rb +10612 -0
  581. data/lib/stupidedi/versions/003050/element_reqs.rb +12 -0
  582. data/lib/stupidedi/versions/003050/element_types.rb +28 -0
  583. data/lib/stupidedi/versions/003050/element_types/an.rb +11 -0
  584. data/lib/stupidedi/versions/003050/element_types/dt.rb +11 -0
  585. data/lib/stupidedi/versions/003050/element_types/float_val.rb +11 -0
  586. data/lib/stupidedi/versions/003050/element_types/id.rb +11 -0
  587. data/lib/stupidedi/versions/003050/element_types/nn.rb +11 -0
  588. data/lib/stupidedi/versions/003050/element_types/tm.rb +11 -0
  589. data/lib/stupidedi/versions/003050/functional_group_def.rb +24 -0
  590. data/lib/stupidedi/versions/003050/segment_defs.rb +95 -0
  591. data/lib/stupidedi/versions/003050/segment_defs/AK1.rb +17 -0
  592. data/lib/stupidedi/versions/003050/segment_defs/AK2.rb +17 -0
  593. data/lib/stupidedi/versions/003050/segment_defs/AK3.rb +18 -0
  594. data/lib/stupidedi/versions/003050/segment_defs/AK9.rb +23 -0
  595. data/lib/stupidedi/versions/003050/segment_defs/AMT.rb +17 -0
  596. data/lib/stupidedi/versions/003050/segment_defs/AT7.rb +29 -0
  597. data/lib/stupidedi/versions/003050/segment_defs/AT8.rb +25 -0
  598. data/lib/stupidedi/versions/003050/segment_defs/B1.rb +20 -0
  599. data/lib/stupidedi/versions/003050/segment_defs/B10.rb +26 -0
  600. data/lib/stupidedi/versions/003050/segment_defs/B2.rb +27 -0
  601. data/lib/stupidedi/versions/003050/segment_defs/B2A.rb +17 -0
  602. data/lib/stupidedi/versions/003050/segment_defs/BEG.rb +21 -0
  603. data/lib/stupidedi/versions/003050/segment_defs/BGN.rb +18 -0
  604. data/lib/stupidedi/versions/003050/segment_defs/BPS.rb +25 -0
  605. data/lib/stupidedi/versions/003050/segment_defs/BSN.rb +24 -0
  606. data/lib/stupidedi/versions/003050/segment_defs/CTT.rb +17 -0
  607. data/lib/stupidedi/versions/003050/segment_defs/CUR.rb +19 -0
  608. data/lib/stupidedi/versions/003050/segment_defs/DTM.rb +20 -0
  609. data/lib/stupidedi/versions/003050/segment_defs/FOB.rb +20 -0
  610. data/lib/stupidedi/versions/003050/segment_defs/G61.rb +22 -0
  611. data/lib/stupidedi/versions/003050/segment_defs/G62.rb +22 -0
  612. data/lib/stupidedi/versions/003050/segment_defs/G69.rb +16 -0
  613. data/lib/stupidedi/versions/003050/segment_defs/GE.rb +18 -0
  614. data/lib/stupidedi/versions/003050/segment_defs/GS.rb +24 -0
  615. data/lib/stupidedi/versions/003050/segment_defs/HL.rb +20 -0
  616. data/lib/stupidedi/versions/003050/segment_defs/IT1.rb +20 -0
  617. data/lib/stupidedi/versions/003050/segment_defs/ITD.rb +28 -0
  618. data/lib/stupidedi/versions/003050/segment_defs/K1.rb +18 -0
  619. data/lib/stupidedi/versions/003050/segment_defs/L11.rb +21 -0
  620. data/lib/stupidedi/versions/003050/segment_defs/L3.rb +37 -0
  621. data/lib/stupidedi/versions/003050/segment_defs/L5.rb +29 -0
  622. data/lib/stupidedi/versions/003050/segment_defs/LE.rb +17 -0
  623. data/lib/stupidedi/versions/003050/segment_defs/LFH.rb +25 -0
  624. data/lib/stupidedi/versions/003050/segment_defs/LH1.rb +29 -0
  625. data/lib/stupidedi/versions/003050/segment_defs/LH2.rb +32 -0
  626. data/lib/stupidedi/versions/003050/segment_defs/LH3.rb +21 -0
  627. data/lib/stupidedi/versions/003050/segment_defs/LIN.rb +33 -0
  628. data/lib/stupidedi/versions/003050/segment_defs/LS.rb +16 -0
  629. data/lib/stupidedi/versions/003050/segment_defs/LX.rb +16 -0
  630. data/lib/stupidedi/versions/003050/segment_defs/M7.rb +21 -0
  631. data/lib/stupidedi/versions/003050/segment_defs/MAN.rb +23 -0
  632. data/lib/stupidedi/versions/003050/segment_defs/MEA.rb +22 -0
  633. data/lib/stupidedi/versions/003050/segment_defs/MS1.rb +33 -0
  634. data/lib/stupidedi/versions/003050/segment_defs/MS2.rb +22 -0
  635. data/lib/stupidedi/versions/003050/segment_defs/MS3.rb +21 -0
  636. data/lib/stupidedi/versions/003050/segment_defs/MSG.rb +17 -0
  637. data/lib/stupidedi/versions/003050/segment_defs/N1.rb +17 -0
  638. data/lib/stupidedi/versions/003050/segment_defs/N2.rb +17 -0
  639. data/lib/stupidedi/versions/003050/segment_defs/N3.rb +17 -0
  640. data/lib/stupidedi/versions/003050/segment_defs/N4.rb +19 -0
  641. data/lib/stupidedi/versions/003050/segment_defs/N7.rb +42 -0
  642. data/lib/stupidedi/versions/003050/segment_defs/N9.rb +18 -0
  643. data/lib/stupidedi/versions/003050/segment_defs/NTE.rb +18 -0
  644. data/lib/stupidedi/versions/003050/segment_defs/PER.rb +18 -0
  645. data/lib/stupidedi/versions/003050/segment_defs/PID.rb +20 -0
  646. data/lib/stupidedi/versions/003050/segment_defs/PLD.rb +21 -0
  647. data/lib/stupidedi/versions/003050/segment_defs/PO1.rb +23 -0
  648. data/lib/stupidedi/versions/003050/segment_defs/PO4.rb +20 -0
  649. data/lib/stupidedi/versions/003050/segment_defs/PRR.rb +19 -0
  650. data/lib/stupidedi/versions/003050/segment_defs/QTY.rb +18 -0
  651. data/lib/stupidedi/versions/003050/segment_defs/REF.rb +18 -0
  652. data/lib/stupidedi/versions/003050/segment_defs/REP.rb +19 -0
  653. data/lib/stupidedi/versions/003050/segment_defs/RMT.rb +25 -0
  654. data/lib/stupidedi/versions/003050/segment_defs/S5.rb +29 -0
  655. data/lib/stupidedi/versions/003050/segment_defs/SE.rb +19 -0
  656. data/lib/stupidedi/versions/003050/segment_defs/SN1.rb +24 -0
  657. data/lib/stupidedi/versions/003050/segment_defs/SSS.rb +22 -0
  658. data/lib/stupidedi/versions/003050/segment_defs/ST.rb +18 -0
  659. data/lib/stupidedi/versions/003050/segment_defs/TD1.rb +27 -0
  660. data/lib/stupidedi/versions/003050/segment_defs/TD3.rb +20 -0
  661. data/lib/stupidedi/versions/003050/segment_defs/TD5.rb +18 -0
  662. data/lib/stupidedi/versions/003050/segment_defs/TDS.rb +16 -0
  663. data/lib/stupidedi/versions/003050/segment_defs/W01.rb +37 -0
  664. data/lib/stupidedi/versions/003050/segment_defs/W03.rb +25 -0
  665. data/lib/stupidedi/versions/003050/segment_defs/W04.rb +35 -0
  666. data/lib/stupidedi/versions/003050/segment_defs/W05.rb +24 -0
  667. data/lib/stupidedi/versions/003050/segment_defs/W06.rb +29 -0
  668. data/lib/stupidedi/versions/003050/segment_defs/W07.rb +30 -0
  669. data/lib/stupidedi/versions/003050/segment_defs/W08.rb +26 -0
  670. data/lib/stupidedi/versions/003050/segment_defs/W12.rb +43 -0
  671. data/lib/stupidedi/versions/003050/segment_defs/W14.rb +20 -0
  672. data/lib/stupidedi/versions/003050/segment_defs/W17.rb +26 -0
  673. data/lib/stupidedi/versions/003050/segment_defs/W20.rb +28 -0
  674. data/lib/stupidedi/versions/003050/segment_defs/W27.rb +27 -0
  675. data/lib/stupidedi/versions/003050/segment_defs/W66.rb +26 -0
  676. data/lib/stupidedi/versions/003050/segment_defs/W76.rb +24 -0
  677. data/lib/stupidedi/versions/003050/segment_reqs.rb +11 -0
  678. data/lib/stupidedi/versions/003050/syntax_notes.rb +14 -0
  679. data/lib/stupidedi/versions/004010.rb +14 -0
  680. data/lib/stupidedi/versions/004010/element_defs.rb +9512 -0
  681. data/lib/stupidedi/versions/004010/element_reqs.rb +12 -0
  682. data/lib/stupidedi/versions/004010/element_types.rb +28 -0
  683. data/lib/stupidedi/versions/004010/element_types/an.rb +11 -0
  684. data/lib/stupidedi/versions/004010/element_types/dt.rb +11 -0
  685. data/lib/stupidedi/versions/004010/element_types/float_val.rb +11 -0
  686. data/lib/stupidedi/versions/004010/element_types/id.rb +11 -0
  687. data/lib/stupidedi/versions/004010/element_types/nn.rb +11 -0
  688. data/lib/stupidedi/versions/004010/element_types/tm.rb +11 -0
  689. data/lib/stupidedi/versions/004010/functional_group_def.rb +24 -0
  690. data/lib/stupidedi/versions/004010/segment_defs.rb +120 -0
  691. data/lib/stupidedi/versions/004010/segment_defs/AK1.rb +17 -0
  692. data/lib/stupidedi/versions/004010/segment_defs/AK2.rb +17 -0
  693. data/lib/stupidedi/versions/004010/segment_defs/AK3.rb +20 -0
  694. data/lib/stupidedi/versions/004010/segment_defs/AK4.rb +20 -0
  695. data/lib/stupidedi/versions/004010/segment_defs/AK5.rb +22 -0
  696. data/lib/stupidedi/versions/004010/segment_defs/AK9.rb +27 -0
  697. data/lib/stupidedi/versions/004010/segment_defs/AMT.rb +18 -0
  698. data/lib/stupidedi/versions/004010/segment_defs/AT7.rb +29 -0
  699. data/lib/stupidedi/versions/004010/segment_defs/AT8.rb +25 -0
  700. data/lib/stupidedi/versions/004010/segment_defs/B1.rb +20 -0
  701. data/lib/stupidedi/versions/004010/segment_defs/B10.rb +26 -0
  702. data/lib/stupidedi/versions/004010/segment_defs/B2.rb +27 -0
  703. data/lib/stupidedi/versions/004010/segment_defs/B2A.rb +17 -0
  704. data/lib/stupidedi/versions/004010/segment_defs/B3.rb +27 -0
  705. data/lib/stupidedi/versions/004010/segment_defs/BAK.rb +21 -0
  706. data/lib/stupidedi/versions/004010/segment_defs/BCT.rb +17 -0
  707. data/lib/stupidedi/versions/004010/segment_defs/BEG.rb +28 -0
  708. data/lib/stupidedi/versions/004010/segment_defs/BFR.rb +28 -0
  709. data/lib/stupidedi/versions/004010/segment_defs/BPR.rb +44 -0
  710. data/lib/stupidedi/versions/004010/segment_defs/BSN.rb +21 -0
  711. data/lib/stupidedi/versions/004010/segment_defs/BSS.rb +27 -0
  712. data/lib/stupidedi/versions/004010/segment_defs/C3.rb +18 -0
  713. data/lib/stupidedi/versions/004010/segment_defs/CAS.rb +50 -0
  714. data/lib/stupidedi/versions/004010/segment_defs/CLP.rb +28 -0
  715. data/lib/stupidedi/versions/004010/segment_defs/CTP.rb +31 -0
  716. data/lib/stupidedi/versions/004010/segment_defs/CTT.rb +25 -0
  717. data/lib/stupidedi/versions/004010/segment_defs/CUR.rb +51 -0
  718. data/lib/stupidedi/versions/004010/segment_defs/DTM.rb +24 -0
  719. data/lib/stupidedi/versions/004010/segment_defs/FST.rb +24 -0
  720. data/lib/stupidedi/versions/004010/segment_defs/G61.rb +22 -0
  721. data/lib/stupidedi/versions/004010/segment_defs/G62.rb +22 -0
  722. data/lib/stupidedi/versions/004010/segment_defs/G69.rb +16 -0
  723. data/lib/stupidedi/versions/004010/segment_defs/GE.rb +18 -0
  724. data/lib/stupidedi/versions/004010/segment_defs/GS.rb +24 -0
  725. data/lib/stupidedi/versions/004010/segment_defs/H3.rb +22 -0
  726. data/lib/stupidedi/versions/004010/segment_defs/HL.rb +20 -0
  727. data/lib/stupidedi/versions/004010/segment_defs/JIT.rb +18 -0
  728. data/lib/stupidedi/versions/004010/segment_defs/K1.rb +18 -0
  729. data/lib/stupidedi/versions/004010/segment_defs/L0.rb +30 -0
  730. data/lib/stupidedi/versions/004010/segment_defs/L1.rb +39 -0
  731. data/lib/stupidedi/versions/004010/segment_defs/L11.rb +21 -0
  732. data/lib/stupidedi/versions/004010/segment_defs/L3.rb +37 -0
  733. data/lib/stupidedi/versions/004010/segment_defs/L4.rb +21 -0
  734. data/lib/stupidedi/versions/004010/segment_defs/L5.rb +29 -0
  735. data/lib/stupidedi/versions/004010/segment_defs/L7.rb +32 -0
  736. data/lib/stupidedi/versions/004010/segment_defs/LAD.rb +34 -0
  737. data/lib/stupidedi/versions/004010/segment_defs/LFH.rb +25 -0
  738. data/lib/stupidedi/versions/004010/segment_defs/LH1.rb +29 -0
  739. data/lib/stupidedi/versions/004010/segment_defs/LH2.rb +33 -0
  740. data/lib/stupidedi/versions/004010/segment_defs/LH3.rb +21 -0
  741. data/lib/stupidedi/versions/004010/segment_defs/LIN.rb +47 -0
  742. data/lib/stupidedi/versions/004010/segment_defs/LQ.rb +18 -0
  743. data/lib/stupidedi/versions/004010/segment_defs/LX.rb +16 -0
  744. data/lib/stupidedi/versions/004010/segment_defs/M7.rb +21 -0
  745. data/lib/stupidedi/versions/004010/segment_defs/MAN.rb +23 -0
  746. data/lib/stupidedi/versions/004010/segment_defs/MEA.rb +36 -0
  747. data/lib/stupidedi/versions/004010/segment_defs/MIA.rb +40 -0
  748. data/lib/stupidedi/versions/004010/segment_defs/MOA.rb +25 -0
  749. data/lib/stupidedi/versions/004010/segment_defs/MS1.rb +33 -0
  750. data/lib/stupidedi/versions/004010/segment_defs/MS2.rb +22 -0
  751. data/lib/stupidedi/versions/004010/segment_defs/MS3.rb +21 -0
  752. data/lib/stupidedi/versions/004010/segment_defs/N1.rb +23 -0
  753. data/lib/stupidedi/versions/004010/segment_defs/N2.rb +17 -0
  754. data/lib/stupidedi/versions/004010/segment_defs/N3.rb +17 -0
  755. data/lib/stupidedi/versions/004010/segment_defs/N4.rb +22 -0
  756. data/lib/stupidedi/versions/004010/segment_defs/N7.rb +42 -0
  757. data/lib/stupidedi/versions/004010/segment_defs/N9.rb +25 -0
  758. data/lib/stupidedi/versions/004010/segment_defs/NM1.rb +28 -0
  759. data/lib/stupidedi/versions/004010/segment_defs/NTE.rb +18 -0
  760. data/lib/stupidedi/versions/004010/segment_defs/OID.rb +28 -0
  761. data/lib/stupidedi/versions/004010/segment_defs/PER.rb +28 -0
  762. data/lib/stupidedi/versions/004010/segment_defs/PID.rb +29 -0
  763. data/lib/stupidedi/versions/004010/segment_defs/PLB.rb +37 -0
  764. data/lib/stupidedi/versions/004010/segment_defs/PLD.rb +21 -0
  765. data/lib/stupidedi/versions/004010/segment_defs/PO1.rb +52 -0
  766. data/lib/stupidedi/versions/004010/segment_defs/PO4.rb +20 -0
  767. data/lib/stupidedi/versions/004010/segment_defs/PRF.rb +16 -0
  768. data/lib/stupidedi/versions/004010/segment_defs/QTY.rb +21 -0
  769. data/lib/stupidedi/versions/004010/segment_defs/R3.rb +24 -0
  770. data/lib/stupidedi/versions/004010/segment_defs/REF.rb +20 -0
  771. data/lib/stupidedi/versions/004010/segment_defs/S5.rb +29 -0
  772. data/lib/stupidedi/versions/004010/segment_defs/SCH.rb +24 -0
  773. data/lib/stupidedi/versions/004010/segment_defs/SDP.rb +17 -0
  774. data/lib/stupidedi/versions/004010/segment_defs/SE.rb +19 -0
  775. data/lib/stupidedi/versions/004010/segment_defs/SHP.rb +19 -0
  776. data/lib/stupidedi/versions/004010/segment_defs/SN1.rb +24 -0
  777. data/lib/stupidedi/versions/004010/segment_defs/ST.rb +18 -0
  778. data/lib/stupidedi/versions/004010/segment_defs/SVC.rb +23 -0
  779. data/lib/stupidedi/versions/004010/segment_defs/TD1.rb +19 -0
  780. data/lib/stupidedi/versions/004010/segment_defs/TD3.rb +23 -0
  781. data/lib/stupidedi/versions/004010/segment_defs/TD4.rb +22 -0
  782. data/lib/stupidedi/versions/004010/segment_defs/TD5.rb +21 -0
  783. data/lib/stupidedi/versions/004010/segment_defs/TRN.rb +19 -0
  784. data/lib/stupidedi/versions/004010/segment_defs/TS2.rb +35 -0
  785. data/lib/stupidedi/versions/004010/segment_defs/TS3.rb +39 -0
  786. data/lib/stupidedi/versions/004010/segment_defs/UIT.rb +17 -0
  787. data/lib/stupidedi/versions/004010/segment_defs/W01.rb +37 -0
  788. data/lib/stupidedi/versions/004010/segment_defs/W03.rb +25 -0
  789. data/lib/stupidedi/versions/004010/segment_defs/W04.rb +35 -0
  790. data/lib/stupidedi/versions/004010/segment_defs/W05.rb +24 -0
  791. data/lib/stupidedi/versions/004010/segment_defs/W06.rb +29 -0
  792. data/lib/stupidedi/versions/004010/segment_defs/W07.rb +30 -0
  793. data/lib/stupidedi/versions/004010/segment_defs/W08.rb +26 -0
  794. data/lib/stupidedi/versions/004010/segment_defs/W12.rb +43 -0
  795. data/lib/stupidedi/versions/004010/segment_defs/W14.rb +20 -0
  796. data/lib/stupidedi/versions/004010/segment_defs/W17.rb +26 -0
  797. data/lib/stupidedi/versions/004010/segment_defs/W20.rb +28 -0
  798. data/lib/stupidedi/versions/004010/segment_defs/W27.rb +27 -0
  799. data/lib/stupidedi/versions/004010/segment_defs/W66.rb +26 -0
  800. data/lib/stupidedi/versions/004010/segment_defs/W76.rb +24 -0
  801. data/lib/stupidedi/versions/004010/segment_reqs.rb +11 -0
  802. data/lib/stupidedi/versions/004010/syntax_notes.rb +14 -0
  803. data/lib/stupidedi/versions/005010.rb +14 -0
  804. data/lib/stupidedi/versions/005010/element_defs.rb +3520 -0
  805. data/lib/stupidedi/versions/005010/element_reqs.rb +12 -0
  806. data/lib/stupidedi/versions/005010/element_types.rb +28 -0
  807. data/lib/stupidedi/versions/005010/element_types/an.rb +11 -0
  808. data/lib/stupidedi/versions/005010/element_types/dt.rb +11 -0
  809. data/lib/stupidedi/versions/005010/element_types/float_val.rb +11 -0
  810. data/lib/stupidedi/versions/005010/element_types/id.rb +11 -0
  811. data/lib/stupidedi/versions/005010/element_types/nn.rb +11 -0
  812. data/lib/stupidedi/versions/005010/element_types/tm.rb +11 -0
  813. data/lib/stupidedi/versions/005010/functional_group_def.rb +23 -0
  814. data/lib/stupidedi/versions/005010/segment_defs.rb +156 -0
  815. data/lib/stupidedi/versions/005010/segment_defs/AAA.rb +20 -0
  816. data/lib/stupidedi/versions/005010/segment_defs/ACT.rb +27 -0
  817. data/lib/stupidedi/versions/005010/segment_defs/AD1.rb +15 -0
  818. data/lib/stupidedi/versions/005010/segment_defs/ADX.rb +15 -0
  819. data/lib/stupidedi/versions/005010/segment_defs/AIN.rb +15 -0
  820. data/lib/stupidedi/versions/005010/segment_defs/AK1.rb +18 -0
  821. data/lib/stupidedi/versions/005010/segment_defs/AK2.rb +18 -0
  822. data/lib/stupidedi/versions/005010/segment_defs/AK3.rb +20 -0
  823. data/lib/stupidedi/versions/005010/segment_defs/AK4.rb +20 -0
  824. data/lib/stupidedi/versions/005010/segment_defs/AK5.rb +22 -0
  825. data/lib/stupidedi/versions/005010/segment_defs/AK9.rb +27 -0
  826. data/lib/stupidedi/versions/005010/segment_defs/AMT.rb +18 -0
  827. data/lib/stupidedi/versions/005010/segment_defs/ASM.rb +15 -0
  828. data/lib/stupidedi/versions/005010/segment_defs/ATN.rb +15 -0
  829. data/lib/stupidedi/versions/005010/segment_defs/BEN.rb +15 -0
  830. data/lib/stupidedi/versions/005010/segment_defs/BGN.rb +25 -0
  831. data/lib/stupidedi/versions/005010/segment_defs/BHT.rb +23 -0
  832. data/lib/stupidedi/versions/005010/segment_defs/BPR.rb +44 -0
  833. data/lib/stupidedi/versions/005010/segment_defs/CAS.rb +50 -0
  834. data/lib/stupidedi/versions/005010/segment_defs/CL1.rb +19 -0
  835. data/lib/stupidedi/versions/005010/segment_defs/CLM.rb +35 -0
  836. data/lib/stupidedi/versions/005010/segment_defs/CLP.rb +29 -0
  837. data/lib/stupidedi/versions/005010/segment_defs/CN1.rb +21 -0
  838. data/lib/stupidedi/versions/005010/segment_defs/COB.rb +19 -0
  839. data/lib/stupidedi/versions/005010/segment_defs/CR1.rb +28 -0
  840. data/lib/stupidedi/versions/005010/segment_defs/CR2.rb +31 -0
  841. data/lib/stupidedi/versions/005010/segment_defs/CR3.rb +22 -0
  842. data/lib/stupidedi/versions/005010/segment_defs/CR4.rb +15 -0
  843. data/lib/stupidedi/versions/005010/segment_defs/CR5.rb +15 -0
  844. data/lib/stupidedi/versions/005010/segment_defs/CR6.rb +15 -0
  845. data/lib/stupidedi/versions/005010/segment_defs/CR7.rb +15 -0
  846. data/lib/stupidedi/versions/005010/segment_defs/CR8.rb +15 -0
  847. data/lib/stupidedi/versions/005010/segment_defs/CRC.rb +22 -0
  848. data/lib/stupidedi/versions/005010/segment_defs/CTP.rb +31 -0
  849. data/lib/stupidedi/versions/005010/segment_defs/CTX.rb +23 -0
  850. data/lib/stupidedi/versions/005010/segment_defs/CUR.rb +51 -0
  851. data/lib/stupidedi/versions/005010/segment_defs/DED.rb +15 -0
  852. data/lib/stupidedi/versions/005010/segment_defs/DMG.rb +29 -0
  853. data/lib/stupidedi/versions/005010/segment_defs/DN1.rb +19 -0
  854. data/lib/stupidedi/versions/005010/segment_defs/DN2.rb +21 -0
  855. data/lib/stupidedi/versions/005010/segment_defs/DSB.rb +24 -0
  856. data/lib/stupidedi/versions/005010/segment_defs/DTM.rb +21 -0
  857. data/lib/stupidedi/versions/005010/segment_defs/DTP.rb +18 -0
  858. data/lib/stupidedi/versions/005010/segment_defs/EB.rb +30 -0
  859. data/lib/stupidedi/versions/005010/segment_defs/EC.rb +21 -0
  860. data/lib/stupidedi/versions/005010/segment_defs/EM.rb +15 -0
  861. data/lib/stupidedi/versions/005010/segment_defs/EMS.rb +15 -0
  862. data/lib/stupidedi/versions/005010/segment_defs/ENT.rb +15 -0
  863. data/lib/stupidedi/versions/005010/segment_defs/EQ.rb +21 -0
  864. data/lib/stupidedi/versions/005010/segment_defs/FA1.rb +15 -0
  865. data/lib/stupidedi/versions/005010/segment_defs/FA2.rb +15 -0
  866. data/lib/stupidedi/versions/005010/segment_defs/FC.rb +15 -0
  867. data/lib/stupidedi/versions/005010/segment_defs/FRM.rb +22 -0
  868. data/lib/stupidedi/versions/005010/segment_defs/FSA.rb +15 -0
  869. data/lib/stupidedi/versions/005010/segment_defs/G53.rb +15 -0
  870. data/lib/stupidedi/versions/005010/segment_defs/GE.rb +18 -0
  871. data/lib/stupidedi/versions/005010/segment_defs/GS.rb +24 -0
  872. data/lib/stupidedi/versions/005010/segment_defs/HCP.rb +34 -0
  873. data/lib/stupidedi/versions/005010/segment_defs/HCR.rb +15 -0
  874. data/lib/stupidedi/versions/005010/segment_defs/HD.rb +26 -0
  875. data/lib/stupidedi/versions/005010/segment_defs/HI.rb +27 -0
  876. data/lib/stupidedi/versions/005010/segment_defs/HL.rb +20 -0
  877. data/lib/stupidedi/versions/005010/segment_defs/HLH.rb +22 -0
  878. data/lib/stupidedi/versions/005010/segment_defs/HSD.rb +25 -0
  879. data/lib/stupidedi/versions/005010/segment_defs/ICM.rb +22 -0
  880. data/lib/stupidedi/versions/005010/segment_defs/IDC.rb +20 -0
  881. data/lib/stupidedi/versions/005010/segment_defs/III.rb +26 -0
  882. data/lib/stupidedi/versions/005010/segment_defs/IK3.rb +19 -0
  883. data/lib/stupidedi/versions/005010/segment_defs/IK4.rb +20 -0
  884. data/lib/stupidedi/versions/005010/segment_defs/IK5.rb +22 -0
  885. data/lib/stupidedi/versions/005010/segment_defs/IMM.rb +15 -0
  886. data/lib/stupidedi/versions/005010/segment_defs/INS.rb +33 -0
  887. data/lib/stupidedi/versions/005010/segment_defs/INV.rb +15 -0
  888. data/lib/stupidedi/versions/005010/segment_defs/IT1.rb +15 -0
  889. data/lib/stupidedi/versions/005010/segment_defs/K3.rb +18 -0
  890. data/lib/stupidedi/versions/005010/segment_defs/LC.rb +15 -0
  891. data/lib/stupidedi/versions/005010/segment_defs/LE.rb +17 -0
  892. data/lib/stupidedi/versions/005010/segment_defs/LIN.rb +60 -0
  893. data/lib/stupidedi/versions/005010/segment_defs/LOC.rb +15 -0
  894. data/lib/stupidedi/versions/005010/segment_defs/LQ.rb +18 -0
  895. data/lib/stupidedi/versions/005010/segment_defs/LS.rb +16 -0
  896. data/lib/stupidedi/versions/005010/segment_defs/LUI.rb +22 -0
  897. data/lib/stupidedi/versions/005010/segment_defs/LX.rb +16 -0
  898. data/lib/stupidedi/versions/005010/segment_defs/MEA.rb +35 -0
  899. data/lib/stupidedi/versions/005010/segment_defs/MIA.rb +40 -0
  900. data/lib/stupidedi/versions/005010/segment_defs/MOA.rb +25 -0
  901. data/lib/stupidedi/versions/005010/segment_defs/MPI.rb +23 -0
  902. data/lib/stupidedi/versions/005010/segment_defs/MSG.rb +20 -0
  903. data/lib/stupidedi/versions/005010/segment_defs/N1.rb +23 -0
  904. data/lib/stupidedi/versions/005010/segment_defs/N2.rb +17 -0
  905. data/lib/stupidedi/versions/005010/segment_defs/N3.rb +17 -0
  906. data/lib/stupidedi/versions/005010/segment_defs/N4.rb +25 -0
  907. data/lib/stupidedi/versions/005010/segment_defs/N9.rb +15 -0
  908. data/lib/stupidedi/versions/005010/segment_defs/NM1.rb +30 -0
  909. data/lib/stupidedi/versions/005010/segment_defs/NTE.rb +18 -0
  910. data/lib/stupidedi/versions/005010/segment_defs/NX1.rb +15 -0
  911. data/lib/stupidedi/versions/005010/segment_defs/OI.rb +22 -0
  912. data/lib/stupidedi/versions/005010/segment_defs/PAT.rb +26 -0
  913. data/lib/stupidedi/versions/005010/segment_defs/PCT.rb +15 -0
  914. data/lib/stupidedi/versions/005010/segment_defs/PDP.rb +15 -0
  915. data/lib/stupidedi/versions/005010/segment_defs/PDR.rb +15 -0
  916. data/lib/stupidedi/versions/005010/segment_defs/PEN.rb +15 -0
  917. data/lib/stupidedi/versions/005010/segment_defs/PER.rb +28 -0
  918. data/lib/stupidedi/versions/005010/segment_defs/PID.rb +15 -0
  919. data/lib/stupidedi/versions/005010/segment_defs/PKD.rb +15 -0
  920. data/lib/stupidedi/versions/005010/segment_defs/PLA.rb +21 -0
  921. data/lib/stupidedi/versions/005010/segment_defs/PLB.rb +37 -0
  922. data/lib/stupidedi/versions/005010/segment_defs/PM.rb +15 -0
  923. data/lib/stupidedi/versions/005010/segment_defs/PRV.rb +22 -0
  924. data/lib/stupidedi/versions/005010/segment_defs/PS1.rb +18 -0
  925. data/lib/stupidedi/versions/005010/segment_defs/PWK.rb +26 -0
  926. data/lib/stupidedi/versions/005010/segment_defs/PYD.rb +15 -0
  927. data/lib/stupidedi/versions/005010/segment_defs/QTY.rb +21 -0
  928. data/lib/stupidedi/versions/005010/segment_defs/RDM.rb +21 -0
  929. data/lib/stupidedi/versions/005010/segment_defs/REF.rb +20 -0
  930. data/lib/stupidedi/versions/005010/segment_defs/REL.rb +15 -0
  931. data/lib/stupidedi/versions/005010/segment_defs/RMR.rb +15 -0
  932. data/lib/stupidedi/versions/005010/segment_defs/RP.rb +15 -0
  933. data/lib/stupidedi/versions/005010/segment_defs/RPA.rb +15 -0
  934. data/lib/stupidedi/versions/005010/segment_defs/RYL.rb +15 -0
  935. data/lib/stupidedi/versions/005010/segment_defs/SAC.rb +15 -0
  936. data/lib/stupidedi/versions/005010/segment_defs/SBR.rb +25 -0
  937. data/lib/stupidedi/versions/005010/segment_defs/SD1.rb +15 -0
  938. data/lib/stupidedi/versions/005010/segment_defs/SE.rb +19 -0
  939. data/lib/stupidedi/versions/005010/segment_defs/SLN.rb +15 -0
  940. data/lib/stupidedi/versions/005010/segment_defs/ST.rb +19 -0
  941. data/lib/stupidedi/versions/005010/segment_defs/STC.rb +28 -0
  942. data/lib/stupidedi/versions/005010/segment_defs/SV1.rb +38 -0
  943. data/lib/stupidedi/versions/005010/segment_defs/SV2.rb +26 -0
  944. data/lib/stupidedi/versions/005010/segment_defs/SV3.rb +26 -0
  945. data/lib/stupidedi/versions/005010/segment_defs/SV4.rb +15 -0
  946. data/lib/stupidedi/versions/005010/segment_defs/SV5.rb +24 -0
  947. data/lib/stupidedi/versions/005010/segment_defs/SV6.rb +15 -0
  948. data/lib/stupidedi/versions/005010/segment_defs/SV7.rb +15 -0
  949. data/lib/stupidedi/versions/005010/segment_defs/SVC.rb +23 -0
  950. data/lib/stupidedi/versions/005010/segment_defs/SVD.rb +23 -0
  951. data/lib/stupidedi/versions/005010/segment_defs/TOO.rb +19 -0
  952. data/lib/stupidedi/versions/005010/segment_defs/TRN.rb +19 -0
  953. data/lib/stupidedi/versions/005010/segment_defs/TS2.rb +35 -0
  954. data/lib/stupidedi/versions/005010/segment_defs/TS3.rb +39 -0
  955. data/lib/stupidedi/versions/005010/segment_defs/TXI.rb +15 -0
  956. data/lib/stupidedi/versions/005010/segment_defs/TXP.rb +15 -0
  957. data/lib/stupidedi/versions/005010/segment_defs/UM.rb +15 -0
  958. data/lib/stupidedi/versions/005010/segment_defs/UR.rb +15 -0
  959. data/lib/stupidedi/versions/005010/segment_defs/VEH.rb +15 -0
  960. data/lib/stupidedi/versions/005010/segment_reqs.rb +11 -0
  961. data/lib/stupidedi/versions/005010/syntax_notes.rb +14 -0
  962. data/lib/stupidedi/versions/common.rb +11 -0
  963. data/lib/stupidedi/versions/common/element_reqs.rb +13 -0
  964. data/lib/stupidedi/versions/common/element_types.rb +29 -0
  965. data/lib/stupidedi/versions/common/element_types/an.rb +386 -0
  966. data/lib/stupidedi/versions/common/element_types/dt.rb +572 -0
  967. data/lib/stupidedi/versions/common/element_types/id.rb +304 -0
  968. data/lib/stupidedi/versions/common/element_types/nn.rb +312 -0
  969. data/lib/stupidedi/versions/common/element_types/operators.rb +128 -0
  970. data/lib/stupidedi/versions/common/element_types/r.rb +340 -0
  971. data/lib/stupidedi/versions/common/element_types/simple_element.rb +73 -0
  972. data/lib/stupidedi/versions/common/element_types/tm.rb +347 -0
  973. data/lib/stupidedi/versions/common/segment_reqs.rb +15 -0
  974. data/lib/stupidedi/versions/common/syntax_notes.rb +172 -0
  975. data/lib/stupidedi/versions/functional_groups.rb +23 -8
  976. data/lib/stupidedi/versions/interchanges.rb +2 -9
  977. data/lib/stupidedi/writer.rb +0 -1
  978. data/lib/stupidedi/writer/claredi.rb +75 -41
  979. data/lib/stupidedi/writer/default.rb +23 -31
  980. data/lib/stupidedi/zipper.rb +20 -4
  981. data/lib/stupidedi/zipper/abstract_cursor.rb +10 -14
  982. data/lib/stupidedi/zipper/dangling_cursor.rb +0 -4
  983. data/lib/stupidedi/zipper/edited_cursor.rb +0 -4
  984. data/lib/stupidedi/zipper/memoized_cursor.rb +2 -4
  985. data/lib/stupidedi/zipper/path.rb +8 -4
  986. data/lib/stupidedi/zipper/root_cursor.rb +1 -5
  987. data/lib/stupidedi/zipper/stack_cursor.rb +107 -0
  988. metadata +880 -1027
  989. data/doc/unwritten/Defining.md +0 -0
  990. data/lib/ruby/instance_exec.rb +0 -30
  991. data/lib/ruby/jruby_hack.rb +0 -683
  992. data/lib/ruby/symbol.rb +0 -29
  993. data/lib/stupidedi/blank_slate.rb +0 -12
  994. data/lib/stupidedi/builder/builder_dsl.rb +0 -288
  995. data/lib/stupidedi/builder/constraint_table.rb +0 -450
  996. data/lib/stupidedi/builder/generation.rb +0 -116
  997. data/lib/stupidedi/builder/identifier_stack.rb +0 -171
  998. data/lib/stupidedi/builder/instruction.rb +0 -106
  999. data/lib/stupidedi/builder/instruction_table.rb +0 -208
  1000. data/lib/stupidedi/builder/navigation.rb +0 -721
  1001. data/lib/stupidedi/builder/state_machine.rb +0 -59
  1002. data/lib/stupidedi/builder/states/abstract_state.rb +0 -338
  1003. data/lib/stupidedi/builder/states/failure_state.rb +0 -73
  1004. data/lib/stupidedi/builder/states/functional_group_state.rb +0 -100
  1005. data/lib/stupidedi/builder/states/initial_state.rb +0 -66
  1006. data/lib/stupidedi/builder/states/interchange_state.rb +0 -98
  1007. data/lib/stupidedi/builder/states/loop_state.rb +0 -83
  1008. data/lib/stupidedi/builder/states/table_state.rb +0 -100
  1009. data/lib/stupidedi/builder/states/transaction_set_state.rb +0 -116
  1010. data/lib/stupidedi/builder/states/transmission_state.rb +0 -63
  1011. data/lib/stupidedi/builder/tokenization.rb +0 -202
  1012. data/lib/stupidedi/contrib/002001.rb +0 -14
  1013. data/lib/stupidedi/contrib/002001/guides.rb +0 -22
  1014. data/lib/stupidedi/contrib/002001/guides/FA997.rb +0 -82
  1015. data/lib/stupidedi/contrib/002001/guides/PO830.rb +0 -184
  1016. data/lib/stupidedi/contrib/002001/guides/SH856.rb +0 -217
  1017. data/lib/stupidedi/contrib/002001/transaction_set_defs.rb +0 -25
  1018. data/lib/stupidedi/contrib/002001/transaction_set_defs/FA997.rb +0 -32
  1019. data/lib/stupidedi/contrib/002001/transaction_set_defs/PO830.rb +0 -47
  1020. data/lib/stupidedi/contrib/002001/transaction_set_defs/SH856.rb +0 -39
  1021. data/lib/stupidedi/contrib/003010.rb +0 -14
  1022. data/lib/stupidedi/contrib/003010/guides.rb +0 -23
  1023. data/lib/stupidedi/contrib/003010/guides/PC860.rb +0 -176
  1024. data/lib/stupidedi/contrib/003010/guides/PO850.rb +0 -169
  1025. data/lib/stupidedi/contrib/003010/guides/PS830.rb +0 -169
  1026. data/lib/stupidedi/contrib/003010/guides/RA820.rb +0 -177
  1027. data/lib/stupidedi/contrib/003010/transaction_set_defs.rb +0 -25
  1028. data/lib/stupidedi/contrib/003010/transaction_set_defs/PC860.rb +0 -48
  1029. data/lib/stupidedi/contrib/003010/transaction_set_defs/PO850.rb +0 -49
  1030. data/lib/stupidedi/contrib/003010/transaction_set_defs/PS830.rb +0 -49
  1031. data/lib/stupidedi/contrib/003010/transaction_set_defs/RA820.rb +0 -40
  1032. data/lib/stupidedi/contrib/003040.rb +0 -14
  1033. data/lib/stupidedi/contrib/003040/guides.rb +0 -20
  1034. data/lib/stupidedi/contrib/003040/guides/WA142.rb +0 -187
  1035. data/lib/stupidedi/contrib/003040/transaction_set_defs.rb +0 -16
  1036. data/lib/stupidedi/contrib/003040/transaction_set_defs/WA142.rb +0 -53
  1037. data/lib/stupidedi/contrib/003050.rb +0 -14
  1038. data/lib/stupidedi/contrib/003050/guides.rb +0 -16
  1039. data/lib/stupidedi/contrib/003050/guides/PO850.rb +0 -97
  1040. data/lib/stupidedi/contrib/003050/transaction_set_defs.rb +0 -15
  1041. data/lib/stupidedi/contrib/003050/transaction_set_defs/PO850.rb +0 -43
  1042. data/lib/stupidedi/contrib/004010.rb +0 -14
  1043. data/lib/stupidedi/contrib/004010/guides.rb +0 -29
  1044. data/lib/stupidedi/contrib/004010/guides/AR943.rb +0 -89
  1045. data/lib/stupidedi/contrib/004010/guides/FA997.rb +0 -82
  1046. data/lib/stupidedi/contrib/004010/guides/GF990.rb +0 -55
  1047. data/lib/stupidedi/contrib/004010/guides/IM210.rb +0 -267
  1048. data/lib/stupidedi/contrib/004010/guides/OW940.rb +0 -121
  1049. data/lib/stupidedi/contrib/004010/guides/PO850.rb +0 -133
  1050. data/lib/stupidedi/contrib/004010/guides/PS830.rb +0 -165
  1051. data/lib/stupidedi/contrib/004010/guides/QM214.rb +0 -141
  1052. data/lib/stupidedi/contrib/004010/guides/RE944.rb +0 -75
  1053. data/lib/stupidedi/contrib/004010/guides/SH856.rb +0 -187
  1054. data/lib/stupidedi/contrib/004010/guides/SM204.rb +0 -480
  1055. data/lib/stupidedi/contrib/004010/guides/SQ866.rb +0 -120
  1056. data/lib/stupidedi/contrib/004010/guides/SS862.rb +0 -178
  1057. data/lib/stupidedi/contrib/004010/guides/SW945.rb +0 -120
  1058. data/lib/stupidedi/contrib/004010/transaction_set_defs.rb +0 -61
  1059. data/lib/stupidedi/contrib/004010/transaction_set_defs/AR943.rb +0 -35
  1060. data/lib/stupidedi/contrib/004010/transaction_set_defs/FA997.rb +0 -31
  1061. data/lib/stupidedi/contrib/004010/transaction_set_defs/GF990.rb +0 -22
  1062. data/lib/stupidedi/contrib/004010/transaction_set_defs/IM210.rb +0 -47
  1063. data/lib/stupidedi/contrib/004010/transaction_set_defs/OW940.rb +0 -44
  1064. data/lib/stupidedi/contrib/004010/transaction_set_defs/PO850.rb +0 -51
  1065. data/lib/stupidedi/contrib/004010/transaction_set_defs/PR855.rb +0 -35
  1066. data/lib/stupidedi/contrib/004010/transaction_set_defs/PS830.rb +0 -45
  1067. data/lib/stupidedi/contrib/004010/transaction_set_defs/QM214.rb +0 -41
  1068. data/lib/stupidedi/contrib/004010/transaction_set_defs/RE944.rb +0 -35
  1069. data/lib/stupidedi/contrib/004010/transaction_set_defs/SC832.rb +0 -45
  1070. data/lib/stupidedi/contrib/004010/transaction_set_defs/SH856.rb +0 -50
  1071. data/lib/stupidedi/contrib/004010/transaction_set_defs/SM204.rb +0 -85
  1072. data/lib/stupidedi/contrib/004010/transaction_set_defs/SQ866.rb +0 -33
  1073. data/lib/stupidedi/contrib/004010/transaction_set_defs/SS862.rb +0 -41
  1074. data/lib/stupidedi/contrib/004010/transaction_set_defs/SW945.rb +0 -44
  1075. data/lib/stupidedi/guides/004010.rb +0 -22
  1076. data/lib/stupidedi/guides/004010/X091A1-HP835.rb +0 -533
  1077. data/lib/stupidedi/guides/004010/element_reqs.rb +0 -41
  1078. data/lib/stupidedi/guides/004010/guide_builder.rb +0 -184
  1079. data/lib/stupidedi/guides/004010/segment_reqs.rb +0 -35
  1080. data/lib/stupidedi/guides/005010.rb +0 -87
  1081. data/lib/stupidedi/guides/005010/X212-HR276.rb +0 -387
  1082. data/lib/stupidedi/guides/005010/X214-HN277.rb +0 -412
  1083. data/lib/stupidedi/guides/005010/X220-BE834.rb +0 -709
  1084. data/lib/stupidedi/guides/005010/X220A1-BE834.rb +0 -709
  1085. data/lib/stupidedi/guides/005010/X221-HP835.rb +0 -616
  1086. data/lib/stupidedi/guides/005010/X221A1-HP835.rb +0 -616
  1087. data/lib/stupidedi/guides/005010/X222-HC837P.rb +0 -2294
  1088. data/lib/stupidedi/guides/005010/X222A1-HC837P.rb +0 -2300
  1089. data/lib/stupidedi/guides/005010/X223-HC837I.rb +0 -2582
  1090. data/lib/stupidedi/guides/005010/X231-FA999.rb +0 -126
  1091. data/lib/stupidedi/guides/005010/X231A1-FA999.rb +0 -122
  1092. data/lib/stupidedi/guides/005010/X279-HB271.rb +0 -832
  1093. data/lib/stupidedi/guides/005010/X279-HS270.rb +0 -594
  1094. data/lib/stupidedi/guides/005010/X279A1-HB271.rb +0 -845
  1095. data/lib/stupidedi/guides/005010/X279A1-HS270.rb +0 -594
  1096. data/lib/stupidedi/guides/005010/element_reqs.rb +0 -41
  1097. data/lib/stupidedi/guides/005010/guide_builder.rb +0 -205
  1098. data/lib/stupidedi/guides/005010/segment_reqs.rb +0 -35
  1099. data/lib/stupidedi/schema/element_def.rb +0 -177
  1100. data/lib/stupidedi/schema/element_use.rb +0 -255
  1101. data/lib/stupidedi/tail_call.rb +0 -111
  1102. data/lib/stupidedi/thread_local.rb +0 -177
  1103. data/lib/stupidedi/versions/functional_groups/002001.rb +0 -41
  1104. data/lib/stupidedi/versions/functional_groups/002001/element_defs.rb +0 -10698
  1105. data/lib/stupidedi/versions/functional_groups/002001/element_reqs.rb +0 -21
  1106. data/lib/stupidedi/versions/functional_groups/002001/element_types.rb +0 -130
  1107. data/lib/stupidedi/versions/functional_groups/002001/element_types/date_val.rb +0 -576
  1108. data/lib/stupidedi/versions/functional_groups/002001/element_types/fixnum_val.rb +0 -318
  1109. data/lib/stupidedi/versions/functional_groups/002001/element_types/float_val.rb +0 -349
  1110. data/lib/stupidedi/versions/functional_groups/002001/element_types/identifier_val.rb +0 -362
  1111. data/lib/stupidedi/versions/functional_groups/002001/element_types/operators.rb +0 -134
  1112. data/lib/stupidedi/versions/functional_groups/002001/element_types/string_val.rb +0 -394
  1113. data/lib/stupidedi/versions/functional_groups/002001/element_types/time_val.rb +0 -330
  1114. data/lib/stupidedi/versions/functional_groups/002001/functional_group_def.rb +0 -33
  1115. data/lib/stupidedi/versions/functional_groups/002001/segment_defs.rb +0 -252
  1116. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK1.rb +0 -21
  1117. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK2.rb +0 -22
  1118. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK3.rb +0 -21
  1119. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK4.rb +0 -23
  1120. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK5.rb +0 -25
  1121. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK9.rb +0 -25
  1122. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AT7.rb +0 -32
  1123. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AT8.rb +0 -29
  1124. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/ATH.rb +0 -24
  1125. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B1.rb +0 -23
  1126. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B10.rb +0 -30
  1127. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B2.rb +0 -31
  1128. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B2A.rb +0 -21
  1129. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/BEG.rb +0 -31
  1130. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/BFR.rb +0 -32
  1131. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/BSN.rb +0 -27
  1132. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/CTT.rb +0 -29
  1133. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/CUR.rb +0 -58
  1134. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/DTM.rb +0 -30
  1135. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/FST.rb +0 -32
  1136. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/G61.rb +0 -26
  1137. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/G62.rb +0 -27
  1138. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/G69.rb +0 -21
  1139. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/GE.rb +0 -21
  1140. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/GS.rb +0 -27
  1141. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/HL.rb +0 -23
  1142. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/J2X.rb +0 -23
  1143. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/K1.rb +0 -21
  1144. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/L11.rb +0 -25
  1145. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/L3.rb +0 -40
  1146. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/L5.rb +0 -33
  1147. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LFH.rb +0 -29
  1148. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LH1.rb +0 -33
  1149. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LH2.rb +0 -37
  1150. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LH3.rb +0 -25
  1151. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LIN.rb +0 -51
  1152. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LX.rb +0 -20
  1153. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/M7.rb +0 -24
  1154. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MAN.rb +0 -21
  1155. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MEA.rb +0 -33
  1156. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MS1.rb +0 -36
  1157. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MS2.rb +0 -26
  1158. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MS3.rb +0 -26
  1159. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N1.rb +0 -23
  1160. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N2.rb +0 -21
  1161. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N3.rb +0 -21
  1162. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N4.rb +0 -30
  1163. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N7.rb +0 -46
  1164. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N9.rb +0 -29
  1165. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/NTE.rb +0 -21
  1166. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PER.rb +0 -32
  1167. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PID.rb +0 -34
  1168. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PLD.rb +0 -25
  1169. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PO1.rb +0 -60
  1170. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PO4.rb +0 -23
  1171. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/REF.rb +0 -25
  1172. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/S5.rb +0 -34
  1173. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/SDP.rb +0 -21
  1174. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/SE.rb +0 -21
  1175. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/SN1.rb +0 -28
  1176. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/ST.rb +0 -21
  1177. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/TD1.rb +0 -30
  1178. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/TD3.rb +0 -23
  1179. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/TD5.rb +0 -23
  1180. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/UNT.rb +0 -20
  1181. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W01.rb +0 -44
  1182. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W03.rb +0 -30
  1183. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W04.rb +0 -40
  1184. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W05.rb +0 -29
  1185. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W06.rb +0 -33
  1186. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W07.rb +0 -36
  1187. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W08.rb +0 -32
  1188. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W12.rb +0 -51
  1189. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W14.rb +0 -25
  1190. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W17.rb +0 -31
  1191. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W20.rb +0 -33
  1192. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W27.rb +0 -31
  1193. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W66.rb +0 -31
  1194. data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W76.rb +0 -30
  1195. data/lib/stupidedi/versions/functional_groups/002001/segment_reqs.rb +0 -21
  1196. data/lib/stupidedi/versions/functional_groups/002001/syntax_notes.rb +0 -177
  1197. data/lib/stupidedi/versions/functional_groups/002001/transaction_set_defs.rb +0 -14
  1198. data/lib/stupidedi/versions/functional_groups/003010.rb +0 -41
  1199. data/lib/stupidedi/versions/functional_groups/003010/element_defs.rb +0 -9324
  1200. data/lib/stupidedi/versions/functional_groups/003010/element_reqs.rb +0 -22
  1201. data/lib/stupidedi/versions/functional_groups/003010/element_types.rb +0 -130
  1202. data/lib/stupidedi/versions/functional_groups/003010/element_types/date_val.rb +0 -576
  1203. data/lib/stupidedi/versions/functional_groups/003010/element_types/fixnum_val.rb +0 -319
  1204. data/lib/stupidedi/versions/functional_groups/003010/element_types/float_val.rb +0 -349
  1205. data/lib/stupidedi/versions/functional_groups/003010/element_types/identifier_val.rb +0 -361
  1206. data/lib/stupidedi/versions/functional_groups/003010/element_types/operators.rb +0 -134
  1207. data/lib/stupidedi/versions/functional_groups/003010/element_types/string_val.rb +0 -391
  1208. data/lib/stupidedi/versions/functional_groups/003010/element_types/time_val.rb +0 -330
  1209. data/lib/stupidedi/versions/functional_groups/003010/functional_group_def.rb +0 -33
  1210. data/lib/stupidedi/versions/functional_groups/003010/segment_defs.rb +0 -269
  1211. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK1.rb +0 -21
  1212. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK2.rb +0 -22
  1213. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK3.rb +0 -21
  1214. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK9.rb +0 -25
  1215. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AT7.rb +0 -32
  1216. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AT8.rb +0 -29
  1217. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B1.rb +0 -23
  1218. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B10.rb +0 -30
  1219. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B2.rb +0 -31
  1220. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B2A.rb +0 -21
  1221. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BCH.rb +0 -32
  1222. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BEG.rb +0 -31
  1223. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BFR.rb +0 -41
  1224. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BPS.rb +0 -34
  1225. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BSN.rb +0 -27
  1226. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/CTT.rb +0 -29
  1227. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/CUR.rb +0 -59
  1228. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/DTM.rb +0 -31
  1229. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/FOB.rb +0 -26
  1230. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/FST.rb +0 -31
  1231. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/G61.rb +0 -26
  1232. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/G62.rb +0 -27
  1233. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/G69.rb +0 -21
  1234. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/GE.rb +0 -21
  1235. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/GS.rb +0 -27
  1236. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/HL.rb +0 -23
  1237. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/ITD.rb +0 -31
  1238. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/K1.rb +0 -21
  1239. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/L11.rb +0 -25
  1240. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/L3.rb +0 -40
  1241. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/L5.rb +0 -33
  1242. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LE.rb +0 -20
  1243. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LFH.rb +0 -29
  1244. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LH1.rb +0 -33
  1245. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LH2.rb +0 -37
  1246. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LH3.rb +0 -25
  1247. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LIN.rb +0 -51
  1248. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LS.rb +0 -20
  1249. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LX.rb +0 -20
  1250. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/M7.rb +0 -24
  1251. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MAN.rb +0 -28
  1252. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MEA.rb +0 -33
  1253. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MS1.rb +0 -36
  1254. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MS2.rb +0 -26
  1255. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MS3.rb +0 -26
  1256. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MSG.rb +0 -20
  1257. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N1.rb +0 -22
  1258. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N2.rb +0 -21
  1259. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N3.rb +0 -21
  1260. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N4.rb +0 -30
  1261. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N7.rb +0 -46
  1262. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N9.rb +0 -29
  1263. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/NTE.rb +0 -21
  1264. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PER.rb +0 -32
  1265. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PID.rb +0 -34
  1266. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PLD.rb +0 -25
  1267. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PO1.rb +0 -60
  1268. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PO4.rb +0 -23
  1269. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/POC.rb +0 -32
  1270. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/REF.rb +0 -22
  1271. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/RMT.rb +0 -36
  1272. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/S5.rb +0 -34
  1273. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SDP.rb +0 -22
  1274. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SE.rb +0 -21
  1275. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SHP.rb +0 -24
  1276. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SN1.rb +0 -28
  1277. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/ST.rb +0 -21
  1278. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/TD1.rb +0 -30
  1279. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/TD3.rb +0 -23
  1280. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/TD5.rb +0 -23
  1281. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/UIT.rb +0 -22
  1282. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W01.rb +0 -44
  1283. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W03.rb +0 -30
  1284. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W04.rb +0 -40
  1285. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W05.rb +0 -29
  1286. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W06.rb +0 -33
  1287. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W07.rb +0 -36
  1288. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W08.rb +0 -32
  1289. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W12.rb +0 -51
  1290. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W14.rb +0 -25
  1291. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W17.rb +0 -31
  1292. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W20.rb +0 -33
  1293. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W27.rb +0 -31
  1294. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W66.rb +0 -31
  1295. data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W76.rb +0 -30
  1296. data/lib/stupidedi/versions/functional_groups/003010/segment_reqs.rb +0 -21
  1297. data/lib/stupidedi/versions/functional_groups/003010/syntax_notes.rb +0 -177
  1298. data/lib/stupidedi/versions/functional_groups/003010/transaction_set_defs.rb +0 -14
  1299. data/lib/stupidedi/versions/functional_groups/003040.rb +0 -41
  1300. data/lib/stupidedi/versions/functional_groups/003040/element_defs.rb +0 -10779
  1301. data/lib/stupidedi/versions/functional_groups/003040/element_reqs.rb +0 -21
  1302. data/lib/stupidedi/versions/functional_groups/003040/element_types.rb +0 -130
  1303. data/lib/stupidedi/versions/functional_groups/003040/element_types/date_val.rb +0 -575
  1304. data/lib/stupidedi/versions/functional_groups/003040/element_types/fixnum_val.rb +0 -318
  1305. data/lib/stupidedi/versions/functional_groups/003040/element_types/float_val.rb +0 -350
  1306. data/lib/stupidedi/versions/functional_groups/003040/element_types/identifier_val.rb +0 -359
  1307. data/lib/stupidedi/versions/functional_groups/003040/element_types/operators.rb +0 -134
  1308. data/lib/stupidedi/versions/functional_groups/003040/element_types/string_val.rb +0 -392
  1309. data/lib/stupidedi/versions/functional_groups/003040/element_types/time_val.rb +0 -330
  1310. data/lib/stupidedi/versions/functional_groups/003040/functional_group_def.rb +0 -33
  1311. data/lib/stupidedi/versions/functional_groups/003040/segment_defs.rb +0 -274
  1312. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK1.rb +0 -21
  1313. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK2.rb +0 -22
  1314. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK3.rb +0 -21
  1315. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK9.rb +0 -25
  1316. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AMT.rb +0 -20
  1317. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AT7.rb +0 -32
  1318. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AT8.rb +0 -29
  1319. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B1.rb +0 -23
  1320. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B10.rb +0 -30
  1321. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B2.rb +0 -31
  1322. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B2A.rb +0 -21
  1323. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BEG.rb +0 -31
  1324. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BGN.rb +0 -23
  1325. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BPS.rb +0 -27
  1326. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BSN.rb +0 -27
  1327. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/CTT.rb +0 -29
  1328. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/CUR.rb +0 -59
  1329. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/DTM.rb +0 -31
  1330. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/FOB.rb +0 -24
  1331. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/G61.rb +0 -26
  1332. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/G62.rb +0 -27
  1333. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/G69.rb +0 -21
  1334. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/GE.rb +0 -21
  1335. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/GS.rb +0 -27
  1336. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/HL.rb +0 -23
  1337. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/IT1.rb +0 -23
  1338. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/ITD.rb +0 -31
  1339. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/K1.rb +0 -21
  1340. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/L11.rb +0 -25
  1341. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/L3.rb +0 -40
  1342. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/L5.rb +0 -33
  1343. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LE.rb +0 -20
  1344. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LFH.rb +0 -29
  1345. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LH1.rb +0 -33
  1346. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LH2.rb +0 -37
  1347. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LH3.rb +0 -25
  1348. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LIN.rb +0 -51
  1349. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LS.rb +0 -20
  1350. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LX.rb +0 -20
  1351. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/M7.rb +0 -24
  1352. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MAN.rb +0 -28
  1353. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MEA.rb +0 -33
  1354. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MS1.rb +0 -36
  1355. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MS2.rb +0 -26
  1356. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MS3.rb +0 -26
  1357. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MSG.rb +0 -20
  1358. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N1.rb +0 -28
  1359. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N2.rb +0 -21
  1360. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N3.rb +0 -21
  1361. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N4.rb +0 -30
  1362. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N7.rb +0 -46
  1363. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N9.rb +0 -29
  1364. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/NTE.rb +0 -21
  1365. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PER.rb +0 -32
  1366. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PID.rb +0 -34
  1367. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PLD.rb +0 -25
  1368. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PO1.rb +0 -60
  1369. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PO4.rb +0 -23
  1370. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PRR.rb +0 -24
  1371. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/QTY.rb +0 -21
  1372. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/REF.rb +0 -22
  1373. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/REP.rb +0 -22
  1374. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/RMT.rb +0 -37
  1375. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/S5.rb +0 -34
  1376. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/SE.rb +0 -21
  1377. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/SN1.rb +0 -28
  1378. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/SSS.rb +0 -27
  1379. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/ST.rb +0 -21
  1380. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TD1.rb +0 -30
  1381. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TD3.rb +0 -23
  1382. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TD5.rb +0 -20
  1383. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TDS.rb +0 -19
  1384. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W01.rb +0 -44
  1385. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W03.rb +0 -30
  1386. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W04.rb +0 -40
  1387. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W05.rb +0 -29
  1388. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W06.rb +0 -33
  1389. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W07.rb +0 -36
  1390. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W08.rb +0 -32
  1391. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W12.rb +0 -51
  1392. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W14.rb +0 -25
  1393. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W17.rb +0 -31
  1394. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W20.rb +0 -33
  1395. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W27.rb +0 -31
  1396. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W66.rb +0 -31
  1397. data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W76.rb +0 -30
  1398. data/lib/stupidedi/versions/functional_groups/003040/segment_reqs.rb +0 -21
  1399. data/lib/stupidedi/versions/functional_groups/003040/syntax_notes.rb +0 -177
  1400. data/lib/stupidedi/versions/functional_groups/003040/transaction_set_defs.rb +0 -14
  1401. data/lib/stupidedi/versions/functional_groups/003050.rb +0 -41
  1402. data/lib/stupidedi/versions/functional_groups/003050/element_defs.rb +0 -10782
  1403. data/lib/stupidedi/versions/functional_groups/003050/element_reqs.rb +0 -21
  1404. data/lib/stupidedi/versions/functional_groups/003050/element_types.rb +0 -130
  1405. data/lib/stupidedi/versions/functional_groups/003050/element_types/date_val.rb +0 -576
  1406. data/lib/stupidedi/versions/functional_groups/003050/element_types/fixnum_val.rb +0 -319
  1407. data/lib/stupidedi/versions/functional_groups/003050/element_types/float_val.rb +0 -351
  1408. data/lib/stupidedi/versions/functional_groups/003050/element_types/identifier_val.rb +0 -360
  1409. data/lib/stupidedi/versions/functional_groups/003050/element_types/operators.rb +0 -134
  1410. data/lib/stupidedi/versions/functional_groups/003050/element_types/string_val.rb +0 -393
  1411. data/lib/stupidedi/versions/functional_groups/003050/element_types/time_val.rb +0 -330
  1412. data/lib/stupidedi/versions/functional_groups/003050/functional_group_def.rb +0 -33
  1413. data/lib/stupidedi/versions/functional_groups/003050/segment_defs.rb +0 -274
  1414. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK1.rb +0 -21
  1415. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK2.rb +0 -22
  1416. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK3.rb +0 -21
  1417. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK9.rb +0 -25
  1418. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AMT.rb +0 -20
  1419. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AT7.rb +0 -32
  1420. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AT8.rb +0 -29
  1421. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B1.rb +0 -23
  1422. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B10.rb +0 -30
  1423. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B2.rb +0 -31
  1424. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B2A.rb +0 -21
  1425. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BEG.rb +0 -31
  1426. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BGN.rb +0 -23
  1427. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BPS.rb +0 -27
  1428. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BSN.rb +0 -27
  1429. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/CTT.rb +0 -29
  1430. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/CUR.rb +0 -59
  1431. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/DTM.rb +0 -30
  1432. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/FOB.rb +0 -24
  1433. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/G61.rb +0 -26
  1434. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/G62.rb +0 -27
  1435. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/G69.rb +0 -21
  1436. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/GE.rb +0 -21
  1437. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/GS.rb +0 -27
  1438. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/HL.rb +0 -23
  1439. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/IT1.rb +0 -23
  1440. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/ITD.rb +0 -31
  1441. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/K1.rb +0 -21
  1442. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/L11.rb +0 -25
  1443. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/L3.rb +0 -40
  1444. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/L5.rb +0 -33
  1445. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LE.rb +0 -20
  1446. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LFH.rb +0 -29
  1447. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LH1.rb +0 -33
  1448. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LH2.rb +0 -37
  1449. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LH3.rb +0 -25
  1450. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LIN.rb +0 -51
  1451. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LS.rb +0 -20
  1452. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LX.rb +0 -20
  1453. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/M7.rb +0 -24
  1454. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MAN.rb +0 -28
  1455. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MEA.rb +0 -33
  1456. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MS1.rb +0 -36
  1457. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MS2.rb +0 -26
  1458. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MS3.rb +0 -26
  1459. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MSG.rb +0 -20
  1460. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N1.rb +0 -28
  1461. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N2.rb +0 -21
  1462. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N3.rb +0 -21
  1463. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N4.rb +0 -30
  1464. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N7.rb +0 -46
  1465. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N9.rb +0 -29
  1466. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/NTE.rb +0 -21
  1467. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PER.rb +0 -32
  1468. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PID.rb +0 -34
  1469. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PLD.rb +0 -25
  1470. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PO1.rb +0 -60
  1471. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PO4.rb +0 -23
  1472. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PRR.rb +0 -22
  1473. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/QTY.rb +0 -21
  1474. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/REF.rb +0 -22
  1475. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/REP.rb +0 -22
  1476. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/RMT.rb +0 -36
  1477. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/S5.rb +0 -34
  1478. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/SE.rb +0 -21
  1479. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/SN1.rb +0 -28
  1480. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/SSS.rb +0 -25
  1481. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/ST.rb +0 -21
  1482. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TD1.rb +0 -31
  1483. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TD3.rb +0 -24
  1484. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TD5.rb +0 -20
  1485. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TDS.rb +0 -19
  1486. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W01.rb +0 -44
  1487. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W03.rb +0 -30
  1488. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W04.rb +0 -40
  1489. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W05.rb +0 -29
  1490. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W06.rb +0 -33
  1491. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W07.rb +0 -36
  1492. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W08.rb +0 -32
  1493. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W12.rb +0 -51
  1494. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W14.rb +0 -25
  1495. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W17.rb +0 -31
  1496. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W20.rb +0 -33
  1497. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W27.rb +0 -31
  1498. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W66.rb +0 -31
  1499. data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W76.rb +0 -30
  1500. data/lib/stupidedi/versions/functional_groups/003050/segment_reqs.rb +0 -21
  1501. data/lib/stupidedi/versions/functional_groups/003050/syntax_notes.rb +0 -177
  1502. data/lib/stupidedi/versions/functional_groups/003050/transaction_set_defs.rb +0 -14
  1503. data/lib/stupidedi/versions/functional_groups/004010.rb +0 -41
  1504. data/lib/stupidedi/versions/functional_groups/004010/element_defs.rb +0 -9627
  1505. data/lib/stupidedi/versions/functional_groups/004010/element_reqs.rb +0 -21
  1506. data/lib/stupidedi/versions/functional_groups/004010/element_types.rb +0 -130
  1507. data/lib/stupidedi/versions/functional_groups/004010/element_types/date_val.rb +0 -577
  1508. data/lib/stupidedi/versions/functional_groups/004010/element_types/fixnum_val.rb +0 -319
  1509. data/lib/stupidedi/versions/functional_groups/004010/element_types/float_val.rb +0 -350
  1510. data/lib/stupidedi/versions/functional_groups/004010/element_types/identifier_val.rb +0 -361
  1511. data/lib/stupidedi/versions/functional_groups/004010/element_types/operators.rb +0 -134
  1512. data/lib/stupidedi/versions/functional_groups/004010/element_types/string_val.rb +0 -393
  1513. data/lib/stupidedi/versions/functional_groups/004010/element_types/time_val.rb +0 -331
  1514. data/lib/stupidedi/versions/functional_groups/004010/functional_group_def.rb +0 -33
  1515. data/lib/stupidedi/versions/functional_groups/004010/segment_defs.rb +0 -349
  1516. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK1.rb +0 -21
  1517. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK2.rb +0 -22
  1518. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK3.rb +0 -23
  1519. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK4.rb +0 -23
  1520. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK5.rb +0 -25
  1521. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK9.rb +0 -29
  1522. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AMT.rb +0 -22
  1523. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AT7.rb +0 -32
  1524. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AT8.rb +0 -29
  1525. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B1.rb +0 -23
  1526. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B10.rb +0 -30
  1527. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B2.rb +0 -31
  1528. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B2A.rb +0 -21
  1529. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B3.rb +0 -31
  1530. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BAK.rb +0 -24
  1531. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BCT.rb +0 -20
  1532. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BEG.rb +0 -31
  1533. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BFR.rb +0 -33
  1534. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BPR.rb +0 -50
  1535. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BSN.rb +0 -24
  1536. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BSS.rb +0 -36
  1537. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/C3.rb +0 -22
  1538. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CAS.rb +0 -57
  1539. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CLP.rb +0 -34
  1540. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CTP.rb +0 -37
  1541. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CTT.rb +0 -29
  1542. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CUR.rb +0 -58
  1543. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/DTM.rb +0 -28
  1544. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/FST.rb +0 -32
  1545. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/G61.rb +0 -26
  1546. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/G62.rb +0 -27
  1547. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/G69.rb +0 -21
  1548. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/GE.rb +0 -21
  1549. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/GS.rb +0 -28
  1550. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/H3.rb +0 -25
  1551. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/HL.rb +0 -23
  1552. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/JIT.rb +0 -21
  1553. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/K1.rb +0 -21
  1554. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L0.rb +0 -34
  1555. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L1.rb +0 -42
  1556. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L11.rb +0 -25
  1557. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L3.rb +0 -40
  1558. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L4.rb +0 -25
  1559. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L5.rb +0 -33
  1560. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L7.rb +0 -35
  1561. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LAD.rb +0 -39
  1562. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LFH.rb +0 -29
  1563. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LH1.rb +0 -33
  1564. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LH2.rb +0 -37
  1565. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LH3.rb +0 -25
  1566. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LIN.rb +0 -54
  1567. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LQ.rb +0 -22
  1568. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LX.rb +0 -20
  1569. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/M7.rb +0 -24
  1570. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MAN.rb +0 -28
  1571. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MEA.rb +0 -40
  1572. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MIA.rb +0 -46
  1573. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MOA.rb +0 -29
  1574. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MS1.rb +0 -36
  1575. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MS2.rb +0 -26
  1576. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MS3.rb +0 -26
  1577. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N1.rb +0 -28
  1578. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N2.rb +0 -21
  1579. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N3.rb +0 -21
  1580. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N4.rb +0 -26
  1581. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N7.rb +0 -46
  1582. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N9.rb +0 -29
  1583. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/NM1.rb +0 -33
  1584. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/NTE.rb +0 -21
  1585. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/OID.rb +0 -33
  1586. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PER.rb +0 -32
  1587. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PID.rb +0 -34
  1588. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PLB.rb +0 -41
  1589. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PLD.rb +0 -25
  1590. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PO1.rb +0 -60
  1591. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PO4.rb +0 -24
  1592. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PRF.rb +0 -20
  1593. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/QTY.rb +0 -25
  1594. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/R3.rb +0 -28
  1595. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/REF.rb +0 -25
  1596. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/S5.rb +0 -34
  1597. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SCH.rb +0 -29
  1598. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SDP.rb +0 -21
  1599. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SE.rb +0 -21
  1600. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SHP.rb +0 -23
  1601. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SN1.rb +0 -29
  1602. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/ST.rb +0 -21
  1603. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SVC.rb +0 -27
  1604. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD1.rb +0 -24
  1605. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD3.rb +0 -27
  1606. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD4.rb +0 -26
  1607. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD5.rb +0 -23
  1608. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TRN.rb +0 -23
  1609. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TS2.rb +0 -41
  1610. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TS3.rb +0 -46
  1611. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/UIT.rb +0 -21
  1612. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W01.rb +0 -44
  1613. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W03.rb +0 -30
  1614. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W04.rb +0 -40
  1615. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W05.rb +0 -29
  1616. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W06.rb +0 -33
  1617. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W07.rb +0 -36
  1618. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W08.rb +0 -32
  1619. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W12.rb +0 -51
  1620. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W14.rb +0 -25
  1621. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W17.rb +0 -31
  1622. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W20.rb +0 -33
  1623. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W27.rb +0 -31
  1624. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W66.rb +0 -31
  1625. data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W76.rb +0 -30
  1626. data/lib/stupidedi/versions/functional_groups/004010/segment_reqs.rb +0 -21
  1627. data/lib/stupidedi/versions/functional_groups/004010/syntax_notes.rb +0 -177
  1628. data/lib/stupidedi/versions/functional_groups/004010/transaction_set_defs.rb +0 -16
  1629. data/lib/stupidedi/versions/functional_groups/004010/transaction_set_defs/HP835.rb +0 -81
  1630. data/lib/stupidedi/versions/functional_groups/005010.rb +0 -41
  1631. data/lib/stupidedi/versions/functional_groups/005010/element_defs.rb +0 -2478
  1632. data/lib/stupidedi/versions/functional_groups/005010/element_reqs.rb +0 -21
  1633. data/lib/stupidedi/versions/functional_groups/005010/element_types.rb +0 -135
  1634. data/lib/stupidedi/versions/functional_groups/005010/element_types/date_val.rb +0 -575
  1635. data/lib/stupidedi/versions/functional_groups/005010/element_types/fixnum_val.rb +0 -318
  1636. data/lib/stupidedi/versions/functional_groups/005010/element_types/float_val.rb +0 -351
  1637. data/lib/stupidedi/versions/functional_groups/005010/element_types/identifier_val.rb +0 -361
  1638. data/lib/stupidedi/versions/functional_groups/005010/element_types/operators.rb +0 -134
  1639. data/lib/stupidedi/versions/functional_groups/005010/element_types/string_val.rb +0 -393
  1640. data/lib/stupidedi/versions/functional_groups/005010/element_types/time_val.rb +0 -330
  1641. data/lib/stupidedi/versions/functional_groups/005010/functional_group_def.rb +0 -33
  1642. data/lib/stupidedi/versions/functional_groups/005010/segment_defs.rb +0 -287
  1643. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AAA.rb +0 -22
  1644. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/ACT.rb +0 -33
  1645. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AK1.rb +0 -22
  1646. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AK2.rb +0 -22
  1647. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AK9.rb +0 -29
  1648. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AMT.rb +0 -22
  1649. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/BGN.rb +0 -31
  1650. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/BHT.rb +0 -25
  1651. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/BPR.rb +0 -50
  1652. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CAS.rb +0 -57
  1653. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CL1.rb +0 -23
  1654. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CLM.rb +0 -42
  1655. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CLP.rb +0 -35
  1656. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CN1.rb +0 -25
  1657. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/COB.rb +0 -24
  1658. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CR1.rb +0 -33
  1659. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CR2.rb +0 -36
  1660. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CR3.rb +0 -26
  1661. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CRC.rb +0 -27
  1662. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CTP.rb +0 -37
  1663. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CTX.rb +0 -25
  1664. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CUR.rb +0 -59
  1665. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DMG.rb +0 -35
  1666. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DN1.rb +0 -23
  1667. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DN2.rb +0 -25
  1668. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DSB.rb +0 -30
  1669. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DTM.rb +0 -25
  1670. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DTP.rb +0 -22
  1671. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/EB.rb +0 -34
  1672. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/EC.rb +0 -26
  1673. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/EQ.rb +0 -25
  1674. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/FRM.rb +0 -26
  1675. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/GE.rb +0 -21
  1676. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/GS.rb +0 -28
  1677. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HCP.rb +0 -40
  1678. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HD.rb +0 -31
  1679. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HI.rb +0 -32
  1680. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HL.rb +0 -23
  1681. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HLH.rb +0 -27
  1682. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HSD.rb +0 -29
  1683. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/ICM.rb +0 -26
  1684. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IDC.rb +0 -24
  1685. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/III.rb +0 -31
  1686. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IK3.rb +0 -23
  1687. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IK4.rb +0 -23
  1688. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IK5.rb +0 -25
  1689. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/INS.rb +0 -39
  1690. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/K3.rb +0 -22
  1691. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LE.rb +0 -20
  1692. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LIN.rb +0 -70
  1693. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LQ.rb +0 -23
  1694. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LS.rb +0 -20
  1695. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LUI.rb +0 -28
  1696. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LX.rb +0 -20
  1697. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MEA.rb +0 -40
  1698. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MIA.rb +0 -46
  1699. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MOA.rb +0 -29
  1700. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MPI.rb +0 -27
  1701. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MSG.rb +0 -23
  1702. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N1.rb +0 -28
  1703. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N2.rb +0 -21
  1704. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N3.rb +0 -21
  1705. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N4.rb +0 -30
  1706. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/NM1.rb +0 -36
  1707. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/NTE.rb +0 -21
  1708. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/OI.rb +0 -25
  1709. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PAT.rb +0 -32
  1710. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PER.rb +0 -33
  1711. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PLA.rb +0 -25
  1712. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PLB.rb +0 -41
  1713. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PRV.rb +0 -27
  1714. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PS1.rb +0 -22
  1715. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PWK.rb +0 -31
  1716. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/QTY.rb +0 -26
  1717. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/RDM.rb +0 -24
  1718. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/REF.rb +0 -25
  1719. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SBR.rb +0 -29
  1720. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SE.rb +0 -21
  1721. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/ST.rb +0 -22
  1722. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/STC.rb +0 -31
  1723. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV1.rb +0 -45
  1724. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV2.rb +0 -30
  1725. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV3.rb +0 -31
  1726. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV5.rb +0 -30
  1727. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SVC.rb +0 -27
  1728. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SVD.rb +0 -25
  1729. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TOO.rb +0 -22
  1730. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TRN.rb +0 -23
  1731. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TS2.rb +0 -41
  1732. data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TS3.rb +0 -46
  1733. data/lib/stupidedi/versions/functional_groups/005010/segment_reqs.rb +0 -21
  1734. data/lib/stupidedi/versions/functional_groups/005010/syntax_notes.rb +0 -168
  1735. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs.rb +0 -71
  1736. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/BE834.rb +0 -163
  1737. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/FA999.rb +0 -41
  1738. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HB271.rb +0 -89
  1739. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HC837.rb +0 -167
  1740. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HI278.rb +0 -70
  1741. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HN277.rb +0 -77
  1742. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HP835.rb +0 -71
  1743. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HR276.rb +0 -60
  1744. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HS270.rb +0 -57
  1745. data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/RA820.rb +0 -245
  1746. data/lib/stupidedi/versions/interchanges/00200.rb +0 -26
  1747. data/lib/stupidedi/versions/interchanges/00200/element_defs.rb +0 -277
  1748. data/lib/stupidedi/versions/interchanges/00200/interchange_def.rb +0 -71
  1749. data/lib/stupidedi/versions/interchanges/00200/segment_defs.rb +0 -31
  1750. data/lib/stupidedi/versions/interchanges/00200/segment_defs/IEA.rb +0 -21
  1751. data/lib/stupidedi/versions/interchanges/00200/segment_defs/ISA.rb +0 -35
  1752. data/lib/stupidedi/versions/interchanges/00200/segment_defs/TA1.rb +0 -24
  1753. data/lib/stupidedi/versions/interchanges/00300.rb +0 -26
  1754. data/lib/stupidedi/versions/interchanges/00300/element_defs.rb +0 -278
  1755. data/lib/stupidedi/versions/interchanges/00300/interchange_def.rb +0 -71
  1756. data/lib/stupidedi/versions/interchanges/00300/segment_defs.rb +0 -31
  1757. data/lib/stupidedi/versions/interchanges/00300/segment_defs/IEA.rb +0 -21
  1758. data/lib/stupidedi/versions/interchanges/00300/segment_defs/ISA.rb +0 -35
  1759. data/lib/stupidedi/versions/interchanges/00300/segment_defs/TA1.rb +0 -24
  1760. data/lib/stupidedi/versions/interchanges/00400.rb +0 -26
  1761. data/lib/stupidedi/versions/interchanges/00400/element_defs.rb +0 -270
  1762. data/lib/stupidedi/versions/interchanges/00400/interchange_def.rb +0 -71
  1763. data/lib/stupidedi/versions/interchanges/00400/segment_defs.rb +0 -31
  1764. data/lib/stupidedi/versions/interchanges/00400/segment_defs/IEA.rb +0 -21
  1765. data/lib/stupidedi/versions/interchanges/00400/segment_defs/ISA.rb +0 -35
  1766. data/lib/stupidedi/versions/interchanges/00400/segment_defs/TA1.rb +0 -24
  1767. data/lib/stupidedi/versions/interchanges/00401.rb +0 -26
  1768. data/lib/stupidedi/versions/interchanges/00401/element_defs.rb +0 -271
  1769. data/lib/stupidedi/versions/interchanges/00401/interchange_def.rb +0 -71
  1770. data/lib/stupidedi/versions/interchanges/00401/segment_defs.rb +0 -31
  1771. data/lib/stupidedi/versions/interchanges/00401/segment_defs/IEA.rb +0 -21
  1772. data/lib/stupidedi/versions/interchanges/00401/segment_defs/ISA.rb +0 -35
  1773. data/lib/stupidedi/versions/interchanges/00401/segment_defs/TA1.rb +0 -24
  1774. data/lib/stupidedi/versions/interchanges/00501.rb +0 -26
  1775. data/lib/stupidedi/versions/interchanges/00501/element_defs.rb +0 -272
  1776. data/lib/stupidedi/versions/interchanges/00501/interchange_def.rb +0 -73
  1777. data/lib/stupidedi/versions/interchanges/00501/segment_defs.rb +0 -40
  1778. data/lib/stupidedi/versions/interchanges/00501/segment_defs/IEA.rb +0 -21
  1779. data/lib/stupidedi/versions/interchanges/00501/segment_defs/ISA.rb +0 -35
  1780. data/lib/stupidedi/versions/interchanges/00501/segment_defs/ISB.rb +0 -19
  1781. data/lib/stupidedi/versions/interchanges/00501/segment_defs/ISE.rb +0 -19
  1782. data/lib/stupidedi/versions/interchanges/00501/segment_defs/TA1.rb +0 -24
  1783. data/lib/stupidedi/versions/interchanges/00501/segment_defs/TA3.rb +0 -19
  1784. data/spec/examples/integration/generating_spec.rb +0 -560
  1785. data/spec/examples/integration/navigating_spec.rb +0 -214
  1786. data/spec/examples/integration/parsing/005010/X091A1-HP835_spec.rb +0 -94
  1787. data/spec/examples/integration/parsing/005010/X212-HR276_spec.rb +0 -152
  1788. data/spec/examples/integration/parsing/005010/X221-HP835_spec.rb +0 -386
  1789. data/spec/examples/integration/parsing/005010/X222-HC837_spec.rb +0 -257
  1790. data/spec/examples/ruby/array_spec.rb +0 -477
  1791. data/spec/examples/ruby/blank_spec.rb +0 -63
  1792. data/spec/examples/ruby/count_spec.rb +0 -69
  1793. data/spec/examples/ruby/object_spec.rb +0 -99
  1794. data/spec/examples/ruby/string_spec.rb +0 -112
  1795. data/spec/examples/ruby/symbol_spec.rb +0 -99
  1796. data/spec/examples/ruby/to_d_spec.rb +0 -91
  1797. data/spec/examples/ruby/try_spec.rb +0 -51
  1798. data/spec/examples/stupidedi/either_spec.rb +0 -375
  1799. data/spec/examples/stupidedi/reader/failure_spec.rb +0 -68
  1800. data/spec/examples/stupidedi/reader/input/delegated_input_spec.rb +0 -293
  1801. data/spec/examples/stupidedi/reader/separators_spec.rb +0 -73
  1802. data/spec/examples/stupidedi/reader/stream_reader_spec.rb +0 -48
  1803. data/spec/examples/stupidedi/reader/success_spec.rb +0 -34
  1804. data/spec/examples/stupidedi/reader/token_reader_spec.rb +0 -776
  1805. data/spec/examples/stupidedi/reader_spec.rb +0 -168
  1806. data/spec/examples/stupidedi/versions/005010/element_types/an_spec.rb +0 -202
  1807. data/spec/examples/stupidedi/versions/005010/element_types/dt_spec.rb +0 -258
  1808. data/spec/examples/stupidedi/versions/005010/element_types/id_spec.rb +0 -192
  1809. data/spec/examples/stupidedi/versions/005010/element_types/nn_spec.rb +0 -179
  1810. data/spec/examples/stupidedi/versions/005010/element_types/r_spec.rb +0 -180
  1811. data/spec/examples/stupidedi/versions/005010/element_types/tm_spec.rb +0 -2
  1812. data/spec/examples/stupidedi/zipper/abstract_cursor_spec.rb +0 -417
  1813. data/spec/examples/stupidedi/zipper_spec.rb +0 -9
  1814. data/spec/fixtures/FA997/1-good.txt +0 -10
  1815. data/spec/fixtures/PC860/1-good.txt +0 -21
  1816. data/spec/fixtures/PO830/1-good.txt +0 -29
  1817. data/spec/fixtures/PO850/1-good-v3010.txt +0 -31
  1818. data/spec/fixtures/PO850/1-good-v3050.txt +0 -16
  1819. data/spec/fixtures/PR855/1-good-v4010.txt +0 -11
  1820. data/spec/fixtures/PR855/2-good-v4010.txt +0 -17
  1821. data/spec/fixtures/PS830/1-good.txt +0 -29
  1822. data/spec/fixtures/RA820/1-good.txt +0 -52
  1823. data/spec/fixtures/SC832/1-good.txt +0 -22
  1824. data/spec/fixtures/SC832/2-good.txt +0 -1067
  1825. data/spec/fixtures/SH856/1-good.txt +0 -70
  1826. data/spec/fixtures/SH856/2-good.txt +0 -31
  1827. data/spec/fixtures/SQ866/1-good.txt +0 -29
  1828. data/spec/fixtures/SS862/1-good.txt +0 -33
  1829. data/spec/fixtures/WA142/1-good.txt +0 -307
  1830. data/spec/fixtures/X091A1-HP835/1-good.txt +0 -1
  1831. data/spec/fixtures/X186-AG824/1-bad.txt +0 -21
  1832. data/spec/fixtures/X186-AG824/1-good.txt +0 -17
  1833. data/spec/fixtures/X186-AG824/2-bad.txt +0 -26
  1834. data/spec/fixtures/X186-AG824/2-good.txt +0 -21
  1835. data/spec/fixtures/X186-AG824/3-bad.txt +0 -87
  1836. data/spec/fixtures/X186-AG824/3-good.txt +0 -61
  1837. data/spec/fixtures/X212-HN277/1-bad.txt +0 -54
  1838. data/spec/fixtures/X212-HN277/1-good.txt +0 -46
  1839. data/spec/fixtures/X212-HN277/2-bad.txt +0 -37
  1840. data/spec/fixtures/X212-HN277/2-good.txt +0 -29
  1841. data/spec/fixtures/X212-HN277/3-bad.txt +0 -22
  1842. data/spec/fixtures/X212-HN277/3-good.txt +0 -17
  1843. data/spec/fixtures/X212-HN277/4-bad.txt +0 -30
  1844. data/spec/fixtures/X212-HN277/4-good.txt +0 -24
  1845. data/spec/fixtures/X212-HR276/1-bad.txt +0 -53
  1846. data/spec/fixtures/X212-HR276/1-good.txt +0 -46
  1847. data/spec/fixtures/X212-HR276/2-bad.txt +0 -45
  1848. data/spec/fixtures/X212-HR276/2-good.txt +0 -38
  1849. data/spec/fixtures/X212-HR276/3-bad.txt +0 -32
  1850. data/spec/fixtures/X212-HR276/3-good.txt +0 -26
  1851. data/spec/fixtures/X212-HR276/4-bad.txt +0 -32
  1852. data/spec/fixtures/X212-HR276/4-good.txt +0 -26
  1853. data/spec/fixtures/X214-HN277/1-bad.txt +0 -58
  1854. data/spec/fixtures/X214-HN277/1-good.txt +0 -47
  1855. data/spec/fixtures/X214-HN277/2-bad.txt +0 -34
  1856. data/spec/fixtures/X214-HN277/2-good.txt +0 -22
  1857. data/spec/fixtures/X214-HN277/3-bad.txt +0 -64
  1858. data/spec/fixtures/X214-HN277/3-good.txt +0 -54
  1859. data/spec/fixtures/X214-HN277/4-bad.txt +0 -77
  1860. data/spec/fixtures/X214-HN277/4-good.txt +0 -63
  1861. data/spec/fixtures/X216-HI278/1-bad.txt +0 -42
  1862. data/spec/fixtures/X216-HI278/1-good.txt +0 -27
  1863. data/spec/fixtures/X216-HI278/2-bad.txt +0 -43
  1864. data/spec/fixtures/X216-HI278/2-good.txt +0 -29
  1865. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-1.txt +0 -24
  1866. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-1_Clean.txt +0 -20
  1867. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-2.txt +0 -46
  1868. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-2_Clean.txt +0 -30
  1869. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-3.txt +0 -38
  1870. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-3_Clean.txt +0 -24
  1871. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4a.txt +0 -39
  1872. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4a_Clean.txt +0 -24
  1873. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4b.txt +0 -43
  1874. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4b_Clean.txt +0 -25
  1875. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-5.txt +0 -63
  1876. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-5_Clean.txt +0 -41
  1877. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-6.txt +0 -36
  1878. data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-6_Clean.txt +0 -20
  1879. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-1r.txt +0 -34
  1880. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-1r_Clean.txt +0 -23
  1881. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-2r.txt +0 -46
  1882. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-2r_Clean.txt +0 -31
  1883. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-3r.txt +0 -44
  1884. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-3r_Clean.txt +0 -26
  1885. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-4ar_Clean.txt +0 -28
  1886. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-4br_Clean.txt +0 -35
  1887. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-5r.txt +0 -60
  1888. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-5r_Clean.txt +0 -42
  1889. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-6r.txt +0 -40
  1890. data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-6r_Clean.txt +0 -24
  1891. data/spec/fixtures/X218-RA820/1-bad.txt +0 -31
  1892. data/spec/fixtures/X218-RA820/1-good.txt +0 -25
  1893. data/spec/fixtures/X218-RA820/2-bad.txt +0 -37
  1894. data/spec/fixtures/X218-RA820/2-good.txt +0 -29
  1895. data/spec/fixtures/X218-RA820/3-bad.txt +0 -29
  1896. data/spec/fixtures/X218-RA820/3-good.txt +0 -23
  1897. data/spec/fixtures/X218-RA820/4-bad.txt +0 -36
  1898. data/spec/fixtures/X218-RA820/4-good.txt +0 -27
  1899. data/spec/fixtures/X220-BE834/1-bad.txt +0 -35
  1900. data/spec/fixtures/X220-BE834/1-good.txt +0 -29
  1901. data/spec/fixtures/X220-BE834/10-bad.txt +0 -26
  1902. data/spec/fixtures/X220-BE834/10-good.txt +0 -19
  1903. data/spec/fixtures/X220-BE834/2-bad.txt +0 -31
  1904. data/spec/fixtures/X220-BE834/2-good.txt +0 -23
  1905. data/spec/fixtures/X220-BE834/3-bad.txt +0 -36
  1906. data/spec/fixtures/X220-BE834/3-good.txt +0 -26
  1907. data/spec/fixtures/X220-BE834/4-bad.txt +0 -27
  1908. data/spec/fixtures/X220-BE834/4-good.txt +0 -21
  1909. data/spec/fixtures/X220-BE834/5-bad.txt +0 -26
  1910. data/spec/fixtures/X220-BE834/5-good.txt +0 -17
  1911. data/spec/fixtures/X220-BE834/6-bad.txt +0 -25
  1912. data/spec/fixtures/X220-BE834/6-good.txt +0 -20
  1913. data/spec/fixtures/X220-BE834/7-bad.txt +0 -25
  1914. data/spec/fixtures/X220-BE834/7-good.txt +0 -20
  1915. data/spec/fixtures/X220-BE834/8-bad.txt +0 -25
  1916. data/spec/fixtures/X220-BE834/8-good.txt +0 -20
  1917. data/spec/fixtures/X220-BE834/9-bad.txt +0 -27
  1918. data/spec/fixtures/X220-BE834/9-good.txt +0 -21
  1919. data/spec/fixtures/X221-HP835/1-bad.txt +0 -58
  1920. data/spec/fixtures/X221-HP835/1-good.txt +0 -40
  1921. data/spec/fixtures/X221-HP835/2-bad.txt +0 -51
  1922. data/spec/fixtures/X221-HP835/2-good.txt +0 -40
  1923. data/spec/fixtures/X221-HP835/3a-bad.txt +0 -78
  1924. data/spec/fixtures/X221-HP835/3a-good.txt +0 -49
  1925. data/spec/fixtures/X221-HP835/3b-bad.txt +0 -60
  1926. data/spec/fixtures/X221-HP835/3b-good.txt +0 -32
  1927. data/spec/fixtures/X221-HP835/3c-bad.txt +0 -55
  1928. data/spec/fixtures/X221-HP835/3c-good.txt +0 -34
  1929. data/spec/fixtures/X222-HC837/1-bad.txt +0 -60
  1930. data/spec/fixtures/X222-HC837/1-good.txt +0 -53
  1931. data/spec/fixtures/X222-HC837/10a-bad.txt +0 -52
  1932. data/spec/fixtures/X222-HC837/10a-good.txt +0 -40
  1933. data/spec/fixtures/X222-HC837/10b-bad.txt +0 -99
  1934. data/spec/fixtures/X222-HC837/10b-good.txt +0 -80
  1935. data/spec/fixtures/X222-HC837/10c-bad.txt +0 -105
  1936. data/spec/fixtures/X222-HC837/10c-good.txt +0 -80
  1937. data/spec/fixtures/X222-HC837/11-bad.txt +0 -69
  1938. data/spec/fixtures/X222-HC837/11-good.txt +0 -45
  1939. data/spec/fixtures/X222-HC837/12-bad.txt +0 -73
  1940. data/spec/fixtures/X222-HC837/12-good.txt +0 -51
  1941. data/spec/fixtures/X222-HC837/13-bad.txt +0 -64
  1942. data/spec/fixtures/X222-HC837/13-good.txt +0 -46
  1943. data/spec/fixtures/X222-HC837/3a-bad.txt +0 -83
  1944. data/spec/fixtures/X222-HC837/3a-good.txt +0 -59
  1945. data/spec/fixtures/X222-HC837/3b-bad.txt +0 -97
  1946. data/spec/fixtures/X222-HC837/3b-good.txt +0 -70
  1947. data/spec/fixtures/X222-HC837/3c-bad.txt +0 -95
  1948. data/spec/fixtures/X222-HC837/3c-good.txt +0 -74
  1949. data/spec/fixtures/X222-HC837/4-bad.txt +0 -67
  1950. data/spec/fixtures/X222-HC837/4-good.txt +0 -48
  1951. data/spec/fixtures/X222-HC837/5-bad.txt +0 -73
  1952. data/spec/fixtures/X222-HC837/5-good.txt +0 -60
  1953. data/spec/fixtures/X222-HC837/6-bad.txt +0 -50
  1954. data/spec/fixtures/X222-HC837/6-good.txt +0 -39
  1955. data/spec/fixtures/X222-HC837/7-bad.txt +0 -93
  1956. data/spec/fixtures/X222-HC837/7-good.txt +0 -78
  1957. data/spec/fixtures/X222-HC837/8-bad.txt +0 -64
  1958. data/spec/fixtures/X222-HC837/8-good.txt +0 -52
  1959. data/spec/fixtures/X222-HC837/9-bad.txt +0 -56
  1960. data/spec/fixtures/X222-HC837/9-good.txt +0 -38
  1961. data/spec/fixtures/X223-HC837/1-bad.txt +0 -66
  1962. data/spec/fixtures/X223-HC837/1-good.txt +0 -53
  1963. data/spec/fixtures/X223-HC837/2-bad.txt +0 -69
  1964. data/spec/fixtures/X223-HC837/2-good.txt +0 -60
  1965. data/spec/fixtures/X223-HC837/3-bad.txt +0 -89
  1966. data/spec/fixtures/X223-HC837/3-good.txt +0 -61
  1967. data/spec/fixtures/X223-HC837/4-bad.txt +0 -60
  1968. data/spec/fixtures/X223-HC837/4-good.txt +0 -40
  1969. data/spec/fixtures/X223-HC837/5-bad.txt +0 -75
  1970. data/spec/fixtures/X223-HC837/5-good.txt +0 -58
  1971. data/spec/fixtures/X224-HC837/1-bad.txt +0 -54
  1972. data/spec/fixtures/X224-HC837/1-good.txt +0 -44
  1973. data/spec/fixtures/X224-HC837/2a-bad.txt +0 -52
  1974. data/spec/fixtures/X224-HC837/2a-good.txt +0 -42
  1975. data/spec/fixtures/X224-HC837/2b-bad.txt +0 -67
  1976. data/spec/fixtures/X224-HC837/2b-good.txt +0 -52
  1977. data/spec/fixtures/X224-HC837/3-bad.txt +0 -67
  1978. data/spec/fixtures/X224-HC837/3-good.txt +0 -51
  1979. data/spec/fixtures/X224-HC837/4-bad.txt +0 -49
  1980. data/spec/fixtures/X224-HC837/4-good.txt +0 -40
  1981. data/spec/fixtures/X230-FA997/1-bad.txt +0 -19
  1982. data/spec/fixtures/X230-FA997/1-good.txt +0 -16
  1983. data/spec/fixtures/X231-FA999/1-bad.txt +0 -20
  1984. data/spec/fixtures/X231-FA999/1-good.txt +0 -20
  1985. data/spec/fixtures/X279-HB271/1-bad.txt +0 -36
  1986. data/spec/fixtures/X279-HB271/1-good.txt +0 -30
  1987. data/spec/fixtures/X279-HB271/2-bad.txt +0 -22
  1988. data/spec/fixtures/X279-HB271/2-good.txt +0 -16
  1989. data/spec/fixtures/X279-HB271/3-bad.txt +0 -44
  1990. data/spec/fixtures/X279-HB271/3-good.txt +0 -36
  1991. data/spec/fixtures/X279-HS270/1-bad.txt +0 -29
  1992. data/spec/fixtures/X279-HS270/1-good.txt +0 -23
  1993. data/spec/fixtures/X279-HS270/2-bad.txt +0 -32
  1994. data/spec/fixtures/X279-HS270/2-good.txt +0 -25
  1995. data/spec/spec_helper.rb +0 -47
  1996. data/spec/support/fixtures.rb +0 -26
  1997. data/spec/support/matchers/either_matchers.rb +0 -53
  1998. data/spec/support/matchers/navigation_matchers.rb +0 -247
  1999. data/spec/support/node.rb +0 -41
  2000. data/spec/support/quickcheck.rb +0 -303
  2001. data/spec/support/quickcheck/characters.rb +0 -33
  2002. data/spec/support/quickcheck/property.rb +0 -105
  2003. data/spec/support/quickcheck/serialized_edi.rb +0 -400
  2004. data/spec/support/rcov.rb +0 -36
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module Versions
4
+ module FortyTen
5
+ module SegmentDefs
6
+ s = Schema
7
+ e = ElementDefs
8
+ r = ElementReqs
9
+
10
+ W17 = s::SegmentDef.build(:W17, "Warehouse Receipt Identification",
11
+ "To provide identifying numbers and date",
12
+ e::E514 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
13
+ e::E373 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
14
+ e::E394 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
15
+ e::E285 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
16
+ e::E145 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
17
+ e::E176 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
18
+ e::E337 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
19
+ e::E474 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
20
+ e::E472 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
21
+ SyntaxNotes::P.build(6, 7),
22
+ SyntaxNotes::P.build(8, 9))
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module Versions
4
+ module FortyTen
5
+ module SegmentDefs
6
+ s = Schema
7
+ e = ElementDefs
8
+ r = ElementReqs
9
+
10
+ W20 = s::SegmentDef.build(:W20, "Packing",
11
+ "To specify packing details of the items shipped",
12
+ e::E356 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
13
+ e::E357 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
14
+ e::E355 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
15
+ e::E81 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
16
+ e::E187 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
17
+ e::E188 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
18
+ e::E395 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
19
+ e::E183 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
20
+ e::E355 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
21
+ e::E397 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
22
+ SyntaxNotes::P.build(2, 3),
23
+ SyntaxNotes::P.build(4, 5, 6),
24
+ SyntaxNotes::P.build(8, 9))
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module Versions
4
+ module FortyTen
5
+ module SegmentDefs
6
+ s = Schema
7
+ e = ElementDefs
8
+ r = ElementReqs
9
+
10
+ W27 = s::SegmentDef.build(:W27, "Carrier Detail",
11
+ "To specify details of the transportation equipment and carrier
12
+ routing details",
13
+ e::E91 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
14
+ e::E140 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
15
+ e::E387 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
16
+ e::E146 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
17
+ e::E40 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
18
+ e::E206 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
19
+ e::E207 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
20
+ e::E368 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
21
+ e::E152 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
22
+ e::E890 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
23
+ SyntaxNotes::R.build(2, 3))
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module Versions
4
+ module FortyTen
5
+ module SegmentDefs
6
+ s = Schema
7
+ e = ElementDefs
8
+ r = ElementReqs
9
+
10
+ W66 = s::SegmentDef.build(:W66, "Warehouse Carrier Information",
11
+ "",
12
+ e::E146 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
13
+ e::E91 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
14
+ e::E399 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
15
+ e::E400 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
16
+ e::E387 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
17
+ e::E433 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
18
+ e::E434 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
19
+ e::E625 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
20
+ e::E610 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
21
+ e::E140 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
22
+ SyntaxNotes::P.build(8, 9))
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module Versions
4
+ module FortyTen
5
+ module SegmentDefs
6
+ s = Schema
7
+ e = ElementDefs
8
+ r = ElementReqs
9
+
10
+ W76 = s::SegmentDef.build(:W76, "Total Shipping Order",
11
+ "",
12
+ e::E380 .simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
13
+ e::E81 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
14
+ e::E355 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
15
+ e::E183 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
16
+ e::E355 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
17
+ e::E398 .simple_use(r::Optional, s::RepeatCount.bounded(1)),
18
+ SyntaxNotes::P.build(2, 3),
19
+ SyntaxNotes::P.build(4, 5),
20
+ SyntaxNotes::C.build(6, 3))
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module Versions
4
+ module FortyTen
5
+ module SegmentReqs
6
+ Mandatory = Common::SegmentReqs::Mandatory
7
+ Optional = Common::SegmentReqs::Optional
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module Versions
4
+ module FortyTen
5
+ module SyntaxNotes
6
+ P = Common::SyntaxNotes::P
7
+ R = Common::SyntaxNotes::R
8
+ E = Common::SyntaxNotes::E
9
+ C = Common::SyntaxNotes::C
10
+ L = Common::SyntaxNotes::L
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module Versions
4
+ module FiftyTen
5
+ autoload :ElementDefs, "stupidedi/versions/005010/element_defs"
6
+ autoload :ElementReqs, "stupidedi/versions/005010/element_reqs"
7
+ autoload :ElementTypes, "stupidedi/versions/005010/element_types"
8
+ autoload :FunctionalGroupDef, "stupidedi/versions/005010/functional_group_def"
9
+ autoload :SegmentDefs, "stupidedi/versions/005010/segment_defs"
10
+ autoload :SegmentReqs, "stupidedi/versions/005010/segment_reqs"
11
+ autoload :SyntaxNotes, "stupidedi/versions/005010/syntax_notes"
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,3520 @@
1
+ # frozen_string_literal: true
2
+ module Stupidedi
3
+ module Versions
4
+ module FiftyTen
5
+ module ElementDefs
6
+ t = ElementTypes
7
+ r = ElementReqs
8
+ s = Schema
9
+
10
+ E2 = t::Nn.new(:E2 , "Number of Accepted Transaction Sets" , 1, 6, 0)
11
+ E19 = t::AN.new(:E19 , "City Name" , 2, 30)
12
+ E26 = t::ID.new(:E26 , "Country Code" , 2, 3,
13
+ s::CodeList.external("5"))
14
+ E28 = t::Nn.new(:E28 , "Group Control Number" , 1, 9, 0)
15
+ E61 = t::AN.new(:E61 , "Free-form Information" , 1, 30)
16
+ E65 = t:: R.new(:E65 , "Height" , 1, 8)
17
+ E66 = t::ID.new(:E66 , "Identification Code Qualifier" , 1, 2,
18
+ s::CodeList.build(
19
+ "1" => s::CodeList.external("16"),
20
+ "9" => s::CodeList.external("16"),
21
+ "21" => s::CodeList.external("121"),
22
+ "24" => "Employer’s Identification Number",
23
+ "34" => "Social Security Number",
24
+ "38" => s::CodeList.external("5"),
25
+ "46" => "Electronic Transmitter Identification Number (ETIN)",
26
+ "51" => s::CodeList.external("51"),
27
+ "58" => "@todo",
28
+ "94" => "Code assigned by the organization that is the ultimate destination of the transaction set",
29
+ "AC" => "Attachment Control Number",
30
+ "AD" => "Blue Cross Blue Shield Associtation Plan Code",
31
+ "BD" => "Blue Cross Provider Number",
32
+ "BS" => "Blue Shield Provider Number",
33
+ "C" => "Insured's Changed Unique Identification Number",
34
+ "C1" => "@todo",
35
+ "CF" => s::CodeList.external("91"),
36
+ "CI" => "@todo",
37
+ "EI" => "@todo",
38
+ "FA" => "Facility Identification",
39
+ "FI" => "Federal Taxpayer's Identification Number",
40
+ "HN" => "Health Insurance Claim (HIC) Number",
41
+ "II" => "Standard Unique Health Identifier for each Individual in the United States",
42
+ "LD" => s::CodeList.external("457"),
43
+ "LE" => s::CodeList.external("102"),
44
+ "NI" => "National Association of Insurance Commisioners (NAIC) Identification",
45
+ "MI" => "Member Identification Number",
46
+ "MC" => "Medicaid Provider",
47
+ "MR" => "Medicaid Recipient Identification Number",
48
+ "PC" => "Provider Commercial Number",
49
+ "PI" => "Payor Identification",
50
+ "PP" => "Pharmacy Processor Number",
51
+ "SJ" => s::CodeList.external("22"),
52
+ "SL" => "State License Number",
53
+ "SV" => "Service Provider Number",
54
+ "UP" => "Unique Physician Identification Number (UPIN)",
55
+ "XV" => s::CodeList.external("540"),
56
+ "XX" => s::CodeList.external("537"),
57
+ "ZZ" => "Mutually Defined"))
58
+ E67 = t::AN.new(:E67 , "Identification Code" , 2, 80)
59
+ E81 = t:: R.new(:E81 , "Weight" , 1, 10)
60
+ E93 = t::AN.new(:E93 , "Name" , 1, 60)
61
+ E96 = t::Nn.new(:E96 , "Number of Included Segments" , 1, 10, 0)
62
+ E97 = t::Nn.new(:E97 , "Number of Transaction Sets Included" , 1, 6, 0)
63
+ E98 = t::ID.new(:E98 , "Entity Identifier Code" , 2, 3,
64
+ s::CodeList.build(
65
+ "03" => "Dependent",
66
+ "13" => "Contracted Service Provider",
67
+ "17" => "Consultant's Office",
68
+ "1E" => "Health Maintenance Organization (HMO)",
69
+ "1G" => "Oncology Center",
70
+ "1H" => "Kidney Dialysis Unit",
71
+ "1I" => "Preferred Provider Organization (PPO)",
72
+ "1O" => "Acute Care Hospital",
73
+ "1P" => "Provider",
74
+ "1Q" => "Military Facility",
75
+ "1R" => "University, College or School",
76
+ "1S" => "Outpatient Surgicenter",
77
+ "1T" => "Physician, Clinic or Group Practice",
78
+ "1U" => "Long Term Care Facility",
79
+ "1V" => "Extended Care Facility",
80
+ "1W" => "Psychiatric Health Facility",
81
+ "1X" => "Laboratory",
82
+ "1Y" => "Retail Pharmacy",
83
+ "1Z" => "Home Health Care",
84
+ "28" => "Subcontractor",
85
+ "2A" => "Federal, State, County or City Facility",
86
+ "2B" => "Third-Party Administrator",
87
+ "2D" => "Miscellaneous Health Care Facility",
88
+ "2E" => "Non-Health Care Miscellaneous Facility",
89
+ "2I" => "Church Operated Facility",
90
+ "2K" => "Partnership",
91
+ "2J" => "Individial",
92
+ "2P" => "Public Health Service Facility",
93
+ "2Q" => "Veterans Aadministration Facility",
94
+ "2S" => "Public Health Service Indian Service Facility",
95
+ "2T" => "Department of Justice Facility",
96
+ "2Y" => "General Medical and Surgical Facility",
97
+ "2Z" => "Hospital Unit of an Institution (Prison Hospital, College Infirmary, etc.)",
98
+ "30" => "Service Supplier",
99
+ "31" => "Postal Mailing Address",
100
+ "36" => "Employer",
101
+ "3A" => "Hospital Unit Within an Institution for the Mentally Retarded",
102
+ "3B" => "Psychiatric Facility",
103
+ "3C" => "Tuberculosis and Other Respitory Diseases Facility",
104
+ "3D" => "Obstetrics and Gynecology Facility",
105
+ "3E" => "Ear, Eye, Nose and Throat Facility",
106
+ "3F" => "Rehabilitation Facility",
107
+ "3G" => "Orthopedic Facility",
108
+ "3H" => "Chronic Disease Facility",
109
+ "3I" => "Other Specialty Facility",
110
+ "3J" => "Children's General Facility",
111
+ "3K" => "Children's Hospital Unit of an Institution",
112
+ "3L" => "Children's Psychiatric Facility",
113
+ "3M" => "Children's Tuberculosis and Other Respitory Diseases Facility",
114
+ "3N" => "Children's Eye, Ear, Nose and Throat Facility",
115
+ "3O" => "Children's Rehabilitation Facility",
116
+ "3P" => "Children's Othropedic Facility",
117
+ "3Q" => "Children's Chronic Disease Facility",
118
+ "3R" => "Children's Other Specialty Facility",
119
+ "3S" => "Institution for Mental Retardation",
120
+ "3T" => "Alcoholism and Other Chemical Dependency Facility",
121
+ "3U" => "General Inpatient Care for AIDS/ARC Facility",
122
+ "3V" => "AIDS/ARC Unit",
123
+ "3W" => "Specialized Outpatient Program for AIDS/ARC",
124
+ "3X" => "Alcohol/Drug Abuse or Dependency Inpatient Unit",
125
+ "3Y" => "Alcohol/Drug Abuse or Dependency Outpatient Services",
126
+ "3Z" => "Arthritis Treatment Center",
127
+ "40" => "Receiver",
128
+ "41" => "Submitter",
129
+ "43" => "Claimant Authorized Representative",
130
+ "44" => "Data Processing Service Bureau",
131
+ "45" => "Drop-off Location",
132
+ "4A" => "Birthing Room/LDRP Room",
133
+ "4B" => "Burn Care Unit",
134
+ "4C" => "Cardiac Catherization Labratory",
135
+ "4D" => "Open-Heart Surgery Facility",
136
+ "4E" => "Cardiac Intensive Car Unit",
137
+ "4F" => "Angioplasty Facility",
138
+ "4G" => "Chronic Obstructive Pulmonary Disease Service Facility",
139
+ "4H" => "Emergency Department",
140
+ "4I" => "Trauma Center (Certified)",
141
+ "4J" => "Extracorporeal Shock-Wave Lithotripter (ESWL) Unit",
142
+ "4K" => "Fitness Center",
143
+ "4L" => "Genetic Counseling/Screening Services",
144
+ "4M" => "Adult Day Care Program Facility",
145
+ "4N" => "Alzheimer's Diagnostic/assessment Service",
146
+ "4O" => "Comprehensive Geriatric Assessment Facility",
147
+ "4P" => "Emergency Response (Geriatric) Unit",
148
+ "4Q" => "Geriatric Acute Care Unit",
149
+ "4R" => "Geriatric Clinics",
150
+ "4S" => "Respite Care Facility",
151
+ "4U" => "Patient Education Unit",
152
+ "4V" => "Community Health Promotion Facility",
153
+ "4W" => "Worksite Health Promotion Facility",
154
+ "4X" => "Hemodialysis Facility",
155
+ "4Y" => "Home Health Services",
156
+ "4Z" => "Hospice",
157
+ # yes, the lack of commas are in the document
158
+ # yes, this makes me very sad
159
+ "5A" => "Medical Surgical or Other Intensive Care Unit",
160
+ "5B" => "Hisopathology Laboratory",
161
+ "5C" => "Blood Bank",
162
+ "5D" => "Neonatal Intensive Care Unit",
163
+ "5E" => "Obstetrics Unit",
164
+ "5F" => "Occupational Health Services",
165
+ "5G" => "Organized Outpatient Services",
166
+ "5H" => "Pediatric Acute Inpatient Unit",
167
+ "5I" => "Psychiatric Child/Adolescent Services",
168
+ "5J" => "Psychiatric Consultation-Liaison Services",
169
+ "5K" => "Psychiatric Education Services",
170
+ "5L" => "Psychiatric Emergency Services",
171
+ "5M" => "Psychiatric Geriatric Services",
172
+ "5N" => "Psychiatric Inpatient Unit",
173
+ "5O" => "Psychiatric Outpatient Services",
174
+ "5P" => "Psychiatric Partial Hospitalization Program",
175
+ "5Q" => "Megavoltage Radiation Therapy Unit",
176
+ "5R" => "Radioactive Implants Unit",
177
+ "5S" => "Therapeutic Radioisotope Facility",
178
+ "5T" => "X-Ray Radiation Therapy Unit",
179
+ "5U" => "CT Scanner Unit",
180
+ "5V" => "Diagnostic Radioisotope Facility",
181
+ "5W" => "Magnetic Resonance Imaging (MRI) Facility",
182
+ "5X" => "Ultrasound Unit",
183
+ "5Y" => "Rehabilitation Inpatient Unit",
184
+ "5Z" => "Rehabilitation Outpatient Services",
185
+ "61" => "Performed At",
186
+ "62" => "Applicant's Employer",
187
+ "6A" => "Reproductive Health Services",
188
+ "6B" => "Skilled Nursing or Other Long-Term Care Unit",
189
+ "6C" => "Single Photon Emission Computerized Tomography (SPECT) Unit",
190
+ "6D" => "Organized Social Work Service Facility",
191
+ "6E" => "Outpatient Social Work Services",
192
+ "6F" => "Emergency Department Social Work Services",
193
+ "6G" => "Sports Medicine Clinic/Services",
194
+ "6H" => "Hospital Auxiliary Unit",
195
+ "6I" => "Patient Representative Services",
196
+ "6J" => "Volunteer Services Department",
197
+ "6K" => "Putpatient Surgery Services",
198
+ "6L" => "Organ/Tissue Transplant Unit",
199
+ "6M" => "Orthopedic Surgery Facility",
200
+ "6N" => "Occupational Therapy Services",
201
+ "6O" => "Physical Therapy Services",
202
+ "6P" => "Recreational Therapy Services",
203
+ "6Q" => "Respiratory Therapy Services",
204
+ "6R" => "Speech Therapy Services",
205
+ "6S" => "Women's Health Center/Services",
206
+ "6U" => "Cardiac Rehabilitation Program Facility",
207
+ "6V" => "non-Invasive Cardiac Assessment Services",
208
+ "6W" => "Emergency Medical Technician",
209
+ "6X" => "Disciplinary Contact",
210
+ "6Y" => "Case Manager",
211
+ "70" => "Prior Incorrect Insured",
212
+ "71" => "Attending Physician",
213
+ "72" => "Operating Physician",
214
+ "73" => "Other Physician",
215
+ "74" => "Corrected Insured",
216
+ "75" => "Participant",
217
+ "77" => "Service Location",
218
+ "7C" => "Place of Occurence",
219
+ "7O" => "Federally Chartered Facility",
220
+ "80" => "Hospital",
221
+ "82" => "Rendering Provider",
222
+ "84" => "Subscriber's Employer",
223
+ "85" => "Billing Provider",
224
+ "87" => "Pay-to Provider",
225
+ "8B" => "Primary Residence",
226
+ "95" => "Research Institute",
227
+ "98" => "Receiver",
228
+ "9K" => "Key Person",
229
+ "AG" => "Agent/Agency",
230
+ "AY" => "Clearinghouse",
231
+ "BO" => "Broker or Sales Office",
232
+ "CK" => "Pharmacist",
233
+ "CZ" => "Admitting Surgeon",
234
+ "D0" => "Admitting Physician",
235
+ "D2" => "Commerical Insurer",
236
+ "DD" => "Assistant Surgeon",
237
+ "DJ" => "Consulting Physician",
238
+ "DK" => "Ordering Physician",
239
+ "DN" => "Referring Provider",
240
+ "DQ" => "Supervising Physician",
241
+ "DO" => "Dependent Name",
242
+ "DQ" => "Supervising Physician",
243
+ # RESTART HERE
244
+ "E1" => "Person or Other Entity Legally Responsible for a Child",
245
+ "E2" => "Person or Other Entity With Whom a Child Resides",
246
+ "E7" => "Previous Employer",
247
+ "E9" => "Participating Laboratory",
248
+ "EI" => "Executor of Estate",
249
+ "EXS" => "Ex-spouse",
250
+ "EY" => "@todo",
251
+ "FA" => "Facility",
252
+ "FD" => "Physical Address",
253
+ "FE" => "Mail Address",
254
+ "FS" => "Final Scheduled Destination",
255
+ "G0" => "Dependent Insured",
256
+ "G3" => "Clinic",
257
+ "GB" => "Other Insured",
258
+ "GD" => "Guardian",
259
+ "GI" => "Paramedic",
260
+ "GJ" => "Paramedical Company",
261
+ "GK" => "Previous Insured",
262
+ "GM" => "Spouse Insured",
263
+ "GP" => "Gateway Provider",
264
+ "GD" => "Guardian",
265
+ "GW" => "Group",
266
+ "GY" => "Treatment Facility",
267
+ "HF" => "Healthcare Professional Shortage Area (HPSA) Facility",
268
+ "HH" => "Home Health Agency",
269
+ "HK" => "Subscriber",
270
+ "I3" => "Independent Physicians Association (IPA)",
271
+ "IJ" => "Injection Point",
272
+ "IL" => "Insured or Subscriber",
273
+ "IN" => "Insurer",
274
+ "J6" => "Power of Attorney",
275
+ "L5" => "Contact",
276
+ "LI" => "Independent Lab",
277
+ "LR" => "Legal Representative",
278
+ "M5" => "Migrant Health Clinic",
279
+ "M8" => "Educational Institution",
280
+ "MR" => "Medical INsurance Carrier",
281
+ "MSC" => "Mammography Screening Center",
282
+ "ND" => "Next Destination",
283
+ "O4" => "Factor",
284
+ "OB" => "Ordered By",
285
+ "OC" => "Origin Carrier",
286
+ "OD" => "Doctor of Optometry",
287
+ "OOP" => "Other Operating Physician",
288
+ "OX" => "Oxygen Therapy Facility",
289
+ "P0" => "Patient Facility",
290
+ "P2" => "Primary Insured or Subscriber",
291
+ "P3" => "Primary Care Provider",
292
+ "P4" => "Prior Insurance Carrier",
293
+ "P5" => "Plan Sponsor",
294
+ "P6" => "Third Party Reviewing Preferred Provider Organization (PPO)",
295
+ "P7" => "Third Party Reviewing Preferred Provider Organization (PPO)",
296
+ "PE" => "Payee",
297
+ "PT" => "Party to Receive Test Report",
298
+ "PTP" => "Pay-to Plan Name",
299
+ "PR" => "Payer",
300
+ "PRP" => "Primary Payer",
301
+ "PV" => "Party performing certification",
302
+ "PW" => "Pickup Address",
303
+ "QA" => "Pharmacy",
304
+ "QB" => "Purchase Service Provider",
305
+ "QC" => "Patient",
306
+ "QD" => "Responsible Party",
307
+ "QE" => "Policyholder",
308
+ "QH" => "Physician",
309
+ "QK" => "Managed Care",
310
+ "QL" => "Chiropractor",
311
+ "QN" => "Dentist",
312
+ "QM" => "Dialysis Centers",
313
+ "QO" => "Doctor of Osteopathy",
314
+ "QS" => "Podiatrist",
315
+ "QV" => "Group Practice",
316
+ "QY" => "Medical Doctor",
317
+ "R3" => "Next Scheduled Destination",
318
+ "RC" => "Receiving Location",
319
+ "RW" => "Rural Health Clinic",
320
+ "S1" => "Parent",
321
+ "S3" => "Custodial Parent",
322
+ "S4" => "Skilled Nursing Facility",
323
+ "SEP" => "Secondary Payer",
324
+ "SJ" => "Service Provider",
325
+ "SU" => "Suppplier/Manufacturer",
326
+ # Used to identify the geographic location where a patient is transferred or diverted
327
+ "T4" => "Transfer Point",
328
+ "TL" => "Testing Laboratory",
329
+ "TP" => "Primary Taxpayer",
330
+ "TQ" => "Third Party Reviewing Organization (TPO)",
331
+ "TT" => "Transfer To",
332
+ "TTP" => "Tertiary Payer",
333
+ "TU" => "Third Party Repricing Organization (TPO)",
334
+ "TV" => "Third Party Administrator (TPA)",
335
+ "TZ" => "Significant Other",
336
+ "RM" => "@todo",
337
+ "RW" => "Rural Health Clinic",
338
+ "S4" => "Skilled Nursing Facility",
339
+ "UH" => "Nursing Home",
340
+ "VER" => "Party Performing Verification",
341
+ "VN" => "Vendor",
342
+ "VY" => "Organization Completing Configuration Change",
343
+ "X3" => "Utilitazion Management Origanization",
344
+ "X4" => "Spouse",
345
+ "X5" => "Durable Medical Equipment Supplier",
346
+ "Y2" => "Managed Care Organization",
347
+ "ZD" => "Party to Receive Reports",
348
+ "ZZ" => "Mutually Defined"))
349
+ E100 = t::ID.new(:E100 , "Currency Code" , 3, 3,
350
+ s::CodeList.external("5"))
351
+ E107 = t::ID.new(:E107 , "Payment Method Type Code" , 1, 2)
352
+ E116 = t::ID.new(:E116 , "Postal Code" , 3, 15,
353
+ s::CodeList.external("51"))
354
+ E118 = t:: R.new(:E118 , "Rate" , 1, 9)
355
+ E123 = t::Nn.new(:E123 , "Number of Received Transaction Sets" , 1, 6, 0)
356
+ E124 = t::AN.new(:E124 , "Application Receiver's Code" , 2, 15)
357
+ E127 = t::AN.new(:E127 , "Reference Identification" , 1, 50)
358
+ E128 = t::ID.new(:E128 , "Reference Identification Qualifier" , 2, 3,
359
+ s::CodeList.build(
360
+ "00" => "Contracting District Number",
361
+ "01" => "American Bankers Assoc. (ABA) Transit/Routing Number (Including Check Digit, 9 Digits)",
362
+ "04" => s::CodeList.external("91"),
363
+ "0B" => "State License Number",
364
+ "0F" => "Subscriber Number",
365
+ "0N" => "@todo",
366
+ "0K" => "Policy Form Identifying Number",
367
+ "14" => "@todo",
368
+ "17" => "Client Reporting Category",
369
+ "18" => "Plan Number",
370
+ "19" => "Division Identifier",
371
+ "1A" => "Blue Cross Provider Number",
372
+ "1B" => "Blue Shield Provider Number",
373
+ "1C" => "Medicare Provider Number",
374
+ "1D" => "Medicaid Provider Number",
375
+ "1G" => "Provider UPIN Number",
376
+ "1H" => "CHAMPUS Identification Number",
377
+ "1J" => "Facility ID Number",
378
+ "1K" => "Payor's Claim Number",
379
+ "1L" => "Group or Policy Number",
380
+ "1S" => "Ambulatory Patient Group (APG) Number",
381
+ "1W" => "Member Identification Number",
382
+ "23" => "Client Number",
383
+ "26" => "Union Number",
384
+ "28" => "Employee Identification Number",
385
+ "2F" => "@todo",
386
+ "2U" => "Payer Identification Number",
387
+ "38" => "Master Policy Number",
388
+ "3H" => "Case Number",
389
+ "3L" => "Branch Identifier",
390
+ "4A" => "Personal Identification Number (PIN)",
391
+ "4N" => "Special Payment Reference Number",
392
+ "49" => "Family Unit Number",
393
+ "60" => "Account Suffix Code",
394
+ "6M" => "Application Number",
395
+ "6O" => "Cross Reference Number",
396
+ "6P" => "Group Number",
397
+ "6R" => "Provider Control Number",
398
+ "82" => "Data Item Description (DID) Reference",
399
+ "9A" => "Repriced Claim Reference Number",
400
+ "9B" => "Repriced Line Item Reference Number",
401
+ "9C" => "Adjusted Repriced Claim Reference Number",
402
+ "9D" => "Adjusted Repriced Line Item Reference Number",
403
+ "9F" => "Referral Number",
404
+ "9K" => "Servicer",
405
+ "9V" => "Payment Category",
406
+ "9X" => "Account Category",
407
+ "A6" => "Provider Identifier",
408
+ "ABB" => "Personal ID Number",
409
+ "ABY" => s::CodeList.external("540"),
410
+ "ACY" => s::CodeList.external("672"),
411
+ "ALS" => "Alternative List ID",
412
+ "AP" => "Ambulatory Payment Classification",
413
+ "APC" => s::CodeList.external("468"),
414
+ "AZ" => "Health Insurance Policy Number",
415
+ "BAF" => "Receipt Number",
416
+ "BB" => "Authorization Number",
417
+ "BLT" => "Billing Type",
418
+ "BT" => "Batch Number",
419
+ "CE" => "Class of Contract Code",
420
+ "CLI" => "Coverage List ID",
421
+ "CT" => "Contract Number",
422
+ "CPT" => s::CodeList.external("133"),
423
+ "D3" => s::CodeList.external("307"),
424
+ "D9" => "Claim Number",
425
+ "DNS" => s::CodeList.external("16"),
426
+ "DP" => "Department Number",
427
+ "DU" => "Dependents Information",
428
+ "DUN" => s::CodeList.external("16"),
429
+ "DX" => "Department/Agency Number",
430
+ "E8" => "Service Contract (Coverage) Number",
431
+ "E9" => "Attachment Code",
432
+ "EA" => "Medical Record Identification Number",
433
+ "EL" => "Electronic Device PIN Number",
434
+ "EI" => "Employer's Identification Number",
435
+ "EJ" => "Patient Account Number",
436
+ "EO" => "Submitter Identification Number",
437
+ "EV" => "Receiver Identification Number",
438
+ "EW" => "Mammography Certification Number",
439
+ "F2" => "Version Code - Local",
440
+ "F4" => "Facility Certification Number",
441
+ "F5" => "Medicare Version Code",
442
+ "F6" => "Health Insurance Claim (HIC) Number",
443
+ "F8" => "Original Reference Number",
444
+ "FJ" => "Line Item Control Number",
445
+ "FO" => "Drug Formulary Number",
446
+ "FY" => "Claim Office Number",
447
+ "G1" => "Prior Authorization Number",
448
+ "G2" => "Provider Commercial Number",
449
+ "G3" => "Predetermination of Benefits Identification Number",
450
+ "G5" => "Provider Site Number",
451
+ "GH" => "Identification Card Serial Number",
452
+ "G4" => "Peer Review Organization (PRO) Approval Number",
453
+ "GE" => "Geographic Number",
454
+ "HI" => s::CodeList.external("121"),
455
+ "HJ" => "Identity Card Number",
456
+ "HPI" => s::CodeList.external("537"),
457
+ "ICD" => s::CodeList.external("131"),
458
+ "IF" => "Issue Number",
459
+ "IG" => "Insurance Policy Number",
460
+ "IJ" => "Standard Industry Classification (SIC) Code",
461
+ "JD" => "User Identification",
462
+ "LOI" => s::CodeList.external("663"),
463
+ "LU" => "Location Number",
464
+ "LX" => "Qualified Products List",
465
+ "M7" => "Medical Assistance Category",
466
+ "MRC" => s::CodeList.external("844"),
467
+ "MRN" => "Mother's Medical Record Identification Number",
468
+ "N5" => "Provider Plan Network Identification Number",
469
+ "N6" => "Plan Network Identification Number",
470
+ "N7" => "Facitily Network Identification Number",
471
+ "NF" => s::CodeList.external("245"),
472
+ "NQ" => "Medicaid Recipient Identification Number",
473
+ "NT" => "Administrator's Reference Number",
474
+ "P4" => "Project Code",
475
+ "P5" => "Position Code",
476
+ "PID" => "Program Identification Number",
477
+ "POL" => "Policy Number",
478
+ "PQ" => "Payee Indentification",
479
+ "PSM" => "Credit Card Number",
480
+ "PXC" => s::CodeList.external("682"),
481
+ "Q4" => "Prior Identifier Number",
482
+ "QQ" => "Unit Number",
483
+ "RB" => "Rate code number",
484
+ "SOJ" => s::CodeList.external("22"),
485
+ "SY" => "Social Security Number",
486
+ "T4" => "Signal Code",
487
+ "TJ" => "Federal Taxpayer's Identification Number",
488
+ "TV" => s::CodeList.external("224"),
489
+ "VV" => "Voucher",
490
+ "VY" => "Link Sequence Number",
491
+ "Y4" => "Agency Claim Number",
492
+ "WH" => "Master Reference (Link) Number",
493
+ "X4" => "Clinical Laboratory Improvement Amendment Number",
494
+ "X9" => "Internal Control Number",
495
+ "XM" => "Issuer Number",
496
+ "XX1" => "Special Program Code",
497
+ "XX2" => "Service Area Code",
498
+ "XZ" => "Pharmacy Prescription Number",
499
+ "YY" => "Geographic Key",
500
+ "ZH" => "Carrier Assigned Reference Number",
501
+ "ZX" => "County Code",
502
+ "ZZ" => "Mutually Defined"))
503
+ E142 = t::AN.new(:E142 , "Application's Sender Code" , 2, 15)
504
+ E143 = t::ID.new(:E143 , "Transaction Set Identifier Number" , 3, 3,
505
+ # http://www.x12.org/x12org/docs/editransactions.pdf
506
+ s::CodeList.build(
507
+ # X12C Communications & Controls
508
+ "102" => "Associated Data",
509
+ "242" => "Data Status Tracking",
510
+ "815" => "Cryptographic Service Message",
511
+ "864" => "Text Message",
512
+ "868" => "Electronic Form Structure",
513
+ "993" => "Secured Receipt or Acknowledgment",
514
+ "997" => "Functional Acknowledgment",
515
+ "999" => "Implementation Acknowledgment",
516
+
517
+ # X12F Finance
518
+ "130" => "Student Educational Record (Transcript)",
519
+ "131" => "Student Educational Record (Transcript) Acknowledgment",
520
+ "132" => "Human Resource Information",
521
+ "133" => "Educational Institution Record",
522
+ "135" => "Student Aid Origination Record",
523
+ "138" => "Education Testing and Prospect Request and Report",
524
+ "139" => "Student Loan Guarantee Result",
525
+ "144" => "Student Loan Transfer and Status Verification",
526
+ "146" => "Request for Student Educational Record (Transcript)",
527
+ "147" => "Response to Request for Student Educational Record (Transcript)",
528
+ "155" => "Business Credit Report",
529
+ "188" => "Educational Course Inventory",
530
+ "189" => "Application for Admission to Educational Institutions",
531
+ "190" => "Student Enrollment Verification",
532
+ "191" => "Student Loan Pre-Claims and Claims",
533
+ "197" => "Real Estate Title Evidence",
534
+ "198" => "Loan Verification Information",
535
+ "199" => "Real Estate Settlement Information",
536
+ "200" => "Mortgage Credit Report",
537
+ "201" => "Residential Loan Application",
538
+ "202" => "Secondary Mortgage Market Loan Delivery",
539
+ "203" => "Secondary Mortgage Market Investor Report",
540
+ "205" => "Mortgage Note",
541
+ "206" => "Real Estate Inspection",
542
+ "245" => "Real Estate Tax Service Response",
543
+ "248" => "Account Assignment/Inquiry & Service/Status",
544
+ "259" => "Residential Mortgage Insurance Explanation of Benefits",
545
+ "260" => "Application for Mortgage Insurance Benefits",
546
+ "261" => "Real Estate Information Request",
547
+ "262" => "Real Estate Information Report",
548
+ "263" => "Residential Mortgage Insurance Application Response",
549
+ "264" => "Mortgage Loan Default Status",
550
+ "265" => "Real Estate Title Insurance Services Order",
551
+ "266" => "Mortgage or Property Record Change Notification",
552
+ "810" => "Invoice",
553
+ "811" => "Consolidated Service Invoice/Statement",
554
+ "812" => "Credit/Debit Adjustment",
555
+ "814" => "General Request, Response or Confirmation",
556
+ "819" => "Joint Interest Billing and Operating Expense Statement",
557
+ "820" => "Payment Order/Remittance Advice",
558
+ "821" => "Financial Information Reporting",
559
+ "822" => "Account Analysis",
560
+ "823" => "Lockbox",
561
+ "824" => "Application Advice",
562
+ "827" => "Financial Return Notice",
563
+ "828" => "Debit Authorization",
564
+ "829" => "Payment Cancellation Request",
565
+ "831" => "Application Control Totals",
566
+ "833" => "Mortgage Credit Report Order",
567
+ "844" => "Product Transfer Account Adjustment",
568
+ "849" => "Response to Product Transfer Account Adjustment",
569
+ "872" => "Residential Mortgage Insurance Application",
570
+ "880" => "Grocery Products Invoice",
571
+
572
+ # X12G Government
573
+ "103" => "Abandoned Property Filings",
574
+ "105" => "Business Entity Filings",
575
+ "113" => "Election Campaign & Lobbyist Reporting",
576
+ "149" => "Notice of Tax Adjustment or Assessment",
577
+ "150" => "Tax Rate Notification",
578
+ "151" => "Electronic Filing of Tax Return Data Acknowledgment",
579
+ "152" => "Statistical Government Information",
580
+ "153" => "Unemployment Insurance Tax Claim or Charge Information",
581
+ "154" => "Secured Interest Filing",
582
+ "157" => "Notice of Power of Attorney",
583
+ "158" => "Tax Jurisdiction Sourcing",
584
+ "175" => "Court and Law Enforcement Notice",
585
+ "176" => "Court Submission",
586
+ "179" => "Environmental Compliance Reporting",
587
+ "185" => "Royalty Regulatory Report",
588
+ "194" => "Grant or Assistance Application",
589
+ "195" => "Federal Communications Commission (FCC) License Application",
590
+ "196" => "Contractor Cost Data Reporting",
591
+ "249" => "Animal Toxicological Data",
592
+ "251" => "Pricing Support",
593
+ "280" => "Voter Registration Information",
594
+ "283" => "Tax or Fee Exemption Certification",
595
+ "284" => "Commercial Vehicle Safety Reports",
596
+ "285" => "Commercial Vehicle Safety and Credentials Information Exchange",
597
+ "286" => "Commercial Vehicle Credentials",
598
+ "288" => "Wage Determination",
599
+ "500" => "Medical Event Reporting",
600
+ "501" => "Vendor Performance Review",
601
+ "511" => "Requisition",
602
+ "517" => "Material Obligation Validation",
603
+ "521" => "Income or Asset Offset",
604
+ "527" => "Material Due-In and Receipt",
605
+ "536" => "Logistics Reassignment",
606
+ "540" => "Notice of Employment Status",
607
+ "561" => "Contract Abstract",
608
+ "567" => "Contract Completion Status",
609
+ "568" => "Contract Payment Management Report",
610
+ "650" => "Maintenance Service Order",
611
+ "805" => "Contract Pricing Proposal",
612
+ "806" => "Project Schedule Reporting",
613
+ "813" => "Electronic Filing of Tax Return Data",
614
+ "826" => "Tax Information Exchange",
615
+ "836" => "Procurement Notices",
616
+ "838" => "Trading Partner Profile",
617
+ "839" => "Project Cost Reporting",
618
+ "996" => "File Transfer",
619
+
620
+ # X12I Transportation
621
+ "104" => "Air Shipment Information",
622
+ "106" => "Motor Carrier Rate Proposal",
623
+ "107" => "Request for Motor Carrier Rate Proposal",
624
+ "108" => "Response to a Motor Carrier Rate Proposal",
625
+ "109" => "Vessel Content Details",
626
+ "110" => "Air Freight Details and Invoice",
627
+ "120" => "Vehicle Shipping Order",
628
+ "121" => "Vehicle Service",
629
+ "125" => "Multilevel Railcar Load Details",
630
+ "126" => "Vehicle Application Advice",
631
+ "127" => "Vehicle Baying Order",
632
+ "128" => "Dealer Information",
633
+ "129" => "Vehicle Carrier Rate Update",
634
+ "160" => "Transportation Automatic Equipment Identification",
635
+ "161" => "Train Sheet",
636
+ "163" => "Transportation Appointment Schedule Information",
637
+ "204" => "Motor Carrier Load Tender",
638
+ "210" => "Motor Carrier Freight Details and Invoice",
639
+ "211" => "Motor Carrier Bill of Lading",
640
+ "212" => "Motor Carrier Delivery Trailer Manifest",
641
+ "213" => "Motor Carrier Shipment Status Inquiry",
642
+ "214" => "Transportation Carrier Ship. Status Message",
643
+ "215" => "Motor Carrier Pick-up Manifest",
644
+ "216" => "Motor Carrier Shipment Pick-up Notification",
645
+ "217" => "Motor Carrier Loading and Route Guide",
646
+ "219" => "Logistics Service Request",
647
+ "220" => "Logistics Service Response",
648
+ "222" => "Cartage Work Assignment",
649
+ "223" => "Consolidators Freight Bill and Invoice",
650
+ "224" => "Motor Carrier Summary Freight Bill Manifest",
651
+ "225" => "Response to a Cartage Work Assignment",
652
+ "227" => "Trailer Usage Report",
653
+ "228" => "Equipment Inspection Report",
654
+ "240" => "Motor Carrier Package Status",
655
+ "250" => "Purchase Order Shipment Management Document",
656
+ "300" => "Reservation (Booking Request) (Ocean)",
657
+ "301" => "Confirmation (Ocean)",
658
+ "303" => "Booking Cancellation (Ocean)",
659
+ "304" => "Shipping Instructions",
660
+ "309" => "Customs Manifest",
661
+ "310" => "Freight Receipt and Invoice (Ocean)",
662
+ "311" => "Canada Customs Information",
663
+ "312" => "Arrival Notice (Ocean)",
664
+ "313" => "Shipment Status Inquiry (Ocean)",
665
+ "315" => "Status Details (Ocean)",
666
+ "317" => "Delivery/Pickup Order",
667
+ "319" => "Terminal Information",
668
+ "322" => "Terminal Operations and Intermodal Ramp Activity",
669
+ "323" => "Vessel Schedule and Itinerary (Ocean)",
670
+ "324" => "Vessel Stow Plan (Ocean)",
671
+ "325" => "Consolidation of Goods in Container",
672
+ "326" => "Consignment Summary List",
673
+ "350" => "Customs Status Information",
674
+ "352" => "U.S. Customs Carrier General Order Status",
675
+ "353" => "Customs Events Advisory Details",
676
+ "354" => "U.S. Customs Auto. Manifest Archive Status",
677
+ "355" => "U.S. Customs Acceptance/Rejection",
678
+ "356" => "U.S. Customs Permit to Transfer Request",
679
+ "357" => "U.S. Customs In-Bond Information",
680
+ "358" => "Customs Consist Information",
681
+ "359" => "Customs Customer Profile Management",
682
+ "361" => "Carrier Interchange Agreement (Ocean)",
683
+ "404" => "Rail Carrier Shipment Information",
684
+ "410" => "Rail Carrier Freight Details and Invoice",
685
+ "412" => "Trailer or Container Repair Billing",
686
+ "414" => "Rail Carhire Settlements",
687
+ "417" => "Rail Carrier Waybill Interchange",
688
+ "418" => "Rail Advance Interchange Consist",
689
+ "419" => "Advance Car Disposition",
690
+ "420" => "Car Handling Information",
691
+ "421" => "Estimated Time of Arrival & Car Scheduling",
692
+ "422" => "Equipment Order",
693
+ "423" => "Rail Industrial Switch List",
694
+ "424" => "Rail Carrier Services Settlement",
695
+ "425" => "Rail Waybill Request",
696
+ "426" => "Rail Revenue Waybill",
697
+ "429" => "Railroad Retirement Activity",
698
+ "431" => "Railroad Station Master File",
699
+ "432" => "Rail Deprescription",
700
+ "433" => "Railroad Reciprocal Switch File",
701
+ "434" => "Railroad Mark Register Update Activity",
702
+ "435" => "Standard Transportation Commodity Code Master",
703
+ "436" => "Locomotive Information",
704
+ "437" => "Railroad Junctions & Interchanges Activity",
705
+ "440" => "Shipment Weights",
706
+ "451" => "Railroad Event Report",
707
+ "452" => "Railroad Problem Log Inquiry or Advice",
708
+ "453" => "Railroad Service Commitment Advice",
709
+ "455" => "Railroad Parameter Trace Registration",
710
+ "456" => "Railroad Equipment Inquiry or Advice",
711
+ "460" => "Railroad Price Distribution Request or Response",
712
+ "463" => "Rail Rate Reply",
713
+ "466" => "Rate Request",
714
+ "468" => "Rate Docket Journal Log",
715
+ "470" => "Railroad Clearance",
716
+ "475" => "Rail Route File Maintenance",
717
+ "485" => "Ratemaking Action",
718
+ "486" => "Rate Docket Expiration",
719
+ "490" => "Rate Group Definition",
720
+ "492" => "Miscellaneous Rates",
721
+ "494" => "Rail Scale Rates",
722
+ "601" => "U.S. Customs Export Shipment Information",
723
+ "603" => "Transportation Equipment Registration",
724
+ "715" => "Intermodal Group Loading Plan",
725
+ "854" => "Shipment Delivery Discrepancy Info.",
726
+ "858" => "Shipment Information",
727
+ "859" => "Freight Invoice",
728
+ "920" => "Loss or Damage Claim - Gen. Commodities",
729
+ "924" => "Loss or Damage Claim - Motor Vehicle",
730
+ "925" => "Claim Tracer",
731
+ "926" => "Claim Status Report and Tracer Reply",
732
+ "928" => "Automotive Inspection Detail",
733
+ "980" => "Functional Group Totals",
734
+ "990" => "Response to a Load Tender",
735
+ "998" => "Set Cancellation",
736
+
737
+ # X12M Supply Chain
738
+ "101" => "Name and Address Lists",
739
+ "140" => "Product Registration",
740
+ "141" => "Product Service Claim Response",
741
+ "142" => "Product Service Claim",
742
+ "143" => "Product Service Notification",
743
+ "159" => "Motion Picture Booking Confirmation",
744
+ "170" => "Revenue Receipts Statement",
745
+ "180" => "Return Merchandise Authorization & Notification",
746
+ "244" => "Product Source Information",
747
+ "290" => "Cooperative Advertising Agreements",
748
+ "503" => "Pricing History",
749
+ "504" => "Clauses and Provisions",
750
+ "620" => "Excavation Communication",
751
+ "625" => "Well Information",
752
+ "753" => "Request For Routing Instructions",
753
+ "754" => "Routing Instructions",
754
+ "816" => "Organizational Relationships",
755
+ "818" => "Commission Sales Report",
756
+ "830" => "Planning Schedule w/ Release Capability",
757
+ "832" => "Price/Sales Catalog",
758
+ "840" => "Request for Quotation",
759
+ "841" => "Specifications/Technical Information",
760
+ "842" => "Nonconformance Report",
761
+ "843" => "Response to Request for Quotation",
762
+ "845" => "Price Authorization Acknowledgment/Status",
763
+ "846" => "Inventory Inquiry/Advice",
764
+ "847" => "Material Claim",
765
+ "848" => "Material Safety Data Sheet",
766
+ "850" => "Purchase Order",
767
+ "851" => "Asset Schedule",
768
+ "852" => "Product Activity Data",
769
+ "853" => "Routing and Carrier Instruction",
770
+ "855" => "Purchase Order Acknowledgment",
771
+ "856" => "Ship Notice/Manifest",
772
+ "857" => "Shipment and Billing Notice",
773
+ "860" => "Purchase Order Change Request - Buyer Initiated",
774
+ "861" => "Receiving Advice/Acceptance Certificate",
775
+ "862" => "Shipping Schedule",
776
+ "863" => "Report of Test Results",
777
+ "865" => "Purchase Order Change Acknowledgment /Request - Seller Initiated",
778
+ "866" => "Production Sequence",
779
+ "867" => "Product Transfer and Resale Report",
780
+ "869" => "Order Status Inquiry",
781
+ "870" => "Order Status Report",
782
+ "873" => "Commodity Movement Services",
783
+ "874" => "Commodity Movement Services Response",
784
+ "875" => "Grocery Products Purchase Order",
785
+ "876" => "Grocery Products Purchase Order Change",
786
+ "877" => "Manufacturer Coupon Family Code Structure",
787
+ "878" => "Product Authorization/De-authorization",
788
+ "879" => "Price Information",
789
+ "881" => "Manufacturer Coupon Redemption Detail",
790
+ "882" => "Direct Store Delivery Summary Information",
791
+ "883" => "Market Development Fund Allocation",
792
+ "884" => "Market Development Fund Settlement",
793
+ "885" => "Retail Account Characteristics",
794
+ "886" => "Customer Call Reporting",
795
+ "887" => "Coupon Notification",
796
+ "888" => "Item Maintenance",
797
+ "889" => "Promotion Announcement",
798
+ "890" => "Contract & Rebate Management",
799
+ "891" => "Deduction Research Report",
800
+ "893" => "Item Information Request",
801
+ "894" => "Delivery/Return Base Record",
802
+ "895" => "Delivery/Return Acknowledgment or Adjustment",
803
+ "896" => "Product Dimension Maintenance",
804
+ "940" => "Warehouse Shipping Order",
805
+ "943" => "Warehouse Stock Transfer Shipment Advice",
806
+ "944" => "Warehouse Stock Transfer Receipt Advice",
807
+ "945" => "Warehouse Shipping Advice",
808
+ "947" => "Warehouse Inventory Adjustment Advice",
809
+
810
+ # X12N Insurance
811
+ "100" => "Insurance Plan Description",
812
+ "111" => "Individual Insurance Policy & Client Info.",
813
+ "112" => "Property Damage Report",
814
+ "124" => "Vehicle Damage",
815
+ "148" => "Report of Injury, Illness, or Incident",
816
+ "186" => "Insurance Underwriting Requirements Reporting",
817
+ "187" => "Premium Audit Request and Return",
818
+ "252" => "Insurance Producer Administration",
819
+ "255" => "Underwriting Information Services",
820
+ "256" => "Periodic Compensation",
821
+ "267" => "Individual Life Annuity & Disability Application",
822
+ "268" => "Annuity Activity",
823
+ "269" => "Health Care Benefit Coordination Verification",
824
+ "270" => "Eligibility, Coverage or Benefit Inquiry",
825
+ "271" => "Eligibility, Coverage or Benefit Information",
826
+ "272" => "Property and Casualty Loss Notification",
827
+ "273" => "Insurance/Annuity Application Status",
828
+ "274" => "Health Care Provider Information",
829
+ "275" => "Patient Information",
830
+ "276" => "Health Care Claim Status Request",
831
+ "277" => "Health Care Information Status Notification",
832
+ "278" => "Health Care Services Review Information",
833
+ "362" => "Cargo Insurance Advice of Shipment",
834
+ "834" => "Benefit Enrollment and Maintenance",
835
+ "835" => "Health Care Claim Payment/Advice",
836
+ "837" => "Health Care Claim"))
837
+ E156 = t::ID.new(:E156 , "State or Province Code" , 2, 2,
838
+ s::CodeList.external("22"))
839
+ E166 = t::AN.new(:E166 , "Address Information" , 1, 55)
840
+ E212 = t:: R.new(:E212 , "Unit Price" , 1, 17)
841
+ E234 = t::AN.new(:E234 , "Product/Service ID" , 1, 48)
842
+ E235 = t::ID.new(:E235 , "Product/Service ID Qualifier" , 2, 2,
843
+ s::CodeList.build(
844
+ "AD" => s::CodeList.external("135"),
845
+ "A5" => s::CodeList.external("22"),
846
+ "CH" => s::CodeList.external("5"),
847
+ "CJ" => s::CodeList.external("135"),
848
+ "DC" => s::CodeList.external("897"),
849
+ "DX" => s::CodeList.external("131"),
850
+ "EN" => "EAN/UCC - 13",
851
+ "EO" => "EAN/UCC - 8",
852
+ "ER" => s::CodeList.external("576"),
853
+ "HC" => s::CodeList.external("130"),
854
+ "HP" => s::CodeList.external("716"),
855
+ "ID" => s::CodeList.external("131"),
856
+ "IP" => s::CodeList.external("896"),
857
+ "IV" => s::CodeList.external("513"),
858
+ "HI" => "HIBC (Health Care Industry Bar Code) Supplier Labeling Standard Primary Data Message",
859
+ "LB" => s::CodeList.external("663"),
860
+ "N1" => s::CodeList.external("240"),
861
+ "N2" => s::CodeList.external("240"),
862
+ "N3" => s::CodeList.external("240"),
863
+ "N4" => s::CodeList.external("240"),
864
+ "N5" => s::CodeList.external("240"),
865
+ "N6" => s::CodeList.external("240"),
866
+ "NU" => s::CodeList.external("132"),
867
+ "ON" => "Customer Order Number",
868
+ "TD" => s::CodeList.external("359"),
869
+ "UI" => "U.P.C. Consumer Package (1-5-5)",
870
+ "UK" => "GTIN 14-digit Data Structure",
871
+ "UP" => "UCC - 12",
872
+ "RB" => s::CodeList.external("132"),
873
+ "WK" => s::CodeList.external("843"),
874
+ "ZZ" => "Mutually Defined"))
875
+ E236 = t::ID.new(:E236 , "Price Identifier Code" , 3, 3)
876
+ E280 = t:: R.new(:E280 , "Exchange Rate" , 4, 10)
877
+ E289 = t::Nn.new(:E289 , "Multiple Price Quantity" , 1, 2, 0)
878
+ E305 = t::ID.new(:E305 , "Transaction Handling Code" , 1, 2,
879
+ s::CodeList.build(
880
+ "C" => "Payment Accompanies Remittance Advice",
881
+ "D" => "Make Payment Only",
882
+ "H" => "Notification Only",
883
+ "I" => "Remittance Information Only",
884
+ "P" => "Prenotification of Future Transfers",
885
+ "U" => "Split Payment and Remittance",
886
+ "X" => "Handling Party's Option to Split Payment and Remittance"))
887
+ E306 = t::ID.new(:E306 , "Action Code" , 1, 2,
888
+ s::CodeList.build(
889
+ "1" => "Add",
890
+ "2" => "Change (Update)",
891
+ "4" => "Verify",
892
+ "51" => "Complete",
893
+ "71" => "Term Expired",
894
+ "A1" => "Certified in Total",
895
+ "A2" => "Certified - Partial",
896
+ "A3" => "Not Certified",
897
+ "A4" => "Pended",
898
+ "A6" => "Modified",
899
+ "C" => "Cancelled",
900
+ "CT" => "Contact Payer",
901
+ "NA" => "No Action Required",
902
+ "RX" => "Replace",
903
+ "U" => "Reject",
904
+ "WQ" => "Accept"))
905
+ E309 = t::ID.new(:E309 , "Location Qualifier" , 1, 2,
906
+ s::CodeList.build(
907
+ "60" => "Area",
908
+ "CY" => "County/Parish",
909
+ "PQ" => s::CodeList.external("51"),
910
+ "PR" => s::CodeList.external("51"),
911
+ "PS" => s::CodeList.external("51"),
912
+ "RJ" => s::CodeList.external("DOD1")))
913
+ E310 = t::ID.new(:E310 , "Location Identifier" , 1, 30)
914
+ E329 = t::AN.new(:E329 , "Transaction Set Control Number" , 4, 9)
915
+ E332 = t:: R.new(:E332 , "Percent, Decimal Format" , 1, 6)
916
+ E337 = t::TM.new(:E337 , "Time" , 4, 8)
917
+ E338 = t:: R.new(:E338 , "Terms Discount Percent" , 1, 6)
918
+ E350 = t::AN.new(:E350 , "Assigned Identification" , 1, 20)
919
+ E352 = t::AN.new(:E352 , "Description" , 1, 80)
920
+ E353 = t::ID.new(:E353 , "Transaction Set Purpose Code" , 2, 2,
921
+ s::CodeList.build(
922
+ "00" => "Original",
923
+ "01" => "Cancellation",
924
+ "06" => "Confirmation",
925
+ "08" => "Status",
926
+ "15" => "Re-Submission",
927
+ "11" => "Response",
928
+ "13" => "Request",
929
+ "18" => "Reissue",
930
+ "22" => "Information Copy",
931
+ "49" => "Original - No Response Necessary",
932
+ "52" => "Response to Historical Inquiry"))
933
+ E355 = t::ID.new(:E355 , "Unit or Basis for Measurement Code" , 2, 2,
934
+ s::CodeList.build(
935
+ "01" => "Actual Pounds",
936
+ "DA" => "Days",
937
+ "DH" => "Miles",
938
+ "DK" => "Kilometers",
939
+ "F2" => "International Unit",
940
+ "GR" => "Gram",
941
+ "LB" => "Pound",
942
+ "ME" => "Milligram",
943
+ "MJ" => "Minutes",
944
+ "ML" => "Milliliter",
945
+ "MO" => "Months",
946
+ "UN" => "Units",
947
+ "WK" => "Week",
948
+ "VS" => "Visit",
949
+ "YR" => "Years"))
950
+ E363 = t::ID.new(:E363 , "Note Reference Code" , 3, 3,
951
+ s::CodeList.build(
952
+ "ADD" => "Additional Information",
953
+ "ALG" => "Allergies",
954
+ "CER" => "Certification Narrative",
955
+ "DCP" => "Goals, Rehabilitation Potential, or Discharge Plans",
956
+ "DGN" => "Diagnosis Description",
957
+ "DME" => "Durable Medical Equipment (DME) and Supplies",
958
+ "MED" => "Medications",
959
+ "NTR" => "Nutritional Requirements",
960
+ "ODT" => "Orders for Disciplines and Treatments",
961
+ "RHB" => "Functional Limitations, Reason Homebound, or Both",
962
+ "RLH" => "Reasons Patient Leaves Home",
963
+ "RNH" => "Times and Reasons Patient Not at Home",
964
+ "SET" => "Unusual Home, Social Environment, or Both",
965
+ "SFM" => "Safety Measures",
966
+ "SPT" => "Supplementary Plan of Treatment",
967
+ "TPO" => "Third Party Organization Notes",
968
+ "UPI" => "Updated Information"))
969
+ E364 = t::AN.new(:E364 , "Communication Number" , 1, 256)
970
+ E365 = t::ID.new(:E365 , "Communication Number Qualifier" , 2, 2,
971
+ s::CodeList.build(
972
+ "AP" => "Alternate Telephone",
973
+ "BN" => "Beeper Number",
974
+ "CP" => "Cellular Phone",
975
+ "ED" => "Electronic Data Interchange Access Number",
976
+ "EM" => "Electronic Mail",
977
+ "EX" => "Telephone Extension",
978
+ "FX" => "Facsimile",
979
+ "HP" => "Home Phone Number",
980
+ "TE" => "Telephone",
981
+ "UR" => "Uniform Resource Locator (URL)",
982
+ "WP" => "Work Phone Number"))
983
+ E366 = t::ID.new(:E366 , "Contract Function Code" , 2, 2,
984
+ s::CodeList.build(
985
+ "1I" => "Local Contact",
986
+ "AJ" => "Primary Contact",
987
+ "AL" => "Alternate Contact",
988
+ "BI" => "Bill Inquiry Contact",
989
+ "BL" => "Technical Department",
990
+ "CN" => "General Contact",
991
+ "CX" => "Payers Claim Office",
992
+ "EP" => "Employer Contact",
993
+ "IC" => "Information Contact",
994
+ "IP" => "Insured Party",
995
+ "RP" => "Responsible Person",
996
+ "PQ" => "Parent or Guardian",
997
+ "SK" => "School Clerk"))
998
+ E373 = t::DT.new(:E373 , "Date" , 8, 8)
999
+ E374 = t::ID.new(:E374 , "Date/Time Qualifier" , 3, 3,
1000
+ s::CodeList.build(
1001
+ "007" => "Effective",
1002
+ "009" => "Process",
1003
+ "011" => "Shipped",
1004
+ "036" => "Expiration",
1005
+ "050" => "Received",
1006
+ "090" => "Report Start",
1007
+ "091" => "Report End",
1008
+ "096" => "Discharge",
1009
+ "102" => "Issue",
1010
+ "139" => "Estimated",
1011
+ "150" => "Service Period Start",
1012
+ "151" => "Service Period End",
1013
+ "152" => "Effective Date of Change",
1014
+ "193" => "Period Start",
1015
+ "194" => "Period End",
1016
+ "196" => "Start",
1017
+ "198" => "Completion",
1018
+ "232" => "Claim Statement Period Start",
1019
+ "233" => "Claim Statement Period End",
1020
+ "286" => "Retirement",
1021
+ "290" => "Coordination of Benefits",
1022
+ "291" => "Plan",
1023
+ "292" => "Benefit",
1024
+ "295" => "Primary Care Provider",
1025
+ "296" => "Initial Disability Period Return To Work",
1026
+ "297" => "Initial Disability Period Last Day Worked",
1027
+ "300" => "Enrollment Signature Date",
1028
+ "301" => "Consolidated Omnibus Budget Reconciliation Act (COBRA) Qualifying Event",
1029
+ "303" => "Maintenance Effective",
1030
+ "304" => "Latest Visit or Consultation",
1031
+ "307" => "Eligibility",
1032
+ "314" => "Disability",
1033
+ "318" => "Added",
1034
+ "336" => "Employment Begin",
1035
+ "337" => "Employment End",
1036
+ "338" => "Medicare Begin",
1037
+ "339" => "Medicare End",
1038
+ "340" => "Consolidated Omnibus Budget Reconciliation Act (COBRA) Begin",
1039
+ "341" => "Consolidated Omnibus Budget Reconciliation Act (COBRA) End",
1040
+ "342" => "Premium Paid to Date Begin",
1041
+ "343" => "Premium Paid to Date End",
1042
+ "344" => "Coordination of Benefits Begin",
1043
+ "345" => "Coordination of Benefits End",
1044
+ "346" => "Plan Begin",
1045
+ "347" => "Plan End",
1046
+ "348" => "Benefit Begin",
1047
+ "349" => "Benefit End",
1048
+ "350" => "Education Begin",
1049
+ "351" => "Education End",
1050
+ "356" => "Eligibility Begin",
1051
+ "357" => "Eligibility End",
1052
+ "360" => "Initial Disability Period Start",
1053
+ "361" => "Initial Disability Period End",
1054
+ "382" => "Enrollment",
1055
+ "383" => "Adjusted Hire",
1056
+ "385" => "Credited Service Begin",
1057
+ "386" => "Credited Service End",
1058
+ "388" => "Payment Cancellation",
1059
+ "393" => "Plan Participation Suspension",
1060
+ "394" => "Rehire",
1061
+ "405" => "Production",
1062
+ "431" => "Onset of Current Symptoms or Illness",
1063
+ "434" => "Statement",
1064
+ "435" => "Admission",
1065
+ "439" => "Accident",
1066
+ "441" => "Prior Placement",
1067
+ "442" => "Date of Birth",
1068
+ "444" => "First Visit or Consultation",
1069
+ "446" => "Replacement",
1070
+ "452" => "Appliance Placement",
1071
+ "453" => "Acute Manifestation of a Chronic Condition",
1072
+ "454" => "Initial Treatment",
1073
+ "455" => "Last X-Ray",
1074
+ "458" => "Certification",
1075
+ "461" => "Last Certification",
1076
+ "463" => "Begin Therapy",
1077
+ "471" => "Prescription",
1078
+ "472" => "Service",
1079
+ "473" => "Medicaid Begin",
1080
+ "474" => "Medicaid End",
1081
+ "484" => "Last Menstrual Period",
1082
+ "523" => "Date of Claim",
1083
+ "539" => "Policy Effective",
1084
+ "540" => "Policy Expiration",
1085
+ "543" => "Last Premium Paid Date",
1086
+ "573" => "Date Claim Paid",
1087
+ "582" => "@todo",
1088
+ "607" => "Certification Revision",
1089
+ "636" => "Date of Last Update",
1090
+ "695" => "Previous Period",
1091
+ "738" => "Most Recent Hemoglobin or Hematocrit or Both",
1092
+ "739" => "Most Recent Serum Creatine",
1093
+ "754" => "Next Payment Due",
1094
+ "771" => "Status",
1095
+ "881" => "Request",
1096
+ "866" => "Examination",
1097
+ "903" => "Application Entry",
1098
+ "AAH" => "Event",
1099
+ "AB4" => "Time Period",
1100
+ "ABC" => "Estimated Date of Birth",
1101
+ "ABW" => "Credit Card Expiration",
1102
+ "AEC" => "Medicare Part A Coverage Effective Date",
1103
+ "AED" => "Medicare Part A Termination Date",
1104
+ "AEG" => "Medicare Part B Coverage Effective Date",
1105
+ "AEH" => "Medicare Part B Termination Date",
1106
+ "AFC" => "Medicare Part D Coverage Effective Date",
1107
+ "AFD" => "Medicare Part D Termination Date"))
1108
+ E380 = t:: R.new(:E380 , "Quantity" , 1, 15)
1109
+ E426 = t::ID.new(:E426 , "Adjustment Reason Code" , 2, 2,
1110
+ s::CodeList.build(
1111
+ "50" => "Late Charge",
1112
+ "51" => "Interest Penalty Charge",
1113
+ "72" => "Authorized Return",
1114
+ "90" => "Early Payment Allowance",
1115
+ "AH" => "Origination Fee",
1116
+ "AM" => "Applied to Borrower's Account",
1117
+ "AP" => "Acceleration of Benefits",
1118
+ "B2" => "Rebate",
1119
+ "B3" => "Recovery Allowance",
1120
+ "BD" => "Bad Debt Adjustment",
1121
+ "BN" => "Bonus",
1122
+ "C5" => "Temporary Allowance",
1123
+ "CR" => "Capitation Interest",
1124
+ "CS" => "Adjustment",
1125
+ "CT" => "Capitation Payment",
1126
+ "CV" => "Capital Passthru",
1127
+ "CW" => "Certified Registered Nurse Anesthetist Passthru",
1128
+ "DM" => "Direct Medical Education Passthru",
1129
+ "E3" => "Withholding",
1130
+ "FB" => "Forwarding Balance",
1131
+ "FC" => "Fund Allocation",
1132
+ "GO" => "Graduate Medicale Education Passthru",
1133
+ "HM" => "Hemophelia Clotting Factor Supplement",
1134
+ "IP" => "Incentive Premium Payment",
1135
+ "IR" => "Internal Revenue Service Withholding",
1136
+ "IS" => "Interim Settlement",
1137
+ "J1" => "Nonreimbursable",
1138
+ "L3" => "Penalty",
1139
+ "L6" => "Interest Owed",
1140
+ "LE" => "Levy",
1141
+ "LS" => "Lump Sum",
1142
+ "OA" => "Organ Acquisition Passthru",
1143
+ "OB" => "Offset for Affiliated Providers",
1144
+ "PI" => "Periodic Interim Payment",
1145
+ "PL" => "Payment Final",
1146
+ "RA" => "Retro-activity Adjustment",
1147
+ "RE" => "Return on Equity",
1148
+ "SL" => "Student Loan Repayment",
1149
+ "TL" => "Third Party Liability",
1150
+ "WO" => "Overpayment Recovery",
1151
+ "WU" => "Unspecified Recovery"))
1152
+ E429 = t::AN.new(:E429 , "Check Number" , 1, 16)
1153
+ E443 = t::AN.new(:E443 , "Contract Inquiry Reference" , 1, 20)
1154
+ E447 = t::AN.new(:E447 , "Loop Identifier Code" , 1, 4)
1155
+ E449 = t::AN.new(:E449 , "Fixed Format Information" , 1, 80)
1156
+ E478 = t::ID.new(:E478 , "Credit/Debit Flag Code" , 1, 1,
1157
+ s::CodeList.build(
1158
+ "C" => "Credit",
1159
+ "D" => "Debit",
1160
+ "ACH" => "Automated Clearing House (ACH)",
1161
+ "BOP" => "Financial Institution Option",
1162
+ "CHK" => "Check",
1163
+ "FWT" => "Federal Reserve Funds/Wire Transfer - Nonrepetitive",
1164
+ "NON" => "Non-Payment Data"))
1165
+ E479 = t::ID.new(:E479 , "Functional Identifier Code" , 2, 2,
1166
+ s::CodeList.build(
1167
+ "AA" => "Account Analysis (822)",
1168
+ "AB" => "Logistics Service Request (219)",
1169
+ "AD" => "Individual Life, Annuity and Disability Application (267)",
1170
+ "AF" => "Application for Admission to Educational Institutions (189)",
1171
+ "AG" => "Application Advice (824)",
1172
+ "AH" => "Logistics Service Response (220)",
1173
+ "AI" => "Automotive Inspection Detail (928)",
1174
+ "AK" => "Student Educational Record (Transcript) Acknowledgment (131)",
1175
+ "AL" => "Set Cancellation (998) and Application Acceptance/Rejection Advice (499)",
1176
+ "AN" => "Return Merchandise Authorization and Notification (180)",
1177
+ "AO" => "Income or Asset Offset (521)",
1178
+ "AR" => "Warehouse Stock Transfer Shipment Advice (943)",
1179
+ "AS" => "Transportation Appointment Schedule Information (163)",
1180
+ "AT" => "Animal Toxicological Data (249)",
1181
+ "AW" => "Warehouse Inventory Adjustment Advice (947)",
1182
+ "BC" => "Business Credit Report (155)",
1183
+ "BE" => "Benefit Enrollment and Maintenance (834)",
1184
+ "BF" => "Business Entity Filings (105)",
1185
+ "BL" => "Motor Carrier Bill of Lading (211)",
1186
+ "BS" => "Shipment and Billing Notice (857)",
1187
+ "CA" => "Purchase Order Change Acknowledgment/Request - Seller Initiated (865)",
1188
+ "CB" => "Unemployment Insurance Tax Claim or Charge Information (153)",
1189
+ "CC" => "Clauses and Provisions (504)",
1190
+ "CD" => "Credit/Debit Adjustment (812)",
1191
+ "CE" => "Cartage Work Assignment (222)",
1192
+ "CF" => "Corporate Financial Adjustment Information (844 and 849)",
1193
+ "CG" => "Administrative Message (994)",
1194
+ "CH" => "Car Handling Information (420)",
1195
+ "CI" => "Consolidated Service Invoice/Statement (811)",
1196
+ "CJ" => "Manufacturer Coupon Family Code Structure (877)",
1197
+ "CK" => "Manufacturer Coupon Redemption Detail (881)",
1198
+ "CM" => "Component Parts Content (871)",
1199
+ "CN" => "Coupon Notification (887)",
1200
+ "CO" => "Cooperative Advertising Agreements (290)",
1201
+ "CP" => "Electronic Proposal Information (251, 805)",
1202
+ "CR" => "Rail Carhire Settlements (414)",
1203
+ "CS" => "Cryptographic Service Message (815)",
1204
+ "CT" => "Application Control Totals (831)",
1205
+ "CV" => "Commercial Vehicle Safety and Credentials Information Exchange (285)",
1206
+ "D3" => "Contract Completion Status (567)",
1207
+ "D4" => "Contract Abstract (561)",
1208
+ "D5" => "Contract Payment Management Report (568)",
1209
+ "DA" => "Debit Authorization (828)",
1210
+ "DD" => "Shipment Delivery Discrepancy Information (854)",
1211
+ "DF" => "Market Development Fund Allocation (883)",
1212
+ "DI" => "Dealer Information (128)",
1213
+ "DM" => "Shipper's Car Order (422)",
1214
+ "DS" => "Data Status Tracking (242)",
1215
+ "DX" => "Direct Exchange Delivery and Return Information (894, 895)",
1216
+ "EC" => "Educational Course Inventory (188)",
1217
+ "ED" => "Student Educational Record (Transcript) (130)",
1218
+ "EI" => "Railroad Equipment Inquiry or Advice (456)",
1219
+ "ER" => "Revenue Receipts Statement (170)",
1220
+ "ES" => "Notice of Employment Status (540)",
1221
+ "EV" => "Railroad Event Report (451)",
1222
+ "EX" => "Excavation Communication (620)",
1223
+ "FA" => "Functional Acknowledgment (997, 999)",
1224
+ "FB" => "Freight Invoice (859)",
1225
+ "FC" => "Court and Law Enforcement Information (175, 176)",
1226
+ "FG" => "Motor Carrier Loading and Route Guide (217)",
1227
+ "FH" => "Motor Carrier Tariff Information (218)",
1228
+ "FR" => "Financial Reporting (821, 827)",
1229
+ "FT" => "File Transfer (996)",
1230
+ "GB" => "Average Agreement Demurrage (423)",
1231
+ "GC" => "Damage Claim Transaction Sets (920, 924, 925, 926)",
1232
+ "GE" => "General Request, Response or Confirmation (814)",
1233
+ "GF" => "Response to a Load Tender (990)",
1234
+ "GL" => "Intermodal Group Loading Plan (715)",
1235
+ "GP" => "Grocery Products Invoice (880)",
1236
+ "GR" => "Statistical Government Information (152)",
1237
+ "GT" => "Grant or Assistance Application (194)",
1238
+ "HB" => "Eligibility, Coverage or Benefit Information (271)",
1239
+ "HC" => "Health Care Claim (837)",
1240
+ "HI" => "Health Care Services Review Information (278)",
1241
+ "HN" => "Health Care Claim Status Notification (277)",
1242
+ "HP" => "Health Care Claim Payment/Advice (835)",
1243
+ "HR" => "Health Care Claim Status Request (276)",
1244
+ "HS" => "Eligibility, Coverage or Benefit Inquiry (270)",
1245
+ "IA" => "Air Freight Details and Invoice (110, 980)",
1246
+ "IB" => "Inventory Inquiry/Advice (846)",
1247
+ "IC" => "Rail Advance Interchange Consist (418)",
1248
+ "ID" => "Insurance/Annuity Application Status (273)",
1249
+ "IE" => "Insurance Producer Administration (252)",
1250
+ "IG" => "Direct Store Delivery Summary Information (882)",
1251
+ "II" => "Rail Freight Details and Invoice Summary (411)",
1252
+ "IJ" => "Report of Injury, Illness or Incident (148)",
1253
+ "IM" => "Motor Carrier Freight Details and Invoice (210, 980)",
1254
+ "IN" => "Invoice Information (810,819)",
1255
+ "IO" => "Ocean Shipment Billing Details (310, 312, 980)",
1256
+ "IP" => "Intermodal Ramp Activity (622)",
1257
+ "IR" => "Rail Carrier Freight Details and Invoice (410, 980)",
1258
+ "IS" => "Estimated Time of Arrival and Car Scheduling (421)",
1259
+ "KM" => "Commercial Vehicle Credentials (286)",
1260
+ "LA" => "Federal Communications Commission (FCC) License Application (195)",
1261
+ "LB" => "Lockbox (823)",
1262
+ "LI" => "Locomotive Information (436)",
1263
+ "LN" => "Property and Casualty Loss Notification (272)",
1264
+ "LR" => "Logistics Reassignment (536)",
1265
+ "LS" => "Asset Schedule (851)",
1266
+ "LT" => "Student Loan Transfer and Status Verification (144)",
1267
+ "MA" => "Motor Carrier Summary Freight Bill Manifest (224)",
1268
+ "MC" => "Request for Motor Carrier Rate Proposal (107)",
1269
+ "MD" => "Department of Defense Inventory Management (527)",
1270
+ "ME" => "Mortgage Origination (198, 200, 201, 261, 262, 263, 833, 872)",
1271
+ "MF" => "Market Development Funds Settlement (884)",
1272
+ "MG" => "Mortgage Servicing Transaction Sets (203, 206, 260, 264, 266)",
1273
+ "MH" => "Motor Carrier Rate Proposal (106)",
1274
+ "MI" => "Motor Carrier Shipment Status Inquiry (213)",
1275
+ "MJ" => "Secondary Mortgage Market Loan Delivery (202)",
1276
+ "MK" => "Response to a Motor Carrier Rate Proposal (108)",
1277
+ "MM" => "Medical Event Reporting (500)",
1278
+ "MN" => "Mortgage Note (205)",
1279
+ "MO" => "Maintenance Service Order (650)",
1280
+ "MP" => "Motion Picture Booking Confirmation (159)",
1281
+ "MQ" => "Consolidators Freight Bill and Invoice (223)",
1282
+ "MR" => "Multilevel Railcar Load Details (125)",
1283
+ "MS" => "Material Safety Data Sheet (848)",
1284
+ "MT" => "Electronic Form Structure (868)",
1285
+ "MV" => "Material Obligation Validation (517)",
1286
+ "MW" => "Rail Waybill Response (427)",
1287
+ "MX" => "Material Claim (847)",
1288
+ "MY" => "Response to a Cartage Work Assignment (225)",
1289
+ "NC" => "Nonconformance Report (842)",
1290
+ "NL" => "Name and Address Lists (101)",
1291
+ "NP" => "Notice of Power of Attorney (157)",
1292
+ "NT" => "Notice of Tax Adjustment or Assessment (149)",
1293
+ "OC" => "Cargo Insurance Advice of Shipment (362)",
1294
+ "OG" => "Order Group - Grocery (875, 876)",
1295
+ "OR" => "Organizational Relationships (816)",
1296
+ "OW" => "Warehouse Shipping Order (940)",
1297
+ "PA" => "Price Authorization Acknowledgment/Status (845)",
1298
+ "PB" => "Railroad Parameter Trace Registration (455)",
1299
+ "PC" => "Purchase Order Change Request - Buyer Initiated (860)",
1300
+ "PD" => "Product Activity Data (852)",
1301
+ "PE" => "Periodic Compensation (256)",
1302
+ "PF" => "Annuity Activity (268)",
1303
+ "PG" => "Insurance Plan Description (100)",
1304
+ "PH" => "Pricing History (503)",
1305
+ "PI" => "Patient Information (275)",
1306
+ "PJ" => "Project Schedule Reporting (806)",
1307
+ "PK" => "Project Cost Reporting (839) and Contractor Cost Data Reporting (196)",
1308
+ "PL" => "Railroad Problem Log Inquiry or Advice (452)",
1309
+ "PN" => "Product Source Information (244)",
1310
+ "PO" => "Purchase Order (850)",
1311
+ "PQ" => "Property Damage Report (112)",
1312
+ "PR" => "Purchase Order Acknowledgement (855)",
1313
+ "PS" => "Planning Schedule with Release Capability (830)",
1314
+ "PT" => "Product Transfer and Resale Report (867)",
1315
+ "PU" => "Motor Carrier Shipment Pick-up Notification (216)",
1316
+ "PV" => "Purchase Order Shipment Management Document (250)",
1317
+ "PY" => "Payment Cancellation Request (829)",
1318
+ "QG" => "Product Information (878, 879, 888, 889, 893, 896)",
1319
+ "QM" => "Transportation Carrier Shipment Status Message (214)",
1320
+ "QO" => "Ocean Shipment Status Information (313, 315)",
1321
+ "RA" => "Payment Order/Remittance Advice (820)",
1322
+ "RB" => "Railroad Clearance (470)",
1323
+ "RC" => "Receiving Advice/Acceptance Certificate (861)",
1324
+ "RD" => "Royalty Regulatory Report (185)",
1325
+ "RE" => "Warehouse Stock Receipt Advice (944)",
1326
+ "RH" => "Railroad Reciprocal Switch File (433)",
1327
+ "RI" => "Routing and Carrier Instruction (853)",
1328
+ "RJ" => "Railroad Mark Register Update Activity (434)",
1329
+ "RK" => "Standard Transportation Commodity Code Master (435)",
1330
+ "RL" => "Rail Industrial Switch List (423)",
1331
+ "RM" => "Railroad Station Master File (431)",
1332
+ "RN" => "Requisition Transaction (511)",
1333
+ "RO" => "Ocean Booking Information (300, 301,303)",
1334
+ "RP" => "Commission Sales Report (818)",
1335
+ "RQ" => "Request for Quotation (840) and Procurement Notices (836)",
1336
+ "RR" => "Response to Request For Quotation (843)",
1337
+ "RS" => "Order Status Information (869, 870)",
1338
+ "RT" => "Report of Test Results (863)",
1339
+ "RU" => "Railroad Retirement Activity (429)",
1340
+ "RV" => "Railroad Junctions and Interchanges Activity (437)",
1341
+ "RW" => "Rail Revenue Waybill (426)",
1342
+ "RX" => "Rail Deprescription (432)",
1343
+ "RY" => "Request for Student Educational Record (Transcript) (146)",
1344
+ "RZ" => "Response to Request for Student Educational Record (Transcript) (147)",
1345
+ "SA" => "Air Shipment Information (104)",
1346
+ "SB" => "Switch Rails (424)",
1347
+ "SC" => "Price/Sales Catalog (832)",
1348
+ "SD" => "Student Loan Pre-Claims and Claims (191)",
1349
+ "SE" => "Shipper's Export Declaration (601)",
1350
+ "SG" => "SG Receiving Advice - Grocery (885)",
1351
+ "SH" => "Ship Notice/Manifest (856)",
1352
+ "SI" => "Shipment Information (858)",
1353
+ "SJ" => "Transportation Automatic Equipment Identification (160)",
1354
+ "SL" => "Student Loan Application and Guarantee (135, 139)",
1355
+ "SM" => "Motor Carrier Load Tender (204)",
1356
+ "SN" => "Rail Route File Maintenance (475)",
1357
+ "SO" => "Ocean Shipment Information (304, 306, 309, 311, 317, 319, 321, 322, 323, 324, 325, 350, 352, 353, 354, 355, 356, 357, 358, 361)",
1358
+ "SP" => "Specifications/Technical Information (841)",
1359
+ "SQ" => "Production Sequence (866)",
1360
+ "SR" => "Rail Carrier Shipment Information (404, 419)",
1361
+ "SS" => "Shipping Schedule (862)",
1362
+ "ST" => "Railroad Service Commitment Advice (453)",
1363
+ "SU" => "Account Assignment/Inquiry and Service/Status (248)",
1364
+ "SV" => "Student Enrollment Verification (190)",
1365
+ "SW" => "Warehouse Shipping Advice (945)",
1366
+ "TA" => "Electronic Filing of Tax Return Data Acknowledgment (151)",
1367
+ "TC" => "Court Submission (176)",
1368
+ "TD" => "Trading Partner Profile (838)",
1369
+ "TF" => "Electronic Filing of Tax Return Data (813)",
1370
+ "TI" => "Tax Information Exchange (826)",
1371
+ "TM" => "Motor Carrier Delivery Trailer Manifest (212)",
1372
+ "TN" => "Tax Rate Notification (150)",
1373
+ "TO" => "Real Estate Title Services (197, 199, 265)",
1374
+ "TP" => "Rail Rate Transactions (460, 463, 466, 468, 485, 486, 490, 492, 494)",
1375
+ "TR" => "Train Sheet (161)",
1376
+ "TS" => "Transportation Services Tender (602)",
1377
+ "TT" => "Testing Results Request and Report (138)",
1378
+ "TX" => "Text Message (864)",
1379
+ "UA" => "Retail Account Characteristics (885)",
1380
+ "UB" => "Customer Call Reporting (886)",
1381
+ "UC" => "Uniform Commercial Code Filing (154)",
1382
+ "UD" => "Deduction Research Report (891)",
1383
+ "UI" => "Underwriting Information Services (255)",
1384
+ "UP" => "Motor Carrier Pick-up Manifest (215)",
1385
+ "UW" => "Insurance Underwriting Requirements Reporting (186)",
1386
+ "VA" => "Vehicle Application Advice (126)",
1387
+ "VB" => "Vehicle Baying Order (127)",
1388
+ "VC" => "Vehicle Shipping Order (120)",
1389
+ "VD" => "Vehicle Damage (124)",
1390
+ "VE" => "Vessel Content Details (109)",
1391
+ "VH" => "Vehicle Carrier Rate Update (129)",
1392
+ "VI" => "Voter Registration Information (280)",
1393
+ "VS" => "Vehicle Service (121)",
1394
+ "WA" => "Product Service Transaction Sets (140, 141, 142, 143)",
1395
+ "WB" => "Rail Carrier Waybill Interchange (417)",
1396
+ "WG" => "Vendor Performance Review (501)",
1397
+ "WI" => "Wage Determination (288)",
1398
+ "WL" => "Well Information (625)",
1399
+ "WR" => "Shipment Weights (440)",
1400
+ "WT" => "Rail Waybill Request (425)"))
1401
+ E455 = t::ID.new(:E455 , "Responsible Agency Code" , 1, 2,
1402
+ s::CodeList.build(
1403
+ "X" => "Accredited Standards Committee X12"))
1404
+ E480 = t::AN.new(:E480 , "Version / Release / Identifier Code" , 1, 12,
1405
+ s::CodeList.external("881"))
1406
+ E481 = t::ID.new(:E481 , "Trace Type Code" , 1, 2,
1407
+ s::CodeList.build(
1408
+ "1" => "Current Transaction Trace Numbers",
1409
+ "2" => "Referenced Transaction Trace Numbers",
1410
+ "3" => "@todo"))
1411
+ E499 = t::AN.new(:E499 , "Condition Value" , 1, 10)
1412
+ E506 = t::ID.new(:E506 , "DFI Identification Number Qualifier" , 2, 2,
1413
+ s::CodeList.build(
1414
+ "01" => s::CodeList.external("4"),
1415
+ "04" => s::CodeList.external("91")))
1416
+ E507 = t::AN.new(:E507 , "DFI Identification Number" , 3, 12,
1417
+ s::CodeList.external("60"))
1418
+ E508 = t::AN.new(:E508 , "Account Number" , 1, 35)
1419
+ E509 = t::AN.new(:E509 , "Originating Company Identifier" , 10,10)
1420
+ E510 = t::AN.new(:E510 , "Originating Company Supplemental Code", 9, 9)
1421
+ E522 = t::ID.new(:E522 , "Amount Qualifier Code" , 1, 3,
1422
+ s::CodeList.build(
1423
+ "93" => "Contribution",
1424
+ "A8" => "Noncovered Charges - Actual",
1425
+ "AU" => "Coverage Amount",
1426
+ "B6" => "Allowed Amount",
1427
+ "B9" => "Co-insurance - Actual",
1428
+ "C1" => "Co-Payment Amount",
1429
+ "D" => "Payor Amount Paid",
1430
+ "D2" => "Deductible Amount",
1431
+ "D8" => "Discount Amount",
1432
+ "DY" => "Per Day Limit",
1433
+ "EAF" => "Amount Owed",
1434
+ "EBA" => "Expected Expenditure Amount",
1435
+ "F3" => "Patient Responsibility - Estimated",
1436
+ "F4" => "Postage Claimed",
1437
+ "F5" => "Patient Amount Paid",
1438
+ "FK" => "Other Unlisted Amount",
1439
+ "GT" => "Goods and Services Tax",
1440
+ "I" => "Interest",
1441
+ "JN" => "Employer Contribution",
1442
+ "KH" => "Deduction Amount",
1443
+ "N8" => "Miscellaneous Taxes",
1444
+ "NL" => "Negative Ledger Balance",
1445
+ "P3" => "Premium Amount",
1446
+ "T3" => "Total Submitted Charges",
1447
+ "PB" => "Billed Amount",
1448
+ "R" => "Spend Down",
1449
+ "SCT" => "State Care Tax",
1450
+ "T" => "Tax",
1451
+ "T2" => "Total Claim Before Taxes",
1452
+ "YU" => "In Process",
1453
+ "YY" => "Returned",
1454
+ "ZK" => "Federal Medicare or Medicaid Payment Mandate Category 1",
1455
+ "ZL" => "Federal Medicare or Medicaid Payment Mandate Category 2",
1456
+ "ZM" => "Federal Medicare or Medicaid Payment Mandate Category 3",
1457
+ "ZN" => "Federal Medicare or Medicaid Payment Mandate Category 4",
1458
+ "ZO" => "Federal Medicare or Medicaid Payment Mandate Category 5"))
1459
+ E554 = t::Nn.new(:E554 , "Assigned Number" , 1, 6, 0)
1460
+ E559 = t::ID.new(:E559 , "Agency Qualifier Code" , 2, 2,
1461
+ s::CodeList.build(
1462
+ "LB" => s::CodeList.external("407")))
1463
+ E569 = t::ID.new(:E569 , "Account Number Qualifier" , 1, 3,
1464
+ s::CodeList.build(
1465
+ "DA" => "Demand Deposit",
1466
+ "SG" => "Savings"))
1467
+ E584 = t::ID.new(:E584 , "Employment Status Code" , 2, 2,
1468
+ s::CodeList.build(
1469
+ "AC" => "Active",
1470
+ "AE" => "@todo",
1471
+ "AO" => "Active Military - Overseas",
1472
+ "AU" => "Active Military - USA",
1473
+ "AS" => "@todo",
1474
+ "AT" => "@todo",
1475
+ "CC" => "@todo",
1476
+ "DD" => "@todo",
1477
+ "DI" => "Deceased",
1478
+ "HD" => "@todo",
1479
+ "IR" => "@todo",
1480
+ "FT" => "Full-time",
1481
+ "L1" => "Leave of Absence",
1482
+ "LX" => "@todo",
1483
+ "PE" => "@todo",
1484
+ "PT" => "Part-time",
1485
+ "PV" => "Previous",
1486
+ "RE" => "@todo",
1487
+ "RM" => "@todo",
1488
+ "RR" => "@todo",
1489
+ "RU" => "Retired Military - USA",
1490
+ "RT" => "Retired",
1491
+ "TE" => "Terminated"))
1492
+ E591 = t::ID.new(:E591 , "Payment Method Code" , 3, 3)
1493
+ E594 = t::ID.new(:E594 , "Frequency Code" , 1, 1,
1494
+ s::CodeList.build(
1495
+ "1" => "Weekly",
1496
+ "2" => "Biweekly",
1497
+ "3" => "Semimonthly",
1498
+ "4" => "Monthly",
1499
+ "6" => "Daily",
1500
+ "7" => "Annual",
1501
+ "8" => "Two Calendar Months",
1502
+ "9" => "Lump-Sum Separation Allowance",
1503
+ "B" => "Year-to-Date",
1504
+ "C" => "Single",
1505
+ "H" => "Hourly",
1506
+ "Q" => "Quarterly",
1507
+ "S" => "Semiannual",
1508
+ "U" => "Unknown"))
1509
+ E609 = t::Nn.new(:E609 , "Count" , 1, 9, 0)
1510
+ E615 = t::ID.new(:E615 , "Time Period Qualifier" , 1, 2,
1511
+ s::CodeList.build(
1512
+ "6" => "Hour",
1513
+ "7" => "Day",
1514
+ "13" => "24 Hours",
1515
+ "21" => "Years",
1516
+ "22" => "Service Year",
1517
+ "23" => "Calendar Year",
1518
+ "24" => "Year to Date",
1519
+ "25" => "Contract",
1520
+ "26" => "Episode",
1521
+ "27" => "Visit",
1522
+ "28" => "Outlier",
1523
+ "29" => "Remaining",
1524
+ "30" => "Exceeded",
1525
+ "31" => "Not Exceeded",
1526
+ "32" => "Lifetime",
1527
+ "33" => "Lifetime Remaining",
1528
+ "34" => "Month",
1529
+ "35" => "Week",
1530
+ "36" => "Admission"))
1531
+ E616 = t::Nn.new(:E616 , "Number of Periods" , 1, 3, 0)
1532
+ E618 = t::ID.new(:E618 , "Implementation Transaction Set Syntax Error Code", 1, 3,
1533
+ s::CodeList.build(
1534
+ "1" => "Transaction Set Not Supported",
1535
+ "2" => "Transaction Set Trailer Missing",
1536
+ "3" => "Transaction Set Control Number in Header and Trailer Do Not Match",
1537
+ "4" => "Number of Included Segments Does Not Match Actual Content",
1538
+ "5" => "One or More Segments in Error",
1539
+ "6" => "Missing or Invalid Transaction Set Identifier",
1540
+ "7" => "Missing or Invalid Transaction Set Control Number",
1541
+ "8" => "Authentication Key Name Unknown",
1542
+ "9" => "Encryption Key Name Unknown",
1543
+ "10" => "Requested Service (Authentication or Encrypted) Not Available",
1544
+ "11" => "Unknown Security Recipient",
1545
+ "12" => "Incorrect Message Length (Encryption Only)",
1546
+ "13" => "Message Authentication Code Failed",
1547
+ "15" => "Unknown Security Originator",
1548
+ "16" => "Syntax Error in Decrypted Text",
1549
+ "17" => "Security Not Supported",
1550
+ "18" => "Transaction Set not in Functional Group",
1551
+ "19" => "Invalid Transaction Set Implementation Convention Reference",
1552
+ "23" => "Transaction Set Control Number Not Unique within the Functional Group",
1553
+ "24" => "S3E Security End Segment Missing for S3S Security Start Segment",
1554
+ "25" => "S3S Security Start Segment Missing for S3E Security End Segment",
1555
+ "26" => "S4E Security End Segment Missing for S4S Security Start Segment",
1556
+ "27" => "S4S Security Start Segment Missing for S4E Security End Segment",
1557
+ "I5" => "Implementation One or More Segments In Error",
1558
+ "I6" => "Implementation Convention Not Supported"))
1559
+
1560
+ E620 = t::ID.new(:E620 , "Implementation Segment Syntax Error Code", 1, 3,
1561
+ s::CodeList.build(
1562
+ "1" => "Unrecognized segment ID",
1563
+ "2" => "Unexpected segment",
1564
+ "3" => "Required Segment Missing",
1565
+ "4" => "Loop Occurs Over Maximum Times",
1566
+ "5" => "Segment Exceeds Maximum Use",
1567
+ "6" => "Segment Not in Defined Transaction Set",
1568
+ "7" => "Segment Not in Proper Sequence",
1569
+ "8" => "Segment Has Data Element Errors",
1570
+ "I4" => "Implementation 'Not Used' Segment Present",
1571
+ "I6" => "Implementation Dependent Segment Missing",
1572
+ "I7" => "Implementation Loop Occurs Under Minimum Times",
1573
+ "I8" => "Implementation Segment Below Minimum Use",
1574
+ "I9" => "Implementation Dependent 'Not Used' Segment Present"))
1575
+ E621 = t::ID.new(:E621 , "Implementation Data Element Syntax Error Code", 1, 3,
1576
+ s::CodeList.build(
1577
+ "1" => "Required Data Element Missing",
1578
+ "2" => "Conditional Required Data Element Missing",
1579
+ "3" => "Too Many Data Elements",
1580
+ "4" => "Data Element Too Short",
1581
+ "5" => "Data Element Too Long",
1582
+ "6" => "Invalid Character In Data Element",
1583
+ "7" => "Invalid Code Value",
1584
+ "8" => "Invalid Date",
1585
+ "9" => "Invalid Time",
1586
+ "10" => "Exclusion Conditional Violated",
1587
+ "12" => "Too Many Repetitions",
1588
+ "13" => "Too Many Components",
1589
+ "I6" => "Code Value Not Used in Implementation",
1590
+ "I9" => "Implementation Dependent Data Element Missing",
1591
+ "I10" => "Implementation 'Not Used' Data Element Present",
1592
+ "I11" => "Implementation Too Few Repetitions",
1593
+ "I12" => "Implementation Pattern Match Failure",
1594
+ "I13" => "Implementation Dependent 'Not Used' Data Element Present"))
1595
+ E623 = t::ID.new(:E623 , "Time Code" , 2, 2,
1596
+ s::CodeList.build(
1597
+ "01" => "Equivalent to ISO P01",
1598
+ "02" => "Equivalent to ISO P02",
1599
+ "03" => "Equivalent to ISO P03",
1600
+ "04" => "Equivalent to ISO P04",
1601
+ "05" => "Equivalent to ISO P05",
1602
+ "06" => "Equivalent to ISO P06",
1603
+ "07" => "Equivalent to ISO P07",
1604
+ "08" => "Equivalent to ISO P08",
1605
+ "09" => "Equivalent to ISO P09",
1606
+ "10" => "Equivalent to ISO P10",
1607
+ "11" => "Equivalent to ISO P11",
1608
+ "12" => "Equivalent to ISO P12",
1609
+ "13" => "Equivalent to ISO M12",
1610
+ "14" => "Equivalent to ISO M11",
1611
+ "15" => "Equivalent to ISO M10",
1612
+ "16" => "Equivalent to ISO M09",
1613
+ "17" => "Equivalent to ISO M08",
1614
+ "18" => "Equivalent to ISO M07",
1615
+ "19" => "Equivalent to ISO M06",
1616
+ "20" => "Equivalent to ISO M05",
1617
+ "21" => "Equivalent to ISO M04",
1618
+ "22" => "Equivalent to ISO M03",
1619
+ "23" => "Equivalent to ISO M02",
1620
+ "24" => "Equivalent to ISO M01",
1621
+ "AD" => "Alaska Daylight Time",
1622
+ "AS" => "Alaska Standard Time",
1623
+ "AT" => "Alaska Time",
1624
+ "CD" => "Central Daylight Time",
1625
+ "CS" => "Central Standard Time",
1626
+ "CT" => "Central Time",
1627
+ "ED" => "Eastern Daylight Time",
1628
+ "ES" => "Eastern Standard Time",
1629
+ "ET" => "Eastern Time",
1630
+ "GM" => "Greenwich Mean Time",
1631
+ "HD" => "Hawaii-Aleutian Daylight Time",
1632
+ "HS" => "Hawaii-Aleutian Standard Time",
1633
+ "HT" => "Hawaii-Aleutian Time",
1634
+ "LT" => "Local Time",
1635
+ "MD" => "Mountain Daylight Time",
1636
+ "MS" => "Mountain Standard Time",
1637
+ "MT" => "Mountain Time",
1638
+ "ND" => "Newfoundland Daylight Time",
1639
+ "NS" => "Newfoundland Standard Time",
1640
+ "NT" => "Newfoundland Time",
1641
+ "PD" => "Pacific Daylight Time",
1642
+ "PS" => "Pacific Standard Time",
1643
+ "PT" => "Pacific Time",
1644
+ "TD" => "Atlantic Daylight Time",
1645
+ "TS" => "Atlantic Standard Time",
1646
+ "TT" => "Atlantic Time",
1647
+ "UT" => "Universal Time Coordinate"))
1648
+ E628 = t::AN.new(:E628 , "Hierachical ID Number" , 1, 12)
1649
+ E639 = t::ID.new(:E639 , "Basis of Unit Price Code" , 2, 2)
1650
+ E640 = t::ID.new(:E640 , "Transaction Type Code" , 2, 2,
1651
+ s::CodeList.build(
1652
+ "18" => "Response - No Further Updates to Follow",
1653
+ "19" => "Response - Further Updates to Follow",
1654
+ "31" => "Subrogation Demand",
1655
+ "CH" => "Chargeable",
1656
+ "DG" => "Response",
1657
+ "NO" => "Notice",
1658
+ "P5" => "Predetermination - Medical",
1659
+ "P6" => "Predetermination - Dental",
1660
+ "RD" => "Returns Detail",
1661
+ "RP" => "Reporting",
1662
+ "RQ" => "Request",
1663
+ "RS" => "Response - Additional Response(s) Available",
1664
+ "RT" => "Spend Down",
1665
+ "RU" => "Medical Services Reservation",
1666
+ "TH" => "Receipt Acknowledgement Advice",
1667
+ "ZW" => "Sort and Segregate Detail"))
1668
+ E648 = t::ID.new(:E648 , "Price Multiplier Qualifier" , 3, 3)
1669
+ E649 = t:: R.new(:E649 , "Multiplier" , 1, 10)
1670
+ E659 = t::ID.new(:E659 , "Basis of Verification Code" , 1, 2)
1671
+ E669 = t::ID.new(:E669 , "Currency Market/Exchnage Code" , 3, 3)
1672
+ E673 = t::ID.new(:E673 , "Quantity Qualifier" , 2, 2,
1673
+ s::CodeList.build(
1674
+ "8H" => "Minimum",
1675
+ "90" => "Acknowledged Quantity",
1676
+ "99" => "Quantity Used",
1677
+ "AA" => "Unacknowledged Quantity",
1678
+ "CA" => "Covered - Actual",
1679
+ "CD" => "Co-insured - Actual",
1680
+ "CE" => "Covered - Estimated",
1681
+ "D3" => "Number of Co-insurance Days",
1682
+ "DB" => "Deductible Blood Units",
1683
+ "DY" => "Days",
1684
+ "FA" => "Facility Identification",
1685
+ "FI" => "Federal Taxpayer's Identification Number",
1686
+ "DT" => "Dependent Total",
1687
+ "ET" => "Employee Total",
1688
+ "FL" => "Units",
1689
+ "HS" => "Hours",
1690
+ "II" => "Standard Unique Health Identifier For Each Individual In The United States",
1691
+ "LA" => "Life-time Reserve - Actual",
1692
+ "LE" => "Life-time Reserve - Estimated",
1693
+ "M2" => "Maximum",
1694
+ "MI" => "Member Identification Number",
1695
+ "MN" => "Month",
1696
+ "NE" => "Non-Covered Amount - Estimated",
1697
+ "NI" => "National Association of Insurance Commissioners (NAIC) Identification",
1698
+ "NR" => "Not Replaced Blood Units",
1699
+ "OU" => "Outlier Days",
1700
+ "P6" => "Number of Services or Procedures",
1701
+ "PI" => "Payor Identification",
1702
+ "PP" => "Pharmacy Processor Number",
1703
+ "PS" => "Prescription",
1704
+ "PT" => "Patients",
1705
+ "QA" => "Quantity Approved",
1706
+ "QC" => "Quantity Disapproved",
1707
+ "S7" => "Age, High Value",
1708
+ "S8" => "Age, Low Value",
1709
+ "SV" => "Service Provider Number",
1710
+ "TO" => "Total",
1711
+ "VS" => "Visits",
1712
+ "XV" => s::CodeList.external("540"),
1713
+ "XX" => s::CodeList.external("537"),
1714
+ "YY" => "Years",
1715
+ "ZK" => "Federal Medicare or Medicaid Payment Mandate Category 1",
1716
+ "ZL" => "Federal Medicare or Medicaid Payment Mandate Category 2",
1717
+ "ZM" => "Federal Medicare or Medicaid Payment Mandate Category 3",
1718
+ "ZN" => "Federal Medicare or Medicaid Payment Mandate Category 4",
1719
+ "ZO" => "Federal Medicare or Medicaid Payment Mandate Category 5"))
1720
+ E678 = t::ID.new(:E678 , "Ship/Delivery or Calendar Pattern Code", 1, 2,
1721
+ s::CodeList.build(
1722
+ "1" => "1st Week of the Month",
1723
+ "2" => "2nd Week of the Month",
1724
+ "3" => "3rd Week of the Month",
1725
+ "4" => "4th Week of the Month",
1726
+ "5" => "5th Week of the Month",
1727
+ "6" => "1st & 3rd Weeks of the Month",
1728
+ "7" => "2nd & 4th Weeks of the Month",
1729
+ "8" => "1st Working Day of Period",
1730
+ "9" => "Last Working Day of Period",
1731
+ "A" => "Monday through Friday",
1732
+ "B" => "Monday through Saturday",
1733
+ "C" => "Monday through Sunday",
1734
+ "D" => "Monday",
1735
+ "E" => "Tuesday",
1736
+ "F" => "Wednesday",
1737
+ "G" => "Thursday",
1738
+ "H" => "Friday",
1739
+ "J" => "Saturday",
1740
+ "K" => "Sunday",
1741
+ "L" => "Monday through Thursday",
1742
+ "M" => "Immediately",
1743
+ "N" => "As Directed",
1744
+ "O" => "Daily Mon. through Fri.",
1745
+ "P" => "1/2 Mon. & 1/2 Thurs.",
1746
+ "Q" => "1/2 Tues. & 1/2 Thurs.",
1747
+ "R" => "1/2 Wed. & 1/2 Fri.",
1748
+ "S" => "Once Anytime Mon. through Fri.",
1749
+ "SG" => "Tuesday through Friday",
1750
+ "SL" => "Monday, Tuesday and Thursday",
1751
+ "SP" => "MOnday, Tuesday and Friday",
1752
+ "SX" => "Wednesday and Thursday",
1753
+ "SY" => "Monday, Wednesday and Thursday",
1754
+ "SZ" => "Tuesday, Thursday and Friday",
1755
+ "SGT" => "uesday through Friday",
1756
+ "SLM" => "onday, Tuesday and Thursday",
1757
+ "SPM" => "onday, Tuesday and Friday",
1758
+ "SXW" => "ednesday and Thursday",
1759
+ "SYM" => "onday, Wednesday and Thursday",
1760
+ "SZT" => "uesday, Thursday and Friday",
1761
+ "T" => "1/2 Tue. & 1/2 Fri.",
1762
+ "U" => "1/2 Mon. & 1/2 Wed.",
1763
+ "V" => "1/3 Mon., 1/3 Wed., 1/3 Fri.",
1764
+ "W" => "Whenever Necessary",
1765
+ "X" => "1/2 By Wed., Bal. By Fri.",
1766
+ "Y" => "None (Also Used to Cancel or Override a Previous Pattern)"))
1767
+ E679 = t::ID.new(:E679 , "Ship/Delivery Pattern Time Code" , 1, 1,
1768
+ s::CodeList.build(
1769
+ "A" => "1st Shift (Normal Working Hours)",
1770
+ "B" => "2nd Shift",
1771
+ "C" => "3rd Shift",
1772
+ "D" => "A.M.",
1773
+ "E" => "P.M.",
1774
+ "F" => "As Directed",
1775
+ "G" => "Any Shift",
1776
+ "Y" => "None (Also Used to Cancel or Override a Previous Pattern)"))
1777
+ E687 = t::ID.new(:E687 , "Class of Trade Code" , 2, 2)
1778
+ E704 = t::ID.new(:E704 , "Paperwork/Report Action Code" , 1, 2)
1779
+
1780
+ # @note Copied from an unverified source
1781
+ E706 = t::ID.new(:E706 , "Entity Relation Code" , 2, 2)
1782
+ E715 = t::ID.new(:E715 , "Functional Group Acknowledgment Code" , 1, 1,
1783
+ s::CodeList.build(
1784
+ "A" => "Accepted",
1785
+ "E" => "Accepted, But Errors Were Noted",
1786
+ "M" => "Rejected, Message Authentication Code (MAC) Failed",
1787
+ "P" => "Partially Accepted, At Least One Transaction Set Was Rejected",
1788
+ "R" => "Rejected",
1789
+ "W" => "Rejected, Assurance Failed Validity Tests",
1790
+ "X" => "Rejected, Content After Decryption Could Not Be Analyzed"))
1791
+ E716 = t::ID.new(:E716 , "Functional Group Syntax Error Code" , 1, 3,
1792
+ s::CodeList.build(
1793
+ "1" => "Functional Group Not Supported",
1794
+ "2" => "Functional Group Version Not Supported",
1795
+ "3" => "Functional Group Trailer Missing",
1796
+ "4" => "Group Control Number in the Functional Group Header and Trailer Do Not Agree",
1797
+ "5" => "Number of Included Transaction Sets Does Not Match Actual Count",
1798
+ "6" => "Group Control Number Violates Syntax",
1799
+ "10" => "Authentication Key Name Unknown",
1800
+ "11" => "Encryption Key Name Unknown",
1801
+ "12" => "Requested Service (Authentication or Encryption) Not Available",
1802
+ "13" => "Unknown Security Recipient",
1803
+ "14" => "Unknown Security Originator",
1804
+ "15" => "Syntax Error in Decrypted Text",
1805
+ "16" => "Security Not Supported",
1806
+ "17" => "Incorrect Message Length (Encryption Only)",
1807
+ "18" => "Message Authentication Code Failed",
1808
+ "19" => "Functional Group Control Number not Unique within Interchange",
1809
+ "23" => "S3E Security End Segment Missing for S3S Security Start Segment",
1810
+ "24" => "S3S Security Start Segment Missing for S3E Security End Segment",
1811
+ "25" => "S4E Security End Segment Missing for S4S Security Start Segment",
1812
+ "26" => "S4S Security Start Segment Missing for S4E Security End Segment"))
1813
+ E717 = t::ID.new(:E717 , "Transaction Set Acknowledgment Code" , 1, 1,
1814
+ s::CodeList.build(
1815
+ "A" => "Accepted",
1816
+ "E" => "Accepted But Errors Were Reported",
1817
+ "M" => "Rejected, Message Authentication Code (MAC) Failed",
1818
+ "R" => "Rejected",
1819
+ "W" => "Rejected, Assurance Failed Validity Tests",
1820
+ "X" => "Rejected, Content After Decryption Could Not Be Analyzed"))
1821
+ E718 = t::ID.new(:E718 , "Transaction Set Syntax Error Code" , 1, 3)
1822
+ E719 = t::Nn.new(:E719 , "Segment Position in Transaction Set" , 1, 10, 0)
1823
+ E720 = t::ID.new(:E720 , "Segment Syntax Error Code" , 1, 3)
1824
+ E721 = t::ID.new(:E721 , "Segment ID Code" , 2, 3,
1825
+ s::CodeList.external("77"))
1826
+ E722 = t::Nn.new(:E722 , "Element Position in Segment" , 1, 2, 0)
1827
+ E723 = t::ID.new(:E723 , "Data Element Syntax Error Code" , 1, 3)
1828
+ E724 = t::AN.new(:E724 , "Copy of Bad Data Element" , 1, 99)
1829
+ E725 = t::Nn.new(:E725 , "Data Element Reference Number" , 1, 4, 0)
1830
+ E734 = t::AN.new(:E734 , "Hierarchical Parent ID Number" , 1, 12)
1831
+ E735 = t::ID.new(:E735 , "Hierarchical Level Code" , 1, 2,
1832
+ s::CodeList.build(
1833
+ "19" => "Provider of Service",
1834
+ "20" => "Information Source",
1835
+ "21" => "Information Receiver",
1836
+ "22" => "Subscriber",
1837
+ "23" => "Dependent",
1838
+ "EV" => "Event",
1839
+ "PT" => "Patient",
1840
+ "SS" => "Services"))
1841
+ E736 = t::ID.new(:E736 , "Hierarchical Child Code" , 1, 1,
1842
+ s::CodeList.build(
1843
+ "0" => "No Subordinate HL Segment in This Hierarchical Structure",
1844
+ "1" => "Additional Subordinate HL Data Segment in This Hierarchical Structure"))
1845
+ E737 = t::ID.new(:E737 , "Measurement Reference ID Code" , 2, 2,
1846
+ s::CodeList.build(
1847
+ "OG" => "Original",
1848
+ "TR" => "Test Results"))
1849
+ E738 = t::ID.new(:E738 , "Measurement Qualifier" , 2, 2,
1850
+ s::CodeList.build(
1851
+ "HT" => "Height",
1852
+ "R1" => "Hemoglobin",
1853
+ "R2" => "Hematocrit",
1854
+ "R3" => "Epoetin Starting Dosage",
1855
+ "R4" => "Creatinine"))
1856
+ E739 = t:: R.new(:E739 , "Measurement Value" , 1, 20)
1857
+ E740 = t:: R.new(:E740 , "Range Minimum" , 1, 20)
1858
+ E741 = t:: R.new(:E741 , "Range Maximum" , 1, 20)
1859
+ E752 = t::ID.new(:E752 , "Surface/Layer/Position Code" , 2, 2)
1860
+ E753 = t::ID.new(:E753 , "Measurement Method or Device" , 2, 4)
1861
+ E755 = t::ID.new(:E755 , "Report Type Code" , 2, 2,
1862
+ s::CodeList.build(
1863
+ "03" => "Report Justifying Treatment Beyond Utilization Guidelines",
1864
+ "04" => "Drugs Administered",
1865
+ "05" => "Treatment Diagnosis",
1866
+ "06" => "Initial Assesment",
1867
+ "07" => "Functional Goals",
1868
+ "08" => "Plan of Treatment",
1869
+ "09" => "Progress Report",
1870
+ "10" => "Continued Treatment",
1871
+ "11" => "Chemical Analysis",
1872
+ "13" => "Certified Test Report",
1873
+ "15" => "Justification for Admission",
1874
+ "21" => "Recovery Plan",
1875
+ "48" => "Social Security Benefit Letter",
1876
+ "55" => "Rental Agreement",
1877
+ "59" => "Benefit Letter",
1878
+ "77" => "Support Data for Verification",
1879
+ "A3" => "Allergies/Sensitivies Document",
1880
+ "A4" => "Autopsy Report",
1881
+ "AM" => "Ambulance Certification",
1882
+ "AS" => "Admission Summary",
1883
+ "B2" => "Prescription",
1884
+ "B3" => "Physician Order",
1885
+ "B4" => "Referral Form",
1886
+ "BR" => "Benchmark Testing Results",
1887
+ "BS" => "Baseline",
1888
+ "BT" => "Blanket Test Results",
1889
+ "CB" => "Chiropractic Justification",
1890
+ "CK" => "Conset Form(s)",
1891
+ "CT" => "Certification",
1892
+ "D2" => "Drug Profile Document",
1893
+ "DA" => "Dental Models",
1894
+ "DB" => "Durable Medical Equipment Prescription",
1895
+ "DG" => "Diagnostic Report",
1896
+ "DJ" => "Discharge Monitoring Report",
1897
+ "DS" => "Discharge Summary",
1898
+ "EB" => "Explanation of Benefits (Coordination of Benefits or Medicare Secondary Payer)",
1899
+ "FM" => "Family Medical History Document",
1900
+ "HC" => "Health Cerification",
1901
+ "HR" => "Health Clinic Records",
1902
+ "I5" => "Immunization Record",
1903
+ "IR" => "State School Immunization Records",
1904
+ "LA" => "Laboratory Results",
1905
+ "M1" => "Medical Record Attachment",
1906
+ "MT" => "Models",
1907
+ "NN" => "Nursing Notes",
1908
+ "OB" => "Operative Note",
1909
+ "OC" => "Oxygen Content Averaging Report",
1910
+ "OD" => "Orders and Treatments Document",
1911
+ "OE" => "Objective Physical Examination (including vital signs) Document",
1912
+ "OX" => "Oxygen Therapy Certification",
1913
+ "OZ" => "Support Data for Claim",
1914
+ "P4" => "Pathology Report",
1915
+ "P5" => "Patient Medical History Document",
1916
+ "P6" => "Periodontal Charts",
1917
+ "PE" => "Parenteral or Enteral Certification",
1918
+ "PN" => "Physical Therapy Notes",
1919
+ "PO" => "Prosthetics or Orthotic Certification",
1920
+ "PQ" => "Paramedical Results",
1921
+ "PY" => "Physician's Report",
1922
+ "PZ" => "Physical Therapy Certification",
1923
+ "RB" => "Radiology Films",
1924
+ "RR" => "Radiology Reports",
1925
+ "RT" => "Report of Tests and Analysis Report",
1926
+ "RX" => "Renewable Oxygen Content Averaging Report",
1927
+ "SG" => "Symptoms Document",
1928
+ "V5" => "Death Notification",
1929
+ "XP" => "Photographs"))
1930
+ E756 = t::ID.new(:E756 , "Report Transmission Code" , 1, 2,
1931
+ s::CodeList.build(
1932
+ "AA" => "Available on Request at Provider Site",
1933
+ "AB" => "Previously Submitted to Payer",
1934
+ "AD" => "Certification Included in this Claim",
1935
+ "AF" => "Narrative Segment Included in this Claim",
1936
+ "AG" => "No Documentation is Required",
1937
+ "BM" => "By Mail",
1938
+ "EL" => "Electronically Only",
1939
+ "EM" => "E-Mail",
1940
+ "FT" => "File Transfer",
1941
+ "FX" => "By Fax",
1942
+ "NS" => "Not Specified",
1943
+ "OL" => "On-Line",
1944
+ "VO" => "Voice"))
1945
+ E757 = t::Nn.new(:E757 , "Report Copies Needed" , 1, 2, 0)
1946
+ E782 = t:: R.new(:E782 , "Monetary Amount" , 1, 18)
1947
+ E786 = t::ID.new(:E786 , "Security Level Code" , 2, 2,
1948
+ s::CodeList.build(
1949
+ "00" => "Company Non-Classified",
1950
+ "01" => "Company Internal Use Only",
1951
+ "02" => "Company Confidential",
1952
+ "03" => "Company Confidential, Restricted (Need to Know)",
1953
+ "04" => "Company Registered (Signature Required)",
1954
+ "05" => "Personal",
1955
+ "06" => "Supplier Proprietary",
1956
+ "09" => "Company Defined (Trading Partner Level)",
1957
+ "11" => "Competition Sensitive",
1958
+ "20" => "Court Restricted",
1959
+ "21" => "Juvenile Record Restricted",
1960
+ "90" => "Government Non-Classified",
1961
+ "92" => "Government Confidential",
1962
+ "93" => "Government Secret",
1963
+ "94" => "Government Top Secret",
1964
+ "99" => "Government Defined (Trading Partner Level)",
1965
+ "ZZ" => "Mutually Defined"))
1966
+ E799 = t::AN.new(:E799 , "Version Identifier" , 1, 30)
1967
+ E812 = t::ID.new(:E812 , "Payment Format Code" , 3, 3,
1968
+ s::CodeList.build(
1969
+ "CCP" => "Cash Concentration/Disbursement plus Addenda (CCD+)(ACH)",
1970
+ "CTX" => "Corporate Trade Exchange (CTX) (ACH)"))
1971
+ E875 = t::ID.new(:E875 , "Maintenance Type Code" , 3, 3,
1972
+ s::CodeList.build(
1973
+ "001" => "Change",
1974
+ "002" => "Delete",
1975
+ "021" => "Addition",
1976
+ "024" => "Cancellation or Termination",
1977
+ "025" => "Reinstatement",
1978
+ "026" => "Correction",
1979
+ "030" => "Audit or Compare",
1980
+ "032" => "Employee Information Not Applicable"))
1981
+ E889 = t::ID.new(:E889 , "Follow-up Action Code" , 1, 1,
1982
+ s::CodeList.build(
1983
+ "C" => "Please Correct and Resubmit",
1984
+ "N" => "Resubmission Not Allowed",
1985
+ "P" => "Please Resubmit Original Transaction",
1986
+ "R" => "Resubmission Allowed",
1987
+ "S" => "Do Not Resubmit; Inquiry Initiated to a Third Party",
1988
+ "W" => "Please Wait 30 Days and Resubmit",
1989
+ "X" => "Please Wait 10 Days and Resubmit",
1990
+ "Y" => "Do Not Resubmit; We Will Hold Your Request and Respond Again Shortly"))
1991
+ E901 = t::ID.new(:E901 , "Reject Reason Code" , 2, 2,
1992
+ s::CodeList.build(
1993
+ "04" => "Authorization Quantity Exceeded",
1994
+ "15" => "Required Application Data Missing",
1995
+ "33" => "Input Errors",
1996
+ "35" => "Out of Network",
1997
+ "41" => "Authorization/Access Restrictions",
1998
+ "42" => "Unable to Respond at Current Time",
1999
+ "43" => "Invalid/Missing Provider Identification",
2000
+ "44" => "Invalid/Missing Provider Name",
2001
+ "45" => "Invalid/Missing Provider Specialty",
2002
+ "46" => "Invalid/Missing Provider Phone Number",
2003
+ "47" => "Invalid/Missing Provider State",
2004
+ "48" => "Invalid/Missing Referring Provider Identification Number",
2005
+ "49" => "Provider is Not Primary Care Physician",
2006
+ "50" => "Provider Ineligible for Inquiries",
2007
+ "51" => "Provider Not on File",
2008
+ "52" => "Service Dates Not Within Provider Plan Enrollment",
2009
+ "53" => "Inquired Benefit Inconsistent with Provider Type",
2010
+ "54" => "Inappropriate Product/Service ID Qualifier",
2011
+ "55" => "Inappropriate Product/Service ID",
2012
+ "56" => "Inappropriate Date",
2013
+ "57" => "Invalid/Missing Date(s) of Service",
2014
+ "58" => "Invalid/Missing Date-of-Birth",
2015
+ "60" => "Date of Birth Follows Date(s) of Service",
2016
+ "61" => "Date of Death Preceeds Date(s) of Service",
2017
+ "62" => "Date of Service Not Within Allowable Inquiry Period",
2018
+ "63" => "Date of Service in Future",
2019
+ "64" => "Invalid/Missing Patient ID",
2020
+ "65" => "Invalid/Missing Patient Name",
2021
+ "66" => "Invalid/Missing Patient Gender Code",
2022
+ "67" => "Patient Not Found",
2023
+ "68" => "Duplicate Patient ID Number",
2024
+ "69" => "Inconsistent with Patient's Age",
2025
+ "70" => "Inconsistent with Patient's Gender",
2026
+ "71" => "Patient Birth Date Does Not Match That for the Patient on the Database",
2027
+ "72" => "Invalid/Missing Subscriber/Insured ID",
2028
+ "73" => "Invalid/Missing Subscriber/Insured Name",
2029
+ "74" => "Invalid/Missing Subscriber/Insured Gender Code",
2030
+ "75" => "Subscribed/Insured Not Found",
2031
+ "76" => "Duplicate Subscriber/Insured ID Number",
2032
+ "77" => "Subscriber Found, Patient Not Found",
2033
+ "78" => "Subscriber/Insured Not in Group/Plan Identified",
2034
+ "79" => "Invalid Participant Identification",
2035
+ "80" => "No Response Received - Transaction Terminated",
2036
+ "95" => "Patient Not Eligible",
2037
+ "97" => "Invalid or Missing Provider Address",
2038
+ "98" => "Experimental Service or Procedure",
2039
+ "AA" => "Authorization Number Not Found",
2040
+ "AE" => "Requires Primary Care Physician Authorization",
2041
+ "AF" => "Invalid/Missing Diagnosis Code(s)",
2042
+ "AG" => "Invalid/Missing Procedure Code(s)",
2043
+ "AO" => "Additional Patient Condition Information Required",
2044
+ "CI" => "Certification Information Does Not Match Patient",
2045
+ "E8" => "Requires Medical Review",
2046
+ "IA" => "Invalid Authorization Number Format",
2047
+ "IP" => "Inappropriate Provider Role",
2048
+ "MA" => "Missing Authorization Number",
2049
+ "NC" => "No Certification Information Found",
2050
+ "T1" => "Cannot Identify Provider as TPO (Third Party Organization) Participant",
2051
+ "T2" => "Cannot Identify Payer as TPO (Third Party Organization) Participant",
2052
+ "T3" => "Cannot Identify Insured as TPO (Third Party Organization) Participant",
2053
+ "T4" => "Payer Name or Identifier Missing",
2054
+ "T5" => "Certification Information Missing",
2055
+ "T6" => "Claim does not contain enough information for re-pricing"))
2056
+ E923 = t::ID.new(:E923 , "Prognosis Code" , 1, 1,
2057
+ s::CodeList.build(
2058
+ "1" => "Poor",
2059
+ "2" => "Guarded",
2060
+ "3" => "Fair",
2061
+ "4" => "Good",
2062
+ "5" => "Very Good",
2063
+ "6" => "Excellent",
2064
+ "7" => "Less than 6 Months to Live",
2065
+ "8" => "Terminal"))
2066
+ E933 = t::AN.new(:E933 , "Free-form Message Text" , 1, 264)
2067
+ E934 = t::AN.new(:E934 , "Printer Carriage Control Code" , 2, 2)
2068
+ E935 = t::ID.new(:E935 , "Measurement Significance Code" , 2, 2)
2069
+ E936 = t::ID.new(:E936 , "Measurement Attribute Code" , 2, 2)
2070
+ E954 = t:: R.new(:E954 , "Percentage as Decimal" , 1, 10)
2071
+ E1005 = t::ID.new(:E1005, "Hierarchical Structure Code" , 4, 4,
2072
+ s::CodeList.build(
2073
+ "0007" => "Information Source, Information Receiver, Subscriber, Dependent, Event, Services",
2074
+ "0010" => "Information Source, Information Receiver, Provider of Service, Subscriber, Dependent",
2075
+ "0019" => "Information Source, Subscriber, Dependent",
2076
+ "0022" => "Information Source, Information Receiver, Subscriber, Dependent",
2077
+ "0085" => "Information Source, Information Receiver, Provider of Service, Patient"))
2078
+ E1018 = t:: R.new(:E1018, "Exponent" , 1, 15)
2079
+ E1028 = t::AN.new(:E1028, "Claim Submitter's Identifier" , 1, 38)
2080
+ E1029 = t::ID.new(:E1029, "Claim Status Code" , 1, 2,
2081
+ s::CodeList.build(
2082
+ "1" => "Processed as Primary",
2083
+ "2" => "Processed as Secondary",
2084
+ "3" => "Processed as Tertiary",
2085
+ "4" => "Denied",
2086
+ "19" => "Processed as Primary, Forwarded to Additional Payer(s)",
2087
+ "20" => "Processed as Secondary, Forwarded to Additional Payer(s)",
2088
+ "21" => "Processed as Tertiary, Forwarded to Additional Payer(s)",
2089
+ "22" => "Reversal of Previous Payment",
2090
+ "23" => "Not Our Claim, Forwarded to Additional Payer(s)",
2091
+ "25" => "Predetermination Pricing Only - No Payment"))
2092
+ E1032 = t::ID.new(:E1032, "Claim Filing Indicator Code" , 1, 2,
2093
+ s::CodeList.build(
2094
+ "11" => "Other Non-Federal Programs",
2095
+ "12" => "Preferred Provider Organization (PPO)",
2096
+ "13" => "Point of Service (POS)",
2097
+ "14" => "Exclusive Provider Organization (EPO)",
2098
+ "15" => "Indemnity Insurance",
2099
+ "16" => "Health Maintenance Organization (HMO) Medicare Risk",
2100
+ "17" => "Dentail Maintenance Organization",
2101
+ "AM" => "Automobile Medical",
2102
+ "BL" => "Blue Cross/Blue Shield",
2103
+ "CH" => "Champus",
2104
+ "CI" => "Commercial Insurance Co.",
2105
+ "DS" => "Disability",
2106
+ "FI" => "Federal Employees Program",
2107
+ "HM" => "Health Maintenance Organization",
2108
+ "LM" => "Liability Medical",
2109
+ "MA" => "Medicare Part A",
2110
+ "MB" => "Medicare Part B",
2111
+ "MC" => "Medicaid",
2112
+ "ME" => "Medicare Advantage Plan",
2113
+ "OF" => "Other Federal Program",
2114
+ "TV" => "Title V",
2115
+ "UK" => "Unknown",
2116
+ "VA" => "Veterans Affairs Plan",
2117
+ "WC" => "Worker's Compensation Health Claim",
2118
+ "ZZ" => "Mutually Defined"))
2119
+ E1033 = t::ID.new(:E1033, "Claim Adjustment Group Code" , 1, 12,
2120
+ s::CodeList.build(
2121
+ "CO" => "Contractual Obligations",
2122
+ "CR" => "Corrections and Reversals",
2123
+ "OA" => "Other adjustments",
2124
+ "PI" => "Payor Initiated Reductions",
2125
+ "PR" => "Patient Responsibility"))
2126
+ E1034 = t::ID.new(:E1034, "Claim Adjustment Reason Code" , 1, 5,
2127
+ s::CodeList.external("139"))
2128
+ E1035 = t::AN.new(:E1035, "Name Last or Organization Name" , 1, 60)
2129
+ E1036 = t::AN.new(:E1036, "Name First" , 1, 35)
2130
+ E1037 = t::AN.new(:E1037, "Name Middle" , 1, 25)
2131
+ E1038 = t::AN.new(:E1038, "Name Prefix" , 1, 10)
2132
+ E1039 = t::AN.new(:E1039, "Name Suffix" , 1, 10)
2133
+ E1048 = t::ID.new(:E1048, "Business Function Code" , 1, 3)
2134
+ E1065 = t::ID.new(:E1065, "Entity Type Qualifier" , 1, 1,
2135
+ s::CodeList.build(
2136
+ "1" => "Person",
2137
+ "2" => "Non-Person Entity"))
2138
+ E1066 = t::ID.new(:E1066, "Citizenship Status Code" , 1, 2)
2139
+ E1067 = t::ID.new(:E1067, "Marital Status Code" , 1, 1,
2140
+ s::CodeList.build(
2141
+ "A" => "Common Law",
2142
+ "B" => "Registered Domestic Partner",
2143
+ "C" => "Not Applicable",
2144
+ "D" => "Divorced",
2145
+ "I" => "Single",
2146
+ "K" => "Unknown",
2147
+ "M" => "Married",
2148
+ "R" => "Unreported",
2149
+ "S" => "Separated",
2150
+ "U" => "Unmarried (Single or Divorced or Widowed)",
2151
+ "W" => "Widowed",
2152
+ "X" => "Legally Separated"))
2153
+ E1068 = t::ID.new(:E1068, "Gender Code" , 1, 1,
2154
+ s::CodeList.build(
2155
+ "F" => "Female",
2156
+ "M" => "Male",
2157
+ "U" => "Unknown"))
2158
+ E1069 = t::ID.new(:E1069, "Individual Relationship Code" , 2, 2,
2159
+ s::CodeList.build(
2160
+ "01" => "Spouse",
2161
+ "03" => "Father or Mother",
2162
+ "04" => "Grandfather or Grandmother",
2163
+ "05" => "Grandson or Granddaughter",
2164
+ "06" => "Uncle or Aunt",
2165
+ "07" => "Nephew or Niece",
2166
+ "08" => "Cousin",
2167
+ "09" => "Adopted Child",
2168
+ "10" => "Foster Child",
2169
+ "11" => "Son-in-law or Daughter-in-law",
2170
+ "12" => "Brother-in-law or Sister-in-law",
2171
+ "13" => "Mother-in-law or Father-in-law",
2172
+ "14" => "Brother or Sister",
2173
+ "15" => "Ward",
2174
+ "16" => "Stepparent",
2175
+ "17" => "Stepson or Stepdaughter",
2176
+ "18" => "Self",
2177
+ "19" => "Child",
2178
+ "20" => "Employee",
2179
+ "21" => "Unknown",
2180
+ "22" => "Handicapped Dependent",
2181
+ "23" => "Sponsored Dependent",
2182
+ "24" => "Dependent of a Minor Dependent",
2183
+ "25" => "Ex-spouse",
2184
+ "26" => "Guardian",
2185
+ "29" => "Signficant Other",
2186
+ "31" => "Court Appointed Guardian",
2187
+ "32" => "Mother",
2188
+ "33" => "Father",
2189
+ "34" => "Other Adult",
2190
+ "38" => "Collateral Dependent",
2191
+ "39" => "Organ Donor",
2192
+ "40" => "Cadaver Donor",
2193
+ "41" => "Injured Plaintiff",
2194
+ "43" => "Child Where Insured Has No Financial Responsibility",
2195
+ "53" => "Life Partner",
2196
+ "60" => "Annuitant",
2197
+ "D2" => "Trustee",
2198
+ "G8" => "Other Relationship",
2199
+ "G9" => "Other Relative"))
2200
+ E1073 = t::ID.new(:E1073, "Yes/No Condition or Response Code" , 1, 1,
2201
+ s::CodeList.build(
2202
+ "N" => "No",
2203
+ "U" => "Unknown",
2204
+ "Y" => "Yes",
2205
+ "W" => "Not Applicable"))
2206
+ E1109 = t::ID.new(:E1109, "Race or Ethnicity Code" , 1, 1)
2207
+ E1136 = t::ID.new(:E1136, "Code Category" , 2, 2,
2208
+ s::CodeList.build(
2209
+ "07" => "Ambulance Certification",
2210
+ "09" => "Durable Medical Equipment Certification",
2211
+ "12" => "Medicare Secondary Working Aged Beneficiary or Spouse with Employer Group Health Plan",
2212
+ "13" => "Medicare Secondary End-Stage Renal Disease Beneficiary in Mandated Coordination Period with an Employer's Group Health Plan",
2213
+ "14" => "Medicare Secondary, No-fault Insurance including Auto is Primary",
2214
+ "15" => "Medicare Secondary Worker's Compensation",
2215
+ "16" => "Medicare Secondary Public Health Service (PHS) or Other Federal Agency",
2216
+ "41" => "Medicare Secondary Blank Lung",
2217
+ "42" => "Medicare Secondary Veteran's Administration",
2218
+ "43" => "Medicare Secondary Disabled Beneficiary Under Age 65 with Large Group Health Plan (LGHP)",
2219
+ "44" => "Nature of Injury",
2220
+ "47" => "Medicare Secondary, Other Liability Insurance is Primary",
2221
+ "70" => "Hospice",
2222
+ "75" => "Functional Limitations",
2223
+ "E1" => "Spectacle Lenses",
2224
+ "E2" => "Contact Lenses",
2225
+ "E3" => "Spectacle Frames",
2226
+ "ZZ" => "Mutually Defined"))
2227
+ E1137 = t::AN.new(:E1137, "Medical Code Value" , 1, 15)
2228
+ E1138 = t::ID.new(:E1138, "Payer Responsibility Sequence" , 1, 1,
2229
+ s::CodeList.build(
2230
+ "P" => "Primary",
2231
+ "S" => "Secondary",
2232
+ "T" => "Tertiary",
2233
+ "U" => "Unknown",
2234
+ "A" => "Payer Responsibility Four",
2235
+ "B" => "Payer Responsibility Five",
2236
+ "C" => "Payer Responsibility Six",
2237
+ "D" => "Payer Responsibility Seven",
2238
+ "E" => "Payer Responsibility Eight",
2239
+ "F" => "Payer Responsibility Nine",
2240
+ "G" => "Payer Responsibility Ten",
2241
+ "H" => "Payer Responsibility Eleven",
2242
+ "N" => "Unconfirmed"))
2243
+ E1143 = t::ID.new(:E1143, "Coordination of Benefits Code" , 1, 1,
2244
+ s::CodeList.build(
2245
+ "1" => "Coordination of Benefits",
2246
+ "5" => "Unknown",
2247
+ "6" => "No Coordination of Benefits"))
2248
+ E1146 = t::ID.new(:E1146, "Disability Type Code" , 1, 1,
2249
+ s::CodeList.build(
2250
+ "1" => "Short Term Disability",
2251
+ "2" => "Long Term Disability",
2252
+ "3" => "Permanent or Total Disability",
2253
+ "4" => "No Disability"))
2254
+ E1149 = t::ID.new(:E1149, "Occupation Code" , 4, 6)
2255
+ E1154 = t::ID.new(:E1154, "Work Intensity Code" , 1, 1)
2256
+ E1161 = t::ID.new(:E1161, "Product Option Code" , 1, 2)
2257
+ E1165 = t::ID.new(:E1165, "Confidentiality Code" , 1, 1,
2258
+ s::CodeList.build(
2259
+ "R" => "Restricted Access",
2260
+ "U" => "Unrestricted Access"))
2261
+ E1166 = t::ID.new(:E1166, "Contract Type Code" , 2, 2,
2262
+ s::CodeList.build(
2263
+ "01" => "Diagnosis Related Group (DRG)",
2264
+ "02" => "Per Diem",
2265
+ "03" => "Variable Per Diem",
2266
+ "04" => "Flat",
2267
+ "05" => "Captitated",
2268
+ "06" => "Percent",
2269
+ "09" => "Other"))
2270
+ E1167 = t:: R.new(:E1167, "Sample Selection Modulus" , 1, 6)
2271
+ E1176 = t::ID.new(:E1176, "Employment Class Code" , 2, 3,
2272
+ s::CodeList.build(
2273
+ "01" => "Union",
2274
+ "02" => "Non-Union",
2275
+ "03" => "Executive",
2276
+ "04" => "Non-Executive",
2277
+ "05" => "Management",
2278
+ "06" => "Non-Management",
2279
+ "07" => "Hourly",
2280
+ "08" => "Salaried",
2281
+ "09" => "Administrative",
2282
+ "10" => "Non-Administrative",
2283
+ "11" => "Exempt",
2284
+ "12" => "Non-Exempt",
2285
+ "17" => "Highly Compensated",
2286
+ "18" => "Key-Employee",
2287
+ "19" => "Bargaining",
2288
+ "20" => "Non-Bargaining",
2289
+ "21" => "Owner",
2290
+ "22" => "President",
2291
+ "23" => "Vice President"))
2292
+ E1201 = t::ID.new(:E1201, "Information Status Code" , 1, 1,
2293
+ s::CodeList.build(
2294
+ "A" => "Partial",
2295
+ "C" => "Current",
2296
+ "L" => "Latest",
2297
+ "O" => "Oldest",
2298
+ "P" => "Prior",
2299
+ "S" => "Second Most Current",
2300
+ "T" => "Third Most Current"))
2301
+
2302
+ E1203 = t::ID.new(:E1203, "Maintenance Reason Code" , 2, 3,
2303
+ s::CodeList.build(
2304
+ "01" => "Divorce",
2305
+ "02" => "Birth",
2306
+ "03" => "Death",
2307
+ "04" => "Retirement",
2308
+ "05" => "Adoption",
2309
+ "06" => "Strike",
2310
+ "07" => "Termination of Benefits",
2311
+ "08" => "Termination of Employment",
2312
+ "09" => "Consolidation Omnibus Budget Reconciliation Act (COBRA)",
2313
+ "10" => "Consolidation Omnibus Budget Reconciliation Act (COBRA) Premium Paid",
2314
+ "11" => "Surviving Spouse",
2315
+ "14" => "Voluntary Withdrawal",
2316
+ "15" => "Primary Care Provider (PCP) Change",
2317
+ "16" => "Quit",
2318
+ "17" => "Fired",
2319
+ "18" => "Suspended",
2320
+ "20" => "Active",
2321
+ "21" => "Disability",
2322
+ "22" => "Plan Change",
2323
+ "25" => "Change in Identifying Data Elements",
2324
+ "26" => "Declined Coverage",
2325
+ "27" => "Pre-Enrollment",
2326
+ "28" => "Initial Enrollment",
2327
+ "29" => "Benefit Selection",
2328
+ "31" => "Legal Separation",
2329
+ "32" => "Marriage",
2330
+ "33" => "Personnel Data",
2331
+ "37" => "Leave of Absence with Benefits",
2332
+ "38" => "Leave of Absence without Benefits",
2333
+ "39" => "Lay Off with Benefits",
2334
+ "40" => "Lay Off without Benefits",
2335
+ "41" => "Re-enrollment",
2336
+ "43" => "Change of Location",
2337
+ "46" => "Current Customer Information File in Error",
2338
+ "59" => "Non Payment",
2339
+ "AA" => "Dissatisfaction with Office Staff",
2340
+ "AB" => "Dissatisfaction with Medical Care/Services Rendered",
2341
+ "AC" => "Inconvenient Office Location",
2342
+ "AD" => "Dissatisfaction with Office Hours",
2343
+ "AE" => "Unable to Schedule Appointments in a Timely Manner",
2344
+ "AF" => "Dissatisfaction with Physician's Referral Policy",
2345
+ "AG" => "Less Respect and Attention Time Given than to Other Patients",
2346
+ "AH" => "Patient Moved to a New Location",
2347
+ "AI" => "No Reason Given",
2348
+ "AJ" => "Appointment Times not Met in a Timely Manner",
2349
+ "AL" => "Algorithm Assigned Benefit Selection",
2350
+ "EC" => "Member Benefit Selection",
2351
+ "XN" => "Notification Only",
2352
+ "XT" => "Transfer"))
2353
+ E1204 = t::AN.new(:E1204, "Plan Coverage Description" , 1, 50)
2354
+ E1205 = t::ID.new(:E1205, "Insurance Line Code" , 2, 3,
2355
+ s::CodeList.build(
2356
+ "AG" => "Preventative Care/Wellness",
2357
+ "AH" => "24 Hour Care",
2358
+ "AJ" => "Medicare Risk",
2359
+ "AK" => "Mental Health",
2360
+ "DCP" => "Dental Capitation",
2361
+ "DEN" => "Dental",
2362
+ "EPO" => "Exclusive Provider Organization",
2363
+ "FAC" => "Facility",
2364
+ "HE" => "Hearing",
2365
+ "HLT" => "Health",
2366
+ "HMO" => "Health Maintenance Organization",
2367
+ "LTC" => "Long-Term Care",
2368
+ "LTD" => "Long-Term Disability",
2369
+ "MM" => "Major Medical",
2370
+ "MOD" => "Mail Order Drug",
2371
+ "PDG" => "Prescription Drug",
2372
+ "POS" => "Point of Service",
2373
+ "PPO" => "Preferred Provider Organization",
2374
+ "PRA" => "Practitioners",
2375
+ "STD" => "Short-Term Disability",
2376
+ "UR" => "Utilization Review",
2377
+ "VIS" => "Vision"))
2378
+ E1207 = t::ID.new(:E1207, "Coverage Level Code" , 3, 3,
2379
+ s::CodeList.build(
2380
+ "CHD" => "Children Only",
2381
+ "DEP" => "Dependents Only",
2382
+ "E1D" => "Employee and One Dependent",
2383
+ "E2D" => "Employee and Two Dependents",
2384
+ "E3D" => "Employee and Three Dependents",
2385
+ "E5D" => "Employee and One or More Dependents",
2386
+ "E6D" => "Employee and Two or More Dependents",
2387
+ "E7D" => "Employee and Three or More Dependents",
2388
+ "E8D" => "Employee and Four or More Dependents",
2389
+ "E9D" => "Employee and Five or More Dependents",
2390
+ "ECH" => "Employee and Children",
2391
+ "EMP" => "Employee Only",
2392
+ "ESP" => "Employee and Spouse",
2393
+ "FAM" => "Family",
2394
+ "IND" => "Individual",
2395
+ "SPC" => "Spouse and Children",
2396
+ "SPO" => "Spouse Only",
2397
+ "TWO" => "Two Party"))
2398
+ E1209 = t::ID.new(:E1209, "Underwriting Decision Code" , 1, 1)
2399
+ E1211 = t::ID.new(:E1211, "Drug House Code" , 2, 3)
2400
+ E1212 = t::ID.new(:E1212, "Health-Related Code" , 1, 1,
2401
+ s::CodeList.build(
2402
+ "N" => "None",
2403
+ "S" => "Substance Abuse",
2404
+ "T" => "Tobacco Use",
2405
+ "U" => "Unknown",
2406
+ "X" => "Tobacco Use and Substance Abuse"))
2407
+ E1213 = t::ID.new(:E1213, "Current Health Condition Code" , 1, 1)
2408
+ E1214 = t::AN.new(:E1214, "Salary Grade" , 1, 5)
2409
+ E1215 = t::ID.new(:E1215, "Identification Card Type Code" , 1, 1,
2410
+ s::CodeList.build(
2411
+ "D" => "Dental Insurance",
2412
+ "H" => "Health Insurance",
2413
+ "P" => "Prescription Drug Service Drug Insurance"))
2414
+ E1216 = t::ID.new(:E1216, "Benefit Status Code" , 1, 1,
2415
+ s::CodeList.build(
2416
+ "A" => "Active",
2417
+ "C" => "Consolidated Omnibus Budget Reconciliation Act (COBRA)",
2418
+ "S" => "Surviving Insured",
2419
+ "T" => "Tax Equity and Fiscal Responsibility Act (TEFRA)"))
2420
+ E1218 = t::ID.new(:E1218, "Benefit Status Code" , 1, 1,
2421
+ s::CodeList.build(
2422
+ "A" => "Medicare Part A",
2423
+ "B" => "Medicare Part B",
2424
+ "C" => "Medicare Part A and B",
2425
+ "D" => "Medicare",
2426
+ "E" => "No Medicare",
2427
+ "F" => "Medicare Part D",
2428
+ "G" => "Medicare Part A and D",
2429
+ "H" => "Medicare Part B and D",
2430
+ "I" => "Medicare Part A, B, and D"))
2431
+ E1219 = t::ID.new(:E1219, "Consolidated Omnibus Budget Reconciliation Act (COBRA) Qualifying", 1, 2,
2432
+ s::CodeList.build(
2433
+ "1" => "Termination of Employment",
2434
+ "2" => "Reduction of work hours",
2435
+ "3" => "Medicare",
2436
+ "4" => "Death",
2437
+ "5" => "Divorce",
2438
+ "6" => "Separation",
2439
+ "7" => "Ineligible Child",
2440
+ "8" => "Bankruptcy of Retiree's Former Employer (26 U.S.C. 4980B(f)(3)(F))",
2441
+ "9" => "Layoff",
2442
+ "10" => "Leave of Absence",
2443
+ "ZZ" => "Mutually Defined"))
2444
+ E1220 = t::ID.new(:E1220, "Student Status Code" , 1, 1,
2445
+ s::CodeList.build(
2446
+ "F" => "Full-time",
2447
+ "N" => "Not a Student",
2448
+ "P" => "Part-time"))
2449
+ E1221 = t::ID.new(:E1221, "Provider Code" , 1, 3,
2450
+ s::CodeList.build(
2451
+ "AD" => "Admitting",
2452
+ "AS" => "Assistant Surgeon",
2453
+ "AT" => "Attending",
2454
+ "BI" => "Billing",
2455
+ "CO" => "Consulting",
2456
+ "CV" => "Covering",
2457
+ "H" => "Hospital",
2458
+ "HH" => "Home Health Care",
2459
+ "LA" => "Laboratory",
2460
+ "OP" => "Operating",
2461
+ "OR" => "Ordering",
2462
+ "OT" => "Other Physician",
2463
+ "P1" => "Pharmacist",
2464
+ "P2" => "Pharmacy",
2465
+ "PC" => "Primary Care Physician",
2466
+ "PE" => "Performing",
2467
+ "R" => "Rural Health Clinic",
2468
+ "RF" => "Referring",
2469
+ "SB" => "Submitting",
2470
+ "SK" => "Skilled Nursing Facility",
2471
+ "SU" => "Supervising"))
2472
+ E1222 = t::AN.new(:E1222, "Provider Specialty Code" , 1, 3)
2473
+
2474
+ # @note Copied from an unverified source
2475
+ E1223 = t::ID.new(:E1223, "Provider Organization Code" , 3, 3)
2476
+ E1250 = t::ID.new(:E1250, "Date Time Period Format Qualifier" , 2, 3,
2477
+ s::CodeList.build(
2478
+ "CC" => "First Two Digits of Year Expressed in Format CCYY",
2479
+ "CD" => "Month and Year Expressed in Format MMMYYY",
2480
+ "CM" => "Date in Format CCYYMM",
2481
+ "CQ" => "Date in Format CCYYQ",
2482
+ "CY" => "Year Expressed in Format CCYY",
2483
+ "D6" => "Date Expressed in Format YYMMDD",
2484
+ "D8" => "Date Expressed in Format CCYYMMDD",
2485
+ "DA" => "Range of Dates within a Single Month Expressed in Format DD-DD",
2486
+ "DB" => "Date Expressed in Format MMDDCCYY",
2487
+ "DD" => "Day of Month in Numeric Format",
2488
+ "DDT" => "Range of Dates and Time Expressed in Format CCYYMMDD-CCYYMMDDHHMM",
2489
+ "DT" => "Date and Time Expressed in Format CCYYMMDDHHMM",
2490
+ "DTD" => "Range of Dates and Time Expressed in Format CCYYMMDDHHMM-CCYYMMDD",
2491
+ "DTS" => "Range of Date and Time Expressed in Format CCYYMMDDHHMMSS-CCYYMMDDHHMMSS",
2492
+ "EH" => "Last Digit of Year and Julian Date Expressed in Format YDDD",
2493
+ "KA" => "Date Expressed in Format YYMMMDD",
2494
+ "MD" => "Month of Year and Day of Month Expressed in Format MMDD",
2495
+ "MM" => "Month of Year in Numeric Format",
2496
+ "RD" => "Range of Dates Expressed in Format MMDDCCYY-MMDDCCYY",
2497
+ "RD2" => "Range of Years Expressed in Format YY-YY",
2498
+ "RD4" => "Range of Years Expressed in Format CCYY-CCYY",
2499
+ "RD5" => "Range of Years and Months Expressed in Format CCYYMM-CCYYMM",
2500
+ "RD6" => "Range of Dates Expressed in Format YYMMDD-YYMMDD",
2501
+ "RD8" => "Range of Dates Expressed in Format CCYYMMDD-CCYYMMDD",
2502
+ "RDM" => "Range of Dates Expressed in Format YYMMDD-MMDD",
2503
+ "RDT" => "Range of Date and Time Expressed in Format CCYYMMDDHHMM-CCYYMMDDHHMM",
2504
+ "RMD" => "Range of Months and Days Expressed in Format MMDD-MMDD",
2505
+ "RMY" => "Range of Years and Months Expressed in Format YYMM-YYMM",
2506
+ "RTM" => "Range of Time Expressed in Format HHMM-HHMM",
2507
+ "RTS" => "Date and Time Expressed in Format CCYYMMDDHHMMSS",
2508
+ "TC" => "Julian Date Expressed in Format DDD",
2509
+ "TM" => "Time Expressed in Format HHMM",
2510
+ "TQ" => "Date Expressed in Format MMYY",
2511
+ "TR" => "Date and Time Expressed in Format DDMMYYHHMM",
2512
+ "TS" => "Time Expressed in Format HHMMSS",
2513
+ "TT" => "Date Expressed in Format MMDDYY",
2514
+ "TU" => "Date EXpressed in Format YYDDD",
2515
+ "UN" => "Unstructured",
2516
+ "YM" => "Year and Month Expressed in Format YYMM",
2517
+ "YMM" => "Range of Year and Month Expressed in Format CCYYMM-MMM",
2518
+ "YY" => "Last Two Digits of Year Expressed in Format CCYY"))
2519
+ E1251 = t::AN.new(:E1251, "Date Time Period" , 1, 35)
2520
+ E1270 = t::ID.new(:E1270, "Code List Qualifier Code" , 1, 3,
2521
+ s::CodeList.build(
2522
+ "65" => s::CodeList.external("508"),
2523
+ "68" => s::CodeList.external("682"),
2524
+ "AAA" => s::CodeList.external("662"),
2525
+ "AAU" => s::CodeList.external("131"),
2526
+ "AAW" => s::CodeList.external("133"),
2527
+ "AAX" => s::CodeList.external("131"),
2528
+ "AAY" => s::CodeList.external("135"),
2529
+ "ABF" => s::CodeList.external("897"),
2530
+ "ABJ" => s::CodeList.external("897"),
2531
+ "ABK" => s::CodeList.external("897"),
2532
+ "ABN" => s::CodeList.external("897"),
2533
+ "ABU" => s::CodeList.external("897"),
2534
+ "ABV" => s::CodeList.external("897"),
2535
+ "ADD" => s::CodeList.external("897"),
2536
+ "APR" => s::CodeList.external("897"),
2537
+ "AS" => s::CodeList.external("656"),
2538
+ "ASD" => s::CodeList.external("897"),
2539
+ "ATD" => s::CodeList.external("897"),
2540
+ "CAH" => s::CodeList.external("843"),
2541
+ "BBQ" => s::CodeList.external("896"),
2542
+ "BBR" => s::CodeList.external("896"),
2543
+ "BE" => s::CodeList.external("132"),
2544
+ "BF" => s::CodeList.external("131"),
2545
+ "BG" => s::CodeList.external("132"),
2546
+ "BH" => s::CodeList.external("132"),
2547
+ "BI" => s::CodeList.external("132"),
2548
+ "BK" => s::CodeList.external("131"),
2549
+ "BJ" => s::CodeList.external("131"),
2550
+ "BN" => s::CodeList.external("131"),
2551
+ "BO" => s::CodeList.external("130"),
2552
+ "BP" => s::CodeList.external("130"),
2553
+ "BQ" => s::CodeList.external("131"),
2554
+ "BR" => s::CodeList.external("131"),
2555
+ "BT" => s::CodeList.external("407"),
2556
+ "BU" => s::CodeList.external("407"),
2557
+ "BUR" => s::CodeList.external("971"),
2558
+ "BS" => s::CodeList.external("133"),
2559
+ "DD" => s::CodeList.external("131"),
2560
+ "DR" => s::CodeList.external("229"),
2561
+ "EK" => s::CodeList.external("407"),
2562
+ "GR" => s::CodeList.external("284"),
2563
+ "GS" => s::CodeList.external("407"),
2564
+ "GU" => s::CodeList.external("407"),
2565
+ "GW" => s::CodeList.external("407"),
2566
+ "HE" => s::CodeList.external("411"),
2567
+ "HI" => s::CodeList.external("121"),
2568
+ "HO" => s::CodeList.external("537"),
2569
+ "JO" => s::CodeList.external("135"),
2570
+ "JP" => s::CodeList.external("135"),
2571
+ "LOI" => s::CodeList.external("663"),
2572
+ "NI" => s::CodeList.external("284"), # or s::CodeList.external("407")
2573
+ "NUB" => s::CodeList.external("132"),
2574
+ "NDC" => s::CodeList.external("240"),
2575
+ "PR" => s::CodeList.external("131"),
2576
+ "PB" => s::CodeList.external("407"),
2577
+ "REC" => s::CodeList.external("860"),
2578
+ "RET" => s::CodeList.external("859"),
2579
+ "RM" => s::CodeList.external("973"),
2580
+ "RX" => s::CodeList.external("530"),
2581
+ "S" => s::CodeList.external("327"),
2582
+ "SD" => s::CodeList.external("131"),
2583
+ "SJ" => s::CodeList.external("407"),
2584
+ "SL" => s::CodeList.external("407"),
2585
+ "TC" => s::CodeList.external("359"),
2586
+ "TD" => s::CodeList.external("131"),
2587
+ "TQ" => s::CodeList.external("135"),
2588
+ "UT" => s::CodeList.external("528"),
2589
+ "ZZ" => "Mutually Defined"))
2590
+ E1271 = t::AN.new(:E1271, "Industry Code" , 1, 30,
2591
+ s::CodeList.external("508"))
2592
+ E1330 = t::ID.new(:E1330, "Dosage Form Code" , 2, 3,
2593
+ s::CodeList.build(
2594
+ "10" => "Tablet",
2595
+ "20" => "Capsule",
2596
+ "30" => "Lozenge or Troche",
2597
+ "31" => "Internal Powder",
2598
+ "43" => "Injectable Lyophilized Powder",
2599
+ "60" => "Elixir",
2600
+ "61" => "Suspension",
2601
+ "62" => "Syrup",
2602
+ "63" => "Solution",
2603
+ "64" => "Emulsion",
2604
+ "67" => "Liquid",
2605
+ "69" => "Rectal Cream or Ointment",
2606
+ "70" => "Rectal Suppository",
2607
+ "71" => "Vaginal Suppository",
2608
+ "73" => "Vaginal Cream",
2609
+ "75" => "Urethral Suppository",
2610
+ "76" => "Enema",
2611
+ "78" => "Vaginal Ointment",
2612
+ "80" => "External Ointment",
2613
+ "81" => "External Cream",
2614
+ "86" => "External Powder"))
2615
+ E1303 = t::ID.new(:E1303, "Use of Language Indicator" , 1, 2,
2616
+ s::CodeList.build(
2617
+ "5" => "Language Reading",
2618
+ "6" => "Language Writing",
2619
+ "7" => "Language Speaking",
2620
+ "8" => "Native Language"))
2621
+ E1314 = t::ID.new(:E1314, "Admission Source Code" , 1, 1,
2622
+ s::CodeList.external("230"))
2623
+ E1315 = t::ID.new(:E1315, "Admission Type Code" , 1, 1,
2624
+ s::CodeList.external("231"))
2625
+ E1316 = t::ID.new(:E1316, "Ambulance Transport Code" , 1, 1,
2626
+ s::CodeList.build(
2627
+ "I" => "Initial Trip",
2628
+ "R" => "Return Trip",
2629
+ "T" => "Transfer Trip",
2630
+ "X" => "Round Trip"))
2631
+ E1317 = t::ID.new(:E1317, "Ambulance Transport Reason Code" , 1, 1,
2632
+ s::CodeList.build(
2633
+ "A" => "Patient was transported to nearest facility for care of symptoms, complaints, or both",
2634
+ "B" => "Patient was transported for the benefit of a preferred physician",
2635
+ "C" => "Patient was transported for the nearness of family members",
2636
+ "D" => "Patient was transported for the care of a specialist or for availability of specialized equipment",
2637
+ "E" => "Patient Transferred to Rehabilitation Facility"))
2638
+ E1321 = t::ID.new(:E1321, "Condition Indicator" , 2, 3,
2639
+ s::CodeList.build(
2640
+ "00" => "Patient was transported in an emergency situation",
2641
+ "01" => "Patient was admitted to a hospital",
2642
+ "02" => "Patient was bed confined before the ambulance service",
2643
+ "03" => "Patient was bed confined after the ambulance service",
2644
+ "04" => "Patient was moved by stretcher",
2645
+ "05" => "Patient was unconscious or in shock",
2646
+ "06" => "Patient was transported in an emergency situation",
2647
+ "07" => "Patient had to be physically restrained",
2648
+ "08" => "Patient had visible hemorrhaging",
2649
+ "09" => "Ambulance service was medically necessary",
2650
+ "10" => "Patient is ambulatory",
2651
+ "11" => "Ambulation is Impaired and Walking Aid is Used for Therapy or Mobility",
2652
+ "12" => "Patient is confined to a bed or chair",
2653
+ "14" => "Ambulation is Impaired and Walking Aid is Used for Mobility",
2654
+ "15" => "Patient Condition Requires Positioning of the Body or Attachments Which Would Not be Feasible With the Use of an Ordinary Bed",
2655
+ "16" => "Patient needs a trapeze bar to sit up due to respiratory condition or change body positions for other medical reasons",
2656
+ "17" => "Patient's Ability to Breathe is Severely Impaired",
2657
+ "18" => "Patient condition requires frequent and/or immediate changes in body positions",
2658
+ "19" => "Patient can operate controls",
2659
+ "20" => "Siderails Are to be Attached to a Hospital Bed Owned by the Beneficiary",
2660
+ "21" => "Patient owns equipment",
2661
+ "22" => "Mattress or Siderails are Being Used with Prescribed Medically Necessary Hospital Bed Owned by the Beneficiary",
2662
+ "23" => "Patient Needs Lift to Get In or Out of Bed or to Assist in Transfer from Bed to Wheelchair",
2663
+ "24" => "Patient has an orthopedic impairment requiring traction equipment which prevents ambulation during period of use",
2664
+ "25" => "Item has been prescribed as part of a planned regimen of treatment in patient home",
2665
+ "27" => "Patient or a care-giver has been instructed in use of equipment",
2666
+ "29" => "A 6-7 hour nocturnal study documents 30 episodes of apnea each lasting more than 10 seconds",
2667
+ "30" => "Without the equipment, the patient would require surgery",
2668
+ "31" => "Patient has had a total knee replacement",
2669
+ "32" => "Patient has intractable lymphedema of the extremities",
2670
+ "33" => "Patient is in a nursing home",
2671
+ "35" => "This Feeding is the Only Form of Nutritional Intake for This Patient",
2672
+ "37" => "Oxygen delivery equipment is stationary",
2673
+ "38" => "Certification signed by the physician is on file at the supplier's office",
2674
+ "39" => "Patient Has Mobilizing Respiratory Tract Secretions",
2675
+ "40" => "Patient or Caregiver is Capable of Using the Equipment Without Technical or Professional Supervision",
2676
+ "41" => "Patient or Caregiver is Unable to Propel or Lift a Standard Weight Wheelchair",
2677
+ "42" => "Patient Requires Leg Elevation for Edema or Body Alignment",
2678
+ "43" => "Patient Weight or Usage Needs Necessitate a Heavy Duty Wheelchair",
2679
+ "44" => "Patient Requires Reclining Function of a Wheelchair",
2680
+ "45" => "Patient is Unable to Operate a Wheelchair Manually",
2681
+ "46" => "Patient or Caregiver Requires Side Transfer into Wheelchair, Commode or Other",
2682
+ "58" => "Durable Medical Equipment (DME) Purchased New",
2683
+ "59" => "Durable Medical Equipment (DME) Is Under Warranty",
2684
+ "5A" => "Treatment is rendered related to the terminal illness",
2685
+ "5P" => "Replacement",
2686
+ "60" => "Transportation Was To the Nearest Facility",
2687
+ "65" => "Open",
2688
+ "68" => "Severe",
2689
+ "69" => "Moderate",
2690
+ "9D" => "Lack of Appropriate Facility within Reasonable Distance to Treat Patient in the Event of Complications",
2691
+ "9E" => "Sudden Onset of Disorientation",
2692
+ "9F" => "Sudden Onset of Severe, Incapacitating Pain",
2693
+ "9H" => "Patient Requires Intensive IV Therapy",
2694
+ "9J" => "Patient Requires Protective Isolation",
2695
+ "9K" => "Patient Requires Frequent Monitoring",
2696
+ "AA" => "Amputation",
2697
+ "AL" => "Ambulation Limitations",
2698
+ "ATR" => "Atrophy",
2699
+ "AV" => "Available - Not Used",
2700
+ "BL" => "Bowel Limitations, Bladder Limitations, or both (Incontinence)",
2701
+ "BPD" => "Beneficiary is Partially Dependent",
2702
+ "BTD" => "Beneficiary is Totally Dependent",
2703
+ "BR" => "Bedrest BRP (Bathroom Privileges)",
2704
+ "CA" => "Cane Required",
2705
+ "CB" => "Complete Bedrest",
2706
+ "CM" => "Comatose",
2707
+ "CNJ" => "Cumulative Injury",
2708
+ "CO" => "Contracture",
2709
+ "CR" => "Crutches Required",
2710
+ "DX" => "Unable to Respond",
2711
+ "DY" => "Dyspnea with Minimal Exertion",
2712
+ "EL" => "Endurance Limitations",
2713
+ "EP" => "Exercises Prescribed",
2714
+ "F3" => "Inactive",
2715
+ "HL" => "Hearing Limitations",
2716
+ "IH" => "Independent at Home",
2717
+ "L1" => "General Standard of 20 Degree or .5 Diopter Sphere or Cylinder Change Met",
2718
+ "L2" => "Replacement Due to Loss or Theft",
2719
+ "L3" => "Replacement Due to Breakage or Damage",
2720
+ "L4" => "Replacement Due to Patient Preference",
2721
+ "L5" => "Replacement Due to Medical Reason",
2722
+ "LB" => "Legally Blind",
2723
+ "LE" => "Lethargic",
2724
+ "NU" => "Not Used",
2725
+ "NR" => "No Restrictions",
2726
+ "OL" => "Other Limitation",
2727
+ "PA" => "Paralysis",
2728
+ "PAR" => "Paraplegia",
2729
+ "PW" => "Partial Weight Bearing",
2730
+ "S2" => "Under Treatment",
2731
+ "S9" => "Atypical Functional Condition",
2732
+ "SL" => "Speech Limitations",
2733
+ "ST" => "New Services Requested",
2734
+ "TNJ" =>"Traumatic Injury",
2735
+ "TR" => "Transfer to Bed, or Chair, or Both",
2736
+ "UT" => "Up as Tolerated",
2737
+ "WA" => "Walker Required",
2738
+ "WR" => "Wheelchair Required",
2739
+ "ZV" => "Replacement Item"))
2740
+ E1322 = t::ID.new(:E1322, "Certification Type Code" , 1, 1,
2741
+ s::CodeList.build(
2742
+ "1" => "Appeal - Immediate",
2743
+ "2" => "Appeal - Standard",
2744
+ "3" => "Cancel",
2745
+ "4" => "Extension",
2746
+ "I" => "Initial",
2747
+ "N" => "Reconsideration",
2748
+ "R" => "Renewal",
2749
+ "S" => "Revised"))
2750
+ E1325 = t::ID.new(:E1325, "Claim Frequency Type Code" , 1, 1,
2751
+ s::CodeList.external("235"))
2752
+ E1327 = t::ID.new(:E1327, "Copay Status Code" , 1, 1,
2753
+ s::CodeList.build(
2754
+ "0" => "Copay exempt"))
2755
+ E1328 = t::Nn.new(:E1328, "Diagnosis Code Pointer" , 1, 2, 0)
2756
+ E1331 = t::AN.new(:E1331, "Facility Code Value" , 1, 2)
2757
+ # S237
2758
+ E1332 = t::ID.new(:E1332, "Facility Code Qualifier" , 1, 2,
2759
+ s::CodeList.build(
2760
+ "A" => s::CodeList.external("236"),
2761
+ "B" => s::CodeList.external("237")))
2762
+ E1333 = t::ID.new(:E1333, "Record Format Code" , 1, 2)
2763
+ E1334 = t::ID.new(:E1334, "Professional Shortage Area Code" , 1, 1)
2764
+ E1335 = t::ID.new(:E1335, "Insulin Type Code" , 1, 3)
2765
+ E1336 = t::ID.new(:E1336, "Insurance Type Code" , 1, 3,
2766
+ s::CodeList.build(
2767
+ "02" => "Physically Handicapped Children's Program",
2768
+ "03" => "Special Federal Funding",
2769
+ "05" => "Disability",
2770
+ "09" => "Second Opinion or Surgery",
2771
+ "12" => "Medicare Secondary Working Aged Beneficiary or Spouse with Employer Group Health Plan",
2772
+ "13" => "Medicare Secondary End-Stage Renal Disease Beneficiary in the Mandated Coordination Period",
2773
+ "14" => "Medicare Secondary, No-fault Insurance including Auto is Primary",
2774
+ "15" => "Medicare Secondary Worker's Compensation",
2775
+ "16" => "Medicare Secondary Public Health Service (PHS) or Other Federal Agency",
2776
+ "41" => "Medicare Secondary Blank Lung",
2777
+ "42" => "Medicare Secondary Veteran's Administration",
2778
+ "43" => "Medicare Secondary Disabled Beneficiary Under Age 65 with Large Group Health Plan (LGHP)",
2779
+ "47" => "Medicare Secondary, Other Liability Insurance is Primary",
2780
+ "AP" => "Auto Insurance Policy",
2781
+ "C1" => "Commercial",
2782
+ "CO" => "Consolidated Omnibus Budget Reconciliation Act (COBRA)",
2783
+ "CP" => "Medicare Conditionally Primary",
2784
+ "D" => "Disability",
2785
+ "DB" => "Disability Benefits",
2786
+ "EP" => "Exclusive Provider Organization",
2787
+ "FF" => "Family or Friends",
2788
+ "GP" => "Group Policy",
2789
+ "HM" => "Health Maintenance Organization (HMO)",
2790
+ "HN" => "Health Maintenance Organization (HMO) - Medicare Risk",
2791
+ "HS" => "Special Low Income Medicare Beneficiary",
2792
+ "IN" => "Indemnity",
2793
+ "IP" => "Individual Policy",
2794
+ "LC" => "Long Term Care",
2795
+ "LD" => "Long Term Policy",
2796
+ "LI" => "Life Insurance",
2797
+ "LT" => "Litigation",
2798
+ "MA" => "Medicare Part A",
2799
+ "MB" => "Medicare Part B",
2800
+ "MC" => "Medicaid",
2801
+ "MH" => "Medigap Part A",
2802
+ "MI" => "Medigap Part B",
2803
+ "MP" => "Medicare Primary",
2804
+ "OT" => "Other",
2805
+ "PE" => "Property Insurance - Personal",
2806
+ "PL" => "Personal",
2807
+ "PP" => "Personal Payment (Cash - No Insurance)",
2808
+ "PR" => "Preferred Provider Organization (PPO)",
2809
+ "PS" => "Point of Service (POS)",
2810
+ "QM" => "Qualified Medicare Beneficiary",
2811
+ "RP" => "Property Insurance - Real",
2812
+ "SP" => "Supplemental Policy",
2813
+ "TF" => "Tax Equity Fiscal Responsibility Act (TEFRA)",
2814
+ "WC" => "Workers Compensation",
2815
+ "WU" => "Wrap Up Policy"))
2816
+ E1337 = t::ID.new(:E1337, "Level of Care Code" , 1, 1,
2817
+ s::CodeList.build(
2818
+ "1" => "Skilled Nursing Facility (SNF)",
2819
+ "2" => "Intermediate Care Facility (ICF)",
2820
+ "3" => "Intermediate Care Facility - Mentally Retarded (ICF-MR)",
2821
+ "4" => "Chronic Disease Hospital (CD)",
2822
+ "5" => "Intermediate Care Facility (ICF) Level II",
2823
+ "6" => "Special Skilled Nursing Facility (SNF)",
2824
+ "7" => "Nursing Facility (NF)",
2825
+ "8" => "Hospice"))
2826
+ E1338 = t::ID.new(:E1338, "Level of Service Code" , 1, 3)
2827
+ E1339 = t::AN.new(:E1339, "Procedure Modifier" , 2, 2)
2828
+ E1340 = t::ID.new(:E1340, "Multiple Procedure Code" , 1, 2)
2829
+ E1341 = t::AN.new(:E1341, "National or Local Assigned Review" , 1, 2)
2830
+ E1342 = t::ID.new(:E1342, "Nature of Condition Code" , 1, 1,
2831
+ s::CodeList.build(
2832
+ "A" => "Acute Condition",
2833
+ "C" => "Chronic Condition",
2834
+ "D" => "Non-acute",
2835
+ "E" => "Non-Life Threatening",
2836
+ "F" => "Routine",
2837
+ "G" => "Symptomatic",
2838
+ "M" => "Acute Manifestation of a Chronic Condition"))
2839
+ E1343 = t::ID.new(:E1343, "Non-Institutional Claim Type Code" , 1, 2)
2840
+ E1345 = t::ID.new(:E1345, "Nursing Home Residential Status Code" , 1, 1)
2841
+ E1348 = t::ID.new(:E1348, "Oxygen Equipment Type Code" , 1, 1,
2842
+ s::CodeList.build(
2843
+ "A" => "Concentrator",
2844
+ "B" => "Liquid Stationary",
2845
+ "C" => "Gaseous Stationary",
2846
+ "D" => "Liquid Portable",
2847
+ "E" => "Gaseous Portable",
2848
+ "O" => "Other"))
2849
+ E1351 = t::ID.new(:E1351, "Patient Signature Source Code" , 1, 1,
2850
+ s::CodeList.build(
2851
+ "P" => "Signature generated by provider because the patient was not physically present for services"))
2852
+ E1352 = t::ID.new(:E1352, "Patient Status Code" , 1, 2,
2853
+ s::CodeList.external("239"))
2854
+ E1354 = t::ID.new(:E1354, "Diagnosis Related Group (DRG) Code" , 1, 4,
2855
+ s::CodeList.external("229"))
2856
+ E1358 = t::ID.new(:E1358, "Prosthesis, Crown, or Inlay Code" , 1, 1,
2857
+ s::CodeList.build(
2858
+ "I" => "Initial Placement",
2859
+ "R" => "Replacement"))
2860
+ E1359 = t::ID.new(:E1359, "Provider Accept Assignment Code" , 1, 1,
2861
+ s::CodeList.build(
2862
+ "A" => "Assigned",
2863
+ "B" => "Assigned Accepted on Clinical Lab Services Only",
2864
+ "C" => "Not Assigned"))
2865
+ E1360 = t::ID.new(:E1360, "Provider Agreement Code" , 1, 1)
2866
+ E1361 = t::ID.new(:E1361, "Oral Cavity Designation Code" , 1, 3,
2867
+ s::CodeList.external("135"))
2868
+ E1362 = t::ID.new(:E1362, "Related-Causes Code" , 2, 3,
2869
+ s::CodeList.build(
2870
+ "AA" => "Auto Accident",
2871
+ "EM" => "Employment",
2872
+ "OA" => "Other Accident"))
2873
+ E1363 = t::ID.new(:E1363, "Release of Information Code" , 1, 1,
2874
+ s::CodeList.build(
2875
+ "I" => "Informed Consent to Release Medical Information for Conditions or Diagnoses Regulated by Federal Statutes",
2876
+ "Y" => "Yes, Provider has a Signed Statement Permitting Release of Medical Billing Data Related to a Claim"))
2877
+ E1364 = t::ID.new(:E1364, "Review Code" , 1, 2)
2878
+ E1365 = t::ID.new(:E1365, "Service Type Code" , 1, 2,
2879
+ s::CodeList.build(
2880
+ "1" => "Medical Care",
2881
+ "2" => "Surgical",
2882
+ "3" => "Consultation",
2883
+ "4" => "Diagnostic X-Ray",
2884
+ "5" => "Diagnostic Lab",
2885
+ "6" => "Radiation Therapy",
2886
+ "7" => "Anesthesia",
2887
+ "8" => "Surgical Assistance",
2888
+ "9" => "Other Medical",
2889
+ "10" => "Blood Charges",
2890
+ "11" => "Used Durable Medical Equipment",
2891
+ "12" => "Durable Medical Equipment Purchase",
2892
+ "13" => "Ambulatory Service Center Facility",
2893
+ "14" => "Renal Supplies in the Home",
2894
+ "15" => "Alternate Method Dialysis",
2895
+ "16" => "Chronic Renal Disease (CRD) Equipment",
2896
+ "17" => "Pre-Admission Testing",
2897
+ "18" => "Durable Medical Equipment Rental",
2898
+ "19" => "Pneumonia Vaccine",
2899
+ "20" => "Second Surgical Opinion",
2900
+ "21" => "Third Surgical Opinion",
2901
+ "22" => "Social Work",
2902
+ "23" => "Diagnostic Dental",
2903
+ "24" => "Periodontics",
2904
+ "25" => "Restorative",
2905
+ "26" => "Endodontics",
2906
+ "27" => "Maxillofacial Prosthetics",
2907
+ "28" => "Adjunctive Dental Services",
2908
+ "30" => "Health Benefit Plan Coverage",
2909
+ "32" => "Plan Waiting Period",
2910
+ "33" => "Chiropractic",
2911
+ "34" => "Chiropractic Office Visits",
2912
+ "35" => "Dental Care",
2913
+ "36" => "Dental Crowns",
2914
+ "37" => "Dental Accident",
2915
+ "38" => "Orthodontics",
2916
+ "39" => "Prosthodontics",
2917
+ "40" => "Oral Surgery",
2918
+ "41" => "Routine (Preventive) Dental",
2919
+ "42" => "Home Health Care",
2920
+ "43" => "Home Health Prescriptions",
2921
+ "44" => "Home Health Visits",
2922
+ "45" => "Hospice",
2923
+ "46" => "Respite Care",
2924
+ "47" => "Hospital",
2925
+ "48" => "Hospital - Inpatient",
2926
+ "49" => "Hospital - Room and Board",
2927
+ "50" => "Hospital - Outpatient",
2928
+ "51" => "Hospital - Emergency Accident",
2929
+ "52" => "Hospital - Emergency Medical",
2930
+ "53" => "Hospital - Ambulatory Surgical",
2931
+ "54" => "Long Term Care",
2932
+ "55" => "Major Medical",
2933
+ "56" => "Medically Related Transportation",
2934
+ "57" => "Air Transportation",
2935
+ "58" => "Cabulance",
2936
+ "59" => "Licensed Ambulance",
2937
+ "60" => "General Benefits",
2938
+ "61" => "In-vitro Fertilization",
2939
+ "62" => "MRI/CAT Scan",
2940
+ "63" => "Donor Procedures",
2941
+ "64" => "Acupuncture",
2942
+ "65" => "Newborn Care",
2943
+ "66" => "Pathology",
2944
+ "67" => "Smoking Cessation",
2945
+ "68" => "Well Baby Care",
2946
+ "69" => "Maternity",
2947
+ "70" => "Transplants",
2948
+ "71" => "Audiology Exam",
2949
+ "72" => "Inhalation Therapy",
2950
+ "73" => "Diagnostic Medical",
2951
+ "74" => "Private Duty Nursing",
2952
+ "75" => "Prosthetic Device",
2953
+ "76" => "Dialysis",
2954
+ "77" => "Otological Exam",
2955
+ "78" => "Chemotherapy",
2956
+ "79" => "Allergy Testing",
2957
+ "80" => "Immunizations",
2958
+ "AN" => "Routine Exam",
2959
+ "AO" => "Lenses",
2960
+ "AQ" => "Nonmedically Necessary Physical",
2961
+ "AR" => "Experimental Drug Therapy",
2962
+ "B1" => "Burn Care",
2963
+ "B2" => "Brand Name Prescription Drug - Formulary",
2964
+ "B3" => "Brand Name Prescription Drug - Non-Formulary",
2965
+ "BA" => "Independent Medical Evaluation",
2966
+ "BB" => "Partial Hospitalization (Psychiatric)",
2967
+ "BC" => "Day Care (Psychiatric)",
2968
+ "BD" => "Cognitive Therapy",
2969
+ "BE" => "Massage Therapy",
2970
+ "BF" => "Pulmonary Rehabilitation",
2971
+ "BG" => "Cardiac Rehabilitation",
2972
+ "BH" => "Pediatric",
2973
+ "BI" => "Nursery",
2974
+ "BJ" => "Skin",
2975
+ "BK" => "Orthopedic",
2976
+ "BL" => "Cardiac",
2977
+ "BM" => "Lymphatic",
2978
+ "BN" => "Gastrointestinal",
2979
+ "BP" => "Endocrine",
2980
+ "BQ" => "Neurology",
2981
+ "BR" => "Eye",
2982
+ "BS" => "Invasive Procedures",
2983
+ "BT" => "Gynecological",
2984
+ "BU" => "Obstetrical",
2985
+ "BV" => "Obstetrical/Gynecological",
2986
+ "BW" => "Mail Order Prescription Drug: Brand Name",
2987
+ "BX" => "Mail Order Prescription Drug: Generic",
2988
+ "BY" => "Physician Visit - Office: Sick",
2989
+ "BZ" => "Physician Visit - Office: Well",
2990
+ "C1" => "Coronary Care",
2991
+ "CA" => "Private Duty Nursing - Inpatient",
2992
+ "CB" => "Private Duty Nursing - Home",
2993
+ "CC" => "Surgical Benefits - Professional (Physician)",
2994
+ "CD" => "Surgical Benefits - Facility",
2995
+ "CE" => "Mental Health Provider - Inpatient",
2996
+ "CF" => "Mental Health Provider - Outpatient",
2997
+ "CG" => "Mental Health Facility - Inpatient",
2998
+ "CH" => "Mental Health Facility - Outpatient",
2999
+ "CI" => "Substance Abuse Facility - Inpatient",
3000
+ "CJ" => "Substance Abuse Facility - Outpatient",
3001
+ "81" => "Routine Physical",
3002
+ "82" => "Family Planning",
3003
+ "83" => "Infertility",
3004
+ "84" => "Abortion",
3005
+ "85" => "AIDS",
3006
+ "86" => "Emergency Services",
3007
+ "87" => "Cancer",
3008
+ "88" => "Pharmacy",
3009
+ "89" => "Free Standing Prescription Drug",
3010
+ "90" => "Mail Order Prescription Drug",
3011
+ "91" => "Brand Name Prescription Drug",
3012
+ "92" => "Generic Prescription Drug",
3013
+ "93" => "Podiatry",
3014
+ "94" => "Podiatry - Office Visits",
3015
+ "95" => "Podiatry - Nursing Home Visits",
3016
+ "96" => "Professional (Physician)",
3017
+ "97" => "Anesthesiologist",
3018
+ "98" => "Professional (Physician) Visit - Office",
3019
+ "99" => "Professional (Physician) Visit - Inpatient",
3020
+ "A0" => "Professional (Physician) Visit - Outpatient",
3021
+ "A1" => "Professional (Physician) Visit - Nursing Home",
3022
+ "A2" => "Professional (Physician) Visit - Skilled Nursing Facility",
3023
+ "A3" => "Professional (Physician) Visit - Home",
3024
+ "A4" => "Psychiatric",
3025
+ "A5" => "Psychiatric - Room and Board",
3026
+ "A6" => "Psychotherapy",
3027
+ "A7" => "Psychiatric - Inpatient",
3028
+ "A8" => "Psychiatric - Outpatient",
3029
+ "A9" => "Rehabilitation",
3030
+ "AA" => "Rehabilitation - Room and Board",
3031
+ "AB" => "Rehabilitation - Inpatient",
3032
+ "AC" => "Rehabilitation - Outpatient",
3033
+ "AD" => "Occupational Therapy",
3034
+ "AE" => "Physical Medicine",
3035
+ "AF" => "Speech Therapy",
3036
+ "AG" => "Skilled Nursing Care",
3037
+ "AH" => "Skilled Nursing Care - Room and Board",
3038
+ "AI" => "Substance Abuse",
3039
+ "AJ" => "Alcoholism",
3040
+ "AK" => "Drug Addiction",
3041
+ "AL" => "Vision (Optometry)",
3042
+ "AM" => "Frames",
3043
+ "CK" => "Screening X-ray",
3044
+ "CL" => "Screening laboratory",
3045
+ "CM" => "Mammogram, High Risk Patient",
3046
+ "CN" => "Mammogram, Low Risk Patient",
3047
+ "CO" => "Flu Vaccination",
3048
+ "CP" => "Eyewear and Eyewear Accessories",
3049
+ "CQ" => "Case Management",
3050
+ "DG" => "Dermatology",
3051
+ "DM" => "Durable Medical Equipment",
3052
+ "DS" => "Diabetic Supplies",
3053
+ "GF" => "Generic Prescription Drug - Formulary",
3054
+ "GN" => "Generic Prescription Drug - Non-Formulary",
3055
+ "GY" => "Allergy",
3056
+ "IC" => "Intensive Care",
3057
+ "MH" => "Mental Health",
3058
+ "NI" => "Neonatal Intensive Care",
3059
+ "ON" => "Oncology",
3060
+ "PT" => "Physical Therapy",
3061
+ "PU" => "Pulmonary",
3062
+ "RN" => "Renal",
3063
+ "RT" => "Residential Psychiatric Treatment",
3064
+ "TC" => "Transitional Care",
3065
+ "TN" => "Transitional Nursery Care",
3066
+ "UC" => "Urgent Care"))
3067
+ E1366 = t::ID.new(:E1366, "Special Program Code" , 2, 3,
3068
+ s::CodeList.build(
3069
+ "01" => "Early & Periodic Screening, Diagnosis, and Treatment (EPSDT) or Child Health Assessment Program (CHAP)",
3070
+ "02" => "Physically Handicapped Children's Program",
3071
+ "03" => "Special Federal Funding",
3072
+ "05" => "Disability",
3073
+ "09" => "Second Opinion or Surgery"))
3074
+ E1367 = t::ID.new(:E1367, "Sublaxation Level Code" , 2, 3,
3075
+ s::CodeList.build(
3076
+ "C1" => "Cervical 1",
3077
+ "C2" => "Cervical 2",
3078
+ "C3" => "Cervical 3",
3079
+ "C4" => "Cervical 4",
3080
+ "C5" => "Cervical 5",
3081
+ "C6" => "Cervical 6",
3082
+ "C7" => "Cervical 7",
3083
+ "CO" => "Coccyx",
3084
+ "IL" => "Ilium",
3085
+ "L1" => "Lumbar 1",
3086
+ "L2" => "Lumbar 2",
3087
+ "L3" => "Lumbar 3",
3088
+ "L4" => "Lumbar 4",
3089
+ "OC" => "Occiput",
3090
+ "SA" => "Sacrum",
3091
+ "T1" => "Thoracic 1",
3092
+ "T10" => "Thoracic 10",
3093
+ "T11" => "Thoracic 11",
3094
+ "T12" => "Thoracic 12",
3095
+ "T2" => "Thoracic 2",
3096
+ "T3" => "Thoracic 3",
3097
+ "T4" => "Thoracic 4",
3098
+ "T5" => "Thoracic 5",
3099
+ "T6" => "Thoracic 6",
3100
+ "T7" => "Thoracic 7",
3101
+ "T8" => "Thoracic 8",
3102
+ "T9" => "Thoracic 9"))
3103
+ E1368 = t::ID.new(:E1368, "Tooth Status Code" , 1, 2,
3104
+ s::CodeList.build(
3105
+ "E" => "To Be Extracted",
3106
+ "I" => "Impacted",
3107
+ "M" => "Missing",
3108
+ "X" => "Extracted"))
3109
+ E1369 = t::ID.new(:E1369, "Tooth Surface Code" , 1, 2,
3110
+ s::CodeList.build(
3111
+ "B" => "Buccal",
3112
+ "D" => "Distal",
3113
+ "F" => "Facial",
3114
+ "I" => "Incisal",
3115
+ "L" => "Lingual",
3116
+ "M" => "Mesial",
3117
+ "O" => "Occlusal"))
3118
+ E1371 = t:: R.new(:E1371, "Unit Rate" , 1, 10)
3119
+ E1382 = t::ID.new(:E1382, "Oxygen Delivery System Code" , 1, 1,
3120
+ s::CodeList.build(
3121
+ "A" => "Nasal Cannula",
3122
+ "B" => "Oxygen Conserving Device",
3123
+ "C" => "Oxygen Conserving Device with Oxygen Pulse System",
3124
+ "D" => "Oxygen Conserving Device with Resevoir System",
3125
+ "E" => "Transtrachael Catheter"))
3126
+ E1383 = t::ID.new(:E1383, "Claim Submission Reason Code" , 2, 2,
3127
+ s::CodeList.build(
3128
+ "08" => "@todo",
3129
+ "PB" => "Predetermination of Dental Benefits"))
3130
+ E1384 = t::ID.new(:E1384, "Patient Location Code" , 1, 1)
3131
+ E1390 = t::ID.new(:E1390, "Eligibility or Benefit Information Code", 1, 2,
3132
+ s::CodeList.build(
3133
+ "1" => "Active Coverage",
3134
+ "2" => "Active - Full Risk Capitation",
3135
+ "3" => "Active - Services Capitated",
3136
+ "4" => "Active - Services Capitated to Primary Care Physician",
3137
+ "5" => "Active - Pending Investigation",
3138
+ "6" => "Inactive",
3139
+ "7" => "Inactive - Pending Eligibility Update",
3140
+ "8" => "Inactive - Pending Investigation",
3141
+ "A" => "Co-Insurance",
3142
+ "B" => "Co-Payment",
3143
+ "C" => "Deductible",
3144
+ "CB" => "Coverage Basis",
3145
+ "D" => "Benefit Description",
3146
+ "E" => "Exclusions",
3147
+ "F" => "Limitations",
3148
+ "G" => "Out of Pocket (Stop Loss)",
3149
+ "H" => "Unlimited",
3150
+ "I" => "Non-Covered",
3151
+ "J" => "Cost Containment",
3152
+ "K" => "Reserve",
3153
+ "L" => "Primary Care Provider",
3154
+ "M" => "Pre-existing Condition",
3155
+ "MC" => "Managed Care Coordinator",
3156
+ "N" => "Services Restricted to Following Provider",
3157
+ "O" => "Not Deemed a Medical Necessity",
3158
+ "P" => "Benefit Disclaimer",
3159
+ "Q" => "Second Surgical Opinion Required",
3160
+ "R" => "Other or Additional Payor",
3161
+ "S" => "Prior Year(s) History",
3162
+ "T" => "Card(s) Reported Lost/Stolen",
3163
+ "U" => "Contact Following Entity for Eligibility or Benefit Information",
3164
+ "V" => "Cannot Process",
3165
+ "W" => "Other Source of Data",
3166
+ "X" => "Health Care Facility",
3167
+ "Y" => "Spend Down"))
3168
+ E1403 = t::ID.new(:E1403, "Implant Type Code" , 1, 1,
3169
+ s::CodeList.build(
3170
+ "1" => "Pulse Generator",
3171
+ "2" => "Arterial Lead",
3172
+ "3" => "Ventricular Lead",
3173
+ "4" => "Implantable Cardioverter Defibrillator (ICDs)",
3174
+ "5" => "Implantable Cardiac Pacemaker (ICPs)",
3175
+ "6" => "Cardiac Resynchronization Therapy Devices (CRTs)",
3176
+ "7" => "Pacing Leads",
3177
+ "8" => "Pacing Battery",
3178
+ "9" => "Coronary Stent",
3179
+ "A" => "Peripheral Stent",
3180
+ "B" => "Heart Valve",
3181
+ "C" => "Ventricular-Assist Device",
3182
+ "D" => "Implantable Heart Monitor",
3183
+ "E" => "Knee",
3184
+ "F" => "Hip",
3185
+ "G" => "Shoulder",
3186
+ "H" => "Elbow",
3187
+ "I" => "Ankle",
3188
+ "J" => "Toe",
3189
+ "K" => "Finger",
3190
+ "L" => "Spinal",
3191
+ "M" => "Orthobiologic",
3192
+ "N" => "Tissue",
3193
+ "O" => "Facial",
3194
+ "P" => "Dental",
3195
+ "Q" => "Opthalmic",
3196
+ "R" => "Gynecologic",
3197
+ "S" => "Urogynecologic",
3198
+ "T" => "Drug",
3199
+ "U" => "Otolaryngeal",
3200
+ "V" => "Cochlear",
3201
+ "W" => "Cosmetic",
3202
+ "X" => "Gastroenterologic",
3203
+ "Y" => "Urologic",
3204
+ "Z" => "Other"))
3205
+ E1401 = t::ID.new(:E1401, "Implant Status Code" , 1, 1,
3206
+ s::CodeList.build(
3207
+ "1" => "Implanted",
3208
+ "2" => "Explanted"))
3209
+ E1470 = t::Nn.new(:E1470, "Number" , 1, 9, 0)
3210
+ E1473 = t::ID.new(:E1473, "Pricing Methodology" , 2, 2,
3211
+ s::CodeList.build(
3212
+ "00" => "Zero Pricing (Not Covered Under Contract)",
3213
+ "01" => "Priced as Billed at 100%",
3214
+ "02" => "Priced at the Standard Fee Schedule",
3215
+ "03" => "Priced at a Contractual Percentage",
3216
+ "04" => "Bundled Pricing",
3217
+ "05" => "Peer Review Pricing",
3218
+ "06" => "Per Diem Pricing",
3219
+ "07" => "Flat Rate Pricing",
3220
+ "08" => "Combination Pricing",
3221
+ "09" => "Maternity Pricing",
3222
+ "10" => "Other Pricing",
3223
+ "11" => "Lower of Cost",
3224
+ "12" => "Ratio of Cost",
3225
+ "13" => "Cost Reimbursed",
3226
+ "14" => "Adjustment Pricing"))
3227
+ E1476 = t::ID.new(:E1476, "Language Proficiency Indicator" , 1, 1)
3228
+ E1514 = t::ID.new(:E1514, "Delay Reason Code" , 1, 2,
3229
+ s::CodeList.build(
3230
+ "1" => "Proof of Eligibility Unknown or Unavailable",
3231
+ "2" => "Litigation",
3232
+ "3" => "Authorization Delays",
3233
+ "4" => "Delay in Certifying Provider",
3234
+ "5" => "Delay in Shipping Billing Forms",
3235
+ "6" => "Delay in Delivery of Custom-made Appliances",
3236
+ "7" => "Third Party Processing Delay",
3237
+ "8" => "Delay in Eligibility Determination",
3238
+ "9" => "Original Claim Rejected or Denied Due to a Reason Unrelated to the Billing Limitation Rules",
3239
+ "10" => "Administration Delay in the Prior Approval Process",
3240
+ "11" => "Other",
3241
+ "15" => "Natural Disaster"))
3242
+ E1525 = t::ID.new(:E1525, "Request Category Code" , 1, 2,
3243
+ s::CodeList.build(
3244
+ "AR" => "Admission Review",
3245
+ "HS" => "Health Services Review",
3246
+ "IN" => "Individual",
3247
+ "SC" => "Specialty Care Review"))
3248
+ E1526 = t::ID.new(:E1526, "Policy Compliance Code" , 1, 2,
3249
+ s::CodeList.build(
3250
+ "1" => "Procedure Followed (Compliance)",
3251
+ "2" => "Not Followed - Call Not Made (Non-Compliance Call Not Made)",
3252
+ "3" => "Not Medically Necessary (Non-Compliance Non-Medically Necessary)",
3253
+ "4" => "Not Followed Other (Non-Compliance Other)",
3254
+ "5" => "Emergency Admit to Non-Network Hospital"))
3255
+ E1527 = t::ID.new(:E1527, "Exception Code" , 1, 2,
3256
+ s::CodeList.build(
3257
+ "1" => "Non-Network Professional Provider in Network Hospital",
3258
+ "2" => "Emergency Care",
3259
+ "3" => "Services or Specialist not in Network",
3260
+ "4" => "Out-of-Service Area",
3261
+ "5" => "State Mandates",
3262
+ "6" => "Other"))
3263
+ E1528 = t::Nn.new(:E1528, "Component Data Element Position in Composite", 1, 2, 0)
3264
+ E1595 = t::ID.new(:E1595, "Government Service Affilition Code" , 1, 1,
3265
+ s::CodeList.build(
3266
+ "A" => "Air Force",
3267
+ "B" => "Air Force Reserves",
3268
+ "C" => "Army",
3269
+ "D" => "Army Reserves",
3270
+ "E" => "Coast Guard",
3271
+ "F" => "Marine Corps",
3272
+ "G" => "Marine Corps Reserves",
3273
+ "H" => "National Guard",
3274
+ "I" => "Navy",
3275
+ "J" => "Navy Reserves",
3276
+ "K" => "Other",
3277
+ "L" => "Peace Corp",
3278
+ "M" => "Regular Armed Forces",
3279
+ "N" => "Reserves",
3280
+ "O" => "U.S. Public Health Service",
3281
+ "Q" => "Foreign Military",
3282
+ "R" => "American Red Cross",
3283
+ "S" => "Department of Defense",
3284
+ "U" => "United Services Organization",
3285
+ "W" => "Military Sealift Command"))
3286
+ E1596 = t::ID.new(:E1596, "Military Service Rank" , 1, 1,
3287
+ s::CodeList.build(
3288
+ "A1" => "Admiral",
3289
+ "A2" => "Airman",
3290
+ "A3" => "Airman First Class",
3291
+ "B1" => "Basic Airman",
3292
+ "B2" => "Brigadier General",
3293
+ "C1" => "Captain",
3294
+ "C2" => "Chief Master Sergeant",
3295
+ "C3" => "Chief Petty Officer",
3296
+ "C4" => "Chief Warrant",
3297
+ "C5" => "Colonel",
3298
+ "C6" => "Commander",
3299
+ "C7" => "Commodore",
3300
+ "C8" => "Corporal",
3301
+ "C9" => "Corporal Specialist 4",
3302
+ "E1" => "Ensign",
3303
+ "F1" => "First Lieutenant",
3304
+ "F2" => "First Sergeant",
3305
+ "F3" => "First Sergeant-Master Sergeant",
3306
+ "F4" => "Fleet Admiral",
3307
+ "G1" => "General",
3308
+ "G4" => "Gunnery Sergeant",
3309
+ "L1" => "Lance Corporal",
3310
+ "L2" => "Lieutenant",
3311
+ "L3" => "Lieutenant Colonel",
3312
+ "L4" => "Lieutenant Commander",
3313
+ "L5" => "Lieutenant General",
3314
+ "L6" => "Lieutenant Junior Grade",
3315
+ "M1" => "Major",
3316
+ "M2" => "Major General",
3317
+ "M3" => "Master Chief Petty Officer",
3318
+ "M4" => "Master Gunnery Sergeant Major",
3319
+ "M5" => "Master Sergeant",
3320
+ "M6" => "Master Sergeant Specialist 8",
3321
+ "P1" => "Petty Officer First Class",
3322
+ "P2" => "Petty Officer Second Class",
3323
+ "P3" => "Petty Officer Third Class",
3324
+ "P4" => "Private",
3325
+ "P5" => "Private First Class",
3326
+ "R1" => "Rear Admiral",
3327
+ "R2" => "Recruit",
3328
+ "S1" => "Seaman",
3329
+ "S2" => "Seaman Apprentice",
3330
+ "S3" => "Seaman Recruit",
3331
+ "S4" => "Second Lieutenant",
3332
+ "S5" => "Senior Chief Petty Officer",
3333
+ "S6" => "Senior Master Sergeant",
3334
+ "S7" => "Sergeant",
3335
+ "S8" => "Sergeant First Class Specialist 7",
3336
+ "S9" => "Sergeant Major Specialist 9",
3337
+ "SA" => "Sergeant Specialist 5",
3338
+ "SB" => "Staff Sergeant",
3339
+ "SC" => "Staff Sergeant Specialist 6",
3340
+ "T1" => "Technical Sergeant",
3341
+ "V1" => "Vice Admiral",
3342
+ "W1" => "Warrant Officer"))
3343
+ E1686 = t::Nn.new(:E1686, "Repeating Data Element Position" , 1, 4, 0)
3344
+ E1701 = t::ID.new(:E1701, "Eligibility Reason Code" , 1, 1,
3345
+ s::CodeList.build(
3346
+ "0" => "Age",
3347
+ "1" => "Disability",
3348
+ "2" => "End Stage Renal Disease (ESRD)"))
3349
+ E1705 = t::AN.new(:E1705, "Implementation Convention Reference" , 1, 35)
3350
+ E1715 = t::ID.new(:E1715, "Country Subdivision Code" , 1, 3,
3351
+ s::CodeList.external("5"))
3352
+ # E1773 = t::ID.new(:E1774, "Claim Authorization Code" , 1, 2,
3353
+ # s::CodeList.build(
3354
+ # "1" => "Immediate/Urgent Care",
3355
+ # "2" => "Services Rendered in a Retroactive Period",
3356
+ # "3" => "Emergency Care",
3357
+ # "4" => "Client Has Temporary Medicaid",
3358
+ # "5" => "Request from County for Second Opinion to Determine if Recipient Can Work",
3359
+ # "6" => "Request for Override Pending",
3360
+ # "7" => "Special Handling",
3361
+ # "Z" => "Mutually Defined"))
3362
+ E9998 = t::AN.new(:E9998, "Context Reference" , 1, 35)
3363
+ E9999 = t::AN.new(:E9999, "Context Name" , 1, 35)
3364
+
3365
+ C001 = Schema::CompositeElementDef.build(:C001,
3366
+ "Composite Unit of Measure",
3367
+ "To identify a composite unit of measure",
3368
+ E355 .component_use(r::Mandatory),
3369
+ E1018.component_use(r::Optional),
3370
+ E649 .component_use(r::Optional),
3371
+ E355 .component_use(r::Optional),
3372
+ E1018.component_use(r::Optional),
3373
+ E649 .component_use(r::Optional),
3374
+ E355 .component_use(r::Optional),
3375
+ E1018.component_use(r::Optional),
3376
+ E649 .component_use(r::Optional),
3377
+ E355 .component_use(r::Optional),
3378
+ E1018.component_use(r::Optional), # If not used, value is interpreted as 1
3379
+ E649 .component_use(r::Optional), # If not used, value is interpreted as 1
3380
+ E355 .component_use(r::Optional),
3381
+ E1018.component_use(r::Optional), # If not used, value is interpreted as 1
3382
+ E649 .component_use(r::Optional)) # If not used, value is interpreted as 1
3383
+
3384
+ # @note Copied from an unverified internet source
3385
+ C002 = Schema::CompositeElementDef.build(:C002,
3386
+ "Actions Indicated",
3387
+ "",
3388
+ E704.component_use(r::Mandatory),
3389
+ E704.component_use(r::Optional),
3390
+ E704.component_use(r::Optional),
3391
+ E704.component_use(r::Optional),
3392
+ E704.component_use(r::Optional))
3393
+ C003 = Schema::CompositeElementDef.build(:C003,
3394
+ "Composite Medical Procedure Identifier",
3395
+ "To identify a procedure by its standardized codes and applicable modifiers",
3396
+ E235 .component_use(r::Mandatory),
3397
+ E234 .component_use(r::Mandatory), # Qualified by C003-01
3398
+ E1339.component_use(r::Optional),
3399
+ E1339.component_use(r::Optional),
3400
+ E1339.component_use(r::Optional),
3401
+ E1339.component_use(r::Optional),
3402
+ E352 .component_use(r::Optional),
3403
+ E234 .component_use(r::Optional)) # Qualified by C003-01
3404
+ C004 = Schema::CompositeElementDef.build(:C004,
3405
+ "Composite Diagnosis Code Pointer",
3406
+ "To identify one or more diagnosis code pointers",
3407
+ E1328.component_use(r::Mandatory),
3408
+ E1328.component_use(r::Optional),
3409
+ E1328.component_use(r::Optional),
3410
+ E1328.component_use(r::Optional))
3411
+ C005 = Schema::CompositeElementDef.build(:C005,
3412
+ "Tooth Surface",
3413
+ "To identify one or more tooth surface codes",
3414
+ E1369.component_use(r::Mandatory),
3415
+ E1369.component_use(r::Optional),
3416
+ E1369.component_use(r::Optional),
3417
+ E1369.component_use(r::Optional),
3418
+ E1369.component_use(r::Optional))
3419
+ C006 = Schema::CompositeElementDef.build(:C006,
3420
+ "Oral Cavity Designation",
3421
+ "To identify one or more areas of oral cavity",
3422
+ E1361.component_use(r::Mandatory),
3423
+ E1361.component_use(r::Optional),
3424
+ E1361.component_use(r::Optional),
3425
+ E1361.component_use(r::Optional),
3426
+ E1361.component_use(r::Optional))
3427
+ C022 = Schema::CompositeElementDef.build(:C022,
3428
+ "Health Care Code Information",
3429
+ "To send health care codes and their associated dates, amounts and quantities",
3430
+ E1270.component_use(r::Mandatory),
3431
+ E1271.component_use(r::Mandatory),
3432
+ E1250.component_use(r::Relational),
3433
+ E1251.component_use(r::Relational),
3434
+ E782 .component_use(r::Optional),
3435
+ E380 .component_use(r::Optional),
3436
+ E799 .component_use(r::Optional),
3437
+ E1271.component_use(r::Relational),
3438
+ E1073.component_use(r::Relational),
3439
+ SyntaxNotes::P.build(3, 4),
3440
+ SyntaxNotes::E.build(8, 9))
3441
+ C023 = Schema::CompositeElementDef.build(:C023,
3442
+ "Health Care Service Location Information",
3443
+ "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",
3444
+ E1331 .component_use(r::Mandatory),
3445
+ E1332 .component_use(r::Optional),
3446
+ E1325 .component_use(r::Optional))
3447
+ C024 = Schema::CompositeElementDef.build(:C024,
3448
+ "Related Causes Information",
3449
+ "To identify one or more related causes and associated state or country information",
3450
+ E1362.component_use(r::Mandatory),
3451
+ E1362.component_use(r::Optional),
3452
+ E1362.component_use(r::Optional),
3453
+ E156 .component_use(r::Optional),
3454
+ E26 .component_use(r::Optional))
3455
+ C030 = Schema::CompositeElementDef.build(:C030,
3456
+ "Position in Segment",
3457
+ "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",
3458
+ E722 .component_use(r::Mandatory),
3459
+ E1528.component_use(r::Optional),
3460
+ E1686.component_use(r::Optional))
3461
+
3462
+ # @note Copied from an unverified source
3463
+ C035 = Schema::CompositeElementDef.build(:C035,
3464
+ "Provider Specialty Information",
3465
+ "",
3466
+ E1222.component_use(r::Mandatory),
3467
+ E559 .component_use(r::Optional),
3468
+ E1073.component_use(r::Optional))
3469
+ C040 = Schema::CompositeElementDef.build(:C040,
3470
+ "Reference Identifier",
3471
+ "To identify one or more reference numbers or identification numbers as specified by the Reference Qualifier",
3472
+ E128 .component_use(r::Mandatory),
3473
+ E127 .component_use(r::Mandatory),
3474
+ E128 .component_use(r::Relational),
3475
+ E127 .component_use(r::Relational),
3476
+ E128 .component_use(r::Relational),
3477
+ E127 .component_use(r::Relational),
3478
+ SyntaxNotes::P.build(3, 4),
3479
+ SyntaxNotes::P.build(5, 6))
3480
+ C042 = Schema::CompositeElementDef.build(:C042,
3481
+ "Adjustment Identifier",
3482
+ "To provide the category and identifying reference information for an adjustment",
3483
+ E426 .component_use(r::Mandatory),
3484
+ E127 .component_use(r::Optional))
3485
+ C043 = Schema::CompositeElementDef.build(:C043,
3486
+ "Health Care Claim Status",
3487
+ "Used to convey status of the entire claim or a specific service line",
3488
+ E1271.component_use(r::Mandatory),
3489
+ E1271.component_use(r::Mandatory),
3490
+ E98 .component_use(r::Optional),
3491
+ E1270.component_use(r::Optional))
3492
+
3493
+ # @note Copied from unverified source
3494
+ C052 = Schema::CompositeElementDef.build(:C052,
3495
+ "Medicare Status Code",
3496
+ "To provide Medicare coverage and associated reason for Medicare eligibility",
3497
+ E1218.component_use(r::Mandatory),
3498
+ E1701.component_use(r::Optional),
3499
+ E1701.component_use(r::Optional),
3500
+ E1701.component_use(r::Optional))
3501
+ C056 = Schema::CompositeElementDef.build(:C056,
3502
+ "Composite Race or Ethnicity Information",
3503
+ "",
3504
+ E1109.component_use(r::Optional),
3505
+ E1270.component_use(r::Relational),
3506
+ E1271.component_use(r::Relational))
3507
+ C998 = Schema::CompositeElementDef.build(:C998,
3508
+ "Context Identification",
3509
+ "Holds information to identify a context",
3510
+ E9999.component_use(r::Mandatory),
3511
+ E9998.component_use(r::Optional))
3512
+ C999 = Schema::CompositeElementDef.build(:C999,
3513
+ "Reference in Segment",
3514
+ "To hold the reference number of a data element and optionally component data element within a composite",
3515
+ E725.component_use(r::Mandatory),
3516
+ E725.component_use(r::Mandatory))
3517
+ end
3518
+ end
3519
+ end
3520
+ end