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

PSA48P0.m

Go to the documentation of this file.
  1. PSA48P0 ;VMP/PDW-BUILD MCKESSON XTMP( ;9/19/2004
  1. ;;3.0;DRUG ACCOUNTABILITY/INVENTORY INTERFACE;**48**;10/24/97
  1. EN ;
  1. I $E(IOST)="C" W !
  1. S ^XTMP("PSAVSN",0)="3050308^3040909^DA McKesson VSNs DUOUs"
  1. F I=1:1:44 S ROUNM="PSA48P"_I D ROU I $E(IOST)="C" W "."
  1. Q
  1. ROU ;
  1. F LN=3:1 S TAGROU="+"_LN_"^"_ROUNM S XX=$T(@TAGROU) Q:XX[";;END" D LINE
  1. Q
  1. LINE ;
  1. S XX=$P(XX,";;",2)
  1. F P=1:1 Q:$P(XX,U,P)="" S YY=$P(XX,U,P),VSN=+YY,DUOU=$P(YY,"~",2),^XTMP("PSAVSN",VSN)=DUOU
  1. Q
  1. EXIT K P,I,XX,LN,TAGROU,ROUNM,VSN,DUOU,YY
  1. Q