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

Package: Scheduling

Routine: SCAPMC23


Information

SCAPMC23 ;ALB/REW - Team API's:TPPT ;02/19/2014

Source Information

Source file <SCAPMC23.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Scheduling 6 ($$TMPT,$$TPCL)^SCAPMC  BLD^SCAPMC24  $$CLPT^SCAPMC29  (ERR,INIT)^SCAPMCU1  $$ACTHIST^SCAPMCU2  ($$DTCHK,$$OKARRAY,$$OKUSRCL)^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: 5

Package Total Caller Graph
Scheduling 5 SCAPMC  SCAPMC10  SCAPMC22  SCMCEV2  SCMCQK1  

Entry Points

Name Comments DBIA/ICR reference
TPPT(DFN,SCDATES,SCPOSA,SCUSRA,SCPURPA,SCROLEA,SCYESCL,SCLIST,SCERR) ; -- positions for a patient
; input:
; DFN = ien of PATIENT file(#2) [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]
; SCPOSA -array of pointers to team position - 404.57 (per SCPURPA)
; SCUSRA -array of pointers to user file - 8930 (per SCPURPA array)
; 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
; SCROLEA - array of pointers to std position file 403.46 (per SCPURPA)
; SCYESCL -boolean[0-NO(default)/1-YES] Include pts asc. via enrollment?
; SCLIST -array name to store list
; [ex. ^TMP("SCPT",$J)]
;
; SCERR = array NAME to store error messages.
; [ex. ^TMP("ORXX",$J)]
ST
PRACQ
OKDATA() ;setup/check variables

External References

Name Field # of Occurrence
$$TMPT^SCAPMC ST+37
$$TPCL^SCAPMC ST+49
BLD^SCAPMC24 ST+34
$$CLPT^SCAPMC29 ST+38
ERR^SCAPMCU1 ST+44, OKDATA+7
INIT^SCAPMCU1 OKDATA+3
$$ACTHIST^SCAPMCU2 ST+18
$$DTCHK^SCAPU1 ST+17
$$OKARRAY^SCAPU1 ST+24, ST+30, ST+33
$$OKUSRCL^SCAPU1 ST+27

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] OKDATA+5
^SCPT(404.43 - [#404.43] ST+7, ST+8, ST+13, ST+14
^SCTM(404.51 - [#404.51] ST+29
^SCTM(404.57 - [#404.57] ST+25

Label References

Name Line Occurrences
$$OKDATA ST+3
PRACQ ST+3, ST+36, ST+37, ST+38, ST+39

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DFN TPPT~, ST+7, ST+8, ST+13, ST+37, ST+38, OKDATA+5, OKDATA+6
>> ENR("BEGIN" ST+46*
>> ENR("END" ST+47*
>> ENR("INCL" ST+48*
>> INDX ST+40*, ST+41*
>> SC44 ST+45*, ST+49
SCACTHIS ST~, ST+18*, ST+20*, ST+21*, ST+22*, ST+23, ST+34
SCBEGIN ST+1~, ST+17, ST+46
SCDATES TPPT~, ST+18, ST+37, ST+38
SCDTS ST+1~
SCEND ST+1~, ST+17, ST+47
SCENROLL ST~
SCENROLL( ST+41
SCENROLL(0 ST+39, ST+41
SCERR TPPT~, ST+18, ST+37, ST+38, ST+44, ST+49, PRACQ, OKDATA+7
SCESEQ ST+1~, ST+44, OKDATA+7
SCINCL ST+1~, ST+17, ST+48
SCLIST TPPT~, ST+34, ST+49
SCLSEQ ST+1~
SCN ST+1~
SCND ST~, ST+25*, ST+26, ST+28, ST+32
SCOK OKDATA+1~, OKDATA+2*, OKDATA+3, OKDATA+5*, OKDATA+9
>> SCP ST+29*, ST+30
SCPARM ST+1~, ST+44, OKDATA+7
SCPARM("Enrol l Xref" , ST+43*
SCPARM("Patient" OKDATA+6*
SCPOSA TPPT~, ST+24, ST+49
>> SCPTA ST+31*
SCPTBEG ST~, ST+15*, ST+17, ST+20
SCPTEND ST~, ST+16*, ST+17, ST+21
SCPTPA ST+1~, ST+12*, ST+13*, ST+14, ST+22
SCPTTP ST~, ST+8*, ST+13
SCPTTP0 ST~, ST+14*, ST+15, ST+16
SCPTTPI ST~
SCPURPA TPPT~, ST+30, ST+37, ST+49
SCR ST~, ST+32*, ST+33, ST+34
SCROLEA TPPT~, ST+33, ST+49
SCTEAMA ST~
SCTM ST~, ST+28*, ST+29, ST+34
SCTP ST~, ST+6*, ST+7*, ST+8, ST+13, ST+18, ST+24, ST+25, ST+34
SCTPA ST~, ST+6*
SCTPPT ST~
SCU ST~, ST+26*, ST+27
SCUSRA TPPT~, ST+27, ST+49
>> SCX ST+41*, ST+42, ST+43, ST+45, ST+46, ST+47
SCYESCL TPPT~, ST+36, OKDATA+4*
U ST+15, ST+16, ST+20, ST+21, ST+22, ST+26, ST+28, ST+29, ST+32, ST+45
ST+46, ST+47
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All