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/KERNEL-XU-A4A7-USC-XG-XLF-XNOA-XPD-XQ-XVIR-ZI-ZOSF-ZOSV-ZT-ZU-%Z-XIP--XQAB--XUC--XUR--ZIN--ZTED/XUS.m

    r628 r636  
    1 XUS ;SFISC/STAFF - SIGNON ;2/13/07  14:44
    2  ;;8.0;KERNEL;**16,26,49,59,149,180,265,337,419,434**;Jul 10, 1995;Build 6
     1XUS ;SFISC/STAFF - SIGNON ;3/19/07  09:15
     2 ;;8.0;KERNEL;**16,26,49,59,149,180,265,337,419,437**;Jul 10, 1995;Build 22
     3 ; Modified from FOIA VISTA,
     4 ; Copyright (C) 2007 WorldVistA
     5 ;
     6 ; This program is free software; you can redistribute it and/or modify
     7 ; it under the terms of the GNU General Public License as published by
     8 ; the Free Software Foundation; either version 2 of the License, or
     9 ; (at your option) any later version.
     10 ;
     11 ; This program is distributed in the hope that it will be useful,
     12 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14 ; GNU General Public License for more details.
     15 ;
     16 ; You should have received a copy of the GNU General Public License
     17 ; along with this program; if not, write to the Free Software
     18 ; Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
    319 ;Sign-on message numbers are 30810.51 to 30810.99
    420 S U="^" D INTRO^XUS1A()
     
    8096 . Q
    8197 Q A
    82  ;
     98 ; 
    8399CHECKAV(X1) ;Check A/V code return DUZ or Zero. (Called from XUSRB)
    84100 N %,%1,X,Y,IEN,DA,DIK
     
    90106 . Q
    91107 ;End CCOW
    92  S X1=$$UP(X1) S:X1[":" XUTT=1,X1=$TR(X1,":")
     108 S X1=$S($$GET^XPAR("SYS","XU VC CASE SENSITIVE"):$$UP($P(X1,";",1))_";"_$P(X1,";",2),1:$$UP(X1)) S:X1[":" XUTT=1,X1=$TR(X1,":") ; Allow case sensitive for VOE
    93109 S X=$P(X1,";") Q:X="^" -1 S:XUF %1="Access: "_X
    94110 Q:X'?1.20ANP 0
    95  S X=$$EN^XUSHSH(X) I '$D(^VA(200,"A",X)) D LBAV Q 0
     111 S X=$$EN^XUSHSH(X) I '$D(^VA(200,"A",X)) D LBAV Q 0 ; Case insensitive for Access Code for VOE
    96112 S %1="",IEN=$O(^VA(200,"A",X,0)),XUF(.3)=IEN D USER(IEN)
    97113 S X=$P(X1,";",2) S:XUF %1="Verify: "_X S X=$$EN^XUSHSH(X)
     
    121137 N %
    122138 S U="^",XUEON=^%ZOSF("EON"),XUEOFF=^("EOFF")
    123  D XUVOL,XOPT S DUZ("LANG")=$P(XOPT,U,7) ;S:$P(XUVOL,U,6)="y" XRTL=XUCI_","_XQVOL
     139 D XUVOL,XOPT S DUZ("LANG")=$P(XOPT,U,7) S:$P(XUVOL,U,6)="y" XRTL=XUCI_","_XQVOL
    124140 K ^XUTL("XQ",$J) S XUF=0,XUDEV=0,DUZ=0,DUZ(0)="@",IOS=0,ION=""
    125141 I FLAG S %ZIS="L",IOP="HOME" D ^%ZIS Q:POP
    126  S XUDEV=IOS,XUIOP=ION
     142 S XUDEV=IOS,XUIOP=ION D:$D(XRTL) T0^%ZOSV
    127143 D GETFAC^XUS3($G(IO("IP")))
    128144 S %=$P(XOPT,U,14)
     
    130146 . S XUF=(%["R")+1,XUF(.1)="",XUF(.2)=0,XUF(.3)=0
    131147 . I %["D" S:$D(^XTV(8989.3,1,4.33,"B",XUDEV))[0 XUF=0
    132  S DILOCKTM=+$G(^DD("DILOCKTM"),1) ;p434 IA#4909
    133148 Q
    134149SET2() ;EF. Return error code (also called from XUSRB)
     
    142157 S DTIME=600
    143158 I '$P(XOPT,U,11),$D(^%ZIS(1,XUDEV,90)),^(90)>2800000,^(90)'>DT Q 8
     159 I $D(XRT0) S XRTN="XUS" D T1^%ZOSV
    144160 Q 0
    145161 ;
     
    148164 I $P(XUSER(1.1),U,5),$P(XUSER(1.1),U,5)>XUNOW S XUM(0)=$$FMTE^XLFDT($P(XUSER(1.1),U,5),"2PM") Q 18 ;User locked until
    149165 I $P(XUSER(0),U,11),$P(XUSER(0),U,11)'>DT Q 11 ;Access Terminated
    150  I $D(DUZ("ASH")) Q 0 ;If auto handle, Allow to sign-on p434
    151166 I $P(XUSER(0),U,7) Q 5 ;Disuser flag set
    152  I '$L($P(XUSER(1),U,2)) Q 21 ;p419, p434
     167 I '$L($P(XUSER(1),U,2)) Q 21 ;419
    153168 Q 0
    154169 ;
Note: See TracChangeset for help on using the changeset viewer.