Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ABME5MOA

ABME5MOA.m

Go to the documentation of this file.
  1. ABME5MOA ; IHS/ASDST/DMJ - 837 MOA Segment
  1. ;;2.6;IHS Third Party Billing System;**6**;NOV 12, 2009
  1. ;Transaction Set Header
  1. ;
  1. START ;START HERE
  1. K ABMREC("MOA"),ABMR("MOA")
  1. S ABME("RTYPE")="MOA"
  1. D LOOP
  1. K ABME,ABM
  1. Q
  1. LOOP ;LOOP HERE
  1. F I=10:10:100 D
  1. .D @I
  1. .I $D(^ABMEXLM("AA",+$G(ABMP("INS")),+$G(ABMP("EXP")),ABME("RTYPE"),I)) D @(^(I))
  1. .I $G(ABMREC("MOA"))'="" S ABMREC("MOA")=ABMREC("MOA")_"*"
  1. .S ABMREC("MOA")=$G(ABMREC("MOA"))_ABMR("MOA",I)
  1. Q
  1. 10 ;segment
  1. S ABMR("MOA",10)="MOA"
  1. Q
  1. 20 ;MOA01 - Percent
  1. S ABMR("MOA",20)=""
  1. Q
  1. 30 ;MOA02 - Monetary Amount
  1. S ABMR("MOA",30)=""
  1. Q
  1. 40 ;MOA03 - Reference Identification
  1. S ABMR("MOA",40)=""
  1. Q
  1. 50 ;MOA04 - Reference Identification
  1. S ABMR("MOA",50)=""
  1. Q
  1. 60 ;MOA05 - Reference Identification
  1. S ABMR("MOA",60)=""
  1. Q
  1. 70 ;MOA06 - Reference Identification
  1. S ABMR("MOA",70)=""
  1. Q
  1. 80 ;MOA07 - Reference Identification
  1. S ABMR("MOA",80)=""
  1. Q
  1. 90 ;MOA08 - Monetary Amount
  1. S ABMR("MOA",90)=""
  1. Q
  1. 100 ;MOA09 - Monetary Amount
  1. S ABMR("MOA",100)=""
  1. Q