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

Package: Scheduling

Routine: SCRPPTPA


Information

SCRPPTPA ;ALB/DJS - Patient Team Position Assignment Extract for PCMMR Data Validation; 04/11/14

Source Information

Source file <SCRPPTPA.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Kernel 1 ($$DEFDIR,CLOSE,OPEN)^%ZISH  
Registration 1 $$SITE^VASITE  
VA FileMan 1 GETS^DIQ  

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

Package Total Caller Graph
Scheduling 1 SCMC PAT TEAM POS ASGN EXTRACT  

Entry Points

Name Comments DBIA/ICR reference
ENTER ; Entry point
;
; Extract file will be a delimited text file (.TXT) that will provide information for PCMM data validation
; Delimiter is a pipe ("|") character
SETREC
COLHDR ;Create column header for Patient Team Position Assignment extract file
END
HFSOPEN(HANDLE,SCMCPATH,SCMCHFS,SCMCMODE) ; Open File
HFSCLOSE(HANDLE,SCMHFS) ;Close HFS and unload data
IOF() ;used to reset position and insert page break flag when @IOF is executed.

External References

Name Field # of Occurrence
$$DEFDIR^%ZISH ENTER+29
CLOSE^%ZISH HFSCLOSE+1
OPEN^%ZISH HFSOPEN+2
GETS^DIQ SETREC+5
$$SITE^VASITE ENTER+28

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,SCMCPATH
  • Line Location: ENTER+29
Function Call: WRITE
  • Prompt: "Station #|Pt. Team Pos. Assign. IEN|Patient Team Assignment IEN|Patient Team Assignment|Team Position IEN|Team Position|Position Assigned Date|Position Unassigned Date|PC Role|"
  • Line Location: COLHDR+1
Function Call: WRITE
  • Prompt: "Status|Extend Automatic Inactivation|Extension Comment|Date Flagged for Inactivation|Scheduled Inactivation Date|Extended By IEN|Extended By|Date Disinactivated",!
  • Line Location: COLHDR+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SCPT(404.43 - [#404.43] GETS^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SCPT(404.43 - [#404.43] SETREC+2
^TMP("SCMC" END+3, END+5, END+6*, END+7*, END+8*, END+9, HFSOPEN+3*

Label References

Name Line Occurrences
COLHDR ENTER+32
END ENTER+30, ENTER+32
HFSCLOSE END
HFSOPEN ENTER+30
SETREC ENTER+32

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DT4INACT ENTER+27~, SETREC+16*, SETREC+21
DTDISINA ENTER+27~, SETREC+20*, SETREC+21
EXTAUINA ENTER+27~, SETREC+14*, SETREC+21
EXTBYIEN ENTER+27~, SETREC+18*, SETREC+21
EXTCMMNT ENTER+27~, SETREC+15*, SETREC+21
EXTENDBY ENTER+27~, SETREC+19*, SETREC+21
HANDLE HFSOPEN~, HFSOPEN+2, HFSCLOSE~, HFSCLOSE+1
I END+1~, END+5*, END+6, END+7, END+8
IO ENTER+31
IOF ENTER+25~, HFSOPEN+4*
MSG ENTER+25~, END+3*, END+9*
PCROLE ENTER+27~, SETREC+12*, SETREC+21
POP HFSOPEN+1~, HFSOPEN+2
POSASDT ENTER+26~, SETREC+10*, SETREC+21
POUNADT ENTER+26~, SETREC+11*, SETREC+21
PTASGIEN ENTER+26~, SETREC+6*, SETREC+21
PTASGN ENTER+26~, SETREC+7*, SETREC+21
PTPAIEN ENTER+26~, SETREC+1*, SETREC+2*, SETREC+4, SETREC+21
SCDATA ENTER+26~, SETREC+3!
SCDATA( SETREC+6, SETREC+7, SETREC+8, SETREC+9, SETREC+10, SETREC+11, SETREC+12, SETREC+13, SETREC+14, SETREC+15
SETREC+16, SETREC+17, SETREC+18, SETREC+19, SETREC+20
SCHINADT ENTER+27~, SETREC+17*, SETREC+21
SCIENS ENTER+26~, SETREC+4*, SETREC+5, SETREC+6, SETREC+7, SETREC+8, SETREC+9, SETREC+10, SETREC+11, SETREC+12
SETREC+13, SETREC+14, SETREC+15, SETREC+16, SETREC+17, SETREC+18, SETREC+19, SETREC+20
SCMCERR ENTER+25~, ENTER+29*, ENTER+30, END+2, HFSOPEN+3*
SCMCHFS ENTER+25~, ENTER+29*, ENTER+30, END, HFSOPEN~, HFSOPEN+2
SCMCMODE ENTER+25~, HFSOPEN~, HFSOPEN+2
SCMCPATH ENTER+25~, ENTER+29*, ENTER+30, HFSOPEN~, HFSOPEN+2
SCMHFS HFSCLOSE~
SITE ENTER+25~, ENTER+28*
STANUM ENTER+26~, ENTER+28*, ENTER+29, SETREC+21
STATUS ENTER+27~, SETREC+13*, SETREC+21
TMPOS ENTER+26~, SETREC+9*, SETREC+21
TMPOSIEN ENTER+26~, SETREC+8*, SETREC+21
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All