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 |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: ORQPTQ2

Package: Order Entry Results Reporting

Routine: ORQPTQ2


Information

ORQPTQ2 ; slc/CLA - Functions which return patient lists and list sources pt 2 ;3/14/05 10:50

Source Information

Source file <ORQPTQ2.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
Kernel 3 $$NOW^XLFDT  $$UP^XLFSTR  $$ACTIVE^XUSER  
Order Entry Results Reporting 2 ($$CLINERR,SDA)^ORQRY01  $$ACTLOC^ORWU  
Registration 2 $$ACTIVE^DGACT  WIN^DGPMDDCF  
Scheduling 1 GETPLIST^SDAMA202  
Toolkit 1 ($$GET,GETLST)^XPAR  
VA Fileman 1 DT^DILF  

Caller Graph

Caller Graph Total: 6

Package Total Caller Graph
Order Entry Results Reporting 5 ORQPT  ORQPTQ11  ORQPTQ6  ORQQVS  ORRHCQ  
Care Management 1 ORRCDPT  

Entry Points

Name Comments DBIA/ICR reference
CLINPTS(Y,CLIN,ORBDATE,OREDATE) ; RETURN LIST OF PTS W/CLINIC APPT W/IN BEGINNING AND END DATES
; PKS-8/2003: Modified for new scheduling pkg APIs.
PTAPPTS(Y,DFN,ORBDATE,OREDATE,CLIN) ; return appts for a patient between beginning and end dates for a clinic, if no clinic return all appointments
WARD(Y) ; RETURN LIST OF ACTIVE WARDS
PROVPTS(Y,PROV) ; RETURN LIST OF PATIENTS LINKED TO A PRIMARY PROVIDER
CLIN(Y) ; RETURN LIST OF CLINICS
WARDPTS(Y,WARD) ; RETURN LIST OF PATIENTS IN A WARD
; SLC/PKS - Modifications for Room/Bed data on 1/19/2001.
CDATRANG(ORY) ; return default start and stop dates for clinics in form start^stop
PROV(Y) ; RETURN LIST OF PROVIDERS
NLIST(ORQY) ; return a null list
SPECPTS(Y,SPEC) ; RETURN LIST OF PATIENTS LINKED TO A TREATING SPECIALTY
SPEC(Y) ; RETURN LIST OF TREATING SPECIALTIES

External References

Name Field # of Occurrence
$$ACTIVE^DGACT SPEC+4
WIN^DGPMDDCF WARD+5
DT^DILF CLINPTS+13, CLINPTS+14, PTAPPTS+13, PTAPPTS+14
$$CLINERR^ORQRY01 CLINPTS+25
SDA^ORQRY01 PTAPPTS+19
$$ACTLOC^ORWU CLIN+4, CLINPTS+3, PTAPPTS+2
GETPLIST^SDAMA202 CLINPTS+22
$$NOW^XLFDT CLINPTS+6
$$UP^XLFSTR CLINPTS+9, CLINPTS+10, CDATRANG+3, CDATRANG+4, CDATRANG+6, PTAPPTS+7, PTAPPTS+10
$$GET^XPAR CLINPTS+9, CLINPTS+10, CDATRANG+3, CDATRANG+4, PTAPPTS+7, PTAPPTS+10
GETLST^XPAR CLIN+2
$$ACTIVE^XUSER PROV+5

Used in RPC

