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
@@ -1,21 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
module Stupidedi
|
3
|
-
using Refinements
|
4
|
-
|
5
|
-
module Versions
|
6
|
-
module FunctionalGroups
|
7
|
-
module TwoThousandOne
|
8
|
-
|
9
|
-
#
|
10
|
-
# @see X222.pdf A.1.3.8 Condition Designator
|
11
|
-
#
|
12
|
-
module ElementReqs
|
13
|
-
Mandatory = Schema::ElementReq.new(true, false, "M")
|
14
|
-
Optional = Schema::ElementReq.new(false, false, "O")
|
15
|
-
Relational = Schema::ElementReq.new(false, false, "X")
|
16
|
-
end
|
17
|
-
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
@@ -1,130 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
module Stupidedi
|
3
|
-
using Refinements
|
4
|
-
|
5
|
-
module Versions
|
6
|
-
module FunctionalGroups
|
7
|
-
module TwoThousandOne
|
8
|
-
module ElementTypes
|
9
|
-
|
10
|
-
class SimpleElementDef < Schema::SimpleElementDef
|
11
|
-
|
12
|
-
# @return [Symbol]
|
13
|
-
attr_reader :id
|
14
|
-
|
15
|
-
# @return [String]
|
16
|
-
attr_reader :name
|
17
|
-
|
18
|
-
# @return [String]
|
19
|
-
attr_reader :description
|
20
|
-
|
21
|
-
# @return [Integer]
|
22
|
-
attr_reader :min_length
|
23
|
-
|
24
|
-
# @return [Integer]
|
25
|
-
attr_reader :max_length
|
26
|
-
|
27
|
-
# @return [Schema::SegmentDef, Schema::CompositeElementDef]
|
28
|
-
attr_reader :parent
|
29
|
-
|
30
|
-
# @return [Class<Values::SimpleElementVal>]
|
31
|
-
abstract :companion
|
32
|
-
|
33
|
-
def initialize(id, name, min_length, max_length, description = nil, parent = nil)
|
34
|
-
@id, @name, @min_length, @max_length, @description, @parent =
|
35
|
-
id, name, min_length, max_length, description, parent
|
36
|
-
|
37
|
-
if min_length > max_length
|
38
|
-
raise ArgumentError,
|
39
|
-
"min_length cannot be greater than max_length"
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
# @return [SimpleElementDef]
|
44
|
-
def copy(changes = {})
|
45
|
-
self.class.new \
|
46
|
-
changes.fetch(:id, @id),
|
47
|
-
changes.fetch(:name, @name),
|
48
|
-
changes.fetch(:min_length, @min_length),
|
49
|
-
changes.fetch(:max_length, @max_length),
|
50
|
-
changes.fetch(:description, @description),
|
51
|
-
changes.fetch(:parent, @parent)
|
52
|
-
end
|
53
|
-
|
54
|
-
# Constructs a SimpleElementVal from the given `String`
|
55
|
-
#
|
56
|
-
# @return [Values::SimpleElementVal]
|
57
|
-
def parse(string, usage)
|
58
|
-
companion.parse(string, usage)
|
59
|
-
end
|
60
|
-
|
61
|
-
# Constructs a SimpleElementVal from the given `value`
|
62
|
-
#
|
63
|
-
# @return [Values::SimpleElementVal]
|
64
|
-
def value(object, usage, position)
|
65
|
-
companion.value(object, usage, position)
|
66
|
-
end
|
67
|
-
|
68
|
-
# Constructs an empty SimpleElementVal
|
69
|
-
#
|
70
|
-
# @return [Values::SimpleElementVal]
|
71
|
-
def empty(usage, position)
|
72
|
-
companion.empty(usage, position)
|
73
|
-
end
|
74
|
-
|
75
|
-
# @return [void]
|
76
|
-
def pretty_print(q)
|
77
|
-
type = self.class.name.try{|n| n.split('::').last }
|
78
|
-
|
79
|
-
if type.blank?
|
80
|
-
q.text @id.to_s
|
81
|
-
else
|
82
|
-
q.text "#{type}[#{@id}]"
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
autoload :Operators,
|
88
|
-
"stupidedi/versions/functional_groups/002001/element_types/operators"
|
89
|
-
|
90
|
-
autoload :DateVal,
|
91
|
-
"stupidedi/versions/functional_groups/002001/element_types/date_val"
|
92
|
-
|
93
|
-
autoload :DT,
|
94
|
-
"stupidedi/versions/functional_groups/002001/element_types/date_val"
|
95
|
-
|
96
|
-
autoload :FloatVal,
|
97
|
-
"stupidedi/versions/functional_groups/002001/element_types/float_val"
|
98
|
-
|
99
|
-
autoload :R,
|
100
|
-
"stupidedi/versions/functional_groups/002001/element_types/float_val"
|
101
|
-
|
102
|
-
autoload :IdentifierVal,
|
103
|
-
"stupidedi/versions/functional_groups/002001/element_types/identifier_val"
|
104
|
-
|
105
|
-
autoload :ID,
|
106
|
-
"stupidedi/versions/functional_groups/002001/element_types/identifier_val"
|
107
|
-
|
108
|
-
autoload :FixnumVal,
|
109
|
-
"stupidedi/versions/functional_groups/002001/element_types/fixnum_val"
|
110
|
-
|
111
|
-
autoload :Nn,
|
112
|
-
"stupidedi/versions/functional_groups/002001/element_types/fixnum_val"
|
113
|
-
|
114
|
-
autoload :StringVal,
|
115
|
-
"stupidedi/versions/functional_groups/002001/element_types/string_val"
|
116
|
-
|
117
|
-
autoload :AN,
|
118
|
-
"stupidedi/versions/functional_groups/002001/element_types/string_val"
|
119
|
-
|
120
|
-
autoload :TimeVal,
|
121
|
-
"stupidedi/versions/functional_groups/002001/element_types/time_val"
|
122
|
-
|
123
|
-
autoload :TM,
|
124
|
-
"stupidedi/versions/functional_groups/002001/element_types/time_val"
|
125
|
-
|
126
|
-
end
|
127
|
-
end
|
128
|
-
end
|
129
|
-
end
|
130
|
-
end
|
@@ -1,576 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
module Stupidedi
|
3
|
-
using Refinements
|
4
|
-
|
5
|
-
module Versions
|
6
|
-
module FunctionalGroups
|
7
|
-
module TwoThousandOne
|
8
|
-
module ElementTypes
|
9
|
-
|
10
|
-
#
|
11
|
-
# Simple element definition for date elements
|
12
|
-
#
|
13
|
-
# @see DateVal
|
14
|
-
# @see X222.pdf B.1.1.3.1.5 Date
|
15
|
-
#
|
16
|
-
class DT < SimpleElementDef
|
17
|
-
def initialize(id, name, min_length, max_length, description = nil, parent = nil)
|
18
|
-
super(id, name, min_length, max_length, description, parent)
|
19
|
-
|
20
|
-
unless min_length == 6 or min_length == 8
|
21
|
-
raise ArgumentError,
|
22
|
-
"min_length must be either 6 or 8"
|
23
|
-
end
|
24
|
-
|
25
|
-
unless max_length == 6 or max_length == 8
|
26
|
-
raise ArgumentError,
|
27
|
-
"max_length must be either 6 or 8"
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
def companion
|
32
|
-
DateVal
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
#
|
37
|
-
# @see X222.pdf B.1.1.3.1.5 Date
|
38
|
-
#
|
39
|
-
class DateVal < Values::SimpleElementVal
|
40
|
-
|
41
|
-
def date?
|
42
|
-
true
|
43
|
-
end
|
44
|
-
|
45
|
-
def too_long?
|
46
|
-
false
|
47
|
-
end
|
48
|
-
|
49
|
-
def too_short?
|
50
|
-
false
|
51
|
-
end
|
52
|
-
|
53
|
-
#
|
54
|
-
# Models invalid dates, either with a bad format or a date that
|
55
|
-
# does not exist (eg Febuary 30th 2000)
|
56
|
-
#
|
57
|
-
class Invalid < DateVal
|
58
|
-
|
59
|
-
# @return [Object]
|
60
|
-
attr_reader :value
|
61
|
-
|
62
|
-
def initialize(value, usage, position)
|
63
|
-
super(usage, position)
|
64
|
-
@value = value
|
65
|
-
end
|
66
|
-
|
67
|
-
def valid?
|
68
|
-
false
|
69
|
-
end
|
70
|
-
|
71
|
-
def empty?
|
72
|
-
false
|
73
|
-
end
|
74
|
-
|
75
|
-
# @return [DateVal]
|
76
|
-
def map
|
77
|
-
DateVal.value(yield(nil), usage, position)
|
78
|
-
end
|
79
|
-
|
80
|
-
def inspect
|
81
|
-
id = definition.bind do |d|
|
82
|
-
"[#{"% 5s" % d.id}: #{d.name}]".bind do |s|
|
83
|
-
if usage.forbidden?
|
84
|
-
ansi.forbidden(s)
|
85
|
-
elsif usage.required?
|
86
|
-
ansi.required(s)
|
87
|
-
else
|
88
|
-
ansi.optional(s)
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
92
|
-
|
93
|
-
ansi.element("DT.invalid#{id}") + "(#{ansi.invalid(@value.inspect)})"
|
94
|
-
end
|
95
|
-
|
96
|
-
# @return [String]
|
97
|
-
def to_s
|
98
|
-
""
|
99
|
-
end
|
100
|
-
|
101
|
-
# @return [String]
|
102
|
-
def to_x12(truncate = true)
|
103
|
-
""
|
104
|
-
end
|
105
|
-
|
106
|
-
def ==(other)
|
107
|
-
eql?(other)
|
108
|
-
end
|
109
|
-
end
|
110
|
-
|
111
|
-
#
|
112
|
-
# Empty date value. Shouldn't be directly instantiated -- instead,
|
113
|
-
# use the {DateVal.empty} constructor.
|
114
|
-
#
|
115
|
-
class Empty < DateVal
|
116
|
-
|
117
|
-
def valid?
|
118
|
-
true
|
119
|
-
end
|
120
|
-
|
121
|
-
def empty?
|
122
|
-
true
|
123
|
-
end
|
124
|
-
|
125
|
-
# @return [DateVal]
|
126
|
-
def map
|
127
|
-
DateVal.value(yield(nil), usage, position)
|
128
|
-
end
|
129
|
-
|
130
|
-
# @return [String]
|
131
|
-
def inspect
|
132
|
-
id = definition.bind do |d|
|
133
|
-
"[#{"% 5s" % d.id}: #{d.name}]".bind do |s|
|
134
|
-
if usage.forbidden?
|
135
|
-
ansi.forbidden(s)
|
136
|
-
elsif usage.required?
|
137
|
-
ansi.required(s)
|
138
|
-
else
|
139
|
-
ansi.optional(s)
|
140
|
-
end
|
141
|
-
end
|
142
|
-
end
|
143
|
-
|
144
|
-
ansi.element("DT.empty#{id}")
|
145
|
-
end
|
146
|
-
|
147
|
-
# @return [String]
|
148
|
-
def to_s
|
149
|
-
""
|
150
|
-
end
|
151
|
-
|
152
|
-
# @return [String]
|
153
|
-
def to_x12(truncate = true)
|
154
|
-
""
|
155
|
-
end
|
156
|
-
|
157
|
-
# @return [Boolean]
|
158
|
-
def ==(other)
|
159
|
-
other.is_a?(Empty) or other.nil?
|
160
|
-
end
|
161
|
-
end
|
162
|
-
|
163
|
-
#
|
164
|
-
# Date with a fully-specified year (with century). Shouldn't be
|
165
|
-
# directly instantiated -- instead use the {DateVal.value} constructor
|
166
|
-
#
|
167
|
-
class Proper < DateVal
|
168
|
-
include Comparable
|
169
|
-
|
170
|
-
# (date any* -> any)
|
171
|
-
def_delegators :@value, :year, :month, :day, :cwday, :cweek, :downto, :upto,
|
172
|
-
:step, :httpdate, :to_s, :to_i, :strftime, :iso8601, :rfc2822,
|
173
|
-
:rfc3339, :rfc822, :leap?, :julian?, :gregorian?, :mday, :mon,
|
174
|
-
:to_datetime, :to_int, :to_r, :to_c, :wday, :xmlschema, :yday,
|
175
|
-
:start
|
176
|
-
|
177
|
-
|
178
|
-
# (date any* -> DateVal::Proper)
|
179
|
-
extend Operators::Wrappers
|
180
|
-
wrappers :+, :<<, :>>, :next_day, :next_month, :next_year,
|
181
|
-
:prev_day, :prev_month, :prev_year
|
182
|
-
|
183
|
-
# (date -> DateVal::Proper)
|
184
|
-
extend Operators::Unary
|
185
|
-
unary_operators :next, :succ, :prev
|
186
|
-
|
187
|
-
# (date date -> any)
|
188
|
-
extend Operators::Relational
|
189
|
-
relational_operators :==, :<=>, :-, :coerce => :to_date
|
190
|
-
|
191
|
-
attr_reader :value
|
192
|
-
|
193
|
-
def initialize(value, usage, position)
|
194
|
-
@value = value
|
195
|
-
super(usage, position)
|
196
|
-
end
|
197
|
-
|
198
|
-
# @return [Proper]
|
199
|
-
def copy(changes = {})
|
200
|
-
Proper.new \
|
201
|
-
changes.fetch(:value, @value),
|
202
|
-
changes.fetch(:usage, usage),
|
203
|
-
changes.fetch(:position, position)
|
204
|
-
end
|
205
|
-
|
206
|
-
def coerce(other)
|
207
|
-
# me, he = other.coerce(self)
|
208
|
-
# me <OP> he
|
209
|
-
return DateVal.value(other, usage, position), self
|
210
|
-
end
|
211
|
-
|
212
|
-
def valid?
|
213
|
-
true
|
214
|
-
end
|
215
|
-
|
216
|
-
def empty?
|
217
|
-
false
|
218
|
-
end
|
219
|
-
|
220
|
-
def proper?
|
221
|
-
true
|
222
|
-
end
|
223
|
-
|
224
|
-
# @return [Date]
|
225
|
-
def to_date
|
226
|
-
@value
|
227
|
-
end
|
228
|
-
|
229
|
-
# @return [Time]
|
230
|
-
def to_time(hour = nil, minute = nil, second = nil)
|
231
|
-
if hour.is_a?(TimeVal) and not hour.empty?
|
232
|
-
hour, minute, second = hour.hour, hour.minute, hour.second
|
233
|
-
end
|
234
|
-
|
235
|
-
if not second.nil?
|
236
|
-
Time.utc(year, month, day, hour, minute, second)
|
237
|
-
elsif not minute.nil?
|
238
|
-
Time.utc(year, month, day, hour, minute)
|
239
|
-
elsif not hour.nil?
|
240
|
-
Time.utc(year, month, day, hour)
|
241
|
-
else
|
242
|
-
Time.utc(year, month, day)
|
243
|
-
end
|
244
|
-
end
|
245
|
-
|
246
|
-
# @return [Proper] self
|
247
|
-
def oldest(date)
|
248
|
-
self
|
249
|
-
end
|
250
|
-
|
251
|
-
# @return [Proper] self
|
252
|
-
def newest(date)
|
253
|
-
self
|
254
|
-
end
|
255
|
-
|
256
|
-
# @return [Proper] self
|
257
|
-
def future
|
258
|
-
self
|
259
|
-
end
|
260
|
-
|
261
|
-
# @return [Proper] self
|
262
|
-
def past
|
263
|
-
self
|
264
|
-
end
|
265
|
-
|
266
|
-
# @return [DateVal]
|
267
|
-
def map
|
268
|
-
DateVal.value(yield(@value), usage, position)
|
269
|
-
end
|
270
|
-
|
271
|
-
# @return [String]
|
272
|
-
def inspect
|
273
|
-
id = definition.bind do |d|
|
274
|
-
"[#{"% 5s" % d.id}: #{d.name}]".bind do |s|
|
275
|
-
if usage.forbidden?
|
276
|
-
ansi.forbidden(s)
|
277
|
-
elsif usage.required?
|
278
|
-
ansi.required(s)
|
279
|
-
else
|
280
|
-
ansi.optional(s)
|
281
|
-
end
|
282
|
-
end
|
283
|
-
end
|
284
|
-
|
285
|
-
ansi.element("DT.value#{id}") + "(#{"%04d-%02d-%02d" % [year, month, day]})"
|
286
|
-
end
|
287
|
-
|
288
|
-
# @return [String]
|
289
|
-
def to_x12(truncate = true)
|
290
|
-
x12 =
|
291
|
-
if definition.max_length < 8
|
292
|
-
"%02d%02d%02d" % [year % 100, month, day]
|
293
|
-
else
|
294
|
-
"%04d%02d%02d" % [year, month, day]
|
295
|
-
end
|
296
|
-
|
297
|
-
if truncate
|
298
|
-
# Drop the most significant digits... they are probably bogus?
|
299
|
-
overage = x12.length - definition.max_length
|
300
|
-
x12.drop(overage > 0 ? overage : 0)
|
301
|
-
else
|
302
|
-
x12
|
303
|
-
end
|
304
|
-
end
|
305
|
-
|
306
|
-
def too_long?
|
307
|
-
if definition.max_length < 8
|
308
|
-
definition.max_length - 2 < year.to_s.length
|
309
|
-
else
|
310
|
-
definition.max_length - 4 < year.to_s.length
|
311
|
-
end
|
312
|
-
end
|
313
|
-
end
|
314
|
-
|
315
|
-
#
|
316
|
-
# Date with a partially-specified year (two digits, missing century).
|
317
|
-
# Shouldn't be directly instantiated -- instead, use the constuctor
|
318
|
-
# method {DateVal.value}
|
319
|
-
#
|
320
|
-
class Improper < DateVal
|
321
|
-
|
322
|
-
# @return [Integer]
|
323
|
-
attr_reader :year
|
324
|
-
|
325
|
-
# @return [Integer]
|
326
|
-
attr_reader :month
|
327
|
-
|
328
|
-
# @return [Integer]
|
329
|
-
attr_reader :day
|
330
|
-
|
331
|
-
def initialize(year, month, day, usage, position)
|
332
|
-
@year, @month, @day = year, month, day
|
333
|
-
|
334
|
-
# Check that date is reasonably valid
|
335
|
-
unless @year.between?(0, 99) and @month.between?(1, 12) and @day.between?(1, 31)
|
336
|
-
raise Exceptions::InvalidElementError,
|
337
|
-
"invalid date year: #{year}, month: #{month}, day: #{day}"
|
338
|
-
end
|
339
|
-
|
340
|
-
super(usage, position)
|
341
|
-
end
|
342
|
-
|
343
|
-
# @return [Improper]
|
344
|
-
def copy(changes = {})
|
345
|
-
Improper.new \
|
346
|
-
changes.fetch(:year, @year),
|
347
|
-
changes.fetch(:month, @month),
|
348
|
-
changes.fetch(:day, @day),
|
349
|
-
changes.fetch(:usage, usage),
|
350
|
-
changes.fetch(:position, position)
|
351
|
-
end
|
352
|
-
|
353
|
-
def valid?
|
354
|
-
true
|
355
|
-
end
|
356
|
-
|
357
|
-
def empty?
|
358
|
-
false
|
359
|
-
end
|
360
|
-
|
361
|
-
def proper?
|
362
|
-
false
|
363
|
-
end
|
364
|
-
|
365
|
-
# Create a proper date using the given century `cc`
|
366
|
-
#
|
367
|
-
# @example
|
368
|
-
# DateVal.value("501015").century(19) #=> DateVal.value("19501230")
|
369
|
-
#
|
370
|
-
# @return [Proper]
|
371
|
-
def century(cc)
|
372
|
-
date = ::Date.civil(100 * cc + @year, @month, @day)
|
373
|
-
Proper.new(date, usage, position)
|
374
|
-
end
|
375
|
-
|
376
|
-
# Create a proper date which cannot be older than the given `date`
|
377
|
-
# and cannot be newer than one year after the given `date`.
|
378
|
-
#
|
379
|
-
# @example
|
380
|
-
# DateVal.value("501015").oldest(Date.civil(1950, 10, 20)) #=> DateVal.value("20501015")
|
381
|
-
# DateVal.value("501015").oldest(Date.civil(1950, 10, 15)) #=> DateVal.value("19501015")
|
382
|
-
# DateVal.value("501015").oldest(Date.civil(1950, 10, 10)) #=> DateVal.value("19501015")
|
383
|
-
#
|
384
|
-
# @return [Proper]
|
385
|
-
def oldest(date)
|
386
|
-
cc, yy = date.year.divmod(100)
|
387
|
-
|
388
|
-
if @year < yy
|
389
|
-
century(cc + 1)
|
390
|
-
elsif @year > yy
|
391
|
-
century(cc)
|
392
|
-
else
|
393
|
-
if @month < date.month
|
394
|
-
century(cc + 1)
|
395
|
-
elsif @month > date.month
|
396
|
-
century(cc)
|
397
|
-
else
|
398
|
-
if @day < date.day
|
399
|
-
century(cc + 1)
|
400
|
-
else
|
401
|
-
century(cc)
|
402
|
-
end
|
403
|
-
end
|
404
|
-
end
|
405
|
-
end
|
406
|
-
|
407
|
-
# Create a proper date which cannot be newer than the given `date`
|
408
|
-
# and cannot be older than one year before the given `date`.
|
409
|
-
#
|
410
|
-
# @example
|
411
|
-
# DateVal.value("501015").newest(Date.civil(1950, 10, 20)) #=> DateVal.value("19501015")
|
412
|
-
# DateVal.value("501015").newest(Date.civil(1950, 10, 15)) #=> DateVal.value("19501015")
|
413
|
-
# DateVal.value("501015").newest(Date.civil(1950, 10, 10)) #=> DateVal.value("18501015")
|
414
|
-
#
|
415
|
-
# @return [Proper]
|
416
|
-
def newest(date)
|
417
|
-
cc, yy = date.year.divmod(100)
|
418
|
-
|
419
|
-
if @year < yy
|
420
|
-
century(cc)
|
421
|
-
elsif @year > yy
|
422
|
-
century(cc - 1)
|
423
|
-
else
|
424
|
-
if @month < date.month
|
425
|
-
century(cc)
|
426
|
-
elsif @month > date.month
|
427
|
-
century(cc - 1)
|
428
|
-
else
|
429
|
-
if @day <= date.day
|
430
|
-
century(cc)
|
431
|
-
else
|
432
|
-
century(cc - 1)
|
433
|
-
end
|
434
|
-
end
|
435
|
-
end
|
436
|
-
end
|
437
|
-
|
438
|
-
# Create a proper date which cannot be newer than the current date
|
439
|
-
#
|
440
|
-
# @return [Proper]
|
441
|
-
def past
|
442
|
-
newest(Date.today)
|
443
|
-
end
|
444
|
-
|
445
|
-
# Create a proper date which cannot be older than the current date
|
446
|
-
#
|
447
|
-
# @return [Proper]
|
448
|
-
def future
|
449
|
-
oldest(Date.today)
|
450
|
-
end
|
451
|
-
|
452
|
-
# @return [String]
|
453
|
-
def inspect
|
454
|
-
id = definition.bind do |d|
|
455
|
-
"[#{"% 5s" % d.id}: #{d.name}]".bind do |s|
|
456
|
-
if usage.forbidden?
|
457
|
-
ansi.forbidden(s)
|
458
|
-
elsif usage.required?
|
459
|
-
ansi.required(s)
|
460
|
-
else
|
461
|
-
ansi.optional(s)
|
462
|
-
end
|
463
|
-
end
|
464
|
-
end
|
465
|
-
|
466
|
-
ansi.element("DT.value#{id}") + "(XX#{"%02d-%02d-%02d" % [@year, @month, @day]})"
|
467
|
-
end
|
468
|
-
|
469
|
-
# @return [String]
|
470
|
-
def to_s
|
471
|
-
"XX%02d%02d%02d" % [@year, @month, @day]
|
472
|
-
end
|
473
|
-
|
474
|
-
# @return [String]
|
475
|
-
def to_x12(truncate = true)
|
476
|
-
x12 = "%02d%02d%02d" % [@year, @month, @day]
|
477
|
-
truncate ? x12.slice(0, definition.max_length) : x12
|
478
|
-
end
|
479
|
-
|
480
|
-
def too_short?
|
481
|
-
# Less than a 4-digit year means our max length is 7, but in
|
482
|
-
# practice the definition min/max lengths are either 6 or 8
|
483
|
-
definition.min_length > 6
|
484
|
-
end
|
485
|
-
|
486
|
-
def too_long?
|
487
|
-
# We know month and day occupy four characters, but year *could*
|
488
|
-
# occupy either three or two characters. If the max_length can't
|
489
|
-
# accomodate a three-digit year, make sure we don't have one
|
490
|
-
definition.max_length < 7 and @year > 99
|
491
|
-
end
|
492
|
-
|
493
|
-
# @note Not commutative
|
494
|
-
# @return [Boolean]
|
495
|
-
def ==(other)
|
496
|
-
eql?(other) or
|
497
|
-
(@day == other.day and
|
498
|
-
@year == other.year and
|
499
|
-
@month == other.month)
|
500
|
-
end
|
501
|
-
end
|
502
|
-
|
503
|
-
end
|
504
|
-
|
505
|
-
class << DateVal
|
506
|
-
# @group Constructors
|
507
|
-
###################################################################
|
508
|
-
|
509
|
-
# @return [DateVal::Empty]
|
510
|
-
def empty(usage, position)
|
511
|
-
self::Empty.new(usage, position)
|
512
|
-
end
|
513
|
-
|
514
|
-
# @return [DateVal]
|
515
|
-
def value(object, usage, position)
|
516
|
-
if object.blank?
|
517
|
-
self::Empty.new(usage, position)
|
518
|
-
|
519
|
-
elsif object.is_a?(String) or object.is_a?(StringVal)
|
520
|
-
string = object.to_s
|
521
|
-
|
522
|
-
if string.length < 6
|
523
|
-
self::Invalid.new(object, usage, position)
|
524
|
-
else
|
525
|
-
day = string.slice(-2, 2).to_i
|
526
|
-
month = string.slice(-4, 2).to_i
|
527
|
-
year = string.slice( 0..-5)
|
528
|
-
|
529
|
-
if year.length < 4
|
530
|
-
self::Improper.new(year.to_i, month, day, usage, position)
|
531
|
-
else
|
532
|
-
date = date(year, month, day)
|
533
|
-
self::Proper.new(date, usage, position)
|
534
|
-
end
|
535
|
-
end
|
536
|
-
|
537
|
-
elsif object.respond_to?(:year) and object.respond_to?(:month) and object.respond_to?(:day)
|
538
|
-
date = date(object.year, object.month, object.day)
|
539
|
-
self::Proper.new(date, usage, position)
|
540
|
-
|
541
|
-
elsif object.is_a?(DateVal::Improper)
|
542
|
-
self::Improper.new(object.year, object.month, object.day, usage, position)
|
543
|
-
|
544
|
-
else
|
545
|
-
self::Invalid.new(object, usage, position)
|
546
|
-
end
|
547
|
-
|
548
|
-
rescue Exceptions::InvalidElementError
|
549
|
-
self::Invalid.new(object, usage, position)
|
550
|
-
end
|
551
|
-
|
552
|
-
# @endgroup
|
553
|
-
###################################################################
|
554
|
-
|
555
|
-
private
|
556
|
-
|
557
|
-
def date(year, month, day)
|
558
|
-
::Date.civil(year.to_i, month.to_i, day.to_i)
|
559
|
-
rescue
|
560
|
-
raise Exceptions::InvalidElementError,
|
561
|
-
"invalid year(#{year}), month(#{month}), day(#{day})"
|
562
|
-
end
|
563
|
-
end
|
564
|
-
|
565
|
-
# Prevent direct instantiation of abstract class DateVal
|
566
|
-
DateVal.eigenclass.send(:protected, :new)
|
567
|
-
DateVal::Empty.eigenclass.send(:public, :new)
|
568
|
-
DateVal::Proper.eigenclass.send(:public, :new)
|
569
|
-
DateVal::Invalid.eigenclass.send(:public, :new)
|
570
|
-
DateVal::Improper.eigenclass.send(:public, :new)
|
571
|
-
|
572
|
-
end
|
573
|
-
end
|
574
|
-
end
|
575
|
-
end
|
576
|
-
end
|