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

Package: Scheduling

Routine: SCRPPTA


Information

SCRPPTA ;ALB/DJS - Patient Team Assignment Extract for PCMMR Data Validation; 04/03/14

Source Information

Source file <SCRPPTA.m>

Call Graph

Call Graph

Call Graph Total: 4

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

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 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+28
CLOSE^%ZISH HFSCLOSE+1
OPEN^%ZISH HFSOPEN+2
GETS^DIQ SETREC+5, SETREC+15
$$SITE^VASITE ENTER+27
$$FMTE^XLFDT SETREC+8, SETREC+12, SETREC+18

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,SCMCPATH
  • Line Location: ENTER+28
Function Call: WRITE
  • Prompt: "Station #|Pt. Team Assign IEN|Patient IEN|Patient Name|Date of Birth|SSN|Date of Death|ICN|ICN Checksum|Locally Assigned ICN|Team Assigned Date|Team IEN|Team Assignment|Assignment Type|Team Discharge Date|Status",!
  • Line Location: COLHDR+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GETS^DIQ
^SCPT(404.42 - [#404.42] GETS^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SCPT(404.42 - [#404.42] 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+31
END ENTER+29, ENTER+31
HFSCLOSE END
HFSOPEN ENTER+29
SETREC ENTER+31

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ASGNTYPE ENTER+26~, SETREC+11*, SETREC+22
DISCHDT ENTER+26~, SETREC+12*, SETREC+22
HANDLE HFSOPEN~, HFSOPEN+2, HFSCLOSE~, HFSCLOSE+1
I END+1~, END+5*, END+6, END+7, END+8
ICNCHKSM ENTER+26~, SETREC+20*, SETREC+22
IO ENTER+30
IOF ENTER+24~, HFSOPEN+4*
LOCALICN ENTER+26~, SETREC+21*, SETREC+22
MSG ENTER+24~, END+3*, END+9*
POP HFSOPEN+1~, HFSOPEN+2
PTAIEN ENTER+25~, SETREC+1*, SETREC+2*, SETREC+4, SETREC+22
PTDATA ENTER+25~, SETREC+3!
PTDATA(2 SETREC+16, SETREC+17, SETREC+18, SETREC+19, SETREC+20, SETREC+21
PTDOB ENTER+25~, SETREC+16*, SETREC+22
PTDOD ENTER+26~, SETREC+18*, SETREC+22
PTICN ENTER+26~, SETREC+19*, SETREC+22
PTIEN ENTER+25~, SETREC+6*, SETREC+14, SETREC+22
PTIENS ENTER+25~, SETREC+14*, SETREC+15, SETREC+16, SETREC+17, SETREC+18, SETREC+19, SETREC+20, SETREC+21
PTNAME ENTER+25~, SETREC+7*, SETREC+22
PTSSN ENTER+25~, SETREC+17*, SETREC+22
SCDATA ENTER+25~, SETREC+3!
SCDATA( SETREC+6, SETREC+7, SETREC+8, SETREC+9, SETREC+10, SETREC+11, SETREC+12, SETREC+13
SCIENS ENTER+25~, SETREC+4*, SETREC+5, SETREC+6, SETREC+7, SETREC+8, SETREC+9, SETREC+10, SETREC+11, SETREC+12
SETREC+13
SCMCERR ENTER+24~, ENTER+28*, ENTER+29, END+2, HFSOPEN+3*
SCMCHFS ENTER+24~, ENTER+28*, ENTER+29, END, HFSOPEN~, HFSOPEN+2
SCMCMODE ENTER+24~, HFSOPEN~, HFSOPEN+2
SCMCPATH ENTER+24~, ENTER+28*, ENTER+29, HFSOPEN~, HFSOPEN+2
SCMHFS HFSCLOSE~
SITE ENTER+24~, ENTER+27*
STANUM ENTER+25~, ENTER+27*, ENTER+28, SETREC+22
STATUS ENTER+26~, SETREC+13*, SETREC+22
TANAME ENTER+26~, SETREC+10*, SETREC+22
TIEN ENTER+26~, SETREC+9*, SETREC+22
TMASGDT ENTER+26~, SETREC+8*, SETREC+22
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All