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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SCMCTSK

Package: Scheduling

Routine: SCMCTSK


Information

SCMCTSK ;ALB/JDS/ART - PCMM ;02/26/2015

Source Information

Source file <SCMCTSK.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
VA FileMan 7 ^%DT  DELIX^DDMOD  FILE^DICN  DT^DICRW  (,FILE,UPDATE)^DIE  EN1^DIP  $$GET1^DIQ  
Kernel 2 $$NOW^XLFDT  MES^XPDUTL  
Registration 1 DEM^VADPT  
Scheduling 1 $$DATES^SCAPMCU1  

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

Package Total Caller Graph
Scheduling 3 SC FTEE BUILD LIST  SC FTEE FILE LIST  SCMC PCMM INACTIVATE ON DATE OF DEATH  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
RPT1 ;REPORT
INACTIVE ;run every night to determine if patient can be inactivated from
RPT ;enter for report with STDT and TYDT defined
SEEN1(DFN,POS) ;
SEEN ;See if seen in last 24 months go through visits
DIS ;discharge
DEATH ;Called from date of death event
UPDEVNT(SCDFN,SCDTDTH) ;create/update patient event record (404.54)
; new for patch 603
; Inputs: SCDFN - patient DFN
; SCDTDTH - patient date of death
; Output: new or updated record in 404.54
POST ;
POST278 ;postinit for 278
FTEE(DATA,SCTEAM) ;return list of positions for the team
FILE(RES,DATA) ;File data on FTEE
FTEXR ;Ftee cross reference - this code is obsolete as of SD*5.3*603
SCREEN ;Screen for active assignments

External References

Name Field # of Occurrence
^%DT INACTIVE+4, INACTIVE+5
DELIX^DDMOD POST+2
FILE^DICN POST+6, POST+10, POST278+3, POST278+7
DT^DICRW INACTIVE+4
^DIE DIS+5
FILE^DIE UPDEVNT+16, FILE+6
UPDATE^DIE DEATH+19, UPDEVNT+24
EN1^DIP RPT1+4
$$GET1^DIQ FTEE+13
$$DATES^SCAPMCU1 FTEE+6, SCREEN+4
DEM^VADPT DEATH+7, POST+14
$$NOW^XLFDT UPDEVNT+13, UPDEVNT+21
MES^XPDUTL POST+1, POST+11, POST+15, POST278+1

Used in RPC

