class Eddy::Segments::ISA

### Segment Summary:

Public Class Methods

new(store, interchange_control_number) click to toggle source

@param store [Eddy::Data::Store] @param interchange_control_number [Integer] A unique *interchange control number*. @return [void]

Calls superclass method Eddy::Models::Segment::new
# File lib/definitions/segments/manual/envelopes/isa.rb, line 13
def initialize(store, interchange_control_number)
  @id = "ISA"
  @name = "Interchange Control Header"
  @isa01 = Eddy::Elements::I01.new(ref: "ISA01", req: "M")
  @isa02 = Eddy::Elements::I02.new(ref: "ISA02", req: "M")
  @isa03 = Eddy::Elements::I03.new(ref: "ISA03", req: "M")
  @isa04 = Eddy::Elements::I04.new(ref: "ISA04", req: "M")
  @isa05 = Eddy::Elements::I05.new(ref: "ISA05", req: "M")
  @isa06 = Eddy::Elements::I06.new(ref: "ISA06", req: "M", val: store.application_senders_code)
  @isa07 = Eddy::Elements::I05.new(ref: "ISA07", req: "M")
  @isa08 = Eddy::Elements::I07.new(ref: "ISA08", req: "M", val: store.application_receivers_code)
  @isa09 = Eddy::Elements::I08.new(ref: "ISA09", req: "M", val: store.time)
  @isa10 = Eddy::Elements::I09.new(ref: "ISA10", req: "M", val: store.time)
  @isa11 = Eddy::Elements::I10.new(ref: "ISA11", req: "M")
  @isa12 = Eddy::Elements::I11.new(ref: "ISA12", req: "M", val: store.edi_version)
  @isa13 = Eddy::Elements::I12.new(ref: "ISA13", req: "M", val: interchange_control_number)
  @isa14 = Eddy::Elements::I13.new(ref: "ISA14", req: "M")
  @isa15 = Eddy::Elements::I14.new(ref: "ISA15", req: "M")
  @isa16 = Eddy::Elements::I15.new(ref: "ISA16", req: "M", val: store.component_separator)
  super(
    store,
    @isa01,
    @isa02,
    @isa03,
    @isa04,
    @isa05,
    @isa06,
    @isa07,
    @isa08,
    @isa09,
    @isa10,
    @isa11,
    @isa12,
    @isa13,
    @isa14,
    @isa15,
    @isa16,
  )
end

Public Instance Methods

AcknowledgmentRequested=(arg)
Alias for: ISA14=
AuthorizationInformation=(arg)
Alias for: ISA02=
AuthorizationInformationQualifier=(arg)
Alias for: ISA01=
ComponentElementSeparator=(arg)
Alias for: ISA16=
ISA01=(arg) click to toggle source

### ISA01

  • Id: I01

  • Name: Authorization Information Qualifier

  • Type: ID

  • Min/Max: 2/2

  • Description: Code to identify the type of information in the Authorization Information

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 63
def ISA01=(arg)
  @isa01.value = arg
end
ISA02=(arg) click to toggle source

### ISA02

  • Id: I02

  • Name: Authorization Information

  • Type: AN

  • Min/Max: 10/10

  • Description: Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 78
def ISA02=(arg)
  @isa02.value = arg
end
Also aliased as: AuthorizationInformation=
ISA03=(arg) click to toggle source

### ISA03

  • Id: I03

  • Name: Security Information Qualifier

  • Type: ID

  • Min/Max: 2/2

  • Description: Code to identify the type of information in the Security Information

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 93
def ISA03=(arg)
  @isa03.value = arg
end
ISA04=(arg) click to toggle source

### ISA04

  • Id: I04

  • Name: Security Information

  • Type: AN

  • Min/Max: 10/10

  • Description: This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 108
def ISA04=(arg)
  @isa04.value = arg
end
Also aliased as: SecurityInformation=
ISA05=(arg) click to toggle source

### ISA05

  • Id: I05

  • Name: Interchange ID Qualifier

  • Type: ID

  • Min/Max: 2/2

  • Description: Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 123
def ISA05=(arg)
  @isa05.value = arg
end
Also aliased as: InterchangeIdQualifier1=
ISA06=(arg) click to toggle source

