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

ABME5SV4.m

Go to the documentation of this file.
  1. ABME5SV4 ; IHS/ASDST/DMJ - 837 SV4 Segment
  1. ;;2.6;IHS Third Party Billing System;**6**;NOV 12, 2009
  1. ;Transaction Set Header
  1. ;
  1. EP ;EP
  1. K ABMREC("SV4"),ABMR("SV4")
  1. S ABME("RTYPE")="SV4"
  1. D LOOP
  1. K ABME,ABM
  1. Q
  1. LOOP ;LOOP HERE
  1. F I=10:10:190 D
  1. .D @I
  1. .I $D(^ABMEXLM("AA",+$G(ABMP("INS")),+$G(ABMP("EXP")),ABME("RTYPE"),I)) D @(^(I))
  1. .I $G(ABMREC("SV4"))'="" S ABMREC("SV4")=ABMREC("SV4")_"*"
  1. .S ABMREC("SV4")=$G(ABMREC("SV4"))_ABMR("SV4",I)
  1. Q
  1. 10 ;segment
  1. S ABMR("SV4",10)="SV4"
  1. Q
  1. 20 ;SV401 - Reference Identification
  1. ; Prescription Number
  1. S ABMR("SV4",20)=$P(ABMRV(ABMREV,ABMCODE,ABMCNTR),U,14)
  1. Q
  1. 30 ;SV402 - Composite Medical Procedure Identifier (Not used)
  1. S ABMR("SV4",30)=""
  1. Q
  1. 40 ;SV403 - Reference Identification (Not used)
  1. S ABMR("SV4",40)=""
  1. Q
  1. 50 ;SV404 - Yes/No Condition or Response Code (Not used)
  1. S ABMR("SV4",50)=""
  1. Q
  1. 60 ;SV405 - Dispense as Written Code (Not used)
  1. S ABMR("SV4",60)=""
  1. Q
  1. 70 ;SC406 - Level of Service Code (Not used)
  1. S ABMR("SV4",70)=""
  1. Q
  1. 80 ;SV407 - Prescription Origin Code (Not used)
  1. S ABMR("SV4",80)=""
  1. Q
  1. 90 ;SV408 - Description (Not used)
  1. S ABMR("SV4",90)=""
  1. Q
  1. 100 ;SV409 - Yes/No Condition or Response Code (Not used)
  1. S ABMR("SV4",100)=""
  1. Q
  1. 110 ;SV410 - Yes/No Condition or Response Code (Not used)
  1. S ABMR("SV4",110)=""
  1. Q
  1. 120 ;SV411 - Unit Dose Code (Not used)
  1. S ABMR("SV4",120)=""
  1. Q
  1. 130 ;SV412 - Basis of Cost Determination Code (Not used)
  1. S ABMR("SV4",130)=""
  1. Q
  1. 140 ;SV413 - Basis of Days Supply Determination Code (Not used)
  1. S ABMR("SV4",140)=""
  1. Q
  1. 150 ;SV414 - Dosage Form Code (Not used)
  1. S ABMR("SV4",150)=""
  1. Q
  1. 160 ;SV415 - Copay Status Code (Not used)
  1. S ABMR("SV4",160)=""
  1. Q
  1. 170 ;SV416 - Patient Location Code (Not used)
  1. S ABMR("SV4",170)=""
  1. Q
  1. 180 ;SV417 - Level of Care Code (Not used)
  1. S ABMR("SV4",180)=""
  1. Q
  1. 190 ;SV418 - Prior Authorization Type Code (Not used)
  1. S ABMR("SV4",190)=""
  1. Q