Skip to content

Medicare Secondary Payer context

This example uses a Medicare Secondary Payer scenario with a subscriber, benefit statement, and date. The label helps explain coordination concepts; the message was written for this guide and was not returned by CMS HETS. Scenario labels do not establish payer order. Use the actual response, payer or plan records, and applicable route rules when determining coverage order.

Download the EDI file

ISA*00*          *00*          *ZZ*HARBORPOINTHP  *ZZ*MAPLEGROVEFC   *990102*1202*^*00501*000000202*0*P*:~
GS*HB*HARBORPOINTHP*MAPLEGROVEFC*20990101*1202*202*X*005010X279A1~
ST*271*0202*005010X279A1~
BHT*0022*11*ELIG2020001*20990101*1202~
HL*1**20*1~
NM1*PR*2*HARBOR POINT HEALTH PLAN~
HL*2*1*21*1~
NM1*1P*2*MAPLE GROVE FAMILY CLINIC~
HL*3*2*22*0~
NM1*IL*1*BENNETT*CASEY~
EB*1**30**MEDICARE SECONDARY PLAN~
DTP*291*D8*20990101~
SE*11*0202~
GE*1*202~
IEA*1*000000202~

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*HARBORPOINTHP *ZZ*MAPLEGROVEFC *990102*1202*^*00501*000000202*0*P*:~

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

    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.
    ISA06HARBORPOINTHP 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.
    ISA08MAPLEGROVEFC Interchange Receiver IDIdentifies the receiver of this interchange.
    ISA09990102Interchange DateRecords the interchange date in YYMMDD format.
    ISA101202Interchange 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.
    ISA13000000202Interchange 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*HARBORPOINTHP*MAPLEGROVEFC*20990101*1202*202*X*005010X279A1~

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

    GS fields
    PositionRaw valueField nameExplanation
    GS01HBFunctional Identifier CodeIdentifies a group of application-related transaction sets. The value HB means Eligibility, Coverage or Benefit Information.
    GS02HARBORPOINTHPApplication Sender's CodeIdentifies the party sending the transmission.
    GS03MAPLEGROVEFCApplication Receiver's CodeIdentifies the party receiving the transmission.
    GS0420990101DateRecords the functional group date.
    GS051202TimeRecords the functional group time.
    GS06202Group 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*0202*005010X279A1~

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

    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.
    ST020202Transaction 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*ELIG2020001*20990101*1202~

    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.
    BHT03ELIG2020001Reference IdentificationProvides the transaction reference used in this response.
    BHT0420990101DateRecords the date the transaction was created in the business application.
    BHT051202TimeRecords 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*HARBOR POINT 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.
    NM103HARBOR POINT 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*MAPLE GROVE FAMILY CLINIC~

    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.
    NM103MAPLE GROVE FAMILY CLINICName 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*BENNETT*CASEY~

    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.
    NM103BENNETTName Last or Organization NameSupplies the party name used in this response.
    NM104CASEYName FirstSupplies the person’s first name when present.

    Field reference: Stedi NM1 segment reference.

  11. EB

    Raw segment: EB*1**30**MEDICARE SECONDARY 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 SECONDARY 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. SE

    Raw segment: SE*11*0202~

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

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

    Field reference: Stedi SE segment reference.

  14. GE

    Raw segment: GE*1*202~

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

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

    Field reference: Stedi GE segment reference.

  15. IEA

    Raw segment: IEA*1*000000202~

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

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

    Field reference: Stedi IEA segment reference.