RPC Name Call Tags
SC FTEE BUILD LIST FTEE
SC FTEE FILE LIST FILE

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
^SCPT(404.43 - [#404.43] Classic Fileman Calls,  DELIX^DDMOD
^SCTM(404.45 - [#404.45] Classic Fileman Calls
^SCTM(404.46 - [#404.46] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVPRV - [#9000010.06] SEEN+3
^AUPNVPRV("AD" SEEN+3
^AUPNVSIT("AA" SEEN+1, SEEN+2
^DPT("AEXP1" POST+13
^SCPT(404.42 - [#404.42] RPT+14
^SCPT(404.43 - [#404.43] RPT+9, DIS+1
^SCPT(404.54 - [#404.54] UPDEVNT+10
^SCTM(404.45 - [#404.45] POST+7, POST278+4
^SCTM(404.46 - [#404.46] POST+5, POST+8, POST278+2, POST278+5
^SCTM(404.51 - [#404.51] RPT+16
^SCTM(404.52 - [#404.52] SEEN1+2, SEEN1+3, FTEE+8, FTEE+9, FTEE+10, FTEE+11, FILE+3, SCREEN+1, SCREEN+2, SCREEN+5
SCREEN+6
^SCTM(404.57 - [#404.57] FTEE+4, FTEE+5, SCREEN+3
^SDWL(409.3 - [#409.3] DEATH+12, DEATH+13
^TMP("SCMCTSK" RPT+20*

Label References

Name Line Occurrences
$$SEEN1 RPT+18
DEATH POST+14
SEEN SEEN1+5
UPDEVNT DEATH+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A RPT+1*, RPT+2, RPT+3, SEEN1+3~*, SEEN1+4, DEATH+12*, FTEE+2~, FTEE+3*, FTEE+4*, FTEE+5
, FTEE+13, SCREEN+1~*, SCREEN+2, SCREEN+3, SCREEN+4, SCREEN+5, SCREEN+6
BY RPT1+1~, RPT1+2*
CNT FTEE+2~*, FTEE+12*, FTEE+13
>> D0 SCREEN+1, SCREEN+6
>> DA DIS+4*
DATA FTEE~, FILE~
DATA( FTEE+13*, FILE+2, FILE+3, FILE+4, FILE+5
DATA(1 FTEE+2*
DATE POST+3~, POST+13*, POST+15
DEATH DEATH+6~, DEATH+7*, DEATH+9, DEATH+10
DFN RPT+14*, RPT+18, SEEN1~, SEEN+1, SEEN+2, DEATH+5*, DEATH+9, DEATH+12, POST+14*
DGDA DEATH+5, POST+3~, POST+13*, POST+14
DGFIELD DEATH+4, POST+3~, POST+14*
DGFILE DEATH+3, POST+3~, POST+14*
DGLEFDA POST+4!
DHD RPT1+1~, RPT1+3*
DIC RPT1+1~, RPT1+2*, POST+6*, POST+10*, POST278+3*, POST278+7*
DIC("DR" POST+6*, POST+9*, POST278+3*, POST278+6*
DIC(0 POST+6*, POST+9*, POST278+3*, POST278+6*
DIE DIS+4*, DEATH+6~
DIOBEG RPT1+1~, RPT1+2*
DO POST+6!, POST+10!, POST278+3!, POST278+7!
DR DIS+4*, DEATH+6~
DT DIS+4, DEATH+16, POST+6, POST+9, POST278+3, POST278+6, FTEE+8, FTEE+9, SCREEN+2, SCREEN+5
DUZ DEATH+18
ENTRY RPT+4*, RPT+9, RPT+20, DIS+1, DIS+4, POST+3~, POST+8*, POST+9, POST278+5*, POST278+6
FDA DEATH+14~
FDA( DEATH+15*, DEATH+16*, DEATH+17*, DEATH+18*
>> FLDA( FILE+5*
>> FLDA(0 FILE+6
FLDS RPT1+1~, RPT1+2*
I INACTIVE+3~, SEEN1+2*, SEEN1+3, SEEN+1*, SEEN+2, DEATH+6~, DEATH+12*, DEATH+13, DEATH+15, DEATH+16
DEATH+17, DEATH+18, FTEE+2~, FTEE+5*, FTEE+6, FTEE+8, FTEE+9, FTEE+10, FILE+1~, FILE+2*
, FILE+3, FILE+4, FILE+5
J SEEN+2*, SEEN+3, FTEE+2~, FTEE+8*, FTEE+9, FTEE+10, SCREEN+2~*, SCREEN+5, SCREEN+6
K FTEE+2~, FTEE+10*, FTEE+11, FTEE+13
>> L RPT+1*
>> P SEEN+3*
POS SEEN1~, SEEN1+2
PROV SEEN1+2!, SEEN1+5*, SEEN+3
PROV( SEEN1+3*, SEEN1+4!, SEEN1+5
>> Q RPT+2*, RPT+3*, RPT+4, RPT+5, RPT+8, RPT+14, RPT+16
RES FILE~
SCDFN UPDEVNT~, UPDEVNT+10, UPDEVNT+12, UPDEVNT+19, UPDEVNT+20
SCDTDTH UPDEVNT~, UPDEVNT+14, UPDEVNT+15, UPDEVNT+22, UPDEVNT+23
SCERR DEATH+6~, UPDEVNT+9~
SCEXIST UPDEVNT+9~, UPDEVNT+10*, UPDEVNT+11
SCFDA UPDEVNT+9~
SCFDA( UPDEVNT+13*, UPDEVNT+14*, UPDEVNT+15*, UPDEVNT+20*, UPDEVNT+21*, UPDEVNT+22*, UPDEVNT+23*
SCI DEATH+6~
SCIEN UPDEVNT+9~
SCIEN(1 UPDEVNT+19*
SCIENS UPDEVNT+9~, UPDEVNT+12*, UPDEVNT+13, UPDEVNT+14, UPDEVNT+15, UPDEVNT+18*, UPDEVNT+20, UPDEVNT+21, UPDEVNT+22, UPDEVNT+23
SCJ DEATH+6~
SCTEAM FTEE~, FTEE+2*, FTEE+4, FTEE+5
SCTP DEATH+6~
SDDT INACTIVE+3~
>> SEEN RPT+15*, SEEN1+1*, SEEN1+6, SEEN+1, SEEN+3*
>> STDT INACTIVE+4*, RPT+8
>> TEAM RPT+5*, RPT+16*
TEAMNM INACTIVE+3~, RPT+16*
TYDT INACTIVE+3~, INACTIVE+5*, SEEN1+4, SEEN+1
U RPT+10, RPT+11, RPT+16, RPT+18, SEEN1+3, SEEN1+4, DIS+2, FTEE+11, FTEE+13, FILE+4
, FILE+5, SCREEN+3
>> VADM(6 DEATH+7, POST+14
>> X INACTIVE+4*, INACTIVE+5*, POST+6*, POST+10*, POST278+3*, POST278+7*, SCREEN+2*, SCREEN+5*, SCREEN+6*, SCREEN+7*
>> Y INACTIVE+4, INACTIVE+5
YEAR POST+4!, POST+12*, POST+15*
ZERO RPT+9*, RPT+10, RPT+11, RPT+18, DIS+1~*, DIS+2, FTEE+11*, FTEE+13, FILE+3*, FILE+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All