Skip to content

Multiple interchanges in one payload

This file contains two complete interchanges: the single-benefit example followed by the Medicare Advantage example. Each has its own ISA/IEA, functional group, and transaction set.

Download the EDI file

ISA*00*          *00*          *ZZ*CEDARVALLEYHP  *ZZ*OAKSTMEDGROUP  *990101*1201*^*00501*000000101*0*P*:~
GS*HB*CEDARVALLEYHP*OAKSTMEDGROUP*20990101*1201*101*X*005010X279A1~
ST*271*0101*005010X279A1~
BHT*0022*11*ELIG1010001*20990101*1201~
HL*1**20*1~
NM1*PR*2*CEDAR VALLEY HEALTH PLAN~
HL*2*1*21*1~
NM1*1P*2*OAK STREET MEDICAL GROUP~
HL*3*2*22*0~
NM1*IL*1*REED*JORDAN~
EB*1**30**SILVER PPO~
SE*10*0101~
GE*1*101~
IEA*1*000000101~
ISA*00*          *00*          *ZZ*PINECRESTMAP   *ZZ*WILLOWCREEKMG  *990104*1204*^*00501*000000404*0*P*:~
GS*HB*PINECRESTMAP*WILLOWCREEKMG*20990101*1204*404*X*005010X279A1~
ST*271*0404*005010X279A1~
BHT*0022*11*ELIG4040001*20990101*1204~
HL*1**20*1~
NM1*PR*2*PINECREST ADVANTAGE PLAN~
HL*2*1*21*1~
NM1*1P*2*WILLOW CREEK MEDICAL GROUP~
HL*3*2*22*0~
NM1*IL*1*BROOKS*TAYLOR~
EB*1**30**MEDICARE ADVANTAGE PLAN~
DTP*291*D8*20990101~
MSG*MEDICARE ADVANTAGE COVERAGE REPORTED~
SE*12*0404~
GE*1*404~
IEA*1*000000404~

Segment breakdown

The entries below follow the source order. Empty fields are shown as(empty); fields not present in a source segment are not added. Stedi links identify public field references; the licensed X279A1 implementation guide supplies the complete transaction rules.

