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

Package: Text Integration Utility

Routine: TIUSRVP1


Information

TIUSRVP1 ; SLC/JER - More API's in support of PUT ;11-Sep-2012 13:00;DU

Source Information

Source file <TIUSRVP1.m>

Call Graph

Call Graph Total: 19

Package Total Call Graph
Text Integration Utility 14 (IDDEL,SENDID)^TIUALRT1  $$CLASS^TIUCP  AUDLINK^TIUGR1  $$REQVER^TIULC  ($$DOCCLASS,$$ISADDNDM,$$PERSNAME,$$PNAME,DOCPRM)^TIULC1  ($$PERSPRF,SETPARM)^TIULE  $$EMPTYDOC^TIULF  PATVADPT^TIULV  
($$ISA,$$ISDS)^TIULX  $$WHATITLE^TIUPUTU  $$PROVIDER^TIUPXAP1  $$DFLTDOC^TIUPXAPI  REQCOS^TIUSRVA  FILE^TIUSRVP  
VA Fileman 2 ^DIC  ^DIE  
Authorization Subscription 1 $$ISA^USRLM  
IHS Electronic Health Record 1 $$FNDVIS^BEHOENCX  
Kernel 1 $$NOW^XLFDT  

Caller Graph

Caller Graph Total: 11

Package Total Caller Graph
Text Integration Utility 7 TIUEDI4  TIUEDITR  TIUGEDIT  TIUHL7U2  TIURC1  TIUSRVP  TIUSRVP2  
Surgery 2 SROESPR  SROESX  
Care Management 1 ORRCTIU  
Order Entry Results Reporting 1 ORWPCE2  

Entry Points

Name Comments DBIA/ICR reference
SITEPARM(TIUY) ; Get site parameters for GUI
ISAPROV(TIUY,USER,DATE) ; Is user a provider?
; Checks USR CLASS PROVIDER AND 200 Person Class
; DATE must not include time (for ISA^USRLM)
STATUX
STUFREC(TIUDA,TIUREC,DFN,PARENT,TITLE,TIU) ; load TIUREC for create
DEFDOC(TIUY,HLOC,USER,TIUDT,TIUIEN) ; Get default primary provider
CURDOC(USER,TIUDT) ; Is the current user a known Provider?
USRPROV(TIUY,USER,DATE) ; Is USER a USR CLASS provider?
; Checks USR CLASS PROVIDER only
; DATE must not include time
DOCPARM(TIUY,TIUDA,TIUTYP) ; Get document parameters for GUI
EVENT(TIUY,DFN) ; Create an Event-type Visit Entry
GETPNAME(TIUY,TIUTYPE) ; Get Print Name of a Document
IDDTCH(TIUY,TIUDA) ; Detach TIUDA from its ID Parent
CANDEL(TIUDA) ; Boolean function to evaluate delete request
IDATTCH(TIUY,TIUDA,TIUDAD) ; Attach TIUDA as ID Child entry to TIUDAD
STATUS(TIUDA,SUPPRESS,TITLE) ; Compute the status of the current record
CONSTUB(TIUDA,GMRCVP,DFN) ; Create a stub for a Consult Report
REFDT(TIUX) ; Hack Ref Date/time for DS's
STUB(TIUDA,TIUTITL,DFN) ; Create a stub
SAVED(TIUY,TIUDA) ; Was the document committed to the database?

External References

Name Field # of Occurrence
$$FNDVIS^BEHOENCX EVENT+16
^DIC STUB+6
^DIE CONSTUB+5, STUB+10
IDDEL^TIUALRT1 IDDTCH+8
SENDID^TIUALRT1 IDATTCH+5
$$CLASS^TIUCP STUFREC+4
AUDLINK^TIUGR1 IDATTCH+4, IDDTCH+7
$$REQVER^TIULC STATUS+9
$$DOCCLASS^TIULC1 STUB+9, STUFREC+24
$$ISADDNDM^TIULC1 STATUS+4
$$PERSNAME^TIULC1 CURDOC+5
$$PNAME^TIULC1 GETPNAME+1
DOCPRM^TIULC1 DOCPARM+3, STATUS+7
$$PERSPRF^TIULE EVENT+13
SETPARM^TIULE SITEPARM+2
$$EMPTYDOC^TIULF CANDEL+1
PATVADPT^TIULV EVENT+9
$$ISA^TIULX STUFREC+4
$$ISDS^TIULX STUFREC+35
$$WHATITLE^TIUPUTU STUB+2
$$PROVIDER^TIUPXAP1 CURDOC+4, ISAPROV+5
$$DFLTDOC^TIUPXAPI DEFDOC+7
REQCOS^TIUSRVA STUFREC+6
FILE^TIUSRVP IDATTCH+3, IDDTCH+6
$$ISA^USRLM USRPROV+6
$$NOW^XLFDT STUB+9, STUFREC+33, STUFREC+34

Used in RPC

