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

ABMDVPAT.m

Go to the documentation of this file.
  1. ABMDVPAT ; IHS/ASDST/DMJ - CLAIM FOR ONE PAT ;
  1. ;;2.6;IHS 3P BILLING SYSTEM;**11**;NOV 12, 2009;Build 133
  1. ;;Y2K/OK - IHS/ADC/JLG 12-03-97
  1. S DIC="^AUPNPAT("
  1. S DIC(0)="AEMQ"
  1. S DIC("S")="I $D(^AUPNVSIT(""AC"",Y))"
  1. S AUPNLK("ALL")="" ;universal lookup ;abm*2.6*11 NOHEAT6
  1. D ^DIC
  1. I Y<1 D Q
  1. .W !,"No patient selected."
  1. W !
  1. D QUEUE
  1. W !
  1. S DIR(0)="Y",DIR("A")="Another patient",DIR("B")="NO"
  1. D ^DIR
  1. I Y G ABMDVPAT
  1. K DIC,DIR,Y,ZTDESC,ZTDTH,ZTIO,ZTRTN,ZTSAVE,ZTSK
  1. Q
  1. ;
  1. QUEUE ;EP - requires patient DFN in Y
  1. S ZTSAVE("ABMDFN")=+Y
  1. S ZTRTN="^ABMDVCK",ZTIO=""
  1. S ZTDESC="Generate Third Party Billing Claim for one patient."
  1. S ZTDTH=$H
  1. D ^%ZTLOAD
  1. I $D(ZTSK)[0 W !,"Claim generator not run." Q
  1. E W !,"Claim generator queued for selected patient."
  1. K DIR
  1. S DIR(0)="E"
  1. D ^DIR
  1. Q