Interchange 1

  1. ISA

    Raw segment: ISA*00* *00* *ZZ*CEDARVALLEYHP *ZZ*OAKSTMEDGROUP *990101*1201*^*00501*000000101*0*P*:~

    Opens an interchange and establishes its fixed control and delimiter positions. Its control number is 000000101.

    ISA fields
    PositionRaw valueField nameExplanation
    ISA0100Authorization Information QualifierIdentifies the format of the authorization information. The value 00 means no authorization information is present.
    ISA02(blank: 10 spaces)Authorization InformationCarries the authorization value; this example leaves the fixed-width value blank.
    ISA0300Security Information QualifierIdentifies the format of the security information. The value 00 means no security information is present.
    ISA04(blank: 10 spaces)Security InformationCarries the security value; this example leaves the fixed-width value blank.
    ISA05ZZInterchange ID QualifierIdentifies the type of sender identifier. The value ZZ identifies a mutually defined sender identifier.
    ISA06CEDARVALLEYHP Interchange Sender IDIdentifies the sender of this interchange.
    ISA07ZZInterchange ID QualifierIdentifies the type of receiver identifier. The value ZZ identifies a mutually defined receiver identifier.
    ISA08OAKSTMEDGROUP Interchange Receiver IDIdentifies the receiver of this interchange.
    ISA09990101Interchange DateRecords the interchange date in YYMMDD format.
    ISA101201Interchange TimeRecords the interchange time in HHMM format.
    ISA11^Repetition SeparatorSeparates repeated composite values in this interchange.
    ISA1200501Interchange Control Version NumberIdentifies the interchange control version, 00501 here.
    ISA13000000101Interchange Control NumberIdentifies this interchange and must match IEA02.
    ISA140Acknowledgment RequestedIndicates whether an interchange acknowledgment is requested. The value 0 means no interchange acknowledgment is requested.
    ISA15PInterchange Usage IndicatorIndicates whether the interchange is for test, production, or information data. The value P is the code for production data.
    ISA16:Component Element SeparatorSeparates component values within a composite element.

    Field reference: Stedi ISA segment reference.

  2. GS

    Raw segment: GS*HB*CEDARVALLEYHP*OAKSTMEDGROUP*20990101*1201*101*X*005010X279A1~

    Opens a functional group inside the interchange. Its group control number is 101.

    GS fields
    PositionRaw valueField nameExplanation
    GS01HBFunctional Identifier CodeIdentifies a group of application-related transaction sets. The value HB means Eligibility, Coverage or Benefit Information.
    GS02CEDARVALLEYHPApplication Sender's CodeIdentifies the party sending the transmission.
    GS03OAKSTMEDGROUPApplication Receiver's CodeIdentifies the party receiving the transmission.
    GS0420990101DateRecords the functional group date.
    GS051201TimeRecords the functional group time.
    GS06101Group Control NumberIdentifies this group and must match GE02.
    GS07XResponsible Agency CodeIdentifies the agency responsible for the implementation convention. The value X identifies the responsible agency as X12.
    GS08005010X279A1Version / Release / Industry Identifier CodeIdentifies the implementation convention used by the group.

    Field reference: Stedi GS segment reference.

  3. ST

    Raw segment: ST*271*0101*005010X279A1~

    Opens a transaction set inside the functional group. This transaction is 271 with control number 0101.

    ST fields
    PositionRaw valueField nameExplanation
    ST01271Transaction Set Identifier CodeIdentifies this response as transaction set 271. The value 271 identifies an eligibility, coverage, or benefit response.
    ST020101Transaction Set Control NumberIdentifies this transaction and must match SE02.
    ST03005010X279A1Implementation Convention ReferenceIdentifies the implementation convention used by the transaction.

    Field reference: Stedi ST segment reference.

  4. BHT

    Raw segment: BHT*0022*11*ELIG1010001*20990101*1201~

    Supplies beginning-of-hierarchical-transaction context.

    BHT fields
    PositionRaw valueField nameExplanation
    BHT010022Hierarchical Structure CodeIdentifies the hierarchical structure used by the transaction. The value 0022 means Information Source, Information Receiver, Subscriber, Dependent.
    BHT0211Transaction Set Purpose CodeStates the purpose of this transaction set. The value 11 means Response.
    BHT03ELIG1010001Reference IdentificationProvides the transaction reference used in this response.
    BHT0420990101DateRecords the date the transaction was created in the business application.
    BHT051201TimeRecords the time the transaction was created in the business application.

    Field reference: Stedi BHT segment reference.

  5. HL

    Raw segment: HL*1**20*1~

    Establishes one hierarchical level and its optional parent relationship. This level is 1 at the top of the hierarchy.

    HL fields
    PositionRaw valueField nameExplanation
    HL011Hierarchical ID NumberIdentifies this hierarchy level.
    HL02(empty)Hierarchical Parent ID NumberIdentifies the parent level; an empty value marks the top level.
    HL0320Hierarchical Level CodeIdentifies the kind of entity represented by this level. The value 20 identifies an information-source hierarchy level.
    HL041Hierarchical Child CodeIndicates whether this level has subordinate levels. The value 1 indicates that this level has child levels.

    Field reference: Stedi HL segment reference.

  6. NM1

    Raw segment: NM1*PR*2*CEDAR VALLEY HEALTH PLAN~

    Identifies the party attached to the current hierarchy level.

    NM1 fields
    PositionRaw valueField nameExplanation
    NM101PREntity Identifier CodeIdentifies the party role represented by this name loop. The value PR identifies the payer party.
    NM1022Entity Type QualifierIdentifies whether the party is an individual or organization. The value 2 identifies an organization.
    NM103CEDAR VALLEY HEALTH PLANName Last or Organization NameSupplies the party name used in this response.

    Field reference: Stedi NM1 segment reference.

  7. HL

    Raw segment: HL*2*1*21*1~

    Establishes one hierarchical level and its optional parent relationship. This level is 2 under parent 1.

    HL fields
    PositionRaw valueField nameExplanation
    HL012Hierarchical ID NumberIdentifies this hierarchy level.
    HL021Hierarchical Parent ID NumberIdentifies the parent level; an empty value marks the top level.
    HL0321Hierarchical Level CodeIdentifies the kind of entity represented by this level. The value 21 identifies an information-receiver hierarchy level.
    HL041Hierarchical Child CodeIndicates whether this level has subordinate levels. The value 1 indicates that this level has child levels.

    Field reference: Stedi HL segment reference.

  8. NM1

    Raw segment: NM1*1P*2*OAK STREET MEDICAL GROUP~

    Identifies the party attached to the current hierarchy level.

    NM1 fields
    PositionRaw valueField nameExplanation
    NM1011PEntity Identifier CodeIdentifies the party role represented by this name loop. The value 1P identifies the provider party.
    NM1022Entity Type QualifierIdentifies whether the party is an individual or organization. The value 2 identifies an organization.
    NM103OAK STREET MEDICAL GROUPName Last or Organization NameSupplies the party name used in this response.

    Field reference: Stedi NM1 segment reference.

  9. HL

    Raw segment: HL*3*2*22*0~

    Establishes one hierarchical level and its optional parent relationship. This level is 3 under parent 2.

    HL fields
    PositionRaw valueField nameExplanation
    HL013Hierarchical ID NumberIdentifies this hierarchy level.
    HL022Hierarchical Parent ID NumberIdentifies the parent level; an empty value marks the top level.
    HL0322Hierarchical Level CodeIdentifies the kind of entity represented by this level. The value 22 identifies a subscriber hierarchy level.
    HL040Hierarchical Child CodeIndicates whether this level has subordinate levels. The value 0 indicates that this level has no child levels.

    Field reference: Stedi HL segment reference.

  10. NM1

    Raw segment: NM1*IL*1*REED*JORDAN~

    Identifies the party attached to the current hierarchy level.

    NM1 fields
    PositionRaw valueField nameExplanation
    NM101ILEntity Identifier CodeIdentifies the party role represented by this name loop. The value IL identifies the insured or subscriber party.
    NM1021Entity Type QualifierIdentifies whether the party is an individual or organization. The value 1 identifies an individual person.
    NM103REEDName Last or Organization NameSupplies the party name used in this response.
    NM104JORDANName FirstSupplies the person’s first name when present.

    Field reference: Stedi NM1 segment reference.

  11. EB

    Raw segment: EB*1**30**SILVER PPO~

    Reports one qualified eligibility or benefit statement in the current subscriber context. Its status is 1 and its service type is 30.

    EB fields
    PositionRaw valueField nameExplanation
    EB011Eligibility or Benefit Information CodeStates the eligibility or benefit status represented by this statement. The value 1 means Active Coverage.
    EB02(empty)Coverage Level CodeIdentifies the coverage level when supplied.
    EB0330Service Type CodeIdentifies the service type covered by this statement. The value 30 identifies health benefit plan coverage as the service type.
    EB04(empty)Insurance Type CodeIdentifies the insurance type when supplied.
    EB05SILVER PPOPlan Coverage DescriptionProvides the plan or coverage description used in this response.

    Field reference: Stedi EB segment reference.

  12. SE

    Raw segment: SE*10*0101~

    Closes a transaction set and declares its segment count. It closes transaction 0101.

    SE fields
    PositionRaw valueField nameExplanation
    SE0110Number of Included SegmentsCounts segments from ST through SE.
    SE020101Transaction Set Control NumberMatches ST02 for this transaction.

    Field reference: Stedi SE segment reference.

  13. GE

    Raw segment: GE*1*101~

    Closes a functional group and declares its transaction count. It closes group 101.

    GE fields
    PositionRaw valueField nameExplanation
    GE011Number of Transaction Sets IncludedCounts transaction sets in this functional group.
    GE02101Group Control NumberMatches GS06 for this functional group.

    Field reference: Stedi GE segment reference.

  14. IEA

    Raw segment: IEA*1*000000101~

    Closes an interchange and declares its group count. It closes the interchange with control number 000000101.

    IEA fields
    PositionRaw valueField nameExplanation
    IEA011Number of Included Functional GroupsCounts functional groups in this interchange.
    IEA02000000101Interchange Control NumberMatches ISA13 for this interchange.

    Field reference: Stedi IEA segment reference.

