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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: TIUCOP

Package: Text Integration Utility

Routine: TIUCOP


Information

TIUCOP ;SLC/TDP - Copy/Paste API(s) and RPC(s) ;Jul 29, 2020@10:13:01

Source Information

Source file <TIUCOP.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Text Integration Utility 5 GETPST^TIUCOP1  ($$PUTCOPY,GETCOPY)^TIUCOPC  ($$CHKPASTE,$$PUTPASTE,GETPASTE)^TIUCOPP  ERMSG^TIUCOPUT  ANCESTOR^TIUFLF4  
VA FileMan 3 ^%DTC  $$FIND1^DIC  ^DIK  
Kernel 2 ^%ZTLOAD  ($$DT,$$FMADD)^XLFDT  
Authorization Subscription 1 $$ISA^USRLM  
Toolkit 1 $$GET^XPAR  

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

Package Total Caller Graph
Text Integration Utility 4 TIUCOPC  TIUCOPP  TIUCOPR  TIURB2  
Order Entry Results Reporting 1 ORWTIU  

Entry Points

Name Comments DBIA/ICR reference
WORDS(INST) ;Return the number of words required to begin tracking
; copied text as part of the Copy/Paste functionality.
MAXLNG() ;Return the Maximum length string we will recalculate percentage
PCT(INST) ;Return the Copy/Paste verification percentage
; Call using $$PCT^TIUCOP(INSTITUTION IEN)
DAYS(INST) ;Return the number of days to save copied text information
; Call using $$DAYS^TIUCOP(INSTITUTION IEN)
EXC(TIUDA) ;Return whether or not note is excluded from copy/paste tracking
; Call using $$EXC^TIUCOP(TIU IEN)
EXCLST(TIULST) ;Returns a list of all copy/paste excluded note titles
VIEW(USER,IEN,INST) ;Is user allowed to view copy/paste
; Call using $$VIEW^TIUCOP(USER DUZ,TIU (NOTE) IEN,INSTITUTION)
; RSLT=
; 0 - User is not allowed to view copy/paste information
; 1 - User is AUTHOR and note is UNSIGNED, or user is COSIGNER who has yet to
; SIGN the note.
; 2 - User has a user class of "CHIEF, MIS", or "CHIEF, HIMS",
; or "PRIVACY ACT OFFICER", or one of the user classes designated
; at the site.
PUTCOPY(INST,ARY,ERR) ;Save to copy buffer
GETCOPY(INST,DFN,ARY,STRT) ;Retrieve copy buffer
GETCOPY1 ;Retrieve copy buffer in background
CHKPASTE(INST,DOC) ;Check note document for pasted text data
PUTPASTE(RSLT,INST,ARY,ERR) ;Save pasted text SVARY
GETPASTE(TIUIEN,INST,APP,ARY) ;Retrieve pasted text
START(VAL,DFN,IP,HWND,DIV) ;Start copy buffer build in background
POLL(LST,DFN,IP,HWND) ; poll for completed cover sheet parts
STOP(OK,DFN,IP,HWND) ; stop cover sheet data retrieval
CLEAN(TASK) ;Start CLEANUP background process
CLEANUP ; clean up ^XTMP nodes
DELPST(NOTE) ;Delete pastes associated with a deleted note

External References

Name Field # of Occurrence
^%DTC CLEANUP+9, CLEANUP+18
^%ZTLOAD START+11, CLEAN+6
$$FIND1^DIC WORDS+16, PCT+15, DAYS+14
^DIK DELPST+5
GETPST^TIUCOP1 PUTPASTE+9
$$PUTCOPY^TIUCOPC PUTCOPY+3
GETCOPY^TIUCOPC GETCOPY+3, GETCOPY1+11
$$CHKPASTE^TIUCOPP CHKPASTE+2
$$PUTPASTE^TIUCOPP PUTPASTE+5
GETPASTE^TIUCOPP GETPASTE+2
ERMSG^TIUCOPUT WORDS+21, PCT+20, DAYS+19
ANCESTOR^TIUFLF4 EXC+21
$$ISA^USRLM VIEW+19, VIEW+24
$$DT^XLFDT START+4, CLEAN+3, CLEANUP+2
$$FMADD^XLFDT START+10
$$GET^XPAR MAXLNG+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,X
  • Line Location: CLEANUP+11
