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

BLRSLTL.m

Go to the documentation of this file.
  1. BLRSLTL(BLRCMF,BLRPHASE,BLROPT1,BLRPARAM) ; IHS/DIR/MJL - SET IHS LAB TRANSACTION LOG ; [ 10/20/1999 8:45 AM ]
  1. ;;5.2;BLR;**1001,1003,1009**;SEP 20, 1999
  1. N X,Y
  1. D
  1. .I BLRPHASE="O" D Q
  1. ..I BLROPT1="ADDCOL" D MODORD Q ;IHS/DIR TUC/AAB 4/1/98
  1. ..I BLROPT1="MULTI" Q
  1. ..I BLROPT1="ACCWARD" Q
  1. ..I BLROPT1="BYPASS" Q ;IHS/DIR/MJL 09/20/99
  1. ..I BLROPT1="FASTORD" D ACC Q
  1. ..D ORD Q
  1. .I BLRPHASE="A" D Q
  1. ..I BLROPT1="ACCWARD",$D(LROD0) S BLRCMF="M",BLRODTM=$P(LROD0,U,5),BLRODT=LRODT,BLRSEQ=LRSN D ^BLRSLTL1 Q ;IHS/OIRM TUC/AAB 2/17/98
  1. ..I BLROPT1="BYPASS"!(BLROPT1="ADDCOL")!(BLROPT1="ACCORD") Q
  1. ..S BLRODT=LRODT,BLRSEQ=LRSN D ^BLRSLTL1 Q
  1. .I BLRPHASE="R" D ^BLRSLTLR Q
  1. .I BLRPHASE="D" D ^BLRSLTLD Q
  1. D KILL
  1. Q
  1. ;
  1. MODORD ; ;IHS/DIR TUC/AAB 04/1/98
  1. S BLRODT=LRODT,BLRSEQ=LRSN
  1. S BLRODTM=$P(^LRO(69,LRODT,1,LRSN,0),U,5)
  1. D ^BLRSLTL1
  1. Q
  1. ORD ;
  1. I BLRPHASE="O",BLROPT1="ADDORD" S BLRN1="" F S BLRN1=$O(LROT(BLRN1)) Q:BLRN1="" S BLRN2="" F S BLRN2=$O(LROT(BLRN1,BLRN2)) Q:BLRN2="" S BLRTSTS="" F S BLRTSTS=$O(LROT(BLRN1,BLRN2,BLRTSTS)) Q:BLRTSTS="" S BLRTSTS(BLRTSTS)=""
  1. S BLRODT=LRODT,BLRSEQ=LRSN D ^BLRSLTL1
  1. K BLRTSTS
  1. Q
  1. ;
  1. ACC ;
  1. S BLRODT=LRODT,BLRSEQ=LRSN D ^BLRSLTL1
  1. Q
  1. ;
  1. KILL ;
  1. K BLRACCN,BLRAREA,BLRATOM,BLRCMF,BLRCMP,BLRCOLS,BLRCPTF,BLRCPTL,BLRCPTP,BLRCREF,BLRCST,BLRDEL,BLRDFN,BLRDN,BLRDT,BLRDTC,BLRDUZ,BLRDUZ2,BLRDUZN,BLRFILE,BLRII,BLRL60,BLRLOC,BLRLOCN,BLRLPAR,BLRLRDFN,BLRLX,BLRMOD
  1. K BLRN1,BLRN2,BLRNAF,BLRODT,BLRODTM,BLROT,BLRPAR,BLRPREV,BLRPROV,BLRPROVN,BLRRES,BLRRH,BLRRL,BLRSEQ,BLRSPEC,BLRSPECN,BLRSTR,BLRSTR1,BLRSVX,BLRSVY,BLRTEST,BLRTEST1,BLRTESTI,BLRTST,BLRUNITS,BLRVAL,BLRX,BLRXII
  1. K BLRXSEQ,BLRXX,BLRY,BLRZ
  1. ;I BLRPHASE="R",(BLROPT1="BYPASS"!(BLROPT1="ACCORD")) K BLROPT,BLRPHASE Q
  1. I BLRPHASE="R",(BLROPT1="BYPASS") K BLROPT,BLRPHASE Q ;IHS/DIR TUC/AAB 06/22/98
  1. ;I BLROPT1="BYPASS"!(BLROPT1="ACCORD")!(BLROPT1="DELACC") K BLRPHASE Q
  1. I BLROPT1="BYPASS"!(BLROPT1="ACCORD")!(BLROPT1="DELACC")!(BLROPT1="ACCWARD")!(BLROPT1="ADDCOL")!(BLROPT1="FASTORD")!(BLROPT1="RECCOL")!(BLROPT1="ITMCOL") K BLRPHASE Q ;IHS/OIRM TUC/AAB 2/10/98
  1. ;K BLRPHASE,BLROPT ;IHS/DIR/MJL 09/20/99
  1. Q