### ISA06

  • Id: I06

  • Name: Interchange Sender ID

  • Type: AN

  • Min/Max: 15/15

  • Description: Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 138
def ISA06=(arg)
  @isa06.value = arg
end
Also aliased as: InterchangeSenderId=
ISA07=(arg) click to toggle source

### ISA07

  • Id: I05

  • Name: Interchange ID Qualifier

  • Type: ID

  • Min/Max: 2/2

  • Description: Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 153
def ISA07=(arg)
  @isa07.value = arg
end
Also aliased as: InterchangeIdQualifier2=
ISA08=(arg) click to toggle source

### ISA08

  • Id: I07

  • Name: Interchange Receiver ID

  • Type: AN

  • Min/Max: 15/15

  • Description: Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 168
def ISA08=(arg)
  @isa08.value = arg
end
Also aliased as: InterchangeReceiverId=
ISA09=(arg) click to toggle source

### ISA09

  • Id: I08

  • Name: Interchange Date

  • Type: DT

  • Min/Max: 6/6

  • Description: Date of the interchange

@param arg [Time] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 183
def ISA09=(arg)
  @isa09.value = arg
end
Also aliased as: InterchangeDate=
ISA10=(arg) click to toggle source

### ISA10

  • Id: I09

  • Name: Interchange Time

  • Type: TM

  • Min/Max: 4/4

  • Description: Time of the interchange

@param arg [Time] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 198
def ISA10=(arg)
  @isa10.value = arg
end
Also aliased as: InterchangeTime=
ISA11=(arg) click to toggle source

### ISA11

  • Id: I10

  • Name: Interchange Control Standards Identifier

  • Type: ID

  • Min/Max: 1/1

  • Description: Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 213
def ISA11=(arg)
  @isa11.value = arg
end
ISA12=(arg) click to toggle source

### ISA12

  • Id: I11

  • Name: Interchange Control Version Number

  • Type: ID

  • Min/Max: 5/5

  • Description: This version number covers the interchange control segments

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 228
def ISA12=(arg)
  @isa12.value = arg
end
ISA13=(arg) click to toggle source

### ISA13

  • Id: I12

  • Name: Interchange Control Number

  • Type: N0

  • Min/Max: 9/9

  • Description: A control number assigned by the interchange sender

@param arg [Integer] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 243
def ISA13=(arg)
  @isa13.value = arg
end
Also aliased as: InterchangeControlNumber=
ISA14=(arg) click to toggle source

### ISA14

  • Id: I13

  • Name: Acknowledgment Requested

  • Type: ID

  • Min/Max: 1/1

  • Description: Code sent by the sender to request an interchange acknowledgment (TA1)

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 258
def ISA14=(arg)
  @isa14.value = arg
end
Also aliased as: AcknowledgmentRequested=
ISA15=(arg) click to toggle source

### ISA15

  • Id: I14

  • Name: Usage Indicator

  • Type: ID

  • Min/Max: 1/1

  • Description: Code to indicate whether data enclosed by this interchange envelope is test, production or information

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 273
def ISA15=(arg)
  @isa15.value = arg
end
Also aliased as: UsageIndicator=
ISA16=(arg) click to toggle source

### ISA16

  • Id: I15

  • Name: Component Element Separator

  • Type: AN

  • Min/Max: 1/1

  • Description: Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/isa.rb, line 288
def ISA16=(arg)
  @isa16.value = arg
end
Also aliased as: ComponentElementSeparator=
InterchangeControlNumber=(arg)
Alias for: ISA13=
InterchangeControlStandardsIdentifier=(arg)
Alias for: ISA11=
InterchangeControlVersionNumber=(arg)
Alias for: ISA12=
InterchangeDate=(arg)
Alias for: ISA09=
InterchangeIdQualifier1=(arg)
Alias for: ISA05=
InterchangeIdQualifier2=(arg)
Alias for: ISA07=
InterchangeReceiverId=(arg)
Alias for: ISA08=
InterchangeSenderId=(arg)
Alias for: ISA06=
InterchangeTime=(arg)
Alias for: ISA10=
SecurityInformation=(arg)
Alias for: ISA04=
SecurityInformationQualifier=(arg)
Alias for: ISA03=
UsageIndicator=(arg)
Alias for: ISA15=