Routine Call
  • DIC
  • Line Location:
    • WORDS+16
    • PCT+15
    • DAYS+14

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(4 - [#4] FIND1^DIC
^TIUP(8928 - [#8928] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TIU(8925 - [#8925] EXC+15, EXC+16, VIEW+27, VIEW+28
^TIU(8925.1 - [#8925.1] EXC+17, EXC+18, EXC+20, EXCLST+4, EXCLST+12, EXCLST+14, EXCLST+15
^TIU(8925.95 - [#8925.95] EXC+26, EXC+28, EXCLST+3
^TIU(8925.99 - [#8925.99] WORDS+18, WORDS+20, PCT+17, PCT+19, DAYS+16, DAYS+18, VIEW+21, VIEW+22, VIEW+23
^TIUP(8928 - [#8928] DELPST+4
^XTMP( GETCOPY1+6!, GETCOPY1+7, GETCOPY1+8, GETCOPY1+9*, GETCOPY1+12, GETCOPY1+21*, GETCOPY1+24*, GETCOPY1+25*, GETCOPY1+26!, GETCOPY1+27
, START+9!, START+10*, START+12!, START+14*, POLL+3, POLL+4, POLL+6, POLL+7, POLL+12, POLL+15
, POLL+16, POLL+17, POLL+22!, POLL+23, POLL+25!, STOP+4*, STOP+5, STOP+6!, STOP+7, CLEANUP+5
CLEANUP+8, CLEANUP+10!, CLEANUP+14, CLEANUP+17, CLEANUP+20!

Naked Globals

Name Field # of Occurrence
^( POLL+20

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%Y CLEANUP+1~, CLEANUP+6*, CLEANUP+15*
APP GETPASTE~, GETPASTE+2
ARY PUTCOPY~, PUTCOPY+3, GETCOPY~, GETCOPY+3, GETCOPY1+4~, GETCOPY1+10*, GETCOPY1+11, GETCOPY1+24, PUTPASTE~, PUTPASTE+5
, GETPASTE~, GETPASTE+2
ARY( GETCOPY1+16, GETCOPY1+17, GETCOPY1+21, GETCOPY1+22!
ARY(0 GETCOPY1+13, GETCOPY1+24!
AUTH VIEW+9~, VIEW+29*, VIEW+32
AUTHSGN VIEW+9~, VIEW+30*, VIEW+32
CHIM VIEW+9~, VIEW+16*, VIEW+18
CLDOC EXC+11~, EXC+20*, EXC+23, EXC+25, EXC+29
CMIS VIEW+9~, VIEW+15*, VIEW+18
CNT EXCLST+1~, EXCLST+2*, EXCLST+7*, EXCLST+8, EXCLST+16*, EXCLST+17, GETCOPY1+14~, GETCOPY1+15*, GETCOPY1+20*, GETCOPY1+21
, PUTPASTE+12~, PUTPASTE+13*, PUTPASTE+15*, PUTPASTE+16
CNTR PUTPASTE+1~, PUTPASTE+6*, PUTPASTE+7, PUTPASTE+8
COSGNSGN VIEW+9~, VIEW+35*, VIEW+36
COSIGN VIEW+9~, VIEW+33*, VIEW+34, VIEW+36
DA DELPST+1~, DELPST+3*, DELPST+4*
DAYS DAYS+11~, DAYS+18*, DAYS+19*, DAYS+20
DFN GETCOPY~, GETCOPY+3, GETCOPY1+9, GETCOPY1+11, START~, START+5, POLL~, POLL+2, POLL+4, STOP~
, STOP+3
DIK DELPST+1~, DELPST+2*
>> DILOCKTM GETCOPY1+8, STOP+5
DIV GETCOPY1+11, PUTPASTE+1~, PUTPASTE+7*, PUTPASTE+9, START~, START+2*
DOC CHKPASTE~, CHKPASTE+2
DOCCLS EXCLST+1~, EXCLST+2*, EXCLST+3*, EXCLST+4, EXCLST+8, EXCLST+9, EXCLST+12, EXCLST+14
DOCIEN EXCLST+1~, EXCLST+13*, EXCLST+14*, EXCLST+15, EXCLST+16
DOCNM EXCLST+1~, EXCLST+15*, EXCLST+16
DOCTTL EXCLST+1~, EXCLST+11*, EXCLST+12*, EXCLST+14
DONE POLL+1~, POLL+2*, POLL+6*, POLL+16*, POLL+23*, POLL+25
DT START+1~, START+4*, START+10, CLEAN+1~, CLEAN+3*, CLEANUP+1~, CLEANUP+2*, CLEANUP+7, CLEANUP+16
DUZ(2 WORDS+14, PCT+13, DAYS+12, VIEW+13, PUTCOPY+2, GETCOPY+2, CHKPASTE+1, PUTPASTE+2, GETPASTE+1, START+2
ERR PUTCOPY~, PUTCOPY+3, PUTPASTE~, PUTPASTE+5
EX EXC+11~, EXC+12*, EXC+17, EXC+19, EXC+23, EXC+28*, EXC+29, EXC+30
FIN VIEW+9~, VIEW+11*, VIEW+18, VIEW+19*, VIEW+20, VIEW+22, VIEW+24*, VIEW+25
HIM VIEW+9~
HWND START~, START+5, POLL~, POLL+2, STOP~, STOP+3
I POLL+1~, POLL+15*, POLL+17, POLL+20, POLL+22
ID POLL+1~
IEN WORDS+13~, WORDS+18*, WORDS+19, WORDS+20, PCT+12~, PCT+17*, PCT+18, PCT+19, DAYS+11~, DAYS+16*
, DAYS+17, DAYS+18, EXC+11~, EXC+16*, EXC+17, EXC+18, EXC+21, EXC+23, EXC+24*, EXC+25
, EXC+26*, EXC+27, EXC+28, EXC+29*, VIEW~, VIEW+26, VIEW+27, VIEW+28
ILST POLL+1~, POLL+2*, POLL+6*, POLL+20*, POLL+21
INST WORDS~, WORDS+14*, WORDS+15, WORDS+16*, WORDS+17, WORDS+18, PCT~, PCT+13*, PCT+14, PCT+15*
, PCT+16, PCT+17, DAYS~, DAYS+12*, DAYS+13, DAYS+14*, DAYS+15, DAYS+16, VIEW~, VIEW+13*
, VIEW+14, VIEW+21, PUTCOPY~, PUTCOPY+2*, PUTCOPY+3, GETCOPY~, GETCOPY+2*, GETCOPY+3, CHKPASTE~, CHKPASTE+1*
, CHKPASTE+2, PUTPASTE~, PUTPASTE+2*, PUTPASTE+5, GETPASTE~, GETPASTE+1*, GETPASTE+2
INSTIEN VIEW+9~, VIEW+21*, VIEW+22, VIEW+23
IP START~, START+5, POLL~, POLL+2, STOP~, STOP+3
KILLDATE CLEANUP+1~, CLEANUP+6*, CLEANUP+15*
LAST POLL+1~, POLL+7*, POLL+10, POLL+12
LST POLL~
LST( POLL+20*
LST(1 POLL+3*, POLL+4*, POLL+5*, POLL+6*, POLL+16*, POLL+23*, POLL+26*
LSTDATA POLL+1~
MAX MAXLNG+1~, MAXLNG+2*, MAXLNG+3*, MAXLNG+4
MAXLNG WORDS+13~
ND GETCOPY1+14~, GETCOPY1+16*, GETCOPY1+17, GETCOPY1+18, GETCOPY1+19, GETCOPY1+21, GETCOPY1+22, PUTPASTE+12~, PUTPASTE+14*, PUTPASTE+16
, PUTPASTE+17
ND0 EXC+11~, EXC+18*, EXC+19, EXC+21
ND1 GETCOPY1+14~, GETCOPY1+17*, GETCOPY1+18, GETCOPY1+19, GETCOPY1+21, GETCOPY1+22, PUTPASTE+12~
NODE GETCOPY1+6, GETCOPY1+7, GETCOPY1+8, GETCOPY1+9, GETCOPY1+12, GETCOPY1+21, GETCOPY1+24, GETCOPY1+25, GETCOPY1+26, GETCOPY1+27
, START+1~, START+5*, START+9, START+10, START+12, START+14, POLL+1~, POLL+2*, POLL+3, POLL+4
, POLL+6, POLL+7, POLL+12, POLL+15, POLL+16, POLL+17, POLL+22, POLL+23, POLL+25, STOP+2~
, STOP+3*, STOP+4, STOP+5, STOP+6, STOP+7, CLEANUP+1~, CLEANUP+4*, CLEANUP+5*, CLEANUP+8, CLEANUP+10
NOTE DELPST~, DELPST+4
OK STOP~, STOP+4*
OLDI POLL+1~, POLL+14*
PAO VIEW+9~, VIEW+17*, VIEW+18
PCT PCT+12~, PCT+19*, PCT+20*, PCT+21
PIEN PUTPASTE+1~, PUTPASTE+8*, PUTPASTE+9
QT POLL+1~, POLL+14*, POLL+15, POLL+16*, POLL+17*, POLL+21*
RSLT PUTPASTE~
RSLT( PUTPASTE+10*, PUTPASTE+16*
RSLT("0,0" PUTPASTE+10*
RSLT1 PUTPASTE+1~, PUTPASTE+9, PUTPASTE+10
RSLT1( PUTPASTE+14, PUTPASTE+16, PUTPASTE+17!
RSLT1(0 PUTPASTE+10!, PUTPASTE+11
SAVE PUTCOPY+1~, PUTCOPY+3*, PUTCOPY+4, PUTPASTE+1~, PUTPASTE+3*, PUTPASTE+5*, PUTPASTE+18
STOP POLL+1~, POLL+9*, POLL+12*, POLL+13*, POLL+17
STRT GETCOPY~, GETCOPY+1*, GETCOPY+3, GETCOPY1+4~, GETCOPY1+10*, GETCOPY1+11
SVARY PUTPASTE+1~, PUTPASTE+4*, PUTPASTE+5
SVARY( PUTPASTE+6, PUTPASTE+7, PUTPASTE+8
SVARY(0 PUTPASTE+6
TASK CLEAN~, CLEAN+2*, CLEAN+7*
TIU12 VIEW+9~, VIEW+27*, VIEW+29, VIEW+33
TIU15 VIEW+9~, VIEW+28*, VIEW+30, VIEW+35
TIUDA EXC~, EXC+13, EXC+14, EXC+15, EXC+16
TIUIEN GETPASTE~, GETPASTE+2
TIULST EXCLST~
TIULST( EXCLST+8*, EXCLST+16*
TIULST("B" EXCLST+9*, EXCLST+16*, EXCLST+18!
TIULST(1 EXCLST+17*
TIUND0 EXCLST+1~, EXCLST+4*, EXCLST+6, EXCLST+8
TIUNMSPC CLEANUP+1~, CLEANUP+13*, CLEANUP+14*, CLEANUP+17, CLEANUP+20
TMP EXC+11~, EXC+21
TMP( EXC+23, EXC+24
U WORDS+20, PCT+19, DAYS+18, EXC+16, EXC+28, EXCLST+6, EXCLST+8, EXCLST+15, EXCLST+16, VIEW+23
, VIEW+29, VIEW+30, VIEW+33, VIEW+35, GETCOPY1+24, PUTPASTE+8, PUTPASTE+10, START+10, START+14, CLEANUP+8
CLEANUP+17
USER VIEW~, VIEW+12, VIEW+19, VIEW+24, VIEW+32, VIEW+36
USRCLS VIEW+10~, VIEW+18*, VIEW+19, VIEW+23*, VIEW+24
VAL START~, START+3*, START+13*, START+15*
WRDS WORDS+13~, WORDS+20*, WORDS+21*, WORDS+22
X EXC+11~, EXC+22*, EXC+23*, EXC+24, VIEW+10~, VIEW+22*, VIEW+23, GETCOPY1+14~, GETCOPY1+19*, GETCOPY1+21
CLEANUP+1~, CLEANUP+6*, CLEANUP+10, CLEANUP+15*, CLEANUP+20
X1 CLEANUP+1~, CLEANUP+6*, CLEANUP+7*, CLEANUP+15*, CLEANUP+16*
X2 CLEANUP+1~, CLEANUP+6*, CLEANUP+8*, CLEANUP+15*, CLEANUP+17*
Y CLEAN+1~, CLEAN+6
ZTDESC START+1~, START+8*, CLEAN+1~, CLEAN+5*
ZTDTH START+1~, START+6*, CLEAN+1~, CLEAN+4*
ZTIO START+1~, START+6*, CLEAN+1~, CLEAN+4*
>> ZTQUEUED GETCOPY1+5
>> ZTREQ GETCOPY1+5*
ZTRTN START+1~, START+6*, CLEAN+1~, CLEAN+4*
ZTSAVE START+1~, CLEAN+1~
ZTSAVE("DFN" START+7*
ZTSAVE("DIV" START+7*
ZTSAVE("HWND" START+7*
ZTSAVE("IP" START+7*
ZTSAVE("NODE" START+7*
ZTSK START+1~, START+11, START+14, CLEAN+1~, CLEAN+6, CLEAN+7
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Naked Globals |  Local Variables  | All