RPC Name Call Tags
TIU GET DOCUMENT PARAMETERS DOCPARM
TIU GET DEFAULT PROVIDER DEFDOC
TIU GET SITE PARAMETERS SITEPARM
TIU IS USER A PROVIDER? ISAPROV
TIU GET PRINT NAME GETPNAME
TIU WAS THIS SAVED? SAVED
TIU ID ATTACH ENTRY IDATTCH
TIU ID DETACH ENTRY IDDTCH
TIU IS USER A USR PROVIDER USRPROV

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] EVENT+5
^SC - [#44] EVENT+10, EVENT+15
^TIU(8925 - [#8925] DEFDOC+4, DOCPARM+1, SAVED+2, SAVED+4, SAVED+6, SAVED+8, SAVED+10, STUFREC+15, STUFREC+16, STUFREC+20
, STUFREC+21, STUFREC+22, STUFREC+23, STATUS+5, STATUS+6, IDDTCH+2, IDDTCH+4, CANDEL+1

Label References

Name Line Occurrences
$$CURDOC DEFDOC+7
$$STATUS STUFREC+5
EVENT STUB+7
REFDT STUFREC+38
SITEPARM DEFDOC+2
STATUX STATUS+8
STUB CONSTUB+2

Naked Globals

Name Field # of Occurrence
^(0 STATUS+5
^(13 SAVED+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DA CONSTUB+1~, CONSTUB+4*, STUB+1~, STUB+8*
DATE ISAPROV~, ISAPROV+4*, ISAPROV+5, USRPROV~, USRPROV+5*, USRPROV+6
DFN CONSTUB~, CONSTUB+2, STUB~, STUB+7, STUB+9, EVENT~, EVENT+5, EVENT+9, EVENT+16, STUFREC~
, STUFREC+8
DGPM EVENT+4~, EVENT+5*, EVENT+9
DIC STUB+1~, STUB+4*, STUB+8
DIC(0 STUB+4*
DIE CONSTUB+1~, CONSTUB+4*, STUB+1~, STUB+8*
DLAYGO STUB+1~, STUB+4*
DR CONSTUB+1~, CONSTUB+4*, STUB+1~, STUB+9*
DT DEFDOC+6, CURDOC+3, ISAPROV+4, USRPROV+5
DUZ DEFDOC+5, CURDOC+2, ISAPROV+3, USRPROV+4, EVENT+11, EVENT+13, SAVED+4, SAVED+6, SAVED+8, SAVED+10
, STUFREC+6, STUFREC+29, STUFREC+41
GMRCVP CONSTUB~
HLOC DEFDOC~, DEFDOC+7
IDDAD IDDTCH+1~, IDDTCH+4*, IDDTCH+7
IDX EVENT+12~, EVENT+14*, EVENT+15
PARENT STUFREC~, STUFREC+7, STUFREC+14, STUFREC+15, STUFREC+16, STUFREC+18, STUFREC+20, STUFREC+21, STUFREC+22, STUFREC+23
SUPPRESS STUFREC+5, STATUS~, STATUS+8
TITLE STUFREC~, STUFREC+4, STUFREC+5, STUFREC+6, STUFREC+24, STUFREC+35, STATUS~, STATUS+6*, STATUS+7
TIU STUB+7, STUFREC~
TIU("AD#" STUFREC+11
TIU("CAT" STUFREC+25
TIU("EDT" STUFREC+10, STUFREC+18
TIU("INST" STUFREC+30
TIU("LDT" STUFREC+10, STUFREC+19, STUFREC+36, REFDT+1
TIU("LOC" STUFREC+31
TIU("SVC" STUFREC+13
TIU("TS" STUFREC+12
TIU("VISIT" STUB+9, EVENT+17*, STUFREC+8
TIU("VLOC" STUFREC+32
TIU("VSTR" STUB+7, STUFREC+25
TIUAUT SAVED+1~, SAVED+3*, SAVED+6, SAVED+8
TIUAUTH DEFDOC+1~, DEFDOC+4*, DEFDOC+5
TIUCPF STUFREC+1~, STUFREC+4*, STUFREC+29, STUFREC+41
TIUD12 SAVED+1~, SAVED+2*, SAVED+3
TIUD13 SAVED+1~, SAVED+2*, SAVED+3
TIUDA DOCPARM~, DOCPARM+1, DOCPARM+3, CONSTUB~, CONSTUB+2, CONSTUB+3, CONSTUB+4, STUB~, STUB+3*, STUB+6*
, STUB+7*, STUB+8, SAVED~, SAVED+2, SAVED+4, SAVED+6, SAVED+8, SAVED+10, STUFREC~, STUFREC+5
, STATUS~, STATUS+4, STATUS+5*, STATUS+6, STATUS+7, STATUS+9, IDATTCH~, IDATTCH+3, IDATTCH+4, IDATTCH+5
, IDDTCH~, IDDTCH+2, IDDTCH+3, IDDTCH+4, IDDTCH+6, IDDTCH+7, IDDTCH+8, CANDEL~, CANDEL+1
TIUDAD IDATTCH~, IDATTCH+2, IDATTCH+4
TIUDDOC DEFDOC+1~, DEFDOC+3*, DEFDOC+7
TIUDPRM STATUS+1~, STATUS+7
TIUDPRM(0 STATUS+8, STATUS+9
TIUDT DEFDOC~, DEFDOC+6*, CURDOC~, CURDOC+3*, CURDOC+4
TIUEBY SAVED+1~, SAVED+3*, SAVED+6
TIUECS SAVED+1~, SAVED+3*, SAVED+10
TIUERR USRPROV+3~, USRPROV+6
TIUFPRIV STUB+1~*
TIUIEN DEFDOC~, DEFDOC+4
TIUPREF EVENT+12~, EVENT+13*, EVENT+14
TIUPRM0 SITEPARM+1~, SITEPARM+3
TIUPRM1 SITEPARM+1~
TIUPROV CURDOC+1~, CURDOC+4*, CURDOC+5
TIUREC STUFREC~, STUFREC+38
TIUREC( STUFREC+8*, STUFREC+9*, STUFREC+10*, STUFREC+15*, STUFREC+16*, STUFREC+17*, STUFREC+18*, STUFREC+19*, STUFREC+24*, STUFREC+26*
, STUFREC+36*, STUFREC+37*
TIUREC(1201 STUFREC+33*
TIUREC(1202 STUFREC+6, STUFREC+29*
TIUREC(1204 STUFREC+29*, STUFREC+42
TIUREC(1205 STUFREC+31*
TIUREC(1208 STUFREC+42
TIUREC(1211 STUFREC+32*
TIUREC(1212 STUFREC+30*
TIUREC(1301 STUFREC+34*
TIUREC(1302 STUFREC+41*
TIUREC(1303 STUFREC+41*
TIUREC(1401 STUFREC+11*, STUFREC+20*
TIUREC(1402 STUFREC+12*, STUFREC+21*
TIUREC(1404 STUFREC+13*, STUFREC+22*
TIUREC(1405 STUFREC+23*
TIUREC(1506 STUFREC+42*
TIUREQCS STUFREC+1~, STUFREC+6, STUFREC+42
TIUSCAT STUFREC+1~, STUFREC+25*, STUFREC+26
TIUSPRM DEFDOC+1~, DEFDOC+2, DEFDOC+3
TIUSTAT STUFREC+1~, STUFREC+5*, STUFREC+9, STUFREC+17
TIUTITL STUB~, STUB+2*, STUB+3, STUB+5, STUB+9
TIUTYP DOCPARM~, DOCPARM+1*, DOCPARM+2, DOCPARM+3
TIUTYPE GETPNAME~, GETPNAME+1
TIUVSIT STUB+1~
TIUX REFDT~, IDATTCH+1~, IDATTCH+3, IDDTCH+1~, IDDTCH+6
TIUX(1301 REFDT+1*
TIUX(2101 IDATTCH+2*, IDDTCH+5*
TIUY SITEPARM~, SITEPARM+3*, DEFDOC~, DEFDOC+7*, CURDOC+1~*, CURDOC+5*, CURDOC+6, ISAPROV~, ISAPROV+5*, USRPROV~
, USRPROV+5*, USRPROV+6*, DOCPARM~, DOCPARM+3, DOCPARM+4, EVENT~, EVENT+9, GETPNAME~, GETPNAME+1*, SAVED~
, SAVED+1*, SAVED+5*, SAVED+7*, SAVED+9*, SAVED+11*, STATUS+1~, STATUS+8*, STATUS+9*, STATUX, IDATTCH~
, IDATTCH+3, IDDTCH~, IDDTCH+3*, IDDTCH+6
TIUY("LOC" EVENT+10*, EVENT+11, EVENT+15*
TIUY(0 DOCPARM+2*, DOCPARM+4*
U DEFDOC+3, DEFDOC+4, CURDOC+5, STUB+9, EVENT+10, EVENT+14, EVENT+15, SAVED+3, STUFREC+8, STUFREC+10
, STUFREC+11, STUFREC+12, STUFREC+13, STUFREC+15, STUFREC+16, STUFREC+18, STUFREC+19, STUFREC+20, STUFREC+21, STUFREC+22
, STUFREC+23, STUFREC+25, STUFREC+30, STUFREC+31, STUFREC+32, STUFREC+34, STATUS+5, STATUS+8, STATUS+9, CANDEL+1
USER DEFDOC~, DEFDOC+4, DEFDOC+5*, DEFDOC+7, CURDOC~, CURDOC+2*, CURDOC+4, CURDOC+5, ISAPROV~, ISAPROV+3*
, ISAPROV+5, USRPROV~, USRPROV+4*, USRPROV+6
>> VDT EVENT+16
VIEN EVENT+4~, EVENT+16*, EVENT+17
>> VLOC EVENT+10, EVENT+16
>> VSTR EVENT+9
X STUB+1~, STUB+5*
Y STUB+1~, STUB+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All