Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: ORWU1

Package: Order Entry Results Reporting

Routine: ORWU1


Information

ORWU1 ;SLC/GRE - General Utilities for Windows Calls ;May 05, 2021@15:54:58

Source Information

Source file <ORWU1.m>

Call Graph

Call Graph

Call Graph Total: 15

Package Total Call Graph
Kernel 7 $$NAMEFMT^XLFNAME  ($$TITLE,$$UP)^XLFSTR  $$LKOPT^XPDMENU  $$ACCESS^XQCHK  $$GET^XUA4A72  $$PROVIDER^XUSER  $$NPI^XUSNPI  
Order Entry Results Reporting 2 $$ISAUTH^ORPDMP  $$ACTLOC^ORWU  
VA FileMan 2 LIST^DIC  $$GET1^DIQ  
Authorization Subscription 1 $$ISA^USRLM  
Registration 1 $$ALL^VASITE  
Text Integration Utility 1 $$SCRDFCS^TIULA3  
Toolkit 1 GETLST^XPAR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 6

Package Total Caller Graph
Order Entry Results Reporting 6 ORWDSD1  ORWTPN  ORWU  ORWU DEFAULT DIVISION  ORWU1 NAMECVT  ORWU1 NEWLOC  

Entry Points

Name Comments DBIA/ICR reference
NP1 ; Return a set of names from the NEW PERSON file.
; (PKS/8/5/2003: Now called by NEWPERS^ORWU; internal mods made.)
; (Keep GETCOS^ORWTPN up to date with matching logic/code, too.)
NP2 ; Retrieve subset of data for dupes in NP1.
; (Assumes certain vars already set/new'd in calling code.)
NP3(COSFLAG) ; Retrieve diff. data when all users are involved, using "B" x-ref.
NP4(ORSS) ; Retrieve Title or Title and Service/Section.
; (Assumes certain vars already set/new'd in calling code.)
NAMECVT(Y,IEN) ; Returns text name(mixed-case) derived from IEN xref.
; GRE/2002
; PKS-12/20/2002 Tag not presently used.
; Y=Returned value, IEN=Internal number
DEFDIV(Y) ; Return user's default division, if specified.
NEWLOC(Y,ORFROM,DIR) ; Return "CZ" locations from HOSPITAL LOCATION file.
; C=Clinics, Z=Other, screened by $$ACTLOC^ORWU.
; .Y=returned list, ORFROM=text to $O from, DIR=$O direction.
CHKORSIM(ORSIM,ORFNM,ORFNMLEN,ORFROM,ORLNM) ; NSR 20110606/539 - Check if name complies with ORSIM flag and restrictions
CPRSTAB(USER) ; NSR 20120101 - return 1 if users is ok to stay in list
; update 04/19/2021 to include NVA (Non-VA Providers) tab
; 1 - CPRS GUI "core" tabs.
; 2 - Reports tab.
; 3 - Non-VA Providers tab.
USRCLASS(USER) ; NSR 20120101

External References

Name Field # of Occurrence
LIST^DIC NP2+13, DEFDIV+17
$$GET1^DIQ NAMECVT+6
$$ISAUTH^ORPDMP NP1+49
$$ACTLOC^ORWU NEWLOC+6
$$SCRDFCS^TIULA3 NP3+18
$$ISA^USRLM USRCLASS+5
$$ALL^VASITE NP1+17
$$NAMEFMT^XLFNAME NP1+26, NP1+52, NP3+26, NAMECVT+7
$$TITLE^XLFSTR NP4+12, NP4+19
$$UP^XLFSTR DEFDIV+27
GETLST^XPAR USRCLASS+3
$$LKOPT^XPDMENU NP1+16
$$ACCESS^XQCHK NP1+50
$$GET^XUA4A72 NP1+48, NP3+24
$$PROVIDER^XUSER NP3+23
$$NPI^XUSNPI NP4+8

Used in RPC

RPC Name Call Tags
ORWU1 NAMECVT NAMECVT
ORWU DEFAULT DIVISION DEFDIV
ORWU1 NEWLOC NEWLOC

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
200.02 LIST^DIC

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(3.1 - [#3.1] NP4+12
^DIC(49 - [#49] NP4+19
^SC - [#44] NEWLOC+6
^SC("B" NEWLOC+4, NEWLOC+5
^VA(200 - [#200] NP1+21, NP1+39, NP1+41, NP3+8, NP3+10, NP3+19, NP4+7, NP4+16, CPRSTAB+6, CPRSTAB+8
^XUSEC( NP1+47, NP3+25

Label References

Name Line Occurrences
$$CHKORSIM NP1+39
$$CPRSTAB NP1+44, NP3+12
$$USRCLASS NP1+45, NP3+13
NP2 NP1+30, NP1+69, NP1+72, NP3+43, NP3+46
NP3 NP1+35, NP1+37
NP4 NP1+59, NP2+9, NP3+33

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CNT NEWLOC+3~*, NEWLOC+4
COSFLAG NP3~, NP3+16, NP3+18*, NP3+20*
COSQUIT NP3+5~, NP3+6*, NP3+17*, NP3+21
DIR NEWLOC~, NEWLOC+4, NEWLOC+5
DT CPRSTAB+10
DUZ DEFDIV+13
I NEWLOC+3~*, NEWLOC+4, NEWLOC+7*
IEN NAMECVT~, NAMECVT+5*, NAMECVT+6, NEWLOC+3~, NEWLOC+5*, NEWLOC+6, NEWLOC+7
LASTCHAR NP1+19~, NP1+24*
OPTIEN NP1+14~, NP1+16*, NP1+50
>> ORALL NP1+37, NP3+23
>> ORDATE NP1+15*, NP1+48, NP3+24
ORDD NP1+13~, NP2+14*, NP2+17*, NP2+18, NP2+21*, NP2+24, DEFDIV+11~, DEFDIV+14*, DEFDIV+21*, DEFDIV+24
>> ORDIR NP1+39, NP1+41, NP3+8, NP3+10
ORDIV NP1+13~, NP2+8*, NP2+18*, NP2+24*, NP2+29, NP2+33, DEFDIV+11~, DEFDIV+13*, DEFDIV+24*, DEFDIV+26
, DEFDIV+27
ORDUP NP1+13~, NP1+53*, NP1+54*, NP1+57, NP1+65, NP3+27*, NP3+28*, NP3+31, NP3+39
ORDUPNM NP1+14~, NP1+15*
ORDUPNM( NP1+27*, NP1+42
>> OREXCLDE NP1+45
ORFIEN NP1+19~, NP1+20*, NP1+26, NP1+27, NP1+28
ORFNM NP1+14~, NP1+22*, NP1+23, NP1+32*, NP1+39, CHKORSIM~, CHKORSIM+3
ORFNMLEN NP1+14~, NP1+22*, NP1+32*, NP1+39, CHKORSIM~, CHKORSIM+3
ORFROM NP1+20, NP1+21*, NP1+22, NP1+24, NP1+25*, NP1+39*, NP1+41, NP1+52, NP1+54, NP1+73
, NP3+8*, NP3+10, NP3+26, NP3+28, NP3+47, NEWLOC~, NEWLOC+4*, NEWLOC+5, NEWLOC+7, CHKORSIM~
, CHKORSIM+2, CHKORSIM+3
ORFROM1 NP1+19~, NP1+21*, NP1+26
ORGOOD NP1+13~, NP2+14*, NP2+21, NP2+24*, DEFDIV+11~, DEFDIV+14*, DEFDIV+21, DEFDIV+24*
ORI NP1+13~, NP1+15*, NP1+26*, NP1+39, NP1+51, NP1+52*, NP1+61, NP1+62, NP1+69*, NP1+72*
NP2+30, NP2+31, NP2+32, NP2+33, NP2+34, NP3+8, NP3+26*, NP3+35, NP3+36, NP3+43*
, NP3+46*
ORIEN DEFDIV+11~, DEFDIV+13*, DEFDIV+17
ORIEN1 NP1+13~, NP1+40*, NP1+41*, NP1+42, NP1+44, NP1+45, NP1+47, NP1+48, NP1+49, NP1+50
NP1+51, NP1+52, NP1+58, NP1+72, NP1+73, NP3+9*, NP3+10*, NP3+12, NP3+13, NP3+18
, NP3+19, NP3+23, NP3+24, NP3+25, NP3+26, NP3+32, NP3+46, NP3+47
ORIEN2 NP1+13~, NP1+28*, NP1+58*, NP1+66*, NP1+72*, NP2+13, NP3+32*, NP3+40*, NP3+46*, NP4+7
, NP4+8, NP4+16
>> ORKEY NP1+15*, NP1+47, NP3+25
ORLAST NP1+13~, NP1+15*, NP1+66, NP1+73*, NP3+40, NP3+47*
ORLIST USRCLASS+1~, USRCLASS+3
ORLIST( USRCLASS+4, USRCLASS+5
ORLNM NP1+14~, NP1+22*, NP1+32*, NP1+39, CHKORSIM~, CHKORSIM+2
ORMAX NP1+13~, NP1+15*, NP1+39, NP3+8
ORMRK NP1+13~, NP2+28*, NP2+31*, NP2+32*, NP2+33
ORMULTI NP1+13~, NP1+17*, NP2+12
ORNAME NAMECVT+4~, NAMECVT+6*, NAMECVT+7
ORNODE NP3+5~, NP3+19*, NP3+20
ORNPI NP1+13~, NP1+61, NP1+62, NP2+29, NP2+34, NP3+35, NP3+36, NP4+5*, NP4+8*, NP4+9*
>> ORPDMP NP1+49
ORPREV NP1+13~, NP1+15*, NP1+54, NP1+73*, NP3+28, NP3+47*
ORQUIT USRCLASS+1~, USRCLASS+2*, USRCLASS+5*, USRCLASS+6
ORRES CPRSTAB+5~*, CPRSTAB+6, CPRSTAB+10*, CPRSTAB+11
ORSIM NP1+15*, NP1+18, NP1+39, CHKORSIM~, CHKORSIM+1
ORSRV NP1+13~, NP2+29, NP2+32, NP4+5*, NP4+16*, NP4+17*, NP4+19*
ORSS NP4~, NP4+13*, NP4+14
ORTAB CPRSTAB+5~, CPRSTAB+8*, CPRSTAB+10
ORTTL NP1+13~, NP1+61, NP1+62, NP2+29, NP2+31, NP3+35, NP3+36, NP4+5*, NP4+7*, NP4+10*
, NP4+12*
>> ORUSER NP3+18
>> ORVIZ NP1+35
ORX CPRSTAB+5~, CPRSTAB+6*, CPRSTAB+8, USRCLASS+1~, USRCLASS+4*, USRCLASS+5
>> ORY( NP1+26*, NP1+51, NP1+52*, NP1+61*, NP1+62*, NP1+69*, NP2+30*, NP2+31*, NP2+32*, NP2+33*
NP2+34*, NP3+26*, NP3+35*, NP3+36*, NP3+43*
ORZ NP2+7~, DEFDIV+11~
ORZ("DILIST" NP2+15, NP2+16, NP2+17, NP2+18, NP2+21, NP2+24, DEFDIV+18, DEFDIV+21, DEFDIV+24
ORZERR NP2+7~, DEFDIV+11~
U NP1+21, NP1+61, NP1+62, NP1+69, NP2+15, NP2+16, NP2+18, NP2+24, NP2+30, NP3+19
, NP3+35, NP3+36, NP3+43, NP4+7, NP4+16, NP4+19, DEFDIV+18, DEFDIV+24, NEWLOC+6, CPRSTAB+10
USER CPRSTAB~, CPRSTAB+6, CPRSTAB+8, USRCLASS~, USRCLASS+5
XFNM NP1+19~, NP1+24*, NP1+25
XFNMLEN NP1+19~, NP1+24*
Y NAMECVT~, NAMECVT+7*, DEFDIV~, DEFDIV+14*, DEFDIV+27*, NEWLOC~
Y( NEWLOC+7*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All