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

Package: Scheduling

Routine: SCAPMC26


Information

SCAPMC26 ;ALB/REW - API: Patients in a Clinic ; December 1, 1995 [12/21/98 4:30pm]

Source Information

Source file <SCAPMC26.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Scheduling 3 ($$PTTM,$$PTTP)^SCAPMC  (ERR,INIT)^SCAPMCU1  $$DTCHK^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: 3

Package Total Caller Graph
Scheduling 3 SCAPMC  SCMCBK  SCMCBK1  

Entry Points

Name Comments DBIA/ICR reference
PTCL(SC44,SCDATES,SCLIST,SCERR) ; patients in a clinic
; Input:
; SC44 - Pointer to Hospital Location File #44
; SCDATES- Date array (begin, end, incl)
; SCLIST - Name of output array
; SCERR = array NAME to store error messages.
; [ex. ^TMP("ORXX",$J
; Output:
; SCLIST() = array of practitioners (users) - pointers to file #200
; Format:
; Subscript: Sequential # from 1 to n
; Piece Description
; 1 DFN - Ptr to Patient File (#2)
; 2 Patient Name (External)
; 3 null
; 4 Activation Date
; 5 Discharge Date
; 6 '1' - for merge reasons with other pt lists
; 7 sc44
ST
CLTPQ
OKDATA() ;check/setup variables - return 1 if ok; 0 if error
PTCLBR(SC44,SCTM,SCDATES) ;for PCMM use only!! returns list to ^tmp($j,'scclpt'
; SC44 - Clinic we're adding to team
; SCTM - EXCLUDES Patients assigned to SCTM Team during time period
; SCDATES - Standard Date array
; Returns: $j if successful & at least one entry, 0 if error or none
; Warning: Kills ^tmp($j,'scclpt') before it runs & ^tmp('scmc',$j,'exclude pt') after it runs
PTCLBRTP(SC44,SCTP,SCDATES) ;for PCMM use only!! returns list to ^tmp($j,'scclpt'
; SC44 - Clinic we're adding to team
; SCTP - EXCLUDES Patients assigned to SCTP Position during scdates
; SCDATES - Standard Date array
; Returns: $j if successful & at least one entry, 0 if error or none
; Warning: Kills ^tmp($j,'scclpt') before it runs

External References

Name Field # of Occurrence
$$PTTM^SCAPMC PTCLBR+8
$$PTTP^SCAPMC PTCLBRTP+8
ERR^SCAPMCU1 OKDATA+7, OKDATA+10
INIT^SCAPMCU1 OKDATA+4
$$DTCHK^SCAPU1 ST+18

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] ST+17, ST+21
^DPT("AEB1" ST+7, ST+9, ST+13, ST+15
^SC - [#44] OKDATA+5
^TMP("SCMC" ST+10, PTCLBR+10!, PTCLBRTP+10!
^TMP($J PTCLBR+7!, PTCLBR+11, PTCLBRTP+7!, PTCLBRTP+11

Label References

Name Line Occurrences
$$OKDATA ST+4
$$PTCL PTCLBR+9, PTCLBRTP+9
CLTPQ ST+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DFN ST~, ST+8*, ST+9*, ST+10, ST+13, ST+15, ST+17, ST+21, ST+23
SC44 PTCL~, ST+7, ST+9, ST+13, ST+15, ST+21, OKDATA+5, OKDATA+6, PTCLBR~, PTCLBR+9
, PTCLBRTP~, PTCLBRTP+9
SCBEGIN ST+1~, ST+18
SCCL ST~, ST+13*, ST+14, ST+15, ST+17
SCCLDT ST~, ST+6*, ST+7*, ST+9, ST+13, ST+15
SCCLERR PTCLBR+6~, PTCLBRTP+6~
SCDATES PTCL~, PTCLBR~, PTCLBR+8, PTCLBR+9, PTCLBRTP~, PTCLBRTP+8, PTCLBRTP+9
SCDTS ST+1~
SCEND ST+1~, ST+18
SCERR PTCL~, CLTPQ, OKDATA+7, OKDATA+10
SCESEQ ST+1~, OKDATA+3*, OKDATA+7, OKDATA+10
SCINCL ST+1~, ST+18
SCLIST PTCL~, ST+19, ST+20, ST+21, ST+23, OKDATA+8, OKDATA+9
SCLSEQ ST+1~, OKDATA+3*
SCN ST+1~, ST+19*, ST+20, ST+21, ST+23, OKDATA+3*
>> SCNODE ST+17*, ST+18, ST+21
SCOK ST~, ST+3*, OKDATA+1~, OKDATA+2*, OKDATA+4, OKDATA+5*, OKDATA+8*, OKDATA+11
SCPARM ST+1~, OKDATA+7, OKDATA+10
SCPARM("CLINIC" OKDATA+6*
SCPARM("OUTPU T ARRAY" , OKDATA+9*
SCTM PTCLBR~, PTCLBR+8
SCTP PTCLBRTP~, PTCLBRTP+8
SCX ST+15*, ST+16, ST+17, ST+23, PTCLBR+6~, PTCLBR+9*, PTCLBR+11, PTCLBRTP+6~, PTCLBRTP+9*, PTCLBRTP+11
SCXX PTCLBR+6~, PTCLBR+8*, PTCLBRTP+6~, PTCLBRTP+8*
U ST+18, ST+21
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All