stupidedi 1.3.23 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/Rakefile +17 -92
- data/bin/edi-ed +8 -12
- data/bin/edi-obfuscate +8 -9
- data/bin/edi-pp +31 -25
- data/doc/{Transcribing.md → Defining.md} +0 -0
- data/doc/{unwritten/Parsing.md → Parsing.md} +0 -0
- data/doc/{unwritten/Tokenizing.md → Tokenizing.md} +0 -0
- data/doc/{unwritten/Validating.md → Validating.md} +0 -0
- data/lib/ruby/array.rb +1 -4
- data/lib/ruby/blank.rb +0 -3
- data/lib/ruby/exception.rb +13 -33
- data/lib/ruby/hash.rb +0 -2
- data/lib/ruby/module.rb +1 -3
- data/lib/ruby/object.rb +0 -13
- data/lib/ruby/string.rb +12 -3
- data/lib/ruby/to_d.rb +20 -25
- data/lib/ruby/to_date.rb +0 -3
- data/lib/ruby/to_time.rb +0 -3
- data/lib/ruby/try.rb +0 -3
- data/lib/stupidedi.rb +27 -41
- data/lib/stupidedi/builder.rb +3 -22
- data/lib/stupidedi/color.rb +4 -6
- data/lib/stupidedi/config.rb +77 -69
- data/lib/stupidedi/config/code_list_config.rb +0 -2
- data/lib/stupidedi/config/editor_config.rb +0 -2
- data/lib/stupidedi/config/functional_group_config.rb +3 -2
- data/lib/stupidedi/config/interchange_config.rb +5 -6
- data/lib/stupidedi/config/transaction_set_config.rb +17 -48
- data/lib/stupidedi/contrib.rb +41 -6
- data/lib/stupidedi/editor.rb +0 -3
- data/lib/stupidedi/editor/00401.rb +0 -3
- data/lib/stupidedi/editor/004010.rb +4 -8
- data/lib/stupidedi/editor/004010/N4.rb +0 -4
- data/lib/stupidedi/editor/00501.rb +0 -3
- data/lib/stupidedi/editor/005010.rb +5 -9
- data/lib/stupidedi/editor/005010/N4.rb +0 -4
- data/lib/stupidedi/editor/X12.rb +0 -5
- data/lib/stupidedi/editor/X222-HC837.rb +0 -5
- data/lib/stupidedi/editor/abstract_ed.rb +0 -2
- data/lib/stupidedi/editor/claim_ack.rb +0 -2
- data/lib/stupidedi/editor/implementation_ack.rb +2 -3
- data/lib/stupidedi/editor/interchange_ack.rb +0 -2
- data/lib/stupidedi/editor/result.rb +1 -6
- data/lib/stupidedi/editor/result_set.rb +1 -3
- data/lib/stupidedi/editor/transaction_set_ed.rb +23 -19
- data/lib/stupidedi/editor/transmission_ed.rb +0 -3
- data/lib/stupidedi/either.rb +0 -5
- data/lib/stupidedi/exceptions/invalid_element_error.rb +0 -2
- data/lib/stupidedi/exceptions/invalid_schema_error.rb +0 -2
- data/lib/stupidedi/exceptions/output_error.rb +0 -2
- data/lib/stupidedi/exceptions/parse_error.rb +0 -2
- data/lib/stupidedi/exceptions/stupidedi_error.rb +0 -2
- data/lib/stupidedi/exceptions/tokenize_error.rb +0 -2
- data/lib/stupidedi/exceptions/zipper_error.rb +0 -2
- data/lib/stupidedi/guides.rb +7 -3
- data/lib/stupidedi/inspect.rb +1 -4
- data/lib/stupidedi/interchanges.rb +11 -0
- data/lib/stupidedi/interchanges/00200.rb +12 -0
- data/lib/stupidedi/interchanges/00200/element_defs.rb +104 -0
- data/lib/stupidedi/interchanges/00200/interchange_def.rb +59 -0
- data/lib/stupidedi/interchanges/00200/segment_defs.rb +12 -0
- data/lib/stupidedi/interchanges/00200/segment_defs/IEA.rb +17 -0
- data/lib/stupidedi/interchanges/00200/segment_defs/ISA.rb +31 -0
- data/lib/stupidedi/interchanges/00200/segment_defs/TA1.rb +20 -0
- data/lib/stupidedi/interchanges/00300.rb +12 -0
- data/lib/stupidedi/interchanges/00300/element_defs.rb +105 -0
- data/lib/stupidedi/interchanges/00300/interchange_def.rb +59 -0
- data/lib/stupidedi/interchanges/00300/segment_defs.rb +12 -0
- data/lib/stupidedi/interchanges/00300/segment_defs/IEA.rb +17 -0
- data/lib/stupidedi/interchanges/00300/segment_defs/ISA.rb +31 -0
- data/lib/stupidedi/interchanges/00300/segment_defs/TA1.rb +20 -0
- data/lib/stupidedi/interchanges/00400.rb +12 -0
- data/lib/stupidedi/interchanges/00400/element_defs.rb +97 -0
- data/lib/stupidedi/interchanges/00400/interchange_def.rb +59 -0
- data/lib/stupidedi/interchanges/00400/segment_defs.rb +12 -0
- data/lib/stupidedi/interchanges/00400/segment_defs/IEA.rb +17 -0
- data/lib/stupidedi/interchanges/00400/segment_defs/ISA.rb +31 -0
- data/lib/stupidedi/interchanges/00400/segment_defs/TA1.rb +20 -0
- data/lib/stupidedi/interchanges/00401.rb +12 -0
- data/lib/stupidedi/interchanges/00401/element_defs.rb +96 -0
- data/lib/stupidedi/interchanges/00401/interchange_def.rb +59 -0
- data/lib/stupidedi/interchanges/00401/segment_defs.rb +12 -0
- data/lib/stupidedi/interchanges/00401/segment_defs/IEA.rb +17 -0
- data/lib/stupidedi/interchanges/00401/segment_defs/ISA.rb +31 -0
- data/lib/stupidedi/interchanges/00401/segment_defs/TA1.rb +20 -0
- data/lib/stupidedi/interchanges/00501.rb +12 -0
- data/lib/stupidedi/interchanges/00501/element_defs.rb +130 -0
- data/lib/stupidedi/interchanges/00501/interchange_def.rb +59 -0
- data/lib/stupidedi/interchanges/00501/segment_defs.rb +12 -0
- data/lib/stupidedi/interchanges/00501/segment_defs/IEA.rb +17 -0
- data/lib/stupidedi/interchanges/00501/segment_defs/ISA.rb +31 -0
- data/lib/stupidedi/interchanges/00501/segment_defs/ISB.rb +15 -0
- data/lib/stupidedi/interchanges/00501/segment_defs/ISE.rb +15 -0
- data/lib/stupidedi/interchanges/00501/segment_defs/TA1.rb +20 -0
- data/lib/stupidedi/interchanges/00501/segment_defs/TA3.rb +15 -0
- data/lib/stupidedi/interchanges/element_types.rb +11 -0
- data/lib/stupidedi/interchanges/element_types/separator_val.rb +79 -0
- data/lib/stupidedi/interchanges/element_types/special_val.rb +48 -0
- data/lib/stupidedi/parser.rb +32 -0
- data/lib/stupidedi/parser/builder_dsl.rb +289 -0
- data/lib/stupidedi/parser/constraint_table.rb +488 -0
- data/lib/stupidedi/parser/generation.rb +147 -0
- data/lib/stupidedi/parser/identifier_stack.rb +248 -0
- data/lib/stupidedi/parser/instruction.rb +112 -0
- data/lib/stupidedi/parser/instruction_table.rb +222 -0
- data/lib/stupidedi/parser/navigation.rb +786 -0
- data/lib/stupidedi/parser/state_machine.rb +62 -0
- data/lib/stupidedi/parser/states/abstract_state.rb +325 -0
- data/lib/stupidedi/parser/states/failure_state.rb +69 -0
- data/lib/stupidedi/parser/states/functional_group_state.rb +98 -0
- data/lib/stupidedi/parser/states/initial_state.rb +62 -0
- data/lib/stupidedi/parser/states/interchange_state.rb +93 -0
- data/lib/stupidedi/parser/states/loop_state.rb +80 -0
- data/lib/stupidedi/parser/states/table_state.rb +94 -0
- data/lib/stupidedi/parser/states/transaction_set_state.rb +118 -0
- data/lib/stupidedi/parser/states/transmission_state.rb +59 -0
- data/lib/stupidedi/parser/tokenization.rb +195 -0
- data/lib/stupidedi/reader.rb +0 -2
- data/lib/stupidedi/reader/input.rb +0 -3
- data/lib/stupidedi/reader/input/abstract_input.rb +4 -6
- data/lib/stupidedi/reader/input/delegated_input.rb +0 -5
- data/lib/stupidedi/reader/input/file_input.rb +10 -11
- data/lib/stupidedi/reader/position.rb +13 -8
- data/lib/stupidedi/reader/result.rb +5 -5
- data/lib/stupidedi/reader/segment_dict.rb +0 -3
- data/lib/stupidedi/reader/separators.rb +5 -4
- data/lib/stupidedi/reader/stream_reader.rb +3 -6
- data/lib/stupidedi/reader/token_reader.rb +0 -5
- data/lib/stupidedi/reader/tokens/component_element_tok.rb +4 -4
- data/lib/stupidedi/reader/tokens/composite_element_tok.rb +6 -5
- data/lib/stupidedi/reader/tokens/repeated_element_tok.rb +9 -2
- data/lib/stupidedi/reader/tokens/segment_tok.rb +7 -5
- data/lib/stupidedi/reader/tokens/simple_element_tok.rb +2 -4
- data/lib/stupidedi/schema.rb +17 -20
- data/lib/stupidedi/schema/abstract_def.rb +4 -6
- data/lib/stupidedi/schema/abstract_element_def.rb +35 -0
- data/lib/stupidedi/schema/abstract_element_use.rb +38 -0
- data/lib/stupidedi/schema/abstract_use.rb +6 -4
- data/lib/stupidedi/schema/code_list.rb +6 -5
- data/lib/stupidedi/schema/component_element_use.rb +74 -0
- data/lib/stupidedi/schema/composite_element_def.rb +103 -0
- data/lib/stupidedi/schema/composite_element_use.rb +73 -0
- data/lib/stupidedi/schema/element_req.rb +1 -4
- data/lib/stupidedi/schema/functional_group_def.rb +9 -3
- data/lib/stupidedi/schema/interchange_def.rb +9 -3
- data/lib/stupidedi/schema/loop_def.rb +11 -9
- data/lib/stupidedi/schema/repeat_count.rb +0 -3
- data/lib/stupidedi/schema/segment_def.rb +6 -4
- data/lib/stupidedi/schema/segment_req.rb +2 -3
- data/lib/stupidedi/schema/segment_use.rb +1 -4
- data/lib/stupidedi/schema/simple_element_def.rb +51 -0
- data/lib/stupidedi/schema/simple_element_use.rb +81 -0
- data/lib/stupidedi/schema/syntax_note.rb +1 -12
- data/lib/stupidedi/schema/table_def.rb +55 -18
- data/lib/stupidedi/schema/transaction_set_def.rb +25 -4
- data/lib/stupidedi/sets.rb +0 -3
- data/lib/stupidedi/transaction_sets.rb +14 -0
- data/lib/stupidedi/transaction_sets/002001.rb +11 -0
- data/lib/stupidedi/transaction_sets/002001/implementations.rb +23 -0
- data/lib/stupidedi/transaction_sets/002001/implementations/FA997.rb +66 -0
- data/lib/stupidedi/transaction_sets/002001/implementations/PO830.rb +160 -0
- data/lib/stupidedi/transaction_sets/002001/implementations/SH856.rb +190 -0
- data/lib/stupidedi/transaction_sets/002001/standards.rb +14 -0
- data/lib/stupidedi/transaction_sets/002001/standards/FA997.rb +31 -0
- data/lib/stupidedi/transaction_sets/002001/standards/PO830.rb +45 -0
- data/lib/stupidedi/transaction_sets/002001/standards/SH856.rb +38 -0
- data/lib/stupidedi/transaction_sets/003010.rb +11 -0
- data/lib/stupidedi/transaction_sets/003010/implementations.rb +24 -0
- data/lib/stupidedi/transaction_sets/003010/implementations/PC860.rb +140 -0
- data/lib/stupidedi/transaction_sets/003010/implementations/PO850.rb +132 -0
- data/lib/stupidedi/transaction_sets/003010/implementations/PS830.rb +150 -0
- data/lib/stupidedi/transaction_sets/003010/implementations/RA820.rb +158 -0
- data/lib/stupidedi/transaction_sets/003010/standards.rb +15 -0
- data/lib/stupidedi/transaction_sets/003010/standards/PC860.rb +49 -0
- data/lib/stupidedi/transaction_sets/003010/standards/PO850.rb +49 -0
- data/lib/stupidedi/transaction_sets/003010/standards/PS830.rb +49 -0
- data/lib/stupidedi/transaction_sets/003010/standards/RA820.rb +40 -0
- data/lib/stupidedi/transaction_sets/003040.rb +12 -0
- data/lib/stupidedi/transaction_sets/003040/implementations.rb +21 -0
- data/lib/stupidedi/transaction_sets/003040/implementations/WA142.rb +153 -0
- data/lib/stupidedi/transaction_sets/003040/standards.rb +12 -0
- data/lib/stupidedi/transaction_sets/003040/standards/WA142.rb +53 -0
- data/lib/stupidedi/transaction_sets/003050.rb +12 -0
- data/lib/stupidedi/transaction_sets/003050/implementations.rb +21 -0
- data/lib/stupidedi/transaction_sets/003050/implementations/PO850.rb +77 -0
- data/lib/stupidedi/transaction_sets/003050/standards.rb +12 -0
- data/lib/stupidedi/transaction_sets/003050/standards/PO850.rb +41 -0
- data/lib/stupidedi/transaction_sets/004010.rb +12 -0
- data/lib/stupidedi/transaction_sets/004010/implementations.rb +38 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/AR943.rb +72 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/FA997.rb +65 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/GF990.rb +40 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/IM210.rb +221 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/OW940.rb +98 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/PO850.rb +108 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/PS830.rb +143 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/QM214.rb +106 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/RE944.rb +63 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/SH856.rb +156 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/SM204.rb +391 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/SQ866.rb +103 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/SS862.rb +154 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/SW945.rb +99 -0
- data/lib/stupidedi/transaction_sets/004010/implementations/X091A1-HP835.rb +481 -0
- data/lib/stupidedi/transaction_sets/004010/standards.rb +28 -0
- data/lib/stupidedi/transaction_sets/004010/standards/AR943.rb +34 -0
- data/lib/stupidedi/transaction_sets/004010/standards/FA997.rb +31 -0
- data/lib/stupidedi/transaction_sets/004010/standards/GF990.rb +21 -0
- data/lib/stupidedi/transaction_sets/004010/standards/HP835.rb +61 -0
- data/lib/stupidedi/transaction_sets/004010/standards/IM210.rb +47 -0
- data/lib/stupidedi/transaction_sets/004010/standards/OW940.rb +43 -0
- data/lib/stupidedi/transaction_sets/004010/standards/PO850.rb +50 -0
- data/lib/stupidedi/transaction_sets/004010/standards/PR855.rb +35 -0
- data/lib/stupidedi/transaction_sets/004010/standards/PS830.rb +43 -0
- data/lib/stupidedi/transaction_sets/004010/standards/QM214.rb +41 -0
- data/lib/stupidedi/transaction_sets/004010/standards/RE944.rb +34 -0
- data/lib/stupidedi/transaction_sets/004010/standards/SC832.rb +37 -0
- data/lib/stupidedi/transaction_sets/004010/standards/SH856.rb +40 -0
- data/lib/stupidedi/transaction_sets/004010/standards/SM204.rb +85 -0
- data/lib/stupidedi/transaction_sets/004010/standards/SQ866.rb +32 -0
- data/lib/stupidedi/transaction_sets/004010/standards/SS862.rb +42 -0
- data/lib/stupidedi/transaction_sets/004010/standards/SW945.rb +43 -0
- data/lib/stupidedi/transaction_sets/005010.rb +11 -0
- data/lib/stupidedi/transaction_sets/005010/implementations.rb +88 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X212-HR276.rb +329 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X214-HN277.rb +356 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X220-BE834.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X220A1-BE834.rb +623 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X221-HP835.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X221A1-HP835.rb +556 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X222-HC837.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X222-HC837P.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X222A1-HC837.rb +2033 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X222A1-HC837P.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X223-HC837.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X223-HC837I.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X223A1-HC837.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X223A2-HC837.rb +2390 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X223A3-HC837.rb +2595 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X231-FA999.rb +15 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X231A1-FA999.rb +106 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X279-HB271.rb +749 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X279-HS270.rb +533 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X279A1-HB271.rb +751 -0
- data/lib/stupidedi/transaction_sets/005010/implementations/X279A1-HS270.rb +533 -0
- data/lib/stupidedi/transaction_sets/005010/standards.rb +22 -0
- data/lib/stupidedi/transaction_sets/005010/standards/BE834.rb +171 -0
- data/lib/stupidedi/transaction_sets/005010/standards/FA997.rb +31 -0
- data/lib/stupidedi/transaction_sets/005010/standards/FA999.rb +35 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HB271.rb +95 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HC837.rb +161 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HI278.rb +62 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HN277.rb +71 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HP835.rb +65 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HR276.rb +54 -0
- data/lib/stupidedi/transaction_sets/005010/standards/HS270.rb +50 -0
- data/lib/stupidedi/transaction_sets/005010/standards/RA820.rb +238 -0
- data/lib/stupidedi/transaction_sets/builder.rb +184 -0
- data/lib/stupidedi/transaction_sets/common.rb +8 -0
- data/lib/stupidedi/transaction_sets/common/implementations.rb +11 -0
- data/lib/stupidedi/transaction_sets/common/implementations/element_reqs.rb +37 -0
- data/lib/stupidedi/transaction_sets/common/implementations/segment_reqs.rb +31 -0
- data/lib/stupidedi/transaction_sets/validation.rb +9 -0
- data/lib/stupidedi/transaction_sets/validation/ambiguity.rb +391 -0
- data/lib/stupidedi/transaction_sets/validation/implementation.rb +12 -0
- data/lib/stupidedi/values.rb +0 -1
- data/lib/stupidedi/values/abstract_element_val.rb +0 -4
- data/lib/stupidedi/values/abstract_val.rb +3 -4
- data/lib/stupidedi/values/composite_element_val.rb +3 -8
- data/lib/stupidedi/values/functional_group_val.rb +3 -4
- data/lib/stupidedi/values/interchange_val.rb +3 -4
- data/lib/stupidedi/values/invalid_envelope_val.rb +2 -6
- data/lib/stupidedi/values/invalid_segment_val.rb +16 -9
- data/lib/stupidedi/values/loop_val.rb +3 -4
- data/lib/stupidedi/values/repeated_element_val.rb +5 -7
- data/lib/stupidedi/values/segment_val.rb +7 -11
- data/lib/stupidedi/values/segment_val_group.rb +0 -4
- data/lib/stupidedi/values/simple_element_val.rb +2 -7
- data/lib/stupidedi/values/table_val.rb +3 -4
- data/lib/stupidedi/values/transaction_set_val.rb +3 -4
- data/lib/stupidedi/values/transmission_val.rb +5 -5
- data/lib/stupidedi/version.rb +1 -2
- data/lib/stupidedi/versions.rb +11 -3
- data/lib/stupidedi/versions/002001.rb +14 -0
- data/lib/stupidedi/versions/002001/element_defs.rb +10576 -0
- data/lib/stupidedi/versions/002001/element_reqs.rb +12 -0
- data/lib/stupidedi/versions/002001/element_types.rb +28 -0
- data/lib/stupidedi/versions/002001/element_types/an.rb +11 -0
- data/lib/stupidedi/versions/002001/element_types/dt.rb +11 -0
- data/lib/stupidedi/versions/002001/element_types/float_val.rb +11 -0
- data/lib/stupidedi/versions/002001/element_types/id.rb +11 -0
- data/lib/stupidedi/versions/002001/element_types/nn.rb +11 -0
- data/lib/stupidedi/versions/002001/element_types/tm.rb +11 -0
- data/lib/stupidedi/versions/002001/functional_group_def.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_defs.rb +88 -0
- data/lib/stupidedi/versions/002001/segment_defs/AK1.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/AK2.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/AK3.rb +18 -0
- data/lib/stupidedi/versions/002001/segment_defs/AK4.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/AK5.rb +22 -0
- data/lib/stupidedi/versions/002001/segment_defs/AK9.rb +23 -0
- data/lib/stupidedi/versions/002001/segment_defs/AT7.rb +29 -0
- data/lib/stupidedi/versions/002001/segment_defs/AT8.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/ATH.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/B1.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/B10.rb +26 -0
- data/lib/stupidedi/versions/002001/segment_defs/B2.rb +27 -0
- data/lib/stupidedi/versions/002001/segment_defs/B2A.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/BEG.rb +28 -0
- data/lib/stupidedi/versions/002001/segment_defs/BFR.rb +27 -0
- data/lib/stupidedi/versions/002001/segment_defs/BSN.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_defs/CTT.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/CUR.rb +51 -0
- data/lib/stupidedi/versions/002001/segment_defs/DTM.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/FST.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_defs/G61.rb +22 -0
- data/lib/stupidedi/versions/002001/segment_defs/G62.rb +22 -0
- data/lib/stupidedi/versions/002001/segment_defs/G69.rb +16 -0
- data/lib/stupidedi/versions/002001/segment_defs/GE.rb +18 -0
- data/lib/stupidedi/versions/002001/segment_defs/GS.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_defs/HL.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/J2X.rb +18 -0
- data/lib/stupidedi/versions/002001/segment_defs/K1.rb +18 -0
- data/lib/stupidedi/versions/002001/segment_defs/L11.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/L3.rb +37 -0
- data/lib/stupidedi/versions/002001/segment_defs/L5.rb +29 -0
- data/lib/stupidedi/versions/002001/segment_defs/LFH.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/LH1.rb +29 -0
- data/lib/stupidedi/versions/002001/segment_defs/LH2.rb +32 -0
- data/lib/stupidedi/versions/002001/segment_defs/LH3.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/LIN.rb +47 -0
- data/lib/stupidedi/versions/002001/segment_defs/LX.rb +16 -0
- data/lib/stupidedi/versions/002001/segment_defs/M7.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/MAN.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/MEA.rb +22 -0
- data/lib/stupidedi/versions/002001/segment_defs/MS1.rb +33 -0
- data/lib/stupidedi/versions/002001/segment_defs/MS2.rb +22 -0
- data/lib/stupidedi/versions/002001/segment_defs/MS3.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/N1.rb +19 -0
- data/lib/stupidedi/versions/002001/segment_defs/N2.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/N3.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/N4.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/N7.rb +42 -0
- data/lib/stupidedi/versions/002001/segment_defs/N9.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/NTE.rb +18 -0
- data/lib/stupidedi/versions/002001/segment_defs/PER.rb +28 -0
- data/lib/stupidedi/versions/002001/segment_defs/PID.rb +29 -0
- data/lib/stupidedi/versions/002001/segment_defs/PLD.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/PO1.rb +52 -0
- data/lib/stupidedi/versions/002001/segment_defs/PO4.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/REF.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/S5.rb +29 -0
- data/lib/stupidedi/versions/002001/segment_defs/SDP.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/SE.rb +19 -0
- data/lib/stupidedi/versions/002001/segment_defs/SN1.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_defs/ST.rb +17 -0
- data/lib/stupidedi/versions/002001/segment_defs/TD1.rb +27 -0
- data/lib/stupidedi/versions/002001/segment_defs/TD3.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/TD5.rb +21 -0
- data/lib/stupidedi/versions/002001/segment_defs/UNT.rb +16 -0
- data/lib/stupidedi/versions/002001/segment_defs/W01.rb +37 -0
- data/lib/stupidedi/versions/002001/segment_defs/W03.rb +25 -0
- data/lib/stupidedi/versions/002001/segment_defs/W04.rb +35 -0
- data/lib/stupidedi/versions/002001/segment_defs/W05.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_defs/W06.rb +29 -0
- data/lib/stupidedi/versions/002001/segment_defs/W07.rb +30 -0
- data/lib/stupidedi/versions/002001/segment_defs/W08.rb +26 -0
- data/lib/stupidedi/versions/002001/segment_defs/W12.rb +43 -0
- data/lib/stupidedi/versions/002001/segment_defs/W14.rb +20 -0
- data/lib/stupidedi/versions/002001/segment_defs/W17.rb +26 -0
- data/lib/stupidedi/versions/002001/segment_defs/W20.rb +28 -0
- data/lib/stupidedi/versions/002001/segment_defs/W27.rb +26 -0
- data/lib/stupidedi/versions/002001/segment_defs/W66.rb +26 -0
- data/lib/stupidedi/versions/002001/segment_defs/W76.rb +24 -0
- data/lib/stupidedi/versions/002001/segment_reqs.rb +11 -0
- data/lib/stupidedi/versions/002001/syntax_notes.rb +14 -0
- data/lib/stupidedi/versions/003010.rb +14 -0
- data/lib/stupidedi/versions/003010/element_defs.rb +9152 -0
- data/lib/stupidedi/versions/003010/element_reqs.rb +13 -0
- data/lib/stupidedi/versions/003010/element_types.rb +28 -0
- data/lib/stupidedi/versions/003010/element_types/an.rb +11 -0
- data/lib/stupidedi/versions/003010/element_types/dt.rb +11 -0
- data/lib/stupidedi/versions/003010/element_types/float_val.rb +11 -0
- data/lib/stupidedi/versions/003010/element_types/id.rb +11 -0
- data/lib/stupidedi/versions/003010/element_types/nn.rb +11 -0
- data/lib/stupidedi/versions/003010/element_types/tm.rb +11 -0
- data/lib/stupidedi/versions/003010/functional_group_def.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_defs.rb +94 -0
- data/lib/stupidedi/versions/003010/segment_defs/AK1.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/AK2.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/AK3.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/AK9.rb +23 -0
- data/lib/stupidedi/versions/003010/segment_defs/AT7.rb +29 -0
- data/lib/stupidedi/versions/003010/segment_defs/AT8.rb +25 -0
- data/lib/stupidedi/versions/003010/segment_defs/B1.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/B10.rb +26 -0
- data/lib/stupidedi/versions/003010/segment_defs/B2.rb +27 -0
- data/lib/stupidedi/versions/003010/segment_defs/B2A.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/BCH.rb +22 -0
- data/lib/stupidedi/versions/003010/segment_defs/BEG.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/BFR.rb +29 -0
- data/lib/stupidedi/versions/003010/segment_defs/BPS.rb +32 -0
- data/lib/stupidedi/versions/003010/segment_defs/BSN.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_defs/CTT.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/CUR.rb +19 -0
- data/lib/stupidedi/versions/003010/segment_defs/DTM.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/FOB.rb +22 -0
- data/lib/stupidedi/versions/003010/segment_defs/FST.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_defs/G61.rb +22 -0
- data/lib/stupidedi/versions/003010/segment_defs/G62.rb +22 -0
- data/lib/stupidedi/versions/003010/segment_defs/G69.rb +16 -0
- data/lib/stupidedi/versions/003010/segment_defs/GE.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/GS.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_defs/HL.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/ITD.rb +28 -0
- data/lib/stupidedi/versions/003010/segment_defs/K1.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/L11.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/L3.rb +37 -0
- data/lib/stupidedi/versions/003010/segment_defs/L5.rb +29 -0
- data/lib/stupidedi/versions/003010/segment_defs/LE.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/LFH.rb +25 -0
- data/lib/stupidedi/versions/003010/segment_defs/LH1.rb +29 -0
- data/lib/stupidedi/versions/003010/segment_defs/LH2.rb +32 -0
- data/lib/stupidedi/versions/003010/segment_defs/LH3.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/LIN.rb +47 -0
- data/lib/stupidedi/versions/003010/segment_defs/LS.rb +16 -0
- data/lib/stupidedi/versions/003010/segment_defs/LX.rb +16 -0
- data/lib/stupidedi/versions/003010/segment_defs/M7.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/MAN.rb +23 -0
- data/lib/stupidedi/versions/003010/segment_defs/MEA.rb +22 -0
- data/lib/stupidedi/versions/003010/segment_defs/MS1.rb +33 -0
- data/lib/stupidedi/versions/003010/segment_defs/MS2.rb +22 -0
- data/lib/stupidedi/versions/003010/segment_defs/MS3.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/MSG.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/N1.rb +19 -0
- data/lib/stupidedi/versions/003010/segment_defs/N2.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/N3.rb +17 -0
- data/lib/stupidedi/versions/003010/segment_defs/N4.rb +19 -0
- data/lib/stupidedi/versions/003010/segment_defs/N7.rb +42 -0
- data/lib/stupidedi/versions/003010/segment_defs/N9.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/NTE.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/PER.rb +28 -0
- data/lib/stupidedi/versions/003010/segment_defs/PID.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/PLD.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/PO1.rb +25 -0
- data/lib/stupidedi/versions/003010/segment_defs/PO4.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/POC.rb +26 -0
- data/lib/stupidedi/versions/003010/segment_defs/REF.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/RMT.rb +25 -0
- data/lib/stupidedi/versions/003010/segment_defs/S5.rb +29 -0
- data/lib/stupidedi/versions/003010/segment_defs/SDP.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/SE.rb +19 -0
- data/lib/stupidedi/versions/003010/segment_defs/SHP.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/SN1.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_defs/ST.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/TD1.rb +27 -0
- data/lib/stupidedi/versions/003010/segment_defs/TD3.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/TD5.rb +21 -0
- data/lib/stupidedi/versions/003010/segment_defs/UIT.rb +18 -0
- data/lib/stupidedi/versions/003010/segment_defs/W01.rb +37 -0
- data/lib/stupidedi/versions/003010/segment_defs/W03.rb +25 -0
- data/lib/stupidedi/versions/003010/segment_defs/W04.rb +35 -0
- data/lib/stupidedi/versions/003010/segment_defs/W05.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_defs/W06.rb +29 -0
- data/lib/stupidedi/versions/003010/segment_defs/W07.rb +30 -0
- data/lib/stupidedi/versions/003010/segment_defs/W08.rb +26 -0
- data/lib/stupidedi/versions/003010/segment_defs/W12.rb +43 -0
- data/lib/stupidedi/versions/003010/segment_defs/W14.rb +20 -0
- data/lib/stupidedi/versions/003010/segment_defs/W17.rb +26 -0
- data/lib/stupidedi/versions/003010/segment_defs/W20.rb +28 -0
- data/lib/stupidedi/versions/003010/segment_defs/W27.rb +27 -0
- data/lib/stupidedi/versions/003010/segment_defs/W66.rb +26 -0
- data/lib/stupidedi/versions/003010/segment_defs/W76.rb +24 -0
- data/lib/stupidedi/versions/003010/segment_reqs.rb +11 -0
- data/lib/stupidedi/versions/003010/syntax_notes.rb +14 -0
- data/lib/stupidedi/versions/003040.rb +14 -0
- data/lib/stupidedi/versions/003040/element_defs.rb +10608 -0
- data/lib/stupidedi/versions/003040/element_reqs.rb +12 -0
- data/lib/stupidedi/versions/003040/element_types.rb +28 -0
- data/lib/stupidedi/versions/003040/element_types/date_val.rb +11 -0
- data/lib/stupidedi/versions/003040/element_types/fixnum_val.rb +11 -0
- data/lib/stupidedi/versions/003040/element_types/float_val.rb +11 -0
- data/lib/stupidedi/versions/003040/element_types/identifier_val.rb +11 -0
- data/lib/stupidedi/versions/003040/element_types/time_val.rb +11 -0
- data/lib/stupidedi/versions/003040/functional_group_def.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_defs.rb +95 -0
- data/lib/stupidedi/versions/003040/segment_defs/AK1.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/AK2.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/AK3.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/AK9.rb +23 -0
- data/lib/stupidedi/versions/003040/segment_defs/AMT.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/AT7.rb +29 -0
- data/lib/stupidedi/versions/003040/segment_defs/AT8.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/B1.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/B10.rb +26 -0
- data/lib/stupidedi/versions/003040/segment_defs/B2.rb +27 -0
- data/lib/stupidedi/versions/003040/segment_defs/B2A.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/BEG.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/BGN.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/BPS.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/BSN.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_defs/CTT.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/CUR.rb +19 -0
- data/lib/stupidedi/versions/003040/segment_defs/DTM.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/FOB.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/G61.rb +22 -0
- data/lib/stupidedi/versions/003040/segment_defs/G62.rb +22 -0
- data/lib/stupidedi/versions/003040/segment_defs/G69.rb +16 -0
- data/lib/stupidedi/versions/003040/segment_defs/GE.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/GS.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_defs/HL.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/IT1.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/ITD.rb +28 -0
- data/lib/stupidedi/versions/003040/segment_defs/K1.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/L11.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/L3.rb +37 -0
- data/lib/stupidedi/versions/003040/segment_defs/L5.rb +29 -0
- data/lib/stupidedi/versions/003040/segment_defs/LE.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/LFH.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/LH1.rb +29 -0
- data/lib/stupidedi/versions/003040/segment_defs/LH2.rb +32 -0
- data/lib/stupidedi/versions/003040/segment_defs/LH3.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/LIN.rb +33 -0
- data/lib/stupidedi/versions/003040/segment_defs/LS.rb +16 -0
- data/lib/stupidedi/versions/003040/segment_defs/LX.rb +16 -0
- data/lib/stupidedi/versions/003040/segment_defs/M7.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/MAN.rb +23 -0
- data/lib/stupidedi/versions/003040/segment_defs/MEA.rb +22 -0
- data/lib/stupidedi/versions/003040/segment_defs/MS1.rb +33 -0
- data/lib/stupidedi/versions/003040/segment_defs/MS2.rb +22 -0
- data/lib/stupidedi/versions/003040/segment_defs/MS3.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/MSG.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/N1.rb +19 -0
- data/lib/stupidedi/versions/003040/segment_defs/N2.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/N3.rb +17 -0
- data/lib/stupidedi/versions/003040/segment_defs/N4.rb +19 -0
- data/lib/stupidedi/versions/003040/segment_defs/N7.rb +42 -0
- data/lib/stupidedi/versions/003040/segment_defs/N9.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/NTE.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/PER.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/PID.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/PLD.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/PO1.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/PO4.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/PRR.rb +21 -0
- data/lib/stupidedi/versions/003040/segment_defs/QTY.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/REF.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/REP.rb +19 -0
- data/lib/stupidedi/versions/003040/segment_defs/RMT.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/S5.rb +29 -0
- data/lib/stupidedi/versions/003040/segment_defs/SE.rb +19 -0
- data/lib/stupidedi/versions/003040/segment_defs/SN1.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_defs/SSS.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_defs/ST.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/TD1.rb +27 -0
- data/lib/stupidedi/versions/003040/segment_defs/TD3.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/TD5.rb +18 -0
- data/lib/stupidedi/versions/003040/segment_defs/TDS.rb +16 -0
- data/lib/stupidedi/versions/003040/segment_defs/W01.rb +37 -0
- data/lib/stupidedi/versions/003040/segment_defs/W03.rb +25 -0
- data/lib/stupidedi/versions/003040/segment_defs/W04.rb +35 -0
- data/lib/stupidedi/versions/003040/segment_defs/W05.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_defs/W06.rb +29 -0
- data/lib/stupidedi/versions/003040/segment_defs/W07.rb +30 -0
- data/lib/stupidedi/versions/003040/segment_defs/W08.rb +26 -0
- data/lib/stupidedi/versions/003040/segment_defs/W12.rb +43 -0
- data/lib/stupidedi/versions/003040/segment_defs/W14.rb +20 -0
- data/lib/stupidedi/versions/003040/segment_defs/W17.rb +26 -0
- data/lib/stupidedi/versions/003040/segment_defs/W20.rb +28 -0
- data/lib/stupidedi/versions/003040/segment_defs/W27.rb +27 -0
- data/lib/stupidedi/versions/003040/segment_defs/W66.rb +26 -0
- data/lib/stupidedi/versions/003040/segment_defs/W76.rb +24 -0
- data/lib/stupidedi/versions/003040/segment_reqs.rb +11 -0
- data/lib/stupidedi/versions/003040/syntax_notes.rb +14 -0
- data/lib/stupidedi/versions/003050.rb +14 -0
- data/lib/stupidedi/versions/003050/element_defs.rb +10612 -0
- data/lib/stupidedi/versions/003050/element_reqs.rb +12 -0
- data/lib/stupidedi/versions/003050/element_types.rb +28 -0
- data/lib/stupidedi/versions/003050/element_types/an.rb +11 -0
- data/lib/stupidedi/versions/003050/element_types/dt.rb +11 -0
- data/lib/stupidedi/versions/003050/element_types/float_val.rb +11 -0
- data/lib/stupidedi/versions/003050/element_types/id.rb +11 -0
- data/lib/stupidedi/versions/003050/element_types/nn.rb +11 -0
- data/lib/stupidedi/versions/003050/element_types/tm.rb +11 -0
- data/lib/stupidedi/versions/003050/functional_group_def.rb +24 -0
- data/lib/stupidedi/versions/003050/segment_defs.rb +95 -0
- data/lib/stupidedi/versions/003050/segment_defs/AK1.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/AK2.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/AK3.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/AK9.rb +23 -0
- data/lib/stupidedi/versions/003050/segment_defs/AMT.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/AT7.rb +29 -0
- data/lib/stupidedi/versions/003050/segment_defs/AT8.rb +25 -0
- data/lib/stupidedi/versions/003050/segment_defs/B1.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/B10.rb +26 -0
- data/lib/stupidedi/versions/003050/segment_defs/B2.rb +27 -0
- data/lib/stupidedi/versions/003050/segment_defs/B2A.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/BEG.rb +21 -0
- data/lib/stupidedi/versions/003050/segment_defs/BGN.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/BPS.rb +25 -0
- data/lib/stupidedi/versions/003050/segment_defs/BSN.rb +24 -0
- data/lib/stupidedi/versions/003050/segment_defs/CTT.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/CUR.rb +19 -0
- data/lib/stupidedi/versions/003050/segment_defs/DTM.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/FOB.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/G61.rb +22 -0
- data/lib/stupidedi/versions/003050/segment_defs/G62.rb +22 -0
- data/lib/stupidedi/versions/003050/segment_defs/G69.rb +16 -0
- data/lib/stupidedi/versions/003050/segment_defs/GE.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/GS.rb +24 -0
- data/lib/stupidedi/versions/003050/segment_defs/HL.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/IT1.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/ITD.rb +28 -0
- data/lib/stupidedi/versions/003050/segment_defs/K1.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/L11.rb +21 -0
- data/lib/stupidedi/versions/003050/segment_defs/L3.rb +37 -0
- data/lib/stupidedi/versions/003050/segment_defs/L5.rb +29 -0
- data/lib/stupidedi/versions/003050/segment_defs/LE.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/LFH.rb +25 -0
- data/lib/stupidedi/versions/003050/segment_defs/LH1.rb +29 -0
- data/lib/stupidedi/versions/003050/segment_defs/LH2.rb +32 -0
- data/lib/stupidedi/versions/003050/segment_defs/LH3.rb +21 -0
- data/lib/stupidedi/versions/003050/segment_defs/LIN.rb +33 -0
- data/lib/stupidedi/versions/003050/segment_defs/LS.rb +16 -0
- data/lib/stupidedi/versions/003050/segment_defs/LX.rb +16 -0
- data/lib/stupidedi/versions/003050/segment_defs/M7.rb +21 -0
- data/lib/stupidedi/versions/003050/segment_defs/MAN.rb +23 -0
- data/lib/stupidedi/versions/003050/segment_defs/MEA.rb +22 -0
- data/lib/stupidedi/versions/003050/segment_defs/MS1.rb +33 -0
- data/lib/stupidedi/versions/003050/segment_defs/MS2.rb +22 -0
- data/lib/stupidedi/versions/003050/segment_defs/MS3.rb +21 -0
- data/lib/stupidedi/versions/003050/segment_defs/MSG.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/N1.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/N2.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/N3.rb +17 -0
- data/lib/stupidedi/versions/003050/segment_defs/N4.rb +19 -0
- data/lib/stupidedi/versions/003050/segment_defs/N7.rb +42 -0
- data/lib/stupidedi/versions/003050/segment_defs/N9.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/NTE.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/PER.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/PID.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/PLD.rb +21 -0
- data/lib/stupidedi/versions/003050/segment_defs/PO1.rb +23 -0
- data/lib/stupidedi/versions/003050/segment_defs/PO4.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/PRR.rb +19 -0
- data/lib/stupidedi/versions/003050/segment_defs/QTY.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/REF.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/REP.rb +19 -0
- data/lib/stupidedi/versions/003050/segment_defs/RMT.rb +25 -0
- data/lib/stupidedi/versions/003050/segment_defs/S5.rb +29 -0
- data/lib/stupidedi/versions/003050/segment_defs/SE.rb +19 -0
- data/lib/stupidedi/versions/003050/segment_defs/SN1.rb +24 -0
- data/lib/stupidedi/versions/003050/segment_defs/SSS.rb +22 -0
- data/lib/stupidedi/versions/003050/segment_defs/ST.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/TD1.rb +27 -0
- data/lib/stupidedi/versions/003050/segment_defs/TD3.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/TD5.rb +18 -0
- data/lib/stupidedi/versions/003050/segment_defs/TDS.rb +16 -0
- data/lib/stupidedi/versions/003050/segment_defs/W01.rb +37 -0
- data/lib/stupidedi/versions/003050/segment_defs/W03.rb +25 -0
- data/lib/stupidedi/versions/003050/segment_defs/W04.rb +35 -0
- data/lib/stupidedi/versions/003050/segment_defs/W05.rb +24 -0
- data/lib/stupidedi/versions/003050/segment_defs/W06.rb +29 -0
- data/lib/stupidedi/versions/003050/segment_defs/W07.rb +30 -0
- data/lib/stupidedi/versions/003050/segment_defs/W08.rb +26 -0
- data/lib/stupidedi/versions/003050/segment_defs/W12.rb +43 -0
- data/lib/stupidedi/versions/003050/segment_defs/W14.rb +20 -0
- data/lib/stupidedi/versions/003050/segment_defs/W17.rb +26 -0
- data/lib/stupidedi/versions/003050/segment_defs/W20.rb +28 -0
- data/lib/stupidedi/versions/003050/segment_defs/W27.rb +27 -0
- data/lib/stupidedi/versions/003050/segment_defs/W66.rb +26 -0
- data/lib/stupidedi/versions/003050/segment_defs/W76.rb +24 -0
- data/lib/stupidedi/versions/003050/segment_reqs.rb +11 -0
- data/lib/stupidedi/versions/003050/syntax_notes.rb +14 -0
- data/lib/stupidedi/versions/004010.rb +14 -0
- data/lib/stupidedi/versions/004010/element_defs.rb +9512 -0
- data/lib/stupidedi/versions/004010/element_reqs.rb +12 -0
- data/lib/stupidedi/versions/004010/element_types.rb +28 -0
- data/lib/stupidedi/versions/004010/element_types/an.rb +11 -0
- data/lib/stupidedi/versions/004010/element_types/dt.rb +11 -0
- data/lib/stupidedi/versions/004010/element_types/float_val.rb +11 -0
- data/lib/stupidedi/versions/004010/element_types/id.rb +11 -0
- data/lib/stupidedi/versions/004010/element_types/nn.rb +11 -0
- data/lib/stupidedi/versions/004010/element_types/tm.rb +11 -0
- data/lib/stupidedi/versions/004010/functional_group_def.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs.rb +120 -0
- data/lib/stupidedi/versions/004010/segment_defs/AK1.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/AK2.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/AK3.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/AK4.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/AK5.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/AK9.rb +27 -0
- data/lib/stupidedi/versions/004010/segment_defs/AMT.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/AT7.rb +29 -0
- data/lib/stupidedi/versions/004010/segment_defs/AT8.rb +25 -0
- data/lib/stupidedi/versions/004010/segment_defs/B1.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/B10.rb +26 -0
- data/lib/stupidedi/versions/004010/segment_defs/B2.rb +27 -0
- data/lib/stupidedi/versions/004010/segment_defs/B2A.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/B3.rb +27 -0
- data/lib/stupidedi/versions/004010/segment_defs/BAK.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/BCT.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/BEG.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/BFR.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/BPR.rb +44 -0
- data/lib/stupidedi/versions/004010/segment_defs/BSN.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/BSS.rb +27 -0
- data/lib/stupidedi/versions/004010/segment_defs/C3.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/CAS.rb +50 -0
- data/lib/stupidedi/versions/004010/segment_defs/CLP.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/CTP.rb +31 -0
- data/lib/stupidedi/versions/004010/segment_defs/CTT.rb +25 -0
- data/lib/stupidedi/versions/004010/segment_defs/CUR.rb +51 -0
- data/lib/stupidedi/versions/004010/segment_defs/DTM.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/FST.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/G61.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/G62.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/G69.rb +16 -0
- data/lib/stupidedi/versions/004010/segment_defs/GE.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/GS.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/H3.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/HL.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/JIT.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/K1.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/L0.rb +30 -0
- data/lib/stupidedi/versions/004010/segment_defs/L1.rb +39 -0
- data/lib/stupidedi/versions/004010/segment_defs/L11.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/L3.rb +37 -0
- data/lib/stupidedi/versions/004010/segment_defs/L4.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/L5.rb +29 -0
- data/lib/stupidedi/versions/004010/segment_defs/L7.rb +32 -0
- data/lib/stupidedi/versions/004010/segment_defs/LAD.rb +34 -0
- data/lib/stupidedi/versions/004010/segment_defs/LFH.rb +25 -0
- data/lib/stupidedi/versions/004010/segment_defs/LH1.rb +29 -0
- data/lib/stupidedi/versions/004010/segment_defs/LH2.rb +33 -0
- data/lib/stupidedi/versions/004010/segment_defs/LH3.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/LIN.rb +47 -0
- data/lib/stupidedi/versions/004010/segment_defs/LQ.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/LX.rb +16 -0
- data/lib/stupidedi/versions/004010/segment_defs/M7.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/MAN.rb +23 -0
- data/lib/stupidedi/versions/004010/segment_defs/MEA.rb +36 -0
- data/lib/stupidedi/versions/004010/segment_defs/MIA.rb +40 -0
- data/lib/stupidedi/versions/004010/segment_defs/MOA.rb +25 -0
- data/lib/stupidedi/versions/004010/segment_defs/MS1.rb +33 -0
- data/lib/stupidedi/versions/004010/segment_defs/MS2.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/MS3.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/N1.rb +23 -0
- data/lib/stupidedi/versions/004010/segment_defs/N2.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/N3.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/N4.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/N7.rb +42 -0
- data/lib/stupidedi/versions/004010/segment_defs/N9.rb +25 -0
- data/lib/stupidedi/versions/004010/segment_defs/NM1.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/NTE.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/OID.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/PER.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/PID.rb +29 -0
- data/lib/stupidedi/versions/004010/segment_defs/PLB.rb +37 -0
- data/lib/stupidedi/versions/004010/segment_defs/PLD.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/PO1.rb +52 -0
- data/lib/stupidedi/versions/004010/segment_defs/PO4.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/PRF.rb +16 -0
- data/lib/stupidedi/versions/004010/segment_defs/QTY.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/R3.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/REF.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/S5.rb +29 -0
- data/lib/stupidedi/versions/004010/segment_defs/SCH.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/SDP.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/SE.rb +19 -0
- data/lib/stupidedi/versions/004010/segment_defs/SHP.rb +19 -0
- data/lib/stupidedi/versions/004010/segment_defs/SN1.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/ST.rb +18 -0
- data/lib/stupidedi/versions/004010/segment_defs/SVC.rb +23 -0
- data/lib/stupidedi/versions/004010/segment_defs/TD1.rb +19 -0
- data/lib/stupidedi/versions/004010/segment_defs/TD3.rb +23 -0
- data/lib/stupidedi/versions/004010/segment_defs/TD4.rb +22 -0
- data/lib/stupidedi/versions/004010/segment_defs/TD5.rb +21 -0
- data/lib/stupidedi/versions/004010/segment_defs/TRN.rb +19 -0
- data/lib/stupidedi/versions/004010/segment_defs/TS2.rb +35 -0
- data/lib/stupidedi/versions/004010/segment_defs/TS3.rb +39 -0
- data/lib/stupidedi/versions/004010/segment_defs/UIT.rb +17 -0
- data/lib/stupidedi/versions/004010/segment_defs/W01.rb +37 -0
- data/lib/stupidedi/versions/004010/segment_defs/W03.rb +25 -0
- data/lib/stupidedi/versions/004010/segment_defs/W04.rb +35 -0
- data/lib/stupidedi/versions/004010/segment_defs/W05.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_defs/W06.rb +29 -0
- data/lib/stupidedi/versions/004010/segment_defs/W07.rb +30 -0
- data/lib/stupidedi/versions/004010/segment_defs/W08.rb +26 -0
- data/lib/stupidedi/versions/004010/segment_defs/W12.rb +43 -0
- data/lib/stupidedi/versions/004010/segment_defs/W14.rb +20 -0
- data/lib/stupidedi/versions/004010/segment_defs/W17.rb +26 -0
- data/lib/stupidedi/versions/004010/segment_defs/W20.rb +28 -0
- data/lib/stupidedi/versions/004010/segment_defs/W27.rb +27 -0
- data/lib/stupidedi/versions/004010/segment_defs/W66.rb +26 -0
- data/lib/stupidedi/versions/004010/segment_defs/W76.rb +24 -0
- data/lib/stupidedi/versions/004010/segment_reqs.rb +11 -0
- data/lib/stupidedi/versions/004010/syntax_notes.rb +14 -0
- data/lib/stupidedi/versions/005010.rb +14 -0
- data/lib/stupidedi/versions/005010/element_defs.rb +3353 -0
- data/lib/stupidedi/versions/005010/element_reqs.rb +12 -0
- data/lib/stupidedi/versions/005010/element_types.rb +28 -0
- data/lib/stupidedi/versions/005010/element_types/an.rb +11 -0
- data/lib/stupidedi/versions/005010/element_types/dt.rb +11 -0
- data/lib/stupidedi/versions/005010/element_types/float_val.rb +11 -0
- data/lib/stupidedi/versions/005010/element_types/id.rb +11 -0
- data/lib/stupidedi/versions/005010/element_types/nn.rb +11 -0
- data/lib/stupidedi/versions/005010/element_types/tm.rb +11 -0
- data/lib/stupidedi/versions/005010/functional_group_def.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs.rb +156 -0
- data/lib/stupidedi/versions/005010/segment_defs/AAA.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/ACT.rb +27 -0
- data/lib/stupidedi/versions/005010/segment_defs/AD1.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/ADX.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/AIN.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/AK1.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/AK2.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/AK3.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/AK4.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/AK5.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/AK9.rb +27 -0
- data/lib/stupidedi/versions/005010/segment_defs/AMT.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/ASM.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/ATN.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/BEN.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/BGN.rb +25 -0
- data/lib/stupidedi/versions/005010/segment_defs/BHT.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs/BPR.rb +44 -0
- data/lib/stupidedi/versions/005010/segment_defs/CAS.rb +50 -0
- data/lib/stupidedi/versions/005010/segment_defs/CL1.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/CLM.rb +35 -0
- data/lib/stupidedi/versions/005010/segment_defs/CLP.rb +29 -0
- data/lib/stupidedi/versions/005010/segment_defs/CN1.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/COB.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR1.rb +28 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR2.rb +31 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR3.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR4.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR5.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR6.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR7.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/CR8.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/CRC.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/CTP.rb +31 -0
- data/lib/stupidedi/versions/005010/segment_defs/CTX.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs/CUR.rb +51 -0
- data/lib/stupidedi/versions/005010/segment_defs/DED.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/DMG.rb +29 -0
- data/lib/stupidedi/versions/005010/segment_defs/DN1.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/DN2.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/DSB.rb +24 -0
- data/lib/stupidedi/versions/005010/segment_defs/DTM.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/DTP.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/EB.rb +30 -0
- data/lib/stupidedi/versions/005010/segment_defs/EC.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/EM.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/EMS.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/ENT.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/EQ.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/FA1.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/FA2.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/FC.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/FRM.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/FSA.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/G53.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/GE.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/GS.rb +24 -0
- data/lib/stupidedi/versions/005010/segment_defs/HCP.rb +34 -0
- data/lib/stupidedi/versions/005010/segment_defs/HCR.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/HD.rb +26 -0
- data/lib/stupidedi/versions/005010/segment_defs/HI.rb +27 -0
- data/lib/stupidedi/versions/005010/segment_defs/HL.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/HLH.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/HSD.rb +25 -0
- data/lib/stupidedi/versions/005010/segment_defs/ICM.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/IDC.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/III.rb +26 -0
- data/lib/stupidedi/versions/005010/segment_defs/IK3.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/IK4.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/IK5.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/IMM.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/INS.rb +33 -0
- data/lib/stupidedi/versions/005010/segment_defs/INV.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/IT1.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/K3.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/LC.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/LE.rb +17 -0
- data/lib/stupidedi/versions/005010/segment_defs/LIN.rb +60 -0
- data/lib/stupidedi/versions/005010/segment_defs/LOC.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/LQ.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/LS.rb +16 -0
- data/lib/stupidedi/versions/005010/segment_defs/LUI.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/LX.rb +16 -0
- data/lib/stupidedi/versions/005010/segment_defs/MEA.rb +35 -0
- data/lib/stupidedi/versions/005010/segment_defs/MIA.rb +40 -0
- data/lib/stupidedi/versions/005010/segment_defs/MOA.rb +25 -0
- data/lib/stupidedi/versions/005010/segment_defs/MPI.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs/MSG.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/N1.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs/N2.rb +17 -0
- data/lib/stupidedi/versions/005010/segment_defs/N3.rb +17 -0
- data/lib/stupidedi/versions/005010/segment_defs/N4.rb +25 -0
- data/lib/stupidedi/versions/005010/segment_defs/N9.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/NM1.rb +30 -0
- data/lib/stupidedi/versions/005010/segment_defs/NTE.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/NX1.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/OI.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/PAT.rb +26 -0
- data/lib/stupidedi/versions/005010/segment_defs/PCT.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PDP.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PDR.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PEN.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PER.rb +28 -0
- data/lib/stupidedi/versions/005010/segment_defs/PID.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PKD.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PLA.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/PLB.rb +37 -0
- data/lib/stupidedi/versions/005010/segment_defs/PM.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/PRV.rb +22 -0
- data/lib/stupidedi/versions/005010/segment_defs/PS1.rb +18 -0
- data/lib/stupidedi/versions/005010/segment_defs/PWK.rb +26 -0
- data/lib/stupidedi/versions/005010/segment_defs/PYD.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/QTY.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/RDM.rb +21 -0
- data/lib/stupidedi/versions/005010/segment_defs/REF.rb +20 -0
- data/lib/stupidedi/versions/005010/segment_defs/REL.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/RMR.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/RP.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/RPA.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/RYL.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/SAC.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/SBR.rb +25 -0
- data/lib/stupidedi/versions/005010/segment_defs/SD1.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/SE.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/SLN.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/ST.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/STC.rb +28 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV1.rb +38 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV2.rb +26 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV3.rb +26 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV4.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV5.rb +24 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV6.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/SV7.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/SVC.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs/SVD.rb +23 -0
- data/lib/stupidedi/versions/005010/segment_defs/TOO.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/TRN.rb +19 -0
- data/lib/stupidedi/versions/005010/segment_defs/TS2.rb +35 -0
- data/lib/stupidedi/versions/005010/segment_defs/TS3.rb +39 -0
- data/lib/stupidedi/versions/005010/segment_defs/TXI.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/TXP.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/UM.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/UR.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_defs/VEH.rb +15 -0
- data/lib/stupidedi/versions/005010/segment_reqs.rb +11 -0
- data/lib/stupidedi/versions/005010/syntax_notes.rb +14 -0
- data/lib/stupidedi/versions/common.rb +11 -0
- data/lib/stupidedi/versions/common/element_reqs.rb +13 -0
- data/lib/stupidedi/versions/common/element_types.rb +29 -0
- data/lib/stupidedi/versions/common/element_types/an.rb +386 -0
- data/lib/stupidedi/versions/common/element_types/dt.rb +572 -0
- data/lib/stupidedi/versions/common/element_types/id.rb +304 -0
- data/lib/stupidedi/versions/common/element_types/nn.rb +312 -0
- data/lib/stupidedi/versions/common/element_types/operators.rb +128 -0
- data/lib/stupidedi/versions/common/element_types/r.rb +340 -0
- data/lib/stupidedi/versions/common/element_types/simple_element.rb +73 -0
- data/lib/stupidedi/versions/common/element_types/tm.rb +347 -0
- data/lib/stupidedi/versions/common/segment_reqs.rb +15 -0
- data/lib/stupidedi/versions/common/syntax_notes.rb +172 -0
- data/lib/stupidedi/versions/functional_groups.rb +23 -8
- data/lib/stupidedi/versions/interchanges.rb +2 -9
- data/lib/stupidedi/writer.rb +0 -1
- data/lib/stupidedi/writer/claredi.rb +75 -41
- data/lib/stupidedi/writer/default.rb +23 -31
- data/lib/stupidedi/zipper.rb +0 -3
- data/lib/stupidedi/zipper/abstract_cursor.rb +10 -14
- data/lib/stupidedi/zipper/dangling_cursor.rb +0 -4
- data/lib/stupidedi/zipper/edited_cursor.rb +0 -4
- data/lib/stupidedi/zipper/memoized_cursor.rb +0 -4
- data/lib/stupidedi/zipper/path.rb +0 -6
- data/lib/stupidedi/zipper/root_cursor.rb +0 -4
- data/lib/stupidedi/zipper/stack_cursor.rb +0 -67
- metadata +872 -1026
- data/doc/unwritten/Defining.md +0 -0
- data/lib/ruby/instance_exec.rb +0 -30
- data/lib/ruby/jruby_hack.rb +0 -683
- data/lib/ruby/symbol.rb +0 -29
- data/lib/stupidedi/blank_slate.rb +0 -12
- data/lib/stupidedi/builder/builder_dsl.rb +0 -293
- data/lib/stupidedi/builder/constraint_table.rb +0 -476
- data/lib/stupidedi/builder/generation.rb +0 -147
- data/lib/stupidedi/builder/identifier_stack.rb +0 -171
- data/lib/stupidedi/builder/instruction.rb +0 -116
- data/lib/stupidedi/builder/instruction_table.rb +0 -220
- data/lib/stupidedi/builder/navigation.rb +0 -735
- data/lib/stupidedi/builder/state_machine.rb +0 -65
- data/lib/stupidedi/builder/states/abstract_state.rb +0 -338
- data/lib/stupidedi/builder/states/failure_state.rb +0 -73
- data/lib/stupidedi/builder/states/functional_group_state.rb +0 -100
- data/lib/stupidedi/builder/states/initial_state.rb +0 -66
- data/lib/stupidedi/builder/states/interchange_state.rb +0 -98
- data/lib/stupidedi/builder/states/loop_state.rb +0 -83
- data/lib/stupidedi/builder/states/table_state.rb +0 -100
- data/lib/stupidedi/builder/states/transaction_set_state.rb +0 -116
- data/lib/stupidedi/builder/states/transmission_state.rb +0 -63
- data/lib/stupidedi/builder/tokenization.rb +0 -202
- data/lib/stupidedi/contrib/002001.rb +0 -14
- data/lib/stupidedi/contrib/002001/guides.rb +0 -22
- data/lib/stupidedi/contrib/002001/guides/FA997.rb +0 -82
- data/lib/stupidedi/contrib/002001/guides/PO830.rb +0 -184
- data/lib/stupidedi/contrib/002001/guides/SH856.rb +0 -217
- data/lib/stupidedi/contrib/002001/transaction_set_defs.rb +0 -25
- data/lib/stupidedi/contrib/002001/transaction_set_defs/FA997.rb +0 -32
- data/lib/stupidedi/contrib/002001/transaction_set_defs/PO830.rb +0 -47
- data/lib/stupidedi/contrib/002001/transaction_set_defs/SH856.rb +0 -39
- data/lib/stupidedi/contrib/003010.rb +0 -14
- data/lib/stupidedi/contrib/003010/guides.rb +0 -23
- data/lib/stupidedi/contrib/003010/guides/PC860.rb +0 -176
- data/lib/stupidedi/contrib/003010/guides/PO850.rb +0 -169
- data/lib/stupidedi/contrib/003010/guides/PS830.rb +0 -169
- data/lib/stupidedi/contrib/003010/guides/RA820.rb +0 -187
- data/lib/stupidedi/contrib/003010/transaction_set_defs.rb +0 -25
- data/lib/stupidedi/contrib/003010/transaction_set_defs/PC860.rb +0 -48
- data/lib/stupidedi/contrib/003010/transaction_set_defs/PO850.rb +0 -49
- data/lib/stupidedi/contrib/003010/transaction_set_defs/PS830.rb +0 -49
- data/lib/stupidedi/contrib/003010/transaction_set_defs/RA820.rb +0 -40
- data/lib/stupidedi/contrib/003040.rb +0 -14
- data/lib/stupidedi/contrib/003040/guides.rb +0 -20
- data/lib/stupidedi/contrib/003040/guides/WA142.rb +0 -187
- data/lib/stupidedi/contrib/003040/transaction_set_defs.rb +0 -16
- data/lib/stupidedi/contrib/003040/transaction_set_defs/WA142.rb +0 -53
- data/lib/stupidedi/contrib/003050.rb +0 -14
- data/lib/stupidedi/contrib/003050/guides.rb +0 -16
- data/lib/stupidedi/contrib/003050/guides/PO850.rb +0 -97
- data/lib/stupidedi/contrib/003050/transaction_set_defs.rb +0 -15
- data/lib/stupidedi/contrib/003050/transaction_set_defs/PO850.rb +0 -43
- data/lib/stupidedi/contrib/004010.rb +0 -14
- data/lib/stupidedi/contrib/004010/guides.rb +0 -28
- data/lib/stupidedi/contrib/004010/guides/AR943.rb +0 -89
- data/lib/stupidedi/contrib/004010/guides/FA997.rb +0 -82
- data/lib/stupidedi/contrib/004010/guides/GF990.rb +0 -55
- data/lib/stupidedi/contrib/004010/guides/IM210.rb +0 -267
- data/lib/stupidedi/contrib/004010/guides/OW940.rb +0 -121
- data/lib/stupidedi/contrib/004010/guides/PO850.rb +0 -133
- data/lib/stupidedi/contrib/004010/guides/PS830.rb +0 -165
- data/lib/stupidedi/contrib/004010/guides/QM214.rb +0 -141
- data/lib/stupidedi/contrib/004010/guides/RE944.rb +0 -75
- data/lib/stupidedi/contrib/004010/guides/SH856.rb +0 -187
- data/lib/stupidedi/contrib/004010/guides/SM204.rb +0 -480
- data/lib/stupidedi/contrib/004010/guides/SQ866.rb +0 -120
- data/lib/stupidedi/contrib/004010/guides/SS862.rb +0 -178
- data/lib/stupidedi/contrib/004010/guides/SW945.rb +0 -120
- data/lib/stupidedi/contrib/004010/transaction_set_defs.rb +0 -61
- data/lib/stupidedi/contrib/004010/transaction_set_defs/AR943.rb +0 -35
- data/lib/stupidedi/contrib/004010/transaction_set_defs/FA997.rb +0 -31
- data/lib/stupidedi/contrib/004010/transaction_set_defs/GF990.rb +0 -22
- data/lib/stupidedi/contrib/004010/transaction_set_defs/IM210.rb +0 -47
- data/lib/stupidedi/contrib/004010/transaction_set_defs/OW940.rb +0 -44
- data/lib/stupidedi/contrib/004010/transaction_set_defs/PO850.rb +0 -51
- data/lib/stupidedi/contrib/004010/transaction_set_defs/PR855.rb +0 -35
- data/lib/stupidedi/contrib/004010/transaction_set_defs/PS830.rb +0 -45
- data/lib/stupidedi/contrib/004010/transaction_set_defs/QM214.rb +0 -41
- data/lib/stupidedi/contrib/004010/transaction_set_defs/RE944.rb +0 -35
- data/lib/stupidedi/contrib/004010/transaction_set_defs/SC832.rb +0 -45
- data/lib/stupidedi/contrib/004010/transaction_set_defs/SH856.rb +0 -44
- data/lib/stupidedi/contrib/004010/transaction_set_defs/SM204.rb +0 -85
- data/lib/stupidedi/contrib/004010/transaction_set_defs/SQ866.rb +0 -33
- data/lib/stupidedi/contrib/004010/transaction_set_defs/SS862.rb +0 -41
- data/lib/stupidedi/contrib/004010/transaction_set_defs/SW945.rb +0 -44
- data/lib/stupidedi/guides/004010.rb +0 -22
- data/lib/stupidedi/guides/004010/X091A1-HP835.rb +0 -533
- data/lib/stupidedi/guides/004010/element_reqs.rb +0 -41
- data/lib/stupidedi/guides/004010/guide_builder.rb +0 -184
- data/lib/stupidedi/guides/004010/segment_reqs.rb +0 -35
- data/lib/stupidedi/guides/005010.rb +0 -87
- data/lib/stupidedi/guides/005010/X212-HR276.rb +0 -387
- data/lib/stupidedi/guides/005010/X214-HN277.rb +0 -412
- data/lib/stupidedi/guides/005010/X220-BE834.rb +0 -709
- data/lib/stupidedi/guides/005010/X220A1-BE834.rb +0 -709
- data/lib/stupidedi/guides/005010/X221-HP835.rb +0 -616
- data/lib/stupidedi/guides/005010/X221A1-HP835.rb +0 -616
- data/lib/stupidedi/guides/005010/X222-HC837P.rb +0 -2294
- data/lib/stupidedi/guides/005010/X222A1-HC837P.rb +0 -2300
- data/lib/stupidedi/guides/005010/X223-HC837I.rb +0 -2579
- data/lib/stupidedi/guides/005010/X231-FA999.rb +0 -126
- data/lib/stupidedi/guides/005010/X231A1-FA999.rb +0 -122
- data/lib/stupidedi/guides/005010/X279-HB271.rb +0 -832
- data/lib/stupidedi/guides/005010/X279-HS270.rb +0 -594
- data/lib/stupidedi/guides/005010/X279A1-HB271.rb +0 -845
- data/lib/stupidedi/guides/005010/X279A1-HS270.rb +0 -594
- data/lib/stupidedi/guides/005010/element_reqs.rb +0 -41
- data/lib/stupidedi/guides/005010/guide_builder.rb +0 -205
- data/lib/stupidedi/guides/005010/segment_reqs.rb +0 -35
- data/lib/stupidedi/schema/auditor.rb +0 -435
- data/lib/stupidedi/schema/element_def.rb +0 -177
- data/lib/stupidedi/schema/element_use.rb +0 -255
- data/lib/stupidedi/tail_call.rb +0 -111
- data/lib/stupidedi/thread_local.rb +0 -177
- data/lib/stupidedi/versions/functional_groups/002001.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/002001/element_defs.rb +0 -10685
- data/lib/stupidedi/versions/functional_groups/002001/element_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/element_types.rb +0 -130
- data/lib/stupidedi/versions/functional_groups/002001/element_types/date_val.rb +0 -576
- data/lib/stupidedi/versions/functional_groups/002001/element_types/fixnum_val.rb +0 -318
- data/lib/stupidedi/versions/functional_groups/002001/element_types/float_val.rb +0 -349
- data/lib/stupidedi/versions/functional_groups/002001/element_types/identifier_val.rb +0 -362
- data/lib/stupidedi/versions/functional_groups/002001/element_types/operators.rb +0 -134
- data/lib/stupidedi/versions/functional_groups/002001/element_types/string_val.rb +0 -394
- data/lib/stupidedi/versions/functional_groups/002001/element_types/time_val.rb +0 -330
- data/lib/stupidedi/versions/functional_groups/002001/functional_group_def.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs.rb +0 -252
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK2.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK5.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AK9.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AT7.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/AT8.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/ATH.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B10.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B2.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/B2A.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/BEG.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/BFR.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/BSN.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/CTT.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/CUR.rb +0 -58
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/DTM.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/FST.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/G61.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/G62.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/G69.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/GE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/GS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/HL.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/J2X.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/K1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/L11.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/L3.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/L5.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LFH.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LH1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LH2.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LH3.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LIN.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/LX.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/M7.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MAN.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MEA.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MS1.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MS2.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/MS3.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N2.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N4.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N7.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/N9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/NTE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PER.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PID.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PLD.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PO1.rb +0 -60
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/PO4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/REF.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/S5.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/SDP.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/SE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/SN1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/ST.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/TD1.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/TD3.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/TD5.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/UNT.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W01.rb +0 -44
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W03.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W04.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W05.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W06.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W07.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W08.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W12.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W14.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W17.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W20.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W27.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W66.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/002001/segment_defs/W76.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/002001/segment_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/002001/syntax_notes.rb +0 -177
- data/lib/stupidedi/versions/functional_groups/002001/transaction_set_defs.rb +0 -14
- data/lib/stupidedi/versions/functional_groups/003010.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/003010/element_defs.rb +0 -9311
- data/lib/stupidedi/versions/functional_groups/003010/element_reqs.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003010/element_types.rb +0 -130
- data/lib/stupidedi/versions/functional_groups/003010/element_types/date_val.rb +0 -576
- data/lib/stupidedi/versions/functional_groups/003010/element_types/fixnum_val.rb +0 -319
- data/lib/stupidedi/versions/functional_groups/003010/element_types/float_val.rb +0 -349
- data/lib/stupidedi/versions/functional_groups/003010/element_types/identifier_val.rb +0 -361
- data/lib/stupidedi/versions/functional_groups/003010/element_types/operators.rb +0 -134
- data/lib/stupidedi/versions/functional_groups/003010/element_types/string_val.rb +0 -391
- data/lib/stupidedi/versions/functional_groups/003010/element_types/time_val.rb +0 -330
- data/lib/stupidedi/versions/functional_groups/003010/functional_group_def.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs.rb +0 -269
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK2.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AK9.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AT7.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/AT8.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B10.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B2.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/B2A.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BCH.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BEG.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BFR.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BPS.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/BSN.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/CTT.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/CUR.rb +0 -59
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/DTM.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/FOB.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/FST.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/G61.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/G62.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/G69.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/GE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/GS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/HL.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/ITD.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/K1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/L11.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/L3.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/L5.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LE.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LFH.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LH1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LH2.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LH3.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LIN.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LS.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/LX.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/M7.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MAN.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MEA.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MS1.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MS2.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MS3.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/MSG.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N1.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N2.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N4.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N7.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/N9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/NTE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PER.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PID.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PLD.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PO1.rb +0 -60
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/PO4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/POC.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/REF.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/RMT.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/S5.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SDP.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SHP.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/SN1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/ST.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/TD1.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/TD3.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/TD5.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/UIT.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W01.rb +0 -44
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W03.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W04.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W05.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W06.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W07.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W08.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W12.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W14.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W17.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W20.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W27.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W66.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003010/segment_defs/W76.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003010/segment_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003010/syntax_notes.rb +0 -177
- data/lib/stupidedi/versions/functional_groups/003010/transaction_set_defs.rb +0 -14
- data/lib/stupidedi/versions/functional_groups/003040.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/003040/element_defs.rb +0 -10766
- data/lib/stupidedi/versions/functional_groups/003040/element_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/element_types.rb +0 -130
- data/lib/stupidedi/versions/functional_groups/003040/element_types/date_val.rb +0 -575
- data/lib/stupidedi/versions/functional_groups/003040/element_types/fixnum_val.rb +0 -318
- data/lib/stupidedi/versions/functional_groups/003040/element_types/float_val.rb +0 -350
- data/lib/stupidedi/versions/functional_groups/003040/element_types/identifier_val.rb +0 -359
- data/lib/stupidedi/versions/functional_groups/003040/element_types/operators.rb +0 -134
- data/lib/stupidedi/versions/functional_groups/003040/element_types/string_val.rb +0 -392
- data/lib/stupidedi/versions/functional_groups/003040/element_types/time_val.rb +0 -330
- data/lib/stupidedi/versions/functional_groups/003040/functional_group_def.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs.rb +0 -274
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK2.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AK9.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AMT.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AT7.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/AT8.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B10.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B2.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/B2A.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BEG.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BGN.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BPS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/BSN.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/CTT.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/CUR.rb +0 -59
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/DTM.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/FOB.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/G61.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/G62.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/G69.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/GE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/GS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/HL.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/IT1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/ITD.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/K1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/L11.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/L3.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/L5.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LE.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LFH.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LH1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LH2.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LH3.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LIN.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LS.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/LX.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/M7.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MAN.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MEA.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MS1.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MS2.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MS3.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/MSG.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N2.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N4.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N7.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/N9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/NTE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PER.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PID.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PLD.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PO1.rb +0 -60
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PO4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/PRR.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/QTY.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/REF.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/REP.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/RMT.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/S5.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/SE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/SN1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/SSS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/ST.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TD1.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TD3.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TD5.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/TDS.rb +0 -19
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W01.rb +0 -44
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W03.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W04.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W05.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W06.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W07.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W08.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W12.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W14.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W17.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W20.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W27.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W66.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003040/segment_defs/W76.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003040/segment_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003040/syntax_notes.rb +0 -177
- data/lib/stupidedi/versions/functional_groups/003040/transaction_set_defs.rb +0 -14
- data/lib/stupidedi/versions/functional_groups/003050.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/003050/element_defs.rb +0 -10769
- data/lib/stupidedi/versions/functional_groups/003050/element_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/element_types.rb +0 -130
- data/lib/stupidedi/versions/functional_groups/003050/element_types/date_val.rb +0 -576
- data/lib/stupidedi/versions/functional_groups/003050/element_types/fixnum_val.rb +0 -319
- data/lib/stupidedi/versions/functional_groups/003050/element_types/float_val.rb +0 -351
- data/lib/stupidedi/versions/functional_groups/003050/element_types/identifier_val.rb +0 -360
- data/lib/stupidedi/versions/functional_groups/003050/element_types/operators.rb +0 -134
- data/lib/stupidedi/versions/functional_groups/003050/element_types/string_val.rb +0 -393
- data/lib/stupidedi/versions/functional_groups/003050/element_types/time_val.rb +0 -330
- data/lib/stupidedi/versions/functional_groups/003050/functional_group_def.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs.rb +0 -274
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK2.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AK9.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AMT.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AT7.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/AT8.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B10.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B2.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/B2A.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BEG.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BGN.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BPS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/BSN.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/CTT.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/CUR.rb +0 -59
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/DTM.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/FOB.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/G61.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/G62.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/G69.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/GE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/GS.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/HL.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/IT1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/ITD.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/K1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/L11.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/L3.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/L5.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LE.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LFH.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LH1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LH2.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LH3.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LIN.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LS.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/LX.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/M7.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MAN.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MEA.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MS1.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MS2.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MS3.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/MSG.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N2.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N4.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N7.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/N9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/NTE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PER.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PID.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PLD.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PO1.rb +0 -60
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PO4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/PRR.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/QTY.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/REF.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/REP.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/RMT.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/S5.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/SE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/SN1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/SSS.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/ST.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TD1.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TD3.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TD5.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/TDS.rb +0 -19
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W01.rb +0 -44
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W03.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W04.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W05.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W06.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W07.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W08.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W12.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W14.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W17.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W20.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W27.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W66.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/003050/segment_defs/W76.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/003050/segment_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/003050/syntax_notes.rb +0 -177
- data/lib/stupidedi/versions/functional_groups/003050/transaction_set_defs.rb +0 -14
- data/lib/stupidedi/versions/functional_groups/004010.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/004010/element_defs.rb +0 -9626
- data/lib/stupidedi/versions/functional_groups/004010/element_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/element_types.rb +0 -130
- data/lib/stupidedi/versions/functional_groups/004010/element_types/date_val.rb +0 -577
- data/lib/stupidedi/versions/functional_groups/004010/element_types/fixnum_val.rb +0 -319
- data/lib/stupidedi/versions/functional_groups/004010/element_types/float_val.rb +0 -350
- data/lib/stupidedi/versions/functional_groups/004010/element_types/identifier_val.rb +0 -361
- data/lib/stupidedi/versions/functional_groups/004010/element_types/operators.rb +0 -134
- data/lib/stupidedi/versions/functional_groups/004010/element_types/string_val.rb +0 -393
- data/lib/stupidedi/versions/functional_groups/004010/element_types/time_val.rb +0 -331
- data/lib/stupidedi/versions/functional_groups/004010/functional_group_def.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs.rb +0 -349
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK2.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK3.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK5.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AK9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AMT.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AT7.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/AT8.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B10.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B2.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B2A.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/B3.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BAK.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BCT.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BEG.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BFR.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BPR.rb +0 -50
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BSN.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/BSS.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/C3.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CAS.rb +0 -57
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CLP.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CTP.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CTT.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/CUR.rb +0 -58
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/DTM.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/FST.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/G61.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/G62.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/G69.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/GE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/GS.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/H3.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/HL.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/JIT.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/K1.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L0.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L1.rb +0 -42
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L11.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L3.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L4.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L5.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/L7.rb +0 -35
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LAD.rb +0 -39
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LFH.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LH1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LH2.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LH3.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LIN.rb +0 -54
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LQ.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/LX.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/M7.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MAN.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MEA.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MIA.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MOA.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MS1.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MS2.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/MS3.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N2.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N4.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N7.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/N9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/NM1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/NTE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/OID.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PER.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PID.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PLB.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PLD.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PO1.rb +0 -60
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PO4.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/PRF.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/QTY.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/R3.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/REF.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/S5.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SCH.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SDP.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SHP.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SN1.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/ST.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/SVC.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD1.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD3.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD4.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TD5.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TRN.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TS2.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/TS3.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/UIT.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W01.rb +0 -44
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W03.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W04.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W05.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W06.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W07.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W08.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W12.rb +0 -51
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W14.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W17.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W20.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W27.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W66.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/004010/segment_defs/W76.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/004010/segment_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/004010/syntax_notes.rb +0 -177
- data/lib/stupidedi/versions/functional_groups/004010/transaction_set_defs.rb +0 -16
- data/lib/stupidedi/versions/functional_groups/004010/transaction_set_defs/HP835.rb +0 -67
- data/lib/stupidedi/versions/functional_groups/005010.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/005010/element_defs.rb +0 -2478
- data/lib/stupidedi/versions/functional_groups/005010/element_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/element_types.rb +0 -135
- data/lib/stupidedi/versions/functional_groups/005010/element_types/date_val.rb +0 -575
- data/lib/stupidedi/versions/functional_groups/005010/element_types/fixnum_val.rb +0 -318
- data/lib/stupidedi/versions/functional_groups/005010/element_types/float_val.rb +0 -351
- data/lib/stupidedi/versions/functional_groups/005010/element_types/identifier_val.rb +0 -361
- data/lib/stupidedi/versions/functional_groups/005010/element_types/operators.rb +0 -134
- data/lib/stupidedi/versions/functional_groups/005010/element_types/string_val.rb +0 -393
- data/lib/stupidedi/versions/functional_groups/005010/element_types/time_val.rb +0 -331
- data/lib/stupidedi/versions/functional_groups/005010/functional_group_def.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs.rb +0 -290
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AAA.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/ACT.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AK1.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AK2.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AK9.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/AMT.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/BGN.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/BHT.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/BPR.rb +0 -50
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CAS.rb +0 -57
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CL1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CLM.rb +0 -42
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CLP.rb +0 -35
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CN1.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/COB.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CR1.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CR2.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CR3.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CRC.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CTP.rb +0 -37
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CTX.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/CUR.rb +0 -59
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DMG.rb +0 -35
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DN1.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DN2.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DSB.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DTM.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/DTP.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/EB.rb +0 -34
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/EC.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/EQ.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/FRM.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/GE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/GS.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HCP.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HD.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HI.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HL.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HLH.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/HSD.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/ICM.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IDC.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/III.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IK3.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IK4.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/IK5.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/INS.rb +0 -39
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/K3.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LE.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LIN.rb +0 -70
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LQ.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LS.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LUI.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/LX.rb +0 -20
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MEA.rb +0 -40
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MIA.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MOA.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MPI.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/MSG.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N1.rb +0 -28
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N2.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N3.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/N4.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/NM1.rb +0 -36
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/NTE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/OI.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PAT.rb +0 -32
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PER.rb +0 -33
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PLA.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PLB.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PRV.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PS1.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/PWK.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/QTY.rb +0 -26
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/RDM.rb +0 -24
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/REF.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SBR.rb +0 -29
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SE.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/ST.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/STC.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV1.rb +0 -45
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV2.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV3.rb +0 -31
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SV5.rb +0 -30
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SVC.rb +0 -27
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/SVD.rb +0 -25
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TOO.rb +0 -22
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TRN.rb +0 -23
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TS2.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/005010/segment_defs/TS3.rb +0 -46
- data/lib/stupidedi/versions/functional_groups/005010/segment_reqs.rb +0 -21
- data/lib/stupidedi/versions/functional_groups/005010/syntax_notes.rb +0 -168
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs.rb +0 -71
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/BE834.rb +0 -163
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/FA999.rb +0 -41
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HB271.rb +0 -105
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HC837.rb +0 -167
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HI278.rb +0 -70
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HN277.rb +0 -77
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HP835.rb +0 -71
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HR276.rb +0 -60
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/HS270.rb +0 -57
- data/lib/stupidedi/versions/functional_groups/005010/transaction_set_defs/RA820.rb +0 -245
- data/lib/stupidedi/versions/interchanges/00200.rb +0 -26
- data/lib/stupidedi/versions/interchanges/00200/element_defs.rb +0 -277
- data/lib/stupidedi/versions/interchanges/00200/interchange_def.rb +0 -71
- data/lib/stupidedi/versions/interchanges/00200/segment_defs.rb +0 -31
- data/lib/stupidedi/versions/interchanges/00200/segment_defs/IEA.rb +0 -21
- data/lib/stupidedi/versions/interchanges/00200/segment_defs/ISA.rb +0 -35
- data/lib/stupidedi/versions/interchanges/00200/segment_defs/TA1.rb +0 -24
- data/lib/stupidedi/versions/interchanges/00300.rb +0 -26
- data/lib/stupidedi/versions/interchanges/00300/element_defs.rb +0 -278
- data/lib/stupidedi/versions/interchanges/00300/interchange_def.rb +0 -71
- data/lib/stupidedi/versions/interchanges/00300/segment_defs.rb +0 -31
- data/lib/stupidedi/versions/interchanges/00300/segment_defs/IEA.rb +0 -21
- data/lib/stupidedi/versions/interchanges/00300/segment_defs/ISA.rb +0 -35
- data/lib/stupidedi/versions/interchanges/00300/segment_defs/TA1.rb +0 -24
- data/lib/stupidedi/versions/interchanges/00400.rb +0 -26
- data/lib/stupidedi/versions/interchanges/00400/element_defs.rb +0 -270
- data/lib/stupidedi/versions/interchanges/00400/interchange_def.rb +0 -71
- data/lib/stupidedi/versions/interchanges/00400/segment_defs.rb +0 -31
- data/lib/stupidedi/versions/interchanges/00400/segment_defs/IEA.rb +0 -21
- data/lib/stupidedi/versions/interchanges/00400/segment_defs/ISA.rb +0 -35
- data/lib/stupidedi/versions/interchanges/00400/segment_defs/TA1.rb +0 -24
- data/lib/stupidedi/versions/interchanges/00401.rb +0 -26
- data/lib/stupidedi/versions/interchanges/00401/element_defs.rb +0 -271
- data/lib/stupidedi/versions/interchanges/00401/interchange_def.rb +0 -71
- data/lib/stupidedi/versions/interchanges/00401/segment_defs.rb +0 -31
- data/lib/stupidedi/versions/interchanges/00401/segment_defs/IEA.rb +0 -21
- data/lib/stupidedi/versions/interchanges/00401/segment_defs/ISA.rb +0 -35
- data/lib/stupidedi/versions/interchanges/00401/segment_defs/TA1.rb +0 -24
- data/lib/stupidedi/versions/interchanges/00501.rb +0 -26
- data/lib/stupidedi/versions/interchanges/00501/element_defs.rb +0 -272
- data/lib/stupidedi/versions/interchanges/00501/interchange_def.rb +0 -73
- data/lib/stupidedi/versions/interchanges/00501/segment_defs.rb +0 -40
- data/lib/stupidedi/versions/interchanges/00501/segment_defs/IEA.rb +0 -21
- data/lib/stupidedi/versions/interchanges/00501/segment_defs/ISA.rb +0 -35
- data/lib/stupidedi/versions/interchanges/00501/segment_defs/ISB.rb +0 -19
- data/lib/stupidedi/versions/interchanges/00501/segment_defs/ISE.rb +0 -19
- data/lib/stupidedi/versions/interchanges/00501/segment_defs/TA1.rb +0 -24
- data/lib/stupidedi/versions/interchanges/00501/segment_defs/TA3.rb +0 -19
- data/spec/examples/integration/generating_spec.rb +0 -560
- data/spec/examples/integration/navigating_spec.rb +0 -258
- data/spec/examples/integration/nondeterminism_spec.rb +0 -165
- data/spec/examples/integration/parsing/005010/X091A1-HP835_spec.rb +0 -94
- data/spec/examples/integration/parsing/005010/X212-HR276_spec.rb +0 -152
- data/spec/examples/integration/parsing/005010/X221-HP835_spec.rb +0 -386
- data/spec/examples/integration/parsing/005010/X222-HC837_spec.rb +0 -257
- data/spec/examples/ruby/array_spec.rb +0 -477
- data/spec/examples/ruby/blank_spec.rb +0 -63
- data/spec/examples/ruby/count_spec.rb +0 -69
- data/spec/examples/ruby/object_spec.rb +0 -99
- data/spec/examples/ruby/string_spec.rb +0 -112
- data/spec/examples/ruby/symbol_spec.rb +0 -99
- data/spec/examples/ruby/to_d_spec.rb +0 -91
- data/spec/examples/ruby/try_spec.rb +0 -51
- data/spec/examples/stupidedi/audit_spec.rb +0 -58
- data/spec/examples/stupidedi/either_spec.rb +0 -375
- data/spec/examples/stupidedi/reader/failure_spec.rb +0 -68
- data/spec/examples/stupidedi/reader/input/delegated_input_spec.rb +0 -293
- data/spec/examples/stupidedi/reader/separators_spec.rb +0 -73
- data/spec/examples/stupidedi/reader/stream_reader_spec.rb +0 -48
- data/spec/examples/stupidedi/reader/success_spec.rb +0 -34
- data/spec/examples/stupidedi/reader/token_reader_spec.rb +0 -776
- data/spec/examples/stupidedi/reader_spec.rb +0 -168
- data/spec/examples/stupidedi/versions/005010/element_types/an_spec.rb +0 -202
- data/spec/examples/stupidedi/versions/005010/element_types/dt_spec.rb +0 -258
- data/spec/examples/stupidedi/versions/005010/element_types/id_spec.rb +0 -192
- data/spec/examples/stupidedi/versions/005010/element_types/nn_spec.rb +0 -179
- data/spec/examples/stupidedi/versions/005010/element_types/r_spec.rb +0 -180
- data/spec/examples/stupidedi/versions/005010/element_types/tm_spec.rb +0 -2
- data/spec/examples/stupidedi/zipper/abstract_cursor_spec.rb +0 -417
- data/spec/examples/stupidedi/zipper_spec.rb +0 -9
- data/spec/fixtures/FA997/1-good.txt +0 -10
- data/spec/fixtures/PC860/1-good.txt +0 -21
- data/spec/fixtures/PO830/1-good.txt +0 -29
- data/spec/fixtures/PO850/1-good-v3010.txt +0 -31
- data/spec/fixtures/PO850/1-good-v3050.txt +0 -16
- data/spec/fixtures/PR855/1-good-v4010.txt +0 -11
- data/spec/fixtures/PR855/2-good-v4010.txt +0 -17
- data/spec/fixtures/PS830/1-good.txt +0 -29
- data/spec/fixtures/RA820/1-good.txt +0 -52
- data/spec/fixtures/SC832/1-good.txt +0 -22
- data/spec/fixtures/SC832/2-good.txt +0 -1067
- data/spec/fixtures/SH856/1-good.txt +0 -70
- data/spec/fixtures/SH856/2-good.txt +0 -31
- data/spec/fixtures/SQ866/1-good.txt +0 -29
- data/spec/fixtures/SS862/1-good.txt +0 -33
- data/spec/fixtures/WA142/1-good.txt +0 -307
- data/spec/fixtures/X091A1-HP835/1-good.txt +0 -1
- data/spec/fixtures/X186-AG824/1-bad.txt +0 -21
- data/spec/fixtures/X186-AG824/1-good.txt +0 -17
- data/spec/fixtures/X186-AG824/2-bad.txt +0 -26
- data/spec/fixtures/X186-AG824/2-good.txt +0 -21
- data/spec/fixtures/X186-AG824/3-bad.txt +0 -87
- data/spec/fixtures/X186-AG824/3-good.txt +0 -61
- data/spec/fixtures/X212-HN277/1-bad.txt +0 -54
- data/spec/fixtures/X212-HN277/1-good.txt +0 -46
- data/spec/fixtures/X212-HN277/2-bad.txt +0 -37
- data/spec/fixtures/X212-HN277/2-good.txt +0 -29
- data/spec/fixtures/X212-HN277/3-bad.txt +0 -22
- data/spec/fixtures/X212-HN277/3-good.txt +0 -17
- data/spec/fixtures/X212-HN277/4-bad.txt +0 -30
- data/spec/fixtures/X212-HN277/4-good.txt +0 -24
- data/spec/fixtures/X212-HR276/1-bad.txt +0 -53
- data/spec/fixtures/X212-HR276/1-good.txt +0 -46
- data/spec/fixtures/X212-HR276/2-bad.txt +0 -45
- data/spec/fixtures/X212-HR276/2-good.txt +0 -38
- data/spec/fixtures/X212-HR276/3-bad.txt +0 -32
- data/spec/fixtures/X212-HR276/3-good.txt +0 -26
- data/spec/fixtures/X212-HR276/4-bad.txt +0 -32
- data/spec/fixtures/X212-HR276/4-good.txt +0 -26
- data/spec/fixtures/X214-HN277/1-bad.txt +0 -58
- data/spec/fixtures/X214-HN277/1-good.txt +0 -47
- data/spec/fixtures/X214-HN277/2-bad.txt +0 -34
- data/spec/fixtures/X214-HN277/2-good.txt +0 -22
- data/spec/fixtures/X214-HN277/3-bad.txt +0 -64
- data/spec/fixtures/X214-HN277/3-good.txt +0 -54
- data/spec/fixtures/X214-HN277/4-bad.txt +0 -77
- data/spec/fixtures/X214-HN277/4-good.txt +0 -63
- data/spec/fixtures/X216-HI278/1-bad.txt +0 -42
- data/spec/fixtures/X216-HI278/1-good.txt +0 -27
- data/spec/fixtures/X216-HI278/2-bad.txt +0 -43
- data/spec/fixtures/X216-HI278/2-good.txt +0 -29
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-1.txt +0 -24
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-1_Clean.txt +0 -20
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-2.txt +0 -46
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-2_Clean.txt +0 -30
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-3.txt +0 -38
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-3_Clean.txt +0 -24
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4a.txt +0 -39
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4a_Clean.txt +0 -24
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4b.txt +0 -43
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-4b_Clean.txt +0 -25
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-5.txt +0 -63
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-5_Clean.txt +0 -41
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-6.txt +0 -36
- data/spec/fixtures/X217-HI278/Sample_278_Request_5010X217-6_Clean.txt +0 -20
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-1r.txt +0 -34
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-1r_Clean.txt +0 -23
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-2r.txt +0 -46
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-2r_Clean.txt +0 -31
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-3r.txt +0 -44
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-3r_Clean.txt +0 -26
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-4ar_Clean.txt +0 -28
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-4br_Clean.txt +0 -35
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-5r.txt +0 -60
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-5r_Clean.txt +0 -42
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-6r.txt +0 -40
- data/spec/fixtures/X217-HI278/Sample_278_Response_5010X217-6r_Clean.txt +0 -24
- data/spec/fixtures/X218-RA820/1-bad.txt +0 -31
- data/spec/fixtures/X218-RA820/1-good.txt +0 -25
- data/spec/fixtures/X218-RA820/2-bad.txt +0 -37
- data/spec/fixtures/X218-RA820/2-good.txt +0 -29
- data/spec/fixtures/X218-RA820/3-bad.txt +0 -29
- data/spec/fixtures/X218-RA820/3-good.txt +0 -23
- data/spec/fixtures/X218-RA820/4-bad.txt +0 -36
- data/spec/fixtures/X218-RA820/4-good.txt +0 -27
- data/spec/fixtures/X220-BE834/1-bad.txt +0 -35
- data/spec/fixtures/X220-BE834/1-good.txt +0 -29
- data/spec/fixtures/X220-BE834/10-bad.txt +0 -26
- data/spec/fixtures/X220-BE834/10-good.txt +0 -19
- data/spec/fixtures/X220-BE834/2-bad.txt +0 -31
- data/spec/fixtures/X220-BE834/2-good.txt +0 -23
- data/spec/fixtures/X220-BE834/3-bad.txt +0 -36
- data/spec/fixtures/X220-BE834/3-good.txt +0 -26
- data/spec/fixtures/X220-BE834/4-bad.txt +0 -27
- data/spec/fixtures/X220-BE834/4-good.txt +0 -21
- data/spec/fixtures/X220-BE834/5-bad.txt +0 -26
- data/spec/fixtures/X220-BE834/5-good.txt +0 -17
- data/spec/fixtures/X220-BE834/6-bad.txt +0 -25
- data/spec/fixtures/X220-BE834/6-good.txt +0 -20
- data/spec/fixtures/X220-BE834/7-bad.txt +0 -25
- data/spec/fixtures/X220-BE834/7-good.txt +0 -20
- data/spec/fixtures/X220-BE834/8-bad.txt +0 -25
- data/spec/fixtures/X220-BE834/8-good.txt +0 -20
- data/spec/fixtures/X220-BE834/9-bad.txt +0 -27
- data/spec/fixtures/X220-BE834/9-good.txt +0 -21
- data/spec/fixtures/X221-HP835/1-bad.txt +0 -58
- data/spec/fixtures/X221-HP835/1-good.txt +0 -40
- data/spec/fixtures/X221-HP835/2-bad.txt +0 -51
- data/spec/fixtures/X221-HP835/2-good.txt +0 -40
- data/spec/fixtures/X221-HP835/3a-bad.txt +0 -78
- data/spec/fixtures/X221-HP835/3a-good.txt +0 -49
- data/spec/fixtures/X221-HP835/3b-bad.txt +0 -60
- data/spec/fixtures/X221-HP835/3b-good.txt +0 -32
- data/spec/fixtures/X221-HP835/3c-bad.txt +0 -55
- data/spec/fixtures/X221-HP835/3c-good.txt +0 -34
- data/spec/fixtures/X222-HC837/1-bad.txt +0 -60
- data/spec/fixtures/X222-HC837/1-good.txt +0 -53
- data/spec/fixtures/X222-HC837/10a-bad.txt +0 -52
- data/spec/fixtures/X222-HC837/10a-good.txt +0 -40
- data/spec/fixtures/X222-HC837/10b-bad.txt +0 -99
- data/spec/fixtures/X222-HC837/10b-good.txt +0 -80
- data/spec/fixtures/X222-HC837/10c-bad.txt +0 -105
- data/spec/fixtures/X222-HC837/10c-good.txt +0 -80
- data/spec/fixtures/X222-HC837/11-bad.txt +0 -69
- data/spec/fixtures/X222-HC837/11-good.txt +0 -45
- data/spec/fixtures/X222-HC837/12-bad.txt +0 -73
- data/spec/fixtures/X222-HC837/12-good.txt +0 -51
- data/spec/fixtures/X222-HC837/13-bad.txt +0 -64
- data/spec/fixtures/X222-HC837/13-good.txt +0 -46
- data/spec/fixtures/X222-HC837/3a-bad.txt +0 -83
- data/spec/fixtures/X222-HC837/3a-good.txt +0 -59
- data/spec/fixtures/X222-HC837/3b-bad.txt +0 -97
- data/spec/fixtures/X222-HC837/3b-good.txt +0 -70
- data/spec/fixtures/X222-HC837/3c-bad.txt +0 -95
- data/spec/fixtures/X222-HC837/3c-good.txt +0 -74
- data/spec/fixtures/X222-HC837/4-bad.txt +0 -67
- data/spec/fixtures/X222-HC837/4-good.txt +0 -48
- data/spec/fixtures/X222-HC837/5-bad.txt +0 -73
- data/spec/fixtures/X222-HC837/5-good.txt +0 -60
- data/spec/fixtures/X222-HC837/6-bad.txt +0 -50
- data/spec/fixtures/X222-HC837/6-good.txt +0 -39
- data/spec/fixtures/X222-HC837/7-bad.txt +0 -93
- data/spec/fixtures/X222-HC837/7-good.txt +0 -78
- data/spec/fixtures/X222-HC837/8-bad.txt +0 -64
- data/spec/fixtures/X222-HC837/8-good.txt +0 -52
- data/spec/fixtures/X222-HC837/9-bad.txt +0 -56
- data/spec/fixtures/X222-HC837/9-good.txt +0 -38
- data/spec/fixtures/X223-HC837/1-bad.txt +0 -66
- data/spec/fixtures/X223-HC837/1-good.txt +0 -53
- data/spec/fixtures/X223-HC837/2-bad.txt +0 -69
- data/spec/fixtures/X223-HC837/2-good.txt +0 -60
- data/spec/fixtures/X223-HC837/3-bad.txt +0 -89
- data/spec/fixtures/X223-HC837/3-good.txt +0 -61
- data/spec/fixtures/X223-HC837/4-bad.txt +0 -60
- data/spec/fixtures/X223-HC837/4-good.txt +0 -40
- data/spec/fixtures/X223-HC837/5-bad.txt +0 -75
- data/spec/fixtures/X223-HC837/5-good.txt +0 -58
- data/spec/fixtures/X224-HC837/1-bad.txt +0 -54
- data/spec/fixtures/X224-HC837/1-good.txt +0 -44
- data/spec/fixtures/X224-HC837/2a-bad.txt +0 -52
- data/spec/fixtures/X224-HC837/2a-good.txt +0 -42
- data/spec/fixtures/X224-HC837/2b-bad.txt +0 -67
- data/spec/fixtures/X224-HC837/2b-good.txt +0 -52
- data/spec/fixtures/X224-HC837/3-bad.txt +0 -67
- data/spec/fixtures/X224-HC837/3-good.txt +0 -51
- data/spec/fixtures/X224-HC837/4-bad.txt +0 -49
- data/spec/fixtures/X224-HC837/4-good.txt +0 -40
- data/spec/fixtures/X230-FA997/1-bad.txt +0 -19
- data/spec/fixtures/X230-FA997/1-good.txt +0 -16
- data/spec/fixtures/X231-FA999/1-bad.txt +0 -20
- data/spec/fixtures/X231-FA999/1-good.txt +0 -20
- data/spec/fixtures/X279-HB271/1-bad.txt +0 -36
- data/spec/fixtures/X279-HB271/1-good.txt +0 -30
- data/spec/fixtures/X279-HB271/2-bad.txt +0 -22
- data/spec/fixtures/X279-HB271/2-good.txt +0 -16
- data/spec/fixtures/X279-HB271/3-bad.txt +0 -44
- data/spec/fixtures/X279-HB271/3-good.txt +0 -36
- data/spec/fixtures/X279-HS270/1-bad.txt +0 -29
- data/spec/fixtures/X279-HS270/1-good.txt +0 -23
- data/spec/fixtures/X279-HS270/2-bad.txt +0 -32
- data/spec/fixtures/X279-HS270/2-good.txt +0 -25
- data/spec/spec_helper.rb +0 -55
- data/spec/support/fixtures.rb +0 -26
- data/spec/support/matchers/either_matchers.rb +0 -53
- data/spec/support/matchers/navigation_matchers.rb +0 -247
- data/spec/support/node.rb +0 -41
- data/spec/support/quickcheck.rb +0 -303
- data/spec/support/quickcheck/characters.rb +0 -33
- data/spec/support/quickcheck/property.rb +0 -105
- data/spec/support/quickcheck/serialized_edi.rb +0 -400
- data/spec/support/rcov.rb +0 -41
@@ -0,0 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module Stupidedi
|
3
|
+
using Refinements
|
4
|
+
|
5
|
+
module Interchanges
|
6
|
+
module ElementTypes
|
7
|
+
AN = Versions::Common::ElementTypes::AN
|
8
|
+
StringVal = Versions::Common::ElementTypes::StringVal
|
9
|
+
|
10
|
+
#
|
11
|
+
# The specifications declare ISA02 and ISA04 are required elements, but
|
12
|
+
# they only have "meaningful information" when ISA01 and ISA03 qualifiers
|
13
|
+
# aren't "00".
|
14
|
+
#
|
15
|
+
# Without specifications regarding what should be entered in these
|
16
|
+
# required elements, our best option is to defer to convention, which
|
17
|
+
# seems to be that these elements should have 10 spaces -- which means
|
18
|
+
# they're blank. So we can't really make these elements required! Even
|
19
|
+
# stupider, these are the only blank elements that should be written out
|
20
|
+
# space-padded to the min_length -- every other element should be
|
21
|
+
# collapsed to an empty string.
|
22
|
+
#
|
23
|
+
# So this "Special" class overrides to_x12 for empty values, but it
|
24
|
+
# otherwise looks and acts like a normal AN and StringVal
|
25
|
+
#
|
26
|
+
class SpecialAN < AN
|
27
|
+
def companion
|
28
|
+
SpecialVal
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
class SpecialVal < StringVal
|
33
|
+
class Empty < StringVal::Empty
|
34
|
+
# @return [String]
|
35
|
+
def to_x12
|
36
|
+
" " * definition.min_length
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
class NonEmpty < StringVal::NonEmpty
|
41
|
+
def too_short?
|
42
|
+
false
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module Stupidedi
|
3
|
+
module Parser
|
4
|
+
autoload :ConstraintTable, "stupidedi/parser/constraint_table"
|
5
|
+
autoload :Instruction, "stupidedi/parser/instruction"
|
6
|
+
autoload :InstructionTable, "stupidedi/parser/instruction_table"
|
7
|
+
|
8
|
+
autoload :BuilderDsl, "stupidedi/parser/builder_dsl"
|
9
|
+
autoload :Generation, "stupidedi/parser/generation"
|
10
|
+
autoload :Navigation, "stupidedi/parser/navigation"
|
11
|
+
autoload :Tokenization, "stupidedi/parser/tokenization"
|
12
|
+
autoload :StateMachine, "stupidedi/parser/state_machine"
|
13
|
+
autoload :IdentifierStack, "stupidedi/parser/identifier_stack"
|
14
|
+
|
15
|
+
autoload :AbstractState, "stupidedi/parser/states/abstract_state"
|
16
|
+
autoload :FailureState, "stupidedi/parser/states/failure_state"
|
17
|
+
autoload :FunctionalGroupState, "stupidedi/parser/states/functional_group_state"
|
18
|
+
autoload :InitialState, "stupidedi/parser/states/initial_state"
|
19
|
+
autoload :InterchangeState, "stupidedi/parser/states/interchange_state"
|
20
|
+
autoload :LoopState, "stupidedi/parser/states/loop_state"
|
21
|
+
autoload :TableState, "stupidedi/parser/states/table_state"
|
22
|
+
autoload :TransactionSetState, "stupidedi/parser/states/transaction_set_state"
|
23
|
+
autoload :TransmissionState, "stupidedi/parser/states/transmission_state"
|
24
|
+
end
|
25
|
+
|
26
|
+
class << Parser
|
27
|
+
# @return [StateMachine]
|
28
|
+
def build(*args)
|
29
|
+
Parser::StateMachine.build(*args)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,289 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module Stupidedi
|
3
|
+
using Refinements
|
4
|
+
|
5
|
+
module Parser
|
6
|
+
class BuilderDsl
|
7
|
+
include Inspect
|
8
|
+
include Tokenization
|
9
|
+
|
10
|
+
# @private
|
11
|
+
SEGMENT_ID = /^[A-Z][A-Z0-9]{1,2}$/
|
12
|
+
|
13
|
+
# @return [StateMachine]
|
14
|
+
attr_reader :machine
|
15
|
+
|
16
|
+
# @return [Boolean]
|
17
|
+
attr_writer :strict
|
18
|
+
|
19
|
+
# @return [DslReader]
|
20
|
+
attr_reader :reader
|
21
|
+
|
22
|
+
def_delegators :@machine, :pretty_print, :segment, :element, :zipper, :successors, :empty?, :first?, :last?, :deterministic?
|
23
|
+
|
24
|
+
def initialize(machine, strict = true)
|
25
|
+
@machine = machine
|
26
|
+
@strict = strict
|
27
|
+
@reader = DslReader.new(Reader::Separators.empty,
|
28
|
+
Reader::SegmentDict.empty)
|
29
|
+
end
|
30
|
+
|
31
|
+
def respond_to_missing?(name, include_private = false)
|
32
|
+
SEGMENT_ID =~ name.to_s || super
|
33
|
+
end
|
34
|
+
|
35
|
+
def strict?
|
36
|
+
@strict
|
37
|
+
end
|
38
|
+
|
39
|
+
# @return [BuilderDsl]
|
40
|
+
def segment!(name, position, *elements)
|
41
|
+
segment_tok = mksegment_tok(@reader.segment_dict, name, elements, position)
|
42
|
+
machine, reader = @machine.insert(segment_tok, @strict, @reader)
|
43
|
+
|
44
|
+
if @strict
|
45
|
+
unless machine.deterministic?
|
46
|
+
matches = machine.active.map do |m|
|
47
|
+
segment_def = m.node.zipper.node.definition
|
48
|
+
"#{segment_def.id} #{segment_def.name}"
|
49
|
+
end.join(", ")
|
50
|
+
|
51
|
+
raise Exceptions::ParseError,
|
52
|
+
"non-deterministic machine state: #{matches}"
|
53
|
+
end
|
54
|
+
|
55
|
+
# Validate the new segment (recursively, including its children)
|
56
|
+
machine.active.each{|m| critique(m.node.zipper) }
|
57
|
+
|
58
|
+
# We want to detect when we've ended a syntax node (or more), like
|
59
|
+
# starting a new interchange will end all previously "open" syntax
|
60
|
+
# nodes. So we compare the state before adding `segment_tok` to the
|
61
|
+
# corresponding state after we've added `segment_tok`.
|
62
|
+
|
63
|
+
machine.prev.tap do |prev|
|
64
|
+
prev.active.zip(machine.active) do |p, q|
|
65
|
+
# If the new state `q` is a descendent of `p`, we know that `p`
|
66
|
+
# and all of its ancestors are unterminated. However, if `q` is
|
67
|
+
# not a descendent of `p`, but is a descendent of one of `p`s
|
68
|
+
# descendents, then `p` and perhaps some of its ancestors were
|
69
|
+
# terminated when the state transitioned to `q`.
|
70
|
+
qancestors = Set.new
|
71
|
+
|
72
|
+
# Operate on the syntax tree (instead of the state tree)
|
73
|
+
q = q.node.zipper
|
74
|
+
p = p.node.zipper
|
75
|
+
|
76
|
+
while q.respond_to?(:parent)
|
77
|
+
qancestors << q.parent
|
78
|
+
q = q.parent
|
79
|
+
end
|
80
|
+
|
81
|
+
while p.respond_to?(:parent)
|
82
|
+
break if qancestors.include?(p)
|
83
|
+
|
84
|
+
# Now that we're sure that this syntax node (loop, table, etc)
|
85
|
+
# is done being constructed, we can perform more validations.
|
86
|
+
critique(p)
|
87
|
+
p = p.parent
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
@machine = machine
|
94
|
+
@reader = reader
|
95
|
+
|
96
|
+
self
|
97
|
+
end
|
98
|
+
|
99
|
+
private
|
100
|
+
|
101
|
+
def method_missing(name, *args)
|
102
|
+
if SEGMENT_ID =~ name.to_s
|
103
|
+
segment!(name, Reader::Position.caller(2), *args)
|
104
|
+
else
|
105
|
+
super
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
# The `zipper` argument should be a _completed_ syntax node, meaning all
|
110
|
+
# children have already been added. This is invariably true for segments,
|
111
|
+
# because the {StateMachine} does not accept smaller units of syntax.
|
112
|
+
def critique(zipper, recursive = false, position = false)
|
113
|
+
if zipper.node.simple? or zipper.node.component?
|
114
|
+
if zipper.node.invalid?
|
115
|
+
raise Exceptions::ParseError,
|
116
|
+
"invalid #{zipper.node.descriptor} at #{zipper.node.position.inspect}"
|
117
|
+
elsif zipper.node.blank?
|
118
|
+
if zipper.node.usage.required?
|
119
|
+
raise Exceptions::ParseError,
|
120
|
+
"required #{zipper.node.descriptor} is blank at #{zipper.node.position.inspect}"
|
121
|
+
end
|
122
|
+
elsif zipper.node.usage.forbidden?
|
123
|
+
raise Exceptions::ParseError,
|
124
|
+
"forbidden #{zipper.node.descriptor} is present at #{zipper.node.position.inspect}"
|
125
|
+
elsif not zipper.node.allowed?
|
126
|
+
raise Exceptions::ParseError,
|
127
|
+
"value #{zipper.node.to_s} is not allowed in #{zipper.node.descriptor} at #{zipper.node.position.inspect}"
|
128
|
+
elsif zipper.node.too_long?
|
129
|
+
raise Exceptions::ParseError,
|
130
|
+
"value is too long in #{zipper.node.descriptor} at #{zipper.node.position.inspect}"
|
131
|
+
elsif zipper.node.too_short?
|
132
|
+
raise Exceptions::ParseError,
|
133
|
+
"value is too short in #{zipper.node.descriptor} at #{zipper.node.position.inspect}"
|
134
|
+
end
|
135
|
+
|
136
|
+
elsif zipper.node.composite?
|
137
|
+
if zipper.node.blank?
|
138
|
+
if zipper.node.usage.required?
|
139
|
+
raise Exceptions::ParseError,
|
140
|
+
"required element #{zipper.node.descriptor} is blank at #{zipper.node.position.inspect}"
|
141
|
+
end
|
142
|
+
elsif zipper.node.usage.forbidden?
|
143
|
+
raise Exceptions::ParseError,
|
144
|
+
"forbidden #{zipper.node.descriptor} is present at #{zipper.node.position.inspect}"
|
145
|
+
else
|
146
|
+
if zipper.node.present?
|
147
|
+
zipper.children.each_with_index do |z, i|
|
148
|
+
critique(z)
|
149
|
+
end
|
150
|
+
|
151
|
+
d = zipper.node.definition
|
152
|
+
d.syntax_notes.each do |s|
|
153
|
+
unless s.satisfied?(zipper)
|
154
|
+
raise Exceptions::ParseError,
|
155
|
+
"for #{zipper.node.descriptor}, #{s.reason(zipper)} at #{zipper.node.position.inspect}"
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
elsif zipper.node.repeated?
|
162
|
+
unless zipper.node.usage.repeat_count.include?(zipper.node.children.length)
|
163
|
+
raise Exceptions::ParseError,
|
164
|
+
"repeating #{zipper.node.descriptor} occurs too many times at #{zipper.node.position.inspect}"
|
165
|
+
end
|
166
|
+
|
167
|
+
zipper.children.each{|z| critique(z) }
|
168
|
+
|
169
|
+
elsif zipper.node.segment?
|
170
|
+
if zipper.node.invalid?
|
171
|
+
if zipper.up.node.invalid?
|
172
|
+
# parent is an InvalidEnvelopeVal
|
173
|
+
raise Exceptions::ParseError,
|
174
|
+
"#{zipper.first.node.reason} at #{zipper.first.node.position.inspect}"
|
175
|
+
else
|
176
|
+
raise Exceptions::ParseError,
|
177
|
+
"#{zipper.node.descriptor} at #{zipper.node.position.inspect}"
|
178
|
+
end
|
179
|
+
else
|
180
|
+
zipper.children.each_with_index do |z, i|
|
181
|
+
critique(z)
|
182
|
+
end
|
183
|
+
|
184
|
+
d = zipper.node.definition
|
185
|
+
d.syntax_notes.each do |s|
|
186
|
+
raise Exceptions::ParseError,
|
187
|
+
"for #{zipper.node.descriptor}, #{s.reason(zipper)} at #{zipper.node.position.inspect}" \
|
188
|
+
unless s.satisfied?(zipper)
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
elsif zipper.node.loop?
|
193
|
+
critique_occurences zipper, recursive
|
194
|
+
|
195
|
+
elsif zipper.node.table?
|
196
|
+
critique_occurences zipper, recursive
|
197
|
+
|
198
|
+
elsif zipper.node.transaction_set?
|
199
|
+
critique_occurences zipper, recursive
|
200
|
+
|
201
|
+
elsif zipper.node.functional_group?
|
202
|
+
critique_occurences zipper, recursive
|
203
|
+
|
204
|
+
elsif zipper.node.interchange?
|
205
|
+
critique_occurences zipper, recursive
|
206
|
+
|
207
|
+
elsif zipper.node.transmission?
|
208
|
+
if recursive
|
209
|
+
zipper.children.each_with_index do |z, i|
|
210
|
+
critique(z, recursive)
|
211
|
+
end
|
212
|
+
end
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
def critique_occurences(zipper, recursive)
|
217
|
+
occurences = Hash.new{|h,k| h[k] = 0 }
|
218
|
+
|
219
|
+
zipper.children.each do |child|
|
220
|
+
if child.node.respond_to?(:usage)
|
221
|
+
occurences[child.node.usage] += 1
|
222
|
+
elsif child.node.invalid?
|
223
|
+
raise Exceptions::ParseError,
|
224
|
+
"#{child.node.descriptor} at #{child.node.position.inspect}"
|
225
|
+
else
|
226
|
+
occurences[child.node.definition] += 1
|
227
|
+
end
|
228
|
+
|
229
|
+
if recursive
|
230
|
+
critique(child, "", recursive)
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
zipper.node.definition.children.each do |child|
|
235
|
+
bound = child.repeat_count
|
236
|
+
count = occurences.at(child)
|
237
|
+
|
238
|
+
if count.zero? and child.required?
|
239
|
+
raise Exceptions::ParseError,
|
240
|
+
"required #{child.descriptor} is missing from #{zipper.node.descriptor} at #{zipper.node.position.inspect}"
|
241
|
+
elsif bound < count
|
242
|
+
raise Exceptions::ParseError,
|
243
|
+
"#{child.descriptor} occurs too many times in #{zipper.node.descriptor} at #{zipper.node.position.inspect}"
|
244
|
+
end
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
# @endgroup
|
249
|
+
#########################################################################
|
250
|
+
end
|
251
|
+
|
252
|
+
class << BuilderDsl
|
253
|
+
# @group Constructors
|
254
|
+
#########################################################################
|
255
|
+
|
256
|
+
# @return [BuilderDsl]
|
257
|
+
def build(config, strict = true)
|
258
|
+
new(StateMachine.build(config), strict)
|
259
|
+
end
|
260
|
+
|
261
|
+
# @endgroup
|
262
|
+
#########################################################################
|
263
|
+
end
|
264
|
+
|
265
|
+
# @private
|
266
|
+
class DslReader
|
267
|
+
# @return [Reader::Separators]
|
268
|
+
attr_reader :separators
|
269
|
+
|
270
|
+
# @return [Reader::SegmentDict]
|
271
|
+
attr_reader :segment_dict
|
272
|
+
|
273
|
+
def initialize(separators, segment_dict)
|
274
|
+
@separators, @segment_dict = separators, segment_dict
|
275
|
+
end
|
276
|
+
|
277
|
+
# @return [DslReader]
|
278
|
+
def copy(changes = {})
|
279
|
+
@separators = changes.fetch(:separators, @separators)
|
280
|
+
@segment_dict = changes.fetch(:segment_dict, @segment_dict)
|
281
|
+
self
|
282
|
+
end
|
283
|
+
|
284
|
+
def stream?
|
285
|
+
false
|
286
|
+
end
|
287
|
+
end
|
288
|
+
end
|
289
|
+
end
|
@@ -0,0 +1,488 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module Stupidedi
|
3
|
+
using Refinements
|
4
|
+
|
5
|
+
module Parser
|
6
|
+
# The {ConstraintTable} is a data structure that contains one or more
|
7
|
+
# {Instruction} values for the same segment identifier. Each concrete
|
8
|
+
# subclass implements different strategies for narrowing down the
|
9
|
+
# {Instruction} list.
|
10
|
+
#
|
11
|
+
# Reducing the number of valid {Instruction} values is important because
|
12
|
+
# executing more than one {Instruction} creates a non-deterministic state --
|
13
|
+
# more than one valid parse tree exists -- which slows the parser. Most
|
14
|
+
# often there is only one valid {Instruction} but the parser cannot
|
15
|
+
# (efficiently or at all) narrow the tree down without evaluating the
|
16
|
+
# constraints declared by each {Instruction}'s {Schema::SegmentUse}, which
|
17
|
+
# is done here.
|
18
|
+
#
|
19
|
+
class ConstraintTable
|
20
|
+
# @return [Array<Instruction>]
|
21
|
+
abstract :matches, :args => %w(segment_tok strict mode)
|
22
|
+
|
23
|
+
# @return [Array<Instruction>]
|
24
|
+
attr_reader :instructions
|
25
|
+
|
26
|
+
def copy(changes = {})
|
27
|
+
self.class.new \
|
28
|
+
changes.fetch(:instructions, instructions)
|
29
|
+
end
|
30
|
+
|
31
|
+
# @return [void]
|
32
|
+
# :nocov:
|
33
|
+
def pretty_print(q)
|
34
|
+
name = self.class.name.split("::").last
|
35
|
+
q.text "#{name}.build"
|
36
|
+
q.group(2, "([", "])") do
|
37
|
+
q.breakable
|
38
|
+
instructions.each do |op|
|
39
|
+
unless q.current_group.first?
|
40
|
+
q.text ","
|
41
|
+
q.breakable
|
42
|
+
end
|
43
|
+
q.pp op
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
# :nocov:
|
48
|
+
|
49
|
+
# @todo
|
50
|
+
def critique(segment_tok, segment_uses)
|
51
|
+
end
|
52
|
+
|
53
|
+
# Performs no filtering of the {Instruction} list. This is used when there
|
54
|
+
# already is a single {Instruction} or when a {Reader::SegmentTok} doesn't
|
55
|
+
# provide any more information to filter the list.
|
56
|
+
#
|
57
|
+
class Stub < ConstraintTable
|
58
|
+
def initialize(instructions)
|
59
|
+
@instructions = instructions
|
60
|
+
end
|
61
|
+
|
62
|
+
# @return [Array<Instruction>]
|
63
|
+
def matches(segment_tok, strict, mode)
|
64
|
+
@instructions.tap do |xs|
|
65
|
+
critique(segment_tok, xs.map(&:segment_use)) if strict
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# Chooses the {Instruction} that pops the fewest number of states. For
|
71
|
+
# example, in the X222 837P an HL segment signals the start of a new
|
72
|
+
# 2000 loop, but may or may not begin a new Table 2 -- the specifications
|
73
|
+
# aren't actually clear. This rule will not create a new Table 2, but
|
74
|
+
# just add a new 2000 loop under the current one.
|
75
|
+
#
|
76
|
+
class Shallowest < ConstraintTable
|
77
|
+
def initialize(instructions)
|
78
|
+
@instructions = instructions
|
79
|
+
end
|
80
|
+
|
81
|
+
# @return [Array<Instruction>]
|
82
|
+
def matches(segment_tok, strict, mode)
|
83
|
+
@__matches ||= begin
|
84
|
+
shallowest = @instructions.map(&:pop_count).min
|
85
|
+
@instructions.select{|i| i.pop_count == shallowest }.tap do |xs|
|
86
|
+
critique(segment_tok, xs.map(&:segment_use)) if strict
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
# Chooses the {Instruction} that pops the greatest number of states.
|
93
|
+
#
|
94
|
+
class Deepest < ConstraintTable
|
95
|
+
# def initialize(instructions)
|
96
|
+
# @instructions = instructions
|
97
|
+
# end
|
98
|
+
|
99
|
+
# # @return [Array<Instruction>]
|
100
|
+
# def matches(segment_tok, strict, mode)
|
101
|
+
# @__matches ||= begin
|
102
|
+
# deepest = @instructions.map(&:pop_count).max
|
103
|
+
# @instructions.select{|i| i.pop_count == deepest }.tap do |xs|
|
104
|
+
# critique(segment_tok, xs.map(&:segment_use)) if strict
|
105
|
+
# end
|
106
|
+
# end
|
107
|
+
# end
|
108
|
+
end
|
109
|
+
|
110
|
+
# Chooses the subset of {Instruction} values based on the distinguishing
|
111
|
+
# values allowed by each {Schema::SegmentUse}. For instance, there are
|
112
|
+
# often several loops that begin with `NM1`, which are distinguished by
|
113
|
+
# the qualifier in element `NM101`.
|
114
|
+
#
|
115
|
+
class ValueBased < ConstraintTable
|
116
|
+
def initialize(instructions)
|
117
|
+
@instructions = instructions
|
118
|
+
@__basis = {}
|
119
|
+
end
|
120
|
+
|
121
|
+
# @return [Array<Instruction>]
|
122
|
+
def matches(segment_tok, strict, mode)
|
123
|
+
invalid = true # Were all present possibly distinguishing elements invalid?
|
124
|
+
present = false # Were any possibly distinguishing elements present?
|
125
|
+
|
126
|
+
disjoint, distinct = basis(@instructions, mode)
|
127
|
+
|
128
|
+
# First check single elements that can narrow the search space to
|
129
|
+
# a single matching Instruction.
|
130
|
+
disjoint.each do |(n, m), map|
|
131
|
+
value = deconstruct(segment_tok.element_toks, n, m)
|
132
|
+
|
133
|
+
case value
|
134
|
+
when nil, :not_used, :default
|
135
|
+
# value wasn't present in segment_tok, can't use it to decide
|
136
|
+
else
|
137
|
+
singleton = map.at(value)
|
138
|
+
present = true
|
139
|
+
|
140
|
+
unless singleton.nil?
|
141
|
+
# Success, search is terminated
|
142
|
+
return singleton
|
143
|
+
else
|
144
|
+
if strict
|
145
|
+
designator = "#{segment_tok.id}#{"%02d" % (n + 1)}"
|
146
|
+
designator = designator + "-%02d" % (m + 1) unless m.nil?
|
147
|
+
|
148
|
+
raise ArgumentError,
|
149
|
+
"value #{value.to_s} is not allowed in element #{designator}"
|
150
|
+
end
|
151
|
+
end
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
# If we reach this line, none of the present elements could, on its
|
156
|
+
# own, narrow the search space to a single Instruction. We now test
|
157
|
+
# the combination of elements to iteratively narrow the search space
|
158
|
+
space = @instructions
|
159
|
+
|
160
|
+
# @todo: These filters could be ordered by probable effectiveness,
|
161
|
+
# so we narrow the search space by the largest amount in the fewest
|
162
|
+
# number of steps.
|
163
|
+
distinct.each do |(n, m), map|
|
164
|
+
value = deconstruct(segment_tok.element_toks, n, m)
|
165
|
+
|
166
|
+
unless value.nil?
|
167
|
+
# Lookup which instructions are compatible with this input
|
168
|
+
subset = map.at(value)
|
169
|
+
present = true
|
170
|
+
|
171
|
+
unless subset.blank?
|
172
|
+
invalid = false
|
173
|
+
space &= subset
|
174
|
+
|
175
|
+
if space.length <= 1
|
176
|
+
# Success, search is terminated
|
177
|
+
return space
|
178
|
+
end
|
179
|
+
else
|
180
|
+
# This value isn't compatible with any instruction
|
181
|
+
if strict
|
182
|
+
designator = "#{segment_tok.id}#{"%02d" % (n + 1)}"
|
183
|
+
designator = designator + "-%02d" % (m + 1) unless m.nil?
|
184
|
+
|
185
|
+
raise ArgumentError,
|
186
|
+
"value #{value.to_s} is not allowed in element #{designator}"
|
187
|
+
end
|
188
|
+
end
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
if invalid and present
|
193
|
+
# Some elements were present, but all contained invalid values, and
|
194
|
+
# even ignoring those we could not narrow the matches to a single
|
195
|
+
# instruction.
|
196
|
+
#
|
197
|
+
# We could return the remaining search space, but it is safest to
|
198
|
+
# mark this as an invalid segment and avoid the non-determinism
|
199
|
+
[]
|
200
|
+
else
|
201
|
+
# Some elements were present and none were invalid, but it was not
|
202
|
+
# possible to narrow the set of matches to a single instruction.
|
203
|
+
#
|
204
|
+
# It seems wrong to mark the segment invalid. The worst thing you
|
205
|
+
# could say about the input is that it may have been missing a
|
206
|
+
# required element that could have resolved the ambiguity; but it's
|
207
|
+
# also possible all required elements were present and the grammar
|
208
|
+
# is the problem (not the input). So here we return the remaining
|
209
|
+
# search space, which will cause non-determinism in the parser.
|
210
|
+
space
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
# Resolve conflicts between instructions that have identical SegmentUse
|
215
|
+
# values. For each SegmentUse, this chooses the Instruction that pops
|
216
|
+
# the fewest number of states.
|
217
|
+
#
|
218
|
+
# @return [Array<Instruction>]
|
219
|
+
def shallowest(instructions)
|
220
|
+
grouped = instructions.group_by{|i| i.segment_use.object_id }
|
221
|
+
grouped.flat_map do |k, is|
|
222
|
+
shallowest = is.map(&:pop_count).min
|
223
|
+
is.select{|i| i.pop_count == shallowest }
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
# @return [Array(Array<(Integer, Integer, Map)>, Array<(Integer, Integer, Map)>)]
|
228
|
+
def basis(instructions, mode)
|
229
|
+
@__basis[mode] ||= begin
|
230
|
+
# When inserting segments, given a choice between two otherwise
|
231
|
+
# equivalent instructions, prefer the one with smallest `pop_count`.
|
232
|
+
# For example, when inserting an HL*20 in X221 835, the new 2000A
|
233
|
+
# loop could potentially go in the current "Table 2 - Billing
|
234
|
+
# Provider Detail" (smaller pop_count), or the parser could create
|
235
|
+
# a whole new table (larger pop_count).
|
236
|
+
#
|
237
|
+
# When searching for segments in a parse tree (mode == :read), we
|
238
|
+
# need to try both choices. That's because this "Table 2 - Billing
|
239
|
+
# Provider Detail" could be followed by a different "Table 2 -
|
240
|
+
# Subscriber Detail", which is then followed by another "Table 2 -
|
241
|
+
# Billing Provider Detail". Then the next HL*20 would belong to the
|
242
|
+
# uncle table, not the current table.
|
243
|
+
if mode == :insert
|
244
|
+
instructions = shallowest(instructions)
|
245
|
+
end
|
246
|
+
|
247
|
+
disjoint_elements = []
|
248
|
+
distinct_elements = []
|
249
|
+
|
250
|
+
# The first SegmentUse is used to represent the structure that must
|
251
|
+
# be shared by the others: number of elements and type of elements
|
252
|
+
element_uses = instructions.head.segment_use.definition.element_uses
|
253
|
+
|
254
|
+
# Iterate over each element across all SegmentUses (think columns)
|
255
|
+
# NM1*[IL]*[ ]*..*..*..*..*..*[ ]*..*..*{..}*..
|
256
|
+
# NM1*[40]*[ ]*..*..*..*..*..*[ ]*..*..*{..}*..
|
257
|
+
element_uses.length.times do |n|
|
258
|
+
if element_uses.at(n).composite?
|
259
|
+
ms = 0 .. element_uses.at(n).definition.component_uses.length - 1
|
260
|
+
else
|
261
|
+
ms = [nil]
|
262
|
+
end
|
263
|
+
|
264
|
+
# If this is a composite element, we iterate over each component.
|
265
|
+
# Otherwise this loop iterates once with the index {m} set to nil.
|
266
|
+
ms.each do |m|
|
267
|
+
last = nil # the last subset we examined
|
268
|
+
total = Sets.empty # the union of all examined subsets
|
269
|
+
|
270
|
+
distinct = false
|
271
|
+
disjoint = true
|
272
|
+
|
273
|
+
instructions.each do |i|
|
274
|
+
element_use = i.segment_use.definition.element_uses.at(n)
|
275
|
+
|
276
|
+
unless m.nil?
|
277
|
+
element_use = element_use.definition.component_uses.at(m)
|
278
|
+
end
|
279
|
+
|
280
|
+
allowed_vals = element_use.allowed_values
|
281
|
+
|
282
|
+
# We want to know if every instruction's set of allowed values
|
283
|
+
# is disjoint (with one another). Instead of comparing each set
|
284
|
+
# with every other set, which takes (N-1)! comparisons, we can
|
285
|
+
# do it in N steps.
|
286
|
+
disjoint &&= allowed_vals.disjoint?(total)
|
287
|
+
|
288
|
+
# We also want to know if one instruction's set of allowed vals
|
289
|
+
# contains elements that aren't present in at least one other
|
290
|
+
# set. The opposite condition is easy to test: all sets contain
|
291
|
+
# the same elements (are equal). So we can similarly, check this
|
292
|
+
# condition in N steps rather than (N-1)!
|
293
|
+
distinct ||= allowed_vals != last unless last.nil?
|
294
|
+
|
295
|
+
total = allowed_vals.union(total)
|
296
|
+
last = allowed_vals
|
297
|
+
end
|
298
|
+
|
299
|
+
# puts "#{n}.#{m}: disjoint(#{disjoint}) distinct(#{distinct})"
|
300
|
+
|
301
|
+
if disjoint
|
302
|
+
# Since each instruction's set of allowed values is disjoint, we
|
303
|
+
# can build a function/hash that returns the single instruction,
|
304
|
+
# given one of the values. When given a value outside the set of
|
305
|
+
# all (combined) values, it returns nil.
|
306
|
+
disjoint_elements << [[n, m], build_disjoint(total, n, m, instructions)]
|
307
|
+
elsif distinct
|
308
|
+
# Not all instructions have the same set of allowed values. So
|
309
|
+
# we can build a function/hash that accepts one of the values
|
310
|
+
# and returns the subset of the instructions where that value
|
311
|
+
# can occur. This might be some, none, or all of the original
|
312
|
+
# instructions, so clearly this provides less information than
|
313
|
+
# if each allowed value set was disjoint.
|
314
|
+
|
315
|
+
# Currently disabled (and untested) because it doesn't look like
|
316
|
+
# any of the HIPAA schemas would use this -- so testing it would
|
317
|
+
# be a pain.
|
318
|
+
#
|
319
|
+
distinct_elements << [[n, m], build_distinct(total, n, m, instructions)]
|
320
|
+
end
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
[disjoint_elements, distinct_elements]
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
# @return [Hash<String, Array<Instruction>>]
|
329
|
+
def build_disjoint(total, n, m, instructions)
|
330
|
+
if total.finite?
|
331
|
+
# The sum of all allowed value sets is finite, so we know that each
|
332
|
+
# individual allowed value set is finite (we can iterate over it).
|
333
|
+
map = Hash.new
|
334
|
+
|
335
|
+
instructions.each do |i|
|
336
|
+
element_use = i.segment_use.definition.element_uses.at(n)
|
337
|
+
|
338
|
+
unless m.nil?
|
339
|
+
element_use = element_use.definition.component_uses.at(m)
|
340
|
+
end
|
341
|
+
|
342
|
+
allowed_vals = element_use.allowed_values
|
343
|
+
allowed_vals.each{|v| map[v] = i.cons }
|
344
|
+
end
|
345
|
+
|
346
|
+
map
|
347
|
+
else
|
348
|
+
# At least one of allowed value sets is infinite. This happens when
|
349
|
+
# it is RelativeComplement, which declares the values that are *not*
|
350
|
+
# allowed in the set.
|
351
|
+
map = Hash.new{|h,k| h[k] = instructions }
|
352
|
+
|
353
|
+
instructions.each do |i|
|
354
|
+
element_use = i.segment_use.definition.element_uses.at(n)
|
355
|
+
unless m.nil?
|
356
|
+
element_use = element_use.definition.component_uses.at(m)
|
357
|
+
end
|
358
|
+
|
359
|
+
allowed_vals = element_use.allowed_values
|
360
|
+
|
361
|
+
unless allowed_vals.finite?
|
362
|
+
allowed_vals.complement.each{|v| map[v] -= i }
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
# Clear the default_proc so accesses don't change the Hash
|
367
|
+
map.default = instructions
|
368
|
+
map
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
# @return [Hash<String, Array<Instruction>>]
|
373
|
+
def build_distinct(total, n, m, instructions)
|
374
|
+
if total.finite?
|
375
|
+
# The sum of all allowed value sets is finite, so we know that each
|
376
|
+
# individual allowed value set is finite (we can iterate over it).
|
377
|
+
map = Hash.new{|h,k| h[k] = [] }
|
378
|
+
|
379
|
+
instructions.each do |i|
|
380
|
+
element_use = i.segment_use.definition.element_uses.at(n)
|
381
|
+
|
382
|
+
unless m.nil?
|
383
|
+
element_use = element_use.definition.component_uses.at(m)
|
384
|
+
end
|
385
|
+
|
386
|
+
allowed_vals = element_use.allowed_values
|
387
|
+
allowed_vals.each{|v| map[v] << i }
|
388
|
+
end
|
389
|
+
|
390
|
+
# Clear the default_proc so accesses don't change the Hash
|
391
|
+
map.default = []
|
392
|
+
map
|
393
|
+
else
|
394
|
+
# At least one of allowed value sets is infinite. This happens when
|
395
|
+
# it is RelativeComplement, which declares the values that are *not*
|
396
|
+
# allowed in the set.
|
397
|
+
map = Hash.new{|h,k| h[k] = instructions }
|
398
|
+
|
399
|
+
instructions.each do |i|
|
400
|
+
element_use = i.segment_use.definition.element_uses.at(n)
|
401
|
+
|
402
|
+
unless m.nil?
|
403
|
+
element_use = element_use.definition.component_uses.at(m)
|
404
|
+
end
|
405
|
+
|
406
|
+
allowed_vals = element_use.allowed_values
|
407
|
+
|
408
|
+
unless allowed_vals.finite?
|
409
|
+
allowed_vals.complement.each{|v| map[v] -= i }
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
# Clear the default_proc so accesses don't change the Hash
|
414
|
+
map.default = instructions
|
415
|
+
map
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
# Return the value of the `m`-th elemnt, or if `n` is not nil, return
|
420
|
+
# the value of the `n`-th component from the `n`-th element. When the
|
421
|
+
# value is blank, the function returns `nil`.
|
422
|
+
#
|
423
|
+
# @param [Array<Reader::SimpleElementTok, Reader::CompositeElementTok>] element_toks
|
424
|
+
# @param [Integer] m
|
425
|
+
# @param [Integer, nil] n
|
426
|
+
#
|
427
|
+
# @return [String, nil]
|
428
|
+
def deconstruct(element_toks, m, n)
|
429
|
+
element_tok = element_toks.at(m)
|
430
|
+
element_tok = element_tok.element_toks.at(0) if element_tok.try(:repeated?)
|
431
|
+
|
432
|
+
if element_tok.blank?
|
433
|
+
nil
|
434
|
+
elsif n.nil?
|
435
|
+
element_tok.value
|
436
|
+
else
|
437
|
+
element_tok = element_tok.component_toks.at(n)
|
438
|
+
|
439
|
+
if element_tok.blank?
|
440
|
+
nil
|
441
|
+
else
|
442
|
+
element_tok.value
|
443
|
+
end
|
444
|
+
end
|
445
|
+
end
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
class << ConstraintTable
|
450
|
+
# @group Constructors
|
451
|
+
#########################################################################
|
452
|
+
|
453
|
+
# Given a list of {Instruction} values for the same segment identifier,
|
454
|
+
# this method constructs the appropriate concrete subclass of
|
455
|
+
# {ConstraintTable}.
|
456
|
+
#
|
457
|
+
# @param [Array<Instruction>] instructions
|
458
|
+
# @return [ConstraintTable]
|
459
|
+
def build(instructions)
|
460
|
+
if instructions.length <= 1
|
461
|
+
ConstraintTable::Stub.new(instructions)
|
462
|
+
elsif instructions.any?{|i| i.segment_use.nil? } and
|
463
|
+
not instructions.all?{|i| i.segment_use.nil? }
|
464
|
+
# When one of the instructions has a nil segment_use, it means
|
465
|
+
# the SegmentUse is determined when pushing the new state. There
|
466
|
+
# isn't a way to know the segment constraints from here.
|
467
|
+
ConstraintTable::Stub.new(instructions)
|
468
|
+
else
|
469
|
+
segment_uses = instructions.map{|i| i.segment_use }
|
470
|
+
|
471
|
+
if segment_uses.map{|u| u.object_id }.uniq.length <= 1
|
472
|
+
# The same SegmentUse may appear more than once, because the
|
473
|
+
# segment can be placed at different levels in the tree. If
|
474
|
+
# all the instructions have the same SegmentUse, they also have
|
475
|
+
# the same element constraints so we can't use them to narrow
|
476
|
+
# down the instruction list.
|
477
|
+
ConstraintTable::Shallowest.new(instructions)
|
478
|
+
else
|
479
|
+
ConstraintTable::ValueBased.new(instructions)
|
480
|
+
end
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
# @endgroup
|
485
|
+
#########################################################################
|
486
|
+
end
|
487
|
+
end
|
488
|
+
end
|