Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (14 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

Location:
FOIAVistA/tag/r
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • FOIAVistA/tag/r/DRUG_ACCOUNTABILITY-PSA/PSAVER7.m

    r628 r636  
    11PSAVER7 ;BIR/JMB-Verify Invoices - CONT'D ;7/23/97
    2  ;;3.0; DRUG ACCOUNTABILITY/INVENTORY INTERFACE;**12,21,42,56,64,66**; 10/24/97;Build 2
     2 ;;3.0; DRUG ACCOUNTABILITY/INVENTORY INTERFACE;**12,21,42,56,64**; 10/24/97;Build 4
    33 ;Background Job
    44 ;This routine increments pharmacy location and master vault balances
     
    4343 S PSANPDU=$J(($G(PSAPOU)/$G(PSADUOU)),0,3) ;Price of Order Unit divide by Disp. Units per Order Unit
    4444 ;PSA*3*42 |>  (let changes happen and file, put changes into mail message)
    45  S DIE="^PSDRUG(",(DA,OLDDA)=PSADRG,DR="12////^S X=PSAOU;15////^S X=PSADUOU;Q;13////^S X=PSAPOU" ;*42;*56
     45 S DIE="^PSDRUG(",DA=PSADRG,DR="12////^S X=PSAOU;15////^S X=PSADUOU;Q;13////^S X=PSAPOU" ;*42;*56
    4646 F  L +^PSDRUG(DA,0):$S($G(DILOCKTM)>0:DILOCKTM,1:3) I  Q
    4747 D ^DIE K DIE,DA,DR
     
    6464 .F  L +^PSDRUG(DA,0):$S($G(DILOCKTM)>0:DILOCKTM,1:3) I  Q
    6565 .D ^DIE L -^PSDRUG(DA,0) K DIE,DA,DR
    66 SYNONYM ;Adds/edits the SYNONYM multiple in DRUG file  >>*66 RJS
    67  G:PSANDC="" END
    68  S DA(1)=PSADRG  ;;  << *66 RJS
     66SYNONYM ;Adds/edits the SYNONYM multiple in DRUG file
     67 Q:PSANDC=""  K DA,DR S DA(1)=PSADRG
    6968 ;
    7069 S PSANPDU=$J(($G(PSAPOU)/$G(PSADUOU)),0,3) ;Price of Order Unit divide by Disp. Units per Order Unit
     
    9291 D ^DIE L -^PSDRUG(PSADRG,0)
    9392 K DIE,DR,X1,X2,DATA
    94 END ; FINAL CLEANUP  << *66 RJS
    95  L -^PSDRUG(OLDDA,0) K OLDDA  ;; >> *66 RJS
    9693 Q
Note: See TracChangeset for help on using the changeset viewer.