Interchange 2

  1. ISA

    Raw segment: ISA*00* *00* *ZZ*PINECRESTMAP *ZZ*WILLOWCREEKMG *990104*1204*^*00501*000000404*0*P*:~

    Opens an interchange and establishes its fixed control and delimiter positions. Its control number is 000000404.

    ISA fields
    PositionRaw valueField nameExplanation
    ISA0100Authorization Information QualifierIdentifies the format of the authorization information. The value 00 means no authorization information is present.
    ISA02(blank: 10 spaces)Authorization InformationCarries the authorization value; this example leaves the fixed-width value blank.
    ISA0300Security Information QualifierIdentifies the format of the security information. The value 00 means no security information is present.
    ISA04(blank: 10 spaces)Security InformationCarries the security value; this example leaves the fixed-width value blank.
    ISA05ZZInterchange ID QualifierIdentifies the type of sender identifier. The value ZZ identifies a mutually defined sender identifier.
    ISA06PINECRESTMAP Interchange Sender IDIdentifies the sender of this interchange.
    ISA07ZZInterchange ID QualifierIdentifies the type of receiver identifier. The value ZZ identifies a mutually defined receiver identifier.
    ISA08WILLOWCREEKMG Interchange Receiver IDIdentifies the receiver of this interchange.
    ISA09990104Interchange DateRecords the interchange date in YYMMDD format.
    ISA101204Interchange TimeRecords the interchange time in HHMM format.
    ISA11^Repetition SeparatorSeparates repeated composite values in this interchange.
    ISA1200501Interchange Control Version NumberIdentifies the interchange control version, 00501 here.
    ISA13000000404Interchange Control NumberIdentifies this interchange and must match IEA02.
    ISA140Acknowledgment RequestedIndicates whether an interchange acknowledgment is requested. The value 0 means no interchange acknowledgment is requested.
    ISA15PInterchange Usage IndicatorIndicates whether the interchange is for test, production, or information data. The value P is the code for production data.
    ISA16:Component Element SeparatorSeparates component values within a composite element.

    Field reference: Stedi ISA segment reference.

  2. GS

    Raw segment: GS*HB*PINECRESTMAP*WILLOWCREEKMG*20990101*1204*404*X*005010X279A1~

    Opens a functional group inside the interchange. Its group control number is 404.

    GS fields
    PositionRaw valueField nameExplanation
    GS01HBFunctional Identifier CodeIdentifies a group of application-related transaction sets. The value HB means Eligibility, Coverage or Benefit Information.
    GS02PINECRESTMAPApplication Sender's CodeIdentifies the party sending the transmission.
    GS03WILLOWCREEKMGApplication Receiver's CodeIdentifies the party receiving the transmission.
    GS0420990101DateRecords the functional group date.
    GS051204TimeRecords the functional group time.
    GS06404Group Control NumberIdentifies this group and must match GE02.
    GS07XResponsible Agency CodeIdentifies the agency responsible for the implementation convention. The value X identifies the responsible agency as X12.
    GS08005010X279A1Version / Release / Industry Identifier CodeIdentifies the implementation convention used by the group.

    Field reference: Stedi GS segment reference.

  3. ST

    Raw segment: ST*271*0404*005010X279A1~

    Opens a transaction set inside the functional group. This transaction is 271 with control number 0404.

    ST fields
    PositionRaw valueField nameExplanation
    ST01271Transaction Set Identifier CodeIdentifies this response as transaction set 271. The value 271 identifies an eligibility, coverage, or benefit response.
    ST020404Transaction Set Control NumberIdentifies this transaction and must match SE02.
    ST03005010X279A1Implementation Convention ReferenceIdentifies the implementation convention used by the transaction.

    Field reference: Stedi ST segment reference.

  4. BHT

    Raw segment: BHT*0022*11*ELIG4040001*20990101*1204~

    Supplies beginning-of-hierarchical-transaction context.

    BHT fields
    PositionRaw valueField nameExplanation
    BHT010022Hierarchical Structure CodeIdentifies the hierarchical structure used by the transaction. The value 0022 means Information Source, Information Receiver, Subscriber, Dependent.
    BHT0211Transaction Set Purpose CodeStates the purpose of this transaction set. The value 11 means Response.
    BHT03ELIG4040001Reference IdentificationProvides the transaction reference used in this response.
    BHT0420990101DateRecords the date the transaction was created in the business application.
    BHT051204TimeRecords the time the transaction was created in the business application.

    Field reference: Stedi BHT segment reference.

  5. HL

    Raw segment: HL*1**20*1~

    Establishes one hierarchical level and its optional parent relationship. This level is 1 at the top of the hierarchy.

    HL fields
    PositionRaw valueField nameExplanation
    HL011Hierarchical ID NumberIdentifies this hierarchy level.
    HL02(empty)Hierarchical Parent ID NumberIdentifies the parent level; an empty value marks the top level.
    HL0320Hierarchical Level CodeIdentifies the kind of entity represented by this level. The value 20 identifies an information-source hierarchy level.
    HL041Hierarchical Child CodeIndicates whether this level has subordinate levels. The value 1 indicates that this level has child levels.

    Field reference: Stedi HL segment reference.

  6. NM1

    Raw segment: NM1*PR*2*PINECREST ADVANTAGE PLAN~

    Identifies the party attached to the current hierarchy level.

    NM1 fields
    PositionRaw valueField nameExplanation
    NM101PREntity Identifier CodeIdentifies the party role represented by this name loop. The value PR identifies the payer party.
    NM1022Entity Type QualifierIdentifies whether the party is an individual or organization. The value 2 identifies an organization.
    NM103PINECREST ADVANTAGE PLANName Last or Organization NameSupplies the party name used in this response.

    Field reference: Stedi NM1 segment reference.

  7. HL

    Raw segment: HL*2*1*21*1~

    Establishes one hierarchical level and its optional parent relationship. This level is 2 under parent 1.

    HL fields
    PositionRaw valueField nameExplanation
    HL012Hierarchical ID NumberIdentifies this hierarchy level.
    HL021Hierarchical Parent ID NumberIdentifies the parent level; an empty value marks the top level.
    HL0321Hierarchical Level CodeIdentifies the kind of entity represented by this level. The value 21 identifies an information-receiver hierarchy level.
    HL041Hierarchical Child CodeIndicates whether this level has subordinate levels. The value 1 indicates that this level has child levels.

    Field reference: Stedi HL segment reference.

  8. NM1

    Raw segment: NM1*1P*2*WILLOW CREEK MEDICAL GROUP~

    Identifies the party attached to the current hierarchy level.

    NM1 fields
    PositionRaw valueField nameExplanation
    NM1011PEntity Identifier CodeIdentifies the party role represented by this name loop. The value 1P identifies the provider party.
    NM1022Entity Type QualifierIdentifies whether the party is an individual or organization. The value 2 identifies an organization.
    NM103WILLOW CREEK MEDICAL GROUPName Last or Organization NameSupplies the party name used in this response.

    Field reference: Stedi NM1 segment reference.

  9. HL

    Raw segment: HL*3*2*22*0~

    Establishes one hierarchical level and its optional parent relationship. This level is 3 under parent 2.

    HL fields
    PositionRaw valueField nameExplanation
    HL013Hierarchical ID NumberIdentifies this hierarchy level.
    HL022Hierarchical Parent ID NumberIdentifies the parent level; an empty value marks the top level.
    HL0322Hierarchical Level CodeIdentifies the kind of entity represented by this level. The value 22 identifies a subscriber hierarchy level.
    HL040Hierarchical Child CodeIndicates whether this level has subordinate levels. The value 0 indicates that this level has no child levels.

    Field reference: Stedi HL segment reference.

  10. NM1

    Raw segment: NM1*IL*1*BROOKS*TAYLOR~

    Identifies the party attached to the current hierarchy level.

    NM1 fields
    PositionRaw valueField nameExplanation
    NM101ILEntity Identifier CodeIdentifies the party role represented by this name loop. The value IL identifies the insured or subscriber party.
    NM1021Entity Type QualifierIdentifies whether the party is an individual or organization. The value 1 identifies an individual person.
    NM103BROOKSName Last or Organization NameSupplies the party name used in this response.
    NM104TAYLORName FirstSupplies the person’s first name when present.

    Field reference: Stedi NM1 segment reference.

  11. EB

    Raw segment: EB*1**30**MEDICARE ADVANTAGE PLAN~

    Reports one qualified eligibility or benefit statement in the current subscriber context. Its status is 1 and its service type is 30.

    EB fields
    PositionRaw valueField nameExplanation
    EB011Eligibility or Benefit Information CodeStates the eligibility or benefit status represented by this statement. The value 1 means Active Coverage.
    EB02(empty)Coverage Level CodeIdentifies the coverage level when supplied.
    EB0330Service Type CodeIdentifies the service type covered by this statement. The value 30 identifies health benefit plan coverage as the service type.
    EB04(empty)Insurance Type CodeIdentifies the insurance type when supplied.
    EB05MEDICARE ADVANTAGE PLANPlan Coverage DescriptionProvides the plan or coverage description used in this response.

    Field reference: Stedi EB segment reference.

  12. DTP

    Raw segment: DTP*291*D8*20990101~

    Supplies a date or date period related to the current benefit context.

    DTP fields
    PositionRaw valueField nameExplanation
    DTP01291Date/Time QualifierIdentifies what the date represents. The value 291 means Plan (date/range for which plan is in effect).
    DTP02D8Date Time Period Format QualifierIdentifies the format of the date value. The value D8 identifies a single date in CCYYMMDD format.
    DTP0320990101Date Time PeriodSupplies the date or date period.

    Field reference: Stedi DTP segment reference.

  13. MSG

    Raw segment: MSG*MEDICARE ADVANTAGE COVERAGE REPORTED~

    Carries explanatory text associated with the surrounding response context.

    MSG fields
    PositionRaw valueField nameExplanation
    MSG01MEDICARE ADVANTAGE COVERAGE REPORTEDFree-Form Message TextProvides the explanatory text carried by this response.

    Field reference: Stedi MSG segment reference.

  14. SE

    Raw segment: SE*12*0404~

    Closes a transaction set and declares its segment count. It closes transaction 0404.

    SE fields
    PositionRaw valueField nameExplanation
    SE0112Number of Included SegmentsCounts segments from ST through SE.
    SE020404Transaction Set Control NumberMatches ST02 for this transaction.

    Field reference: Stedi SE segment reference.

  15. GE

    Raw segment: GE*1*404~

    Closes a functional group and declares its transaction count. It closes group 404.

    GE fields
    PositionRaw valueField nameExplanation
    GE011Number of Transaction Sets IncludedCounts transaction sets in this functional group.
    GE02404Group Control NumberMatches GS06 for this functional group.

    Field reference: Stedi GE segment reference.

  16. IEA

    Raw segment: IEA*1*000000404~

    Closes an interchange and declares its group count. It closes the interchange with control number 000000404.

    IEA fields
    PositionRaw valueField nameExplanation
    IEA011Number of Included Functional GroupsCounts functional groups in this interchange.
    IEA02000000404Interchange Control NumberMatches ISA13 for this interchange.

    Field reference: Stedi IEA segment reference.