Select the objects that you wish to see in the downloaded PDF
Info Source Call Graph Caller Graph Entry Points External References Used in RPC FileMan Files Accessed Via FileMan Db Call Global Variables Directly Accessed Label References Naked Globals Local Variables
; Has Author signed?
; if TIUY =
; 0 = Author has NOT signed & TIUUSR = Expected Cosigner
; 1 = Author HAS signed or TIUUSR '= Expected Cosigner
WHATACT(TIUY,TIUDA)
; Evaluate/return whether signature or cosignature
CANATTCH(TIUY,TIUDA)
; Can this document be attached as an ID Child
USRINACT(TIUY,TIUDA)
; Is user inactive?
TIUVISIT(TIUY,DOCTYP,DFN,VISIT)
; Check for a 1 time only doc
; TIUY = return value
; = 0 if can add more than one or none already exist
; = 1 if cannot add more than one and one already exists
; DOCTYP = Pointer to ^TUI(8925.1, TIU DOCUMENT DEFINITION
; DFN = Patient IEN
; VISIT = Visit String "LOC;VDATE;VTYP"
GETTITLE(TIUY,TIUDA)
; Get the title from a TIU Document Record
CANRCV(TIUY,TIUDA)
; Can this document receive an ID Child?
NEEDCS(TIUDA)
; Does user need a cosigner?
URGENCY(TIUY)
; -- retrieve set values from dd for discharge summary urgency
CANCHCOS(TIUY,TIUDA)
; Evaluate/return whether user can change cosigner
REQCOS(TIUY,TIUTYP,TIUDA,TIUSER,TIUDT)
; Evaluate cosignature requirement
; Initialize return value