ABME5L1 ; IHS/ASDST/DMJ - Header
;;2.6;IHS Third Party Billing System;**6**;NOV 12, 2009
;Header Segments
;
START ;START HERE
S ABMSTOT=0
S ABMLOOP="HEADER"
I ABMER("CNT")=1 D ;only do ISA/GS first time through
.D ^ABME5ISA
.D WR^ABMUTL8("ISA")
.D ^ABME5GS
.D WR^ABMUTL8("GS")
D ^ABME5ST
D WR^ABMUTL8("ST")
D ^ABME5BHT
D WR^ABMUTL8("BHT")
S ABMLOOP="1000A"
D EP^ABME5NM1(41)
D WR^ABMUTL8("NM1")
D ^ABME5PER
D WR^ABMUTL8("PER")
S ABMLOOP="1000B"
D EP^ABME5NM1(40)
D WR^ABMUTL8("NM1")
Q