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

Package: Scheduling

Routine: SCAPMC6


Information

SCAPMC6 ;ALB/REW - Team APIs:APPTTM ; 5 Jul 1995

Source Information

Source file <SCAPMC6.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Scheduling 5 $$TMPT^SCAPMC3  (ERR,INIT)^SCAPMCU1  AFTERTM^SCMCDD1  MAILLST^SCMCTMM  $$OKPTTMPC^SCMCTMU2  
VA Fileman 1 UPDATE^DIE  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Scheduling 5 SCAPMC  SCMCBK  SCMCBK1  SCMCBK5  SCMCEV1  

Entry Points

Name Comments DBIA/ICR reference
PTTMACT(DFN,SCTM,SCDT,SCERR) ;what is patient/team assignment on a given date-time into the future? Return 404.42 ien or 0
ACPTATM(DFNA,SCTM,SCFIELDA,SCACT,SCERR,SCNEWTM,SCOLDTM,SCBADTM) ;list of patients assigned to a team (404.42)
; input: as per ACPTTM (above with the following change:)
; DFNA = is the literal value of a patient array (e.g. "scpt"
; there is at least one scpt(dfn)="" defined
; SCNEWTM = Subset of DFNA that was NEWLY assigned to Team [returned]
; SCOLDTM = Subset of DFNA that was already assigned -Team [returned]
; SCBADTP = Subset of DFNA that was NOT assigned to Team [returned]
; Note: The above three arrays return data in a user determined array
; output: Count of Patients:
; 1 2 3 4
; total assigned^newly assigned^assigned prior^not assigned
APTTMQ
ACPTTM(DFN,SCTM,SCFIELDA,SCACT,SCERR) ;add a patient to a team (pt tm assgn - #404.42
; input:
; DFN = pointer to PATIENT file (#2)
; SCTM = pointer to TEAM file (#404.51)
; SCFIELDA= array of additional fields to be added
; SCACT = date to activate [default=DT]
; SCERR = array NAME to store error messages.
; [ex. ^TMP("ORXX",$J)]
OKDATA() ;setup/check variables

External References

Name Field # of Occurrence
UPDATE^DIE ACPTTM+30
$$TMPT^SCAPMC3 PTTMACT+4
ERR^SCAPMCU1 OKDATA+7
INIT^SCAPMCU1 OKDATA+3
AFTERTM^SCMCDD1 ACPTTM+35
MAILLST^SCMCTMM ACPTATM+27
$$OKPTTMPC^SCMCTMU2 ACPTTM+18

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] OKDATA+4
^SCTM(404.51 - [#404.51] OKDATA+4

Label References

Name Line Occurrences
$$ACPTTM ACPTATM+15
$$OKDATA ACPTTM+17
$$PTTMACT ACPTTM+20
APTTMQ ACPTTM+17, ACPTTM+18, ACPTTM+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DFN ACPTTM~, ACPTTM+18, ACPTTM+20, ACPTTM+27, PTTMACT~, PTTMACT+4, ACPTATM+11~, ACPTATM+14*, ACPTATM+15, ACPTATM+19
, ACPTATM+22, ACPTATM+24, OKDATA+4, OKDATA+5
DFNA ACPTATM~, ACPTATM+14
DT ACPTATM+27, OKDATA+8
SC ACPTTM+16~
SC( ACPTTM+26*, ACPTTM+27*, ACPTTM+28*, ACPTTM+29*
SCACT ACPTTM~, ACPTTM+18, ACPTTM+20, ACPTTM+28, ACPTATM~, ACPTATM+15, OKDATA+8*
>> SCADDFLD ACPTATM+27
SCBADCNT ACPTATM+11~, ACPTATM+13*, ACPTATM+25*, ACPTATM+28
SCBADTM ACPTATM~, ACPTATM+24, ACPTATM+27
SCDT PTTMACT~, PTTMACT+3
SCERR ACPTTM~, ACPTTM+20, ACPTTM+31, PTTMACT~, PTTMACT+4, ACPTATM~, ACPTATM+15, OKDATA+7
SCESEQ ACPTTM+16~, OKDATA+7
SCFIELDA ACPTTM~, ACPTTM+18, ACPTTM+23, ACPTTM+25, ACPTTM+26, ACPTATM~, ACPTATM+15
SCFLD ACPTTM+16~, ACPTTM+24*, ACPTTM+25*, ACPTTM+26
SCIEN ACPTTM+16~, ACPTTM+31!
SCIEN(1 ACPTTM+33
>> SCMESS ACPTTM+19*
SCNEWCNT ACPTATM+11~, ACPTATM+13*, ACPTATM+18*, ACPTATM+28
SCNEWTM ACPTTM+16~, ACPTTM+34*, APTTMQ, ACPTATM~, ACPTATM+19, ACPTATM+27
SCNOMAIL ACPTATM+11~, ACPTATM+12*, ACPTATM+26!
SCOK PTTMACT+1~, PTTMACT+2*, PTTMACT+4*, PTTMACT+5, OKDATA+1~, OKDATA+2*, OKDATA+3, OKDATA+4*, OKDATA+9
SCOLDCNT ACPTATM+11~, ACPTATM+13*, ACPTATM+21*, ACPTATM+28
SCOLDTM ACPTATM~, ACPTATM+22, ACPTATM+27
SCPARM ACPTTM+16~, OKDATA+7
SCPARM("PATIENT" OKDATA+5*
SCPARM("TEAM" OKDATA+6*
SCPTTM ACPTTM+16~, ACPTTM+20*, ACPTTM+21, ACPTTM+33*, ACPTTM+35, APTTMQ
SCPTTMDT PTTMACT+1~
SCPTTMDT("BEGIN" PTTMACT+3*
SCPTTMDT("END" PTTMACT+3*
SCPTTMDT("INCL" PTTMACT+3*
SCTM ACPTTM~, ACPTTM+18, ACPTTM+20, ACPTTM+29, PTTMACT~, PTTMACT+4, ACPTATM~, ACPTATM+15, ACPTATM+27, OKDATA+4
, OKDATA+6
SCTMLST PTTMACT+1~
SCTMLST("SCTM" PTTMACT+4
SCX ACPTATM+11~, ACPTATM+15*, ACPTATM+17, ACPTATM+19, ACPTATM+20, ACPTATM+22, ACPTATM+23, ACPTATM+24
U APTTMQ, ACPTATM+17, ACPTATM+20, ACPTATM+24, ACPTATM+28
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All