RPC Name Call Tags
ORQPT PROVIDERS PROV
ORQPT PROVIDER PATIENTS PROVPTS
ORQPT CLINIC PATIENTS CLINPTS
ORQPT SPECIALTIES SPEC
ORQPT SPECIALTY PATIENTS SPECPTS
ORQPT WARD PATIENTS WARDPTS
ORQPT CLINICS CLIN
ORQPT WARDS WARD
ORQ NULL LIST NLIST
ORQPT DEFAULT CLINIC DATE RANG CDATRANG
BMC PROVIDERS PROV

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(42 - [#42] WARD+4, WARDPTS+6
^DIC(45.7 - [#45.7] SPEC+4
^DPT - [#2] PROVPTS+4, SPECPTS+4, WARDPTS+10, WARDPTS+13
^DPT("APR" PROVPTS+4
^DPT("ATR" SPECPTS+4
^DPT("CN" WARDPTS+9
^SC - [#44] CLIN+5
^TMP($J CLINPTS+18!, CLINPTS+31, CLINPTS+33, CLINPTS+35, CLINPTS+36, CLINPTS+38, CLINPTS+42!
^UTILITY("VASD" PTAPPTS+3!, PTAPPTS+20!, PTAPPTS+21, PTAPPTS+22, PTAPPTS+23, PTAPPTS+27!
^VA(200 - [#200] CLINPTS+7, CDATRANG+2, PTAPPTS+5, PROV+3
^XUSEC("PROVIDER" PROV+5

Naked Globals

Name Field # of Occurrence
^( PROV+3, SPEC+4, WARD+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CHKIN CLINPTS+4~
CHKX CLINPTS+4~
CLIN CLINPTS~, CLINPTS+2, CLINPTS+3, CLINPTS+20, PTAPPTS~, PTAPPTS+2, PTAPPTS+7, PTAPPTS+10, PTAPPTS+18
CLNAM CLINPTS+4~
CNT PTAPPTS+3~*, PTAPPTS+24, PTAPPTS+25*
D0 WARD+1~, WARD+5*
DFN CLINPTS+4~, CLINPTS+8*, PTAPPTS~, PROVPTS+2~, PROVPTS+3*, PROVPTS+4*, SPECPTS+2~, SPECPTS+3*, SPECPTS+4*, WARDPTS+3~
, WARDPTS+4*, WARDPTS+8, WARDPTS+9*, WARDPTS+10, WARDPTS+13
DUZ CLINPTS+7, CDATRANG+2, PTAPPTS+5
ERR PTAPPTS+3~, PTAPPTS+19, PTAPPTS+20
ERRMSG PTAPPTS+3~, PTAPPTS+19, PTAPPTS+20
EXT PTAPPTS+3~, PTAPPTS+23*, PTAPPTS+24
I CLIN+1~, CLIN+3*, CLIN+4, CLIN+5, CLINPTS+4~, CLINPTS+8*, PROV+1~, PROV+2*, PROV+5*, SPEC+1~
, SPEC+2*, SPEC+4*, WARD+1~, WARD+2*, WARD+6*
IEN CLIN+1~, CLIN+4*, CLIN+5, PROV+1~, PROV+3*, PROV+5, SPEC+1~, SPEC+4*, WARD+1~, WARD+4*
, WARD+5, WARD+6
INT PTAPPTS+3~, PTAPPTS+22*, PTAPPTS+24
INVDT PTAPPTS+3~, PTAPPTS+22*, PTAPPTS+24
J CLINPTS+4~
MAXAPPTS CLINPTS+4~, CLINPTS+5*, CLINPTS+29
NAME CLINPTS+4~, PROV+1~, PROV+2*, PROV+3*, PROV+4, PROV+5, SPEC+1~, SPEC+2*, SPEC+4*, WARD+1~
, WARD+2*, WARD+4*, WARD+6
NUM PTAPPTS+3~*, PTAPPTS+21*, PTAPPTS+22, PTAPPTS+23
ORASTAT CLINPTS+4~, CLINPTS+20*, CLINPTS+22
ORBDATE CLINPTS~, CLINPTS+9*, CLINPTS+13, CLINPTS+15, CLINPTS+20, CDATRANG+1~, CDATRANG+3*, CDATRANG+5*, CDATRANG+6, PTAPPTS~
, PTAPPTS+4, PTAPPTS+6, PTAPPTS+7*, PTAPPTS+8*, PTAPPTS+13, PTAPPTS+15, PTAPPTS+16
ORC CLINPTS+4~
ORCLIN CLINPTS+4~, CLINPTS+20*, CLINPTS+22, CLINPTS+34
OREDATE CLINPTS~, CLINPTS+10*, CLINPTS+14, CLINPTS+15, CLINPTS+16*, CLINPTS+20, CDATRANG+1~, CDATRANG+4*, CDATRANG+5*, CDATRANG+6
, PTAPPTS~, PTAPPTS+4, PTAPPTS+9, PTAPPTS+10*, PTAPPTS+11*, PTAPPTS+14, PTAPPTS+15, PTAPPTS+17
OREND CLINPTS+4~, CLINPTS+20*, CLINPTS+22
ORERR CLINPTS+4~, CLINPTS+25*, CLINPTS+26
ORFLDS CLINPTS+4~, CLINPTS+20*, CLINPTS+22
ORHOLD CLINPTS+4~, CLINPTS+38*, CLINPTS+39
ORI CLINPTS+4~, CLINPTS+29*, CLINPTS+31, CLINPTS+32*, CLINPTS+33, CLINPTS+34, CLINPTS+35, CLINPTS+40, PROVPTS+2~, PROVPTS+3*
, PROVPTS+4*, SPECPTS+2~, SPECPTS+3*, SPECPTS+4*, WARDPTS+3~, WARDPTS+4*, WARDPTS+10, WARDPTS+17, WARDPTS+18*
ORJ CLINPTS+4~
ORLST CLIN+1~, CLIN+2
ORLST( CLIN+3, CLIN+4
ORMAX CLINPTS+4~, CLINPTS+29*, CLINPTS+31
ORNOWDT CLINPTS+4~, CLINPTS+6*
ORPT CLINPTS+4~, CLINPTS+29*, CLINPTS+31*, CLINPTS+33, CLINPTS+35, CLINPTS+36, CLINPTS+38
ORPTSTAT CLINPTS+4~, CLINPTS+36*, CLINPTS+37*, CLINPTS+39*, CLINPTS+40
ORQY NLIST~
ORQY(1 NLIST+1*
ORRESULT CLINPTS+4~, CLINPTS+19*, CLINPTS+22, CLINPTS+30
ORSRV CLINPTS+4~, CLINPTS+7*, CLINPTS+9, CLINPTS+10, CDATRANG+1~, CDATRANG+2*, CDATRANG+3, CDATRANG+4, PTAPPTS+3~, PTAPPTS+5*
, PTAPPTS+7, PTAPPTS+10
ORSTART CLINPTS+4~, CLINPTS+20*, CLINPTS+22
ORSTAT CLINPTS+4~, CLINPTS+20*, CLINPTS+22
ORY CDATRANG~, CDATRANG+6*
PROV PROVPTS~, PROVPTS+1, PROVPTS+4
RBDAT WARDPTS+3~, WARDPTS+11*, WARDPTS+13*, WARDPTS+14, WARDPTS+15*, WARDPTS+16*, WARDPTS+17
SPEC SPECPTS~, SPECPTS+1, SPECPTS+4
TDATE PROV+1~
U CLIN+4, CLIN+5, CLINPTS+7, CLINPTS+26, CLINPTS+34, CLINPTS+35, CLINPTS+40, CDATRANG+2, PTAPPTS+5, PTAPPTS+22
, PTAPPTS+24, WARDPTS+13, WARDPTS+17
VAERR PTAPPTS+3~
VASD PTAPPTS+3~
VASD("C" PTAPPTS+18*
VASD("F" PTAPPTS+16*
VASD("T" PTAPPTS+17*
WARD WARDPTS~, WARDPTS+2, WARDPTS+6*, WARDPTS+9
X CLINPTS+4~, WARD+6
Y CLIN~, CLINPTS~, PTAPPTS~, PROV~, PROVPTS~, SPEC~, SPECPTS~, WARD~, WARDPTS~
Y( CLIN+5*, CLINPTS+33*, CLINPTS+34*, CLINPTS+35*, CLINPTS+40*, PTAPPTS+24*, PROV+5*, PROVPTS+4*, SPEC+4*, SPECPTS+4*
, WARD+6*, WARDPTS+10*, WARDPTS+17*
Y(1 CLINPTS+2*, CLINPTS+3*, CLINPTS+15*, CLINPTS+26*, CLINPTS+30*, PTAPPTS+2*, PTAPPTS+15*, PTAPPTS+20*, PTAPPTS+26*, PROVPTS+1*
, PROVPTS+5*, SPECPTS+1*, SPECPTS+5*, WARDPTS+2*, WARDPTS+20*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All