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

ABME8HCP.m

Go to the documentation of this file.
  1. ABME8HCP ; IHS/ASDST/DMJ - 837 HCP Segment
  1. ;;2.6;IHS 3P BILLING SYSTEM;;NOV 12, 2009
  1. ;Transaction Set Header
  1. ;
  1. START ;START HERE
  1. K ABMREC("HCP"),ABMR("HCP")
  1. S ABME("RTYPE")="HCP"
  1. D LOOP
  1. K ABME,ABM
  1. Q
  1. LOOP ;LOOP HERE
  1. F I=10:10:160 D
  1. .D @I
  1. .I $D(^ABMEXLM("AA",+$G(ABMP("INS")),+$G(ABMP("EXP")),ABME("RTYPE"),I)) D @(^(I))
  1. .I $G(ABMREC("HCP"))'="" S ABMREC("HCP")=ABMREC("HCP")_"*"
  1. .S ABMREC("HCP")=$G(ABMREC("HCP"))_ABMR("HCP",I)
  1. Q
  1. 10 ;segment
  1. S ABMR("HCP",10)="HCP"
  1. Q
  1. 20 ;HCP01 - Pricing Methodology
  1. S ABMR("HCP",20)=""
  1. Q
  1. 30 ;HCP02 - Monetary Amount
  1. S ABMR("HCP",30)=""
  1. Q
  1. 40 ;HCP03 - Monetary Amount
  1. S ABMR("HCP",40)=""
  1. Q
  1. 50 ;HCP04 - Reference Identification
  1. S ABMR("HCP",50)=""
  1. Q
  1. 60 ;HCP05 - Rate
  1. S ABMR("HCP",60)=""
  1. Q
  1. 70 ;HCP06 - Reference Identification
  1. S ABMR("HCP",70)=""
  1. Q
  1. 80 ;HCP07 - Monetary Amount
  1. S ABMR("HCP",80)=""
  1. Q
  1. 90 ;HCP08 - Product/Service ID
  1. S ABMR("HCP",90)=""
  1. Q
  1. 100 ;HCP09 - Product/Service ID Qualifier
  1. S ABMR("HCP",100)=""
  1. Q
  1. 110 ;HCP10 - Product/Service ID
  1. S ABMR("HCP",110)=""
  1. Q
  1. 120 ;HCP11 - Unit or Basis for Measurement Code
  1. S ABMR("HCP",120)=""
  1. Q
  1. 130 ;HCP12 - Quantity
  1. S ABMR("HCP",130)=""
  1. Q
  1. 140 ;HCP13 - Reject Reason Code
  1. S ABMR("HCP",140)=""
  1. Q
  1. 150 ;HCP14 - Policy Compliance Code
  1. S ABMR("HCP",150)=""
  1. Q
  1. 160 ;HCP15 - Exception Code
  1. S ABMR("HCP",160)=""
  1. Q