Module: Stupidedi::Versions::Interchanges::FiveOhOne::SegmentDefs

Defined in:
lib/stupidedi/versions/interchanges/00501/segment_defs.rb,
lib/stupidedi/versions/interchanges/00501/segment_defs/IEA.rb,
lib/stupidedi/versions/interchanges/00501/segment_defs/ISA.rb,
lib/stupidedi/versions/interchanges/00501/segment_defs/ISB.rb,
lib/stupidedi/versions/interchanges/00501/segment_defs/ISE.rb,
lib/stupidedi/versions/interchanges/00501/segment_defs/TA1.rb,
lib/stupidedi/versions/interchanges/00501/segment_defs/TA3.rb

Overview

Constant Summary collapse

IEA =
s::SegmentDef.build(:IEA, "Interchange Control Trailer",
"To define the end of an interchange of zero or more functional groups and interchange-related control segments",
e::I16.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I12.simple_use(r::Mandatory, s::RepeatCount.bounded(1)))
ISA =
s::SegmentDef.build(:ISA, "Interchange Control Header",
"To start and identify an interchange of zero or more functional groups and interchange-related control segments",
e::I01.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I02.simple_use(r::Optional,  s::RepeatCount.bounded(1)),
e::I03.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I04.simple_use(r::Optional,  s::RepeatCount.bounded(1)),
e::I05.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I06.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I05.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I07.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I08.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I09.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I65.simple_use(r::Optional,  s::RepeatCount.bounded(1)),
e::I11.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I12.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I13.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I14.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I15.simple_use(r::Optional,  s::RepeatCount.bounded(1)))
ISB =

@todo: Where’s the documentation for this?

s::SegmentDef.build(:ISB, "Grade of Service Request", "")
ISE =

@todo: Where’s the documentation for this?

s::SegmentDef.build(:ISE, "Deferred Delivery Request", "")
TA1 =
s::SegmentDef.build(:TA1, "Interchange Acknowledgement",
"",
e::I12.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I08.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I09.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I17.simple_use(r::Mandatory, s::RepeatCount.bounded(1)),
e::I18.simple_use(r::Mandatory, s::RepeatCount.bounded(1)))
TA3 =

@todo: Where’s the documentation for this?

s::SegmentDef.build(:TA3, "Interchange Delivery Notice", "")