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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SCAPMC3

Package: Scheduling

Routine: SCAPMC3


Information

SCAPMC3 ;ALB/REW - Team API's:TMPT ; 6/3/99 3:18pm

Source Information

Source file <SCAPMC3.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Scheduling 3 (ERR,INIT)^SCAPMCU1  $$ACTHIST^SCAPMCU2  ($$DTCHK,$$OKARRAY)^SCAPU1  

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: 7

Package Total Caller Graph
Scheduling 7 SCAPMC  SCAPMC6  SCAPMC7  SCMCQK2  SCMCWAIT  SCRPMTA  SCUTBK11  

Entry Points

Name Comments DBIA/ICR reference
TMPT(DFN,SCDATES,SCPURPA,SCLIST,SCERR) ; -- list of teams for a patient
; input:
; DFN = ien of PATIENT file [required]
; SCDATES("BEGIN") = begin date to search (inclusive)
; [default: TODAY]
; ("END") = end date to search (inclusive)
; [default: TODAY]
; ("INCL") = 1: only use patients who were assigned to
; team for entire date range
; 0: anytime in date range
; [default: 1]
; SCPURPA -array of pointers to team purpose file 403.47
; if none are defined - returns all teams
; if @SCPURPA@('exclude') is defined - exclude listed teams
; SCLIST -array name to store list
; [ex. ^TMP("SCPT",$J)]
;
; SCERR = array NAME to store error messages.
; [ex. ^TMP("ORXX",$J)]
ST
PRACQ
BLD(SCLIST,SCPTA,SCPTA0) ; -- build list of patient's teams
OKDATA() ;setup/check variables

External References

Name Field # of Occurrence
ERR^SCAPMCU1 OKDATA+7, OKDATA+10, OKDATA+14
INIT^SCAPMCU1 OKDATA+4
$$ACTHIST^SCAPMCU2 ST+7
$$DTCHK^SCAPU1 ST+14
$$OKARRAY^SCAPU1 ST+9

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] OKDATA+8, OKDATA+12
^SC(403.47 BLD+20
^SCPT(404.42 - [#404.42] ST+6, ST+11, ST+12
^SCTM(404.51 - [#404.51] ST+8, BLD+17

Label References

Name Line Occurrences
$$OKDATA ST+3
BLD ST+15
PRACQ ST+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DFN TMPT~, ST+6, ST+11, OKDATA+8, OKDATA+12, OKDATA+13
>> PATIENT OKDATA+9
SCBEGIN ST+1~, ST+14
SCCNT BLD+12~
SCDATES TMPT~, ST+7
SCDTS ST+1~
SCEFFDT BLD+12~
SCEND ST+1~, ST+14
SCERR TMPT~, ST+7, PRACQ, OKDATA+7, OKDATA+10, OKDATA+14
SCESEQ ST+1~, OKDATA+7, OKDATA+10, OKDATA+14
SCINCL ST+1~, ST+14
SCLIST TMPT~, ST+15, BLD~, BLD+14, BLD+15, BLD+16, BLD+20, BLD+21
SCLSEQ ST+1~
SCN ST+1~, BLD+12~, BLD+15*, BLD+16, BLD+20, BLD+21
SCOK OKDATA+1~, OKDATA+2*, OKDATA+4, OKDATA+5*, OKDATA+8*, OKDATA+12*, OKDATA+15
SCP ST~, ST+1~, ST+8*, ST+9, BLD+12~, BLD+17*, BLD+20
SCPARM ST+1~, OKDATA+7, OKDATA+10, OKDATA+14
SCPARM("PATIENT" OKDATA+9*, OKDATA+13*
SCPARM("PURPOSE" OKDATA+6*
SCPC BLD+12~, BLD+19*, BLD+20
SCPTA ST~, ST+10*, ST+11*, ST+12, ST+15, BLD~, BLD+14, BLD+20, BLD+21
SCPTA0 ST~, ST+12*, ST+13, ST+14, ST+15, BLD~, BLD+13, BLD+19, BLD+20
SCPURPA TMPT~, ST+9, OKDATA+3*, OKDATA+5, OKDATA+6
SCTM ST~, ST+5*, ST+6*, ST+7, ST+8, ST+11, BLD+12~, BLD+13*, BLD+14, BLD+17
, BLD+20, BLD+21
SCTMNODE BLD+12~, BLD+17*, BLD+20
SCTMPT ST~
U ST+8, ST+14, BLD+13, BLD+17, BLD+19, BLD+20
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All