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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: TIUPRDS2

Package: Text Integration Utility

Routine: TIUPRDS2


Information

TIUPRDS2 ;SLC/SBW - Header & Footer for Form 10-1000 ; 11/29/02

Source Information

Source file <TIUPRDS2.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Text Integration Utility 3 $$NOW^TIULC  $$DATE^TIULS  $$STOP^TIUU  
Kernel 1 $$FMDIFF^XLFDT  

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
Text Integration Utility 1 TIUPRDS1  

Entry Points

Name Comments DBIA/ICR reference
FOOTER(TIUDA,TIU,TIUFLAG,TIUPAGE,TIUCOPY,TIUHDR) ; Control Pagination
; position, write footer when appropriate
; IF TIUHDR=1, HEADER WILL NOT BE PRINTED
FOOTEXIT ;
HEADER(TIUDA,TIU,TIUFLAG,TIUPAGE) ; Header
HEADERX ;Header exit
AGE(TIUDT,TIUDOB) ; Compute patient's age as of discharge (or entry)
DISPTYP(TEXT) ; NOIS SHE-1098-52553

External References

Name Field # of Occurrence
$$NOW^TIULC HEADER+7
$$DATE^TIULS FOOTER+8, HEADER+7
$$STOP^TIUU FOOTER+10
$$FMDIFF^XLFDT AGE+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: FOOTER+4
Function Call: WRITE
  • Prompt: !,"PATIENT: ",^TMP("TIULQ",$J,TIUDA,.02,"E")
  • Line Location: FOOTER+6
Function Call: WRITE
  • Prompt: ?47,"VA FORM 10-1000 DISCHARGE SUMMARY"
  • Line Location: FOOTER+7
Function Call: WRITE
  • Prompt: !,TIU("SSN")," DOB: ",$$DATE^TIULS(+$G(TIU("DOB")),"MM/DD/CCYY")
  • Line Location: FOOTER+8
Function Call: WRITE
  • Prompt: ?40,$J(TIUCOPY,39)
  • Line Location: FOOTER+9
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: FOOTER+11
Function Call: WRITE
  • Prompt: !,$E($P($G(TIU("DIV")),U,2),1,37),?$X+3,$S(^TMP("TIULQ",$J,TIUDA,.09,"I")="P":^("E"),1:"")
  • Line Location: HEADER+6
Function Call: WRITE
  • Prompt: ?50,$$DATE^TIULS($$NOW^TIULC,"MM/DD/CCYY HR:MIN"),?71,"Page: ",$J(TIUPAGE,2)
  • Line Location: HEADER+7
Function Call: WRITE
  • Prompt: !,TIULINE
  • Line Location: HEADER+8
Function Call: WRITE
  • Prompt: !,"PATIENT NAME",?33,"| AGE | SEX | SSN | CLAIM NUMBER"
  • Line Location: HEADER+10
Function Call: WRITE
  • Prompt: !,^TMP("TIULQ",$J,TIUDA,.02,"E"),?33,"| ",$J($G(TIU("AGE")),3),?39,"|",?42,$P($G(TIU("SEX")),U),?45,"| ",$P($G(TIU("SSN")),U),?60,"| ",$G(TIU("CLAIM"))
  • Line Location: HEADER+11
Function Call: WRITE
  • Prompt: !,TIULINE
  • Line Location: HEADER+12
Function Call: WRITE
  • Prompt: !?2,"ADM DATE | DISC DATE | TYPE OF RELEASE | INP | ABS | WARD NO"
  • Line Location: HEADER+14
Function Call: WRITE
  • Prompt: !,$P(^TMP("TIULQ",$J,TIUDA,.07,"E"),"@"),?13,"| ",$P(^TMP("TIULQ",$J,TIUDA,.08,"E"),"@"),?28,"| "
  • Line Location: HEADER+15
Function Call: WRITE
  • Prompt: $S($G(^TMP("TIULQ",$J,TIUDA,.08,"E"))]"":$$DISPTYP($P($G(TIU("MTYPE")),U,2)),1:" "),?48,"|"
  • Line Location: HEADER+16
Function Call: WRITE
  • Prompt: ?49,$J($P($G(TIU("DAYS")),U),4),?54,"|",?55,$J($P($G(TIU("DAYS")),U,4),4),?60,"| ",$E($P($G(TIU("WARD")),U,2),1,18)
  • Line Location: HEADER+17
Function Call: WRITE
  • Prompt: !,TIULINE
  • Line Location: HEADER+18

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TIU(8925 - [#8925] HEADER+2
^TMP("TIULQ" FOOTER+6, HEADER+6, HEADER+11, HEADER+15, HEADER+16

Label References

Name Line Occurrences
$$AGE HEADER+4
$$DISPTYP HEADER+16
FOOTEXIT FOOTER+3, FOOTER+10
HEADER FOOTER+12
HEADERX HEADER+13

Naked Globals

Name Field # of Occurrence
^("E" HEADER+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
IOF FOOTER+11
IOSL FOOTER+3, FOOTER+4
IOST FOOTER+5, FOOTER+10, HEADER+5, HEADER+13
>> IOT FOOTER+4
TEXT DISPTYP~, DISPTYP+2, DISPTYP+3, DISPTYP+4, DISPTYP+5
TIU FOOTER~, FOOTER+12, HEADER~
TIU("AGE" HEADER+4*, HEADER+11
TIU("CLAIM" HEADER+11
TIU("DAYS" HEADER+17
TIU("DIV" HEADER+6
TIU("DOB" FOOTER+8, HEADER+4
TIU("EDT" HEADER+3
TIU("LDT" HEADER+3
TIU("MTYPE" HEADER+16
TIU("SEX" HEADER+11
TIU("SSN" FOOTER+8, HEADER+11
TIU("WARD" HEADER+17
TIUADT HEADER+1~, HEADER+3*, HEADER+4
>> TIUCONT FOOTER+3*, FOOTER+10*, FOOTEXIT+1
TIUCOPY FOOTER~, FOOTER+9
TIUDA FOOTER~, FOOTER+6, FOOTER+12, HEADER~, HEADER+2, HEADER+6, HEADER+11, HEADER+15, HEADER+16
TIUDOB AGE~, AGE+1
TIUDT AGE~, AGE+1
TIUENTDT HEADER+1~, HEADER+2*, HEADER+3
TIUFLAG FOOTER~, FOOTER+12, HEADER~, HEADER+5
TIUHDR FOOTER~, FOOTER+12
TIULINE HEADER+1~*, HEADER+8, HEADER+12, HEADER+18
TIUPAGE FOOTER~, FOOTER+12, HEADER~, HEADER+7, HEADER+13, HEADERX+1*
TIUY FOOTER+3, DISPTYP+1~, DISPTYP+2*, DISPTYP+3*, DISPTYP+4*, DISPTYP+5*, DISPTYP+6
U HEADER+6, HEADER+11, HEADER+16, HEADER+17
Y AGE+1~*, AGE+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All