TIU DOCUMENT ACTION DISPLAY (5303)    PROTOCOL (101)

View in ViViaN Menu
Name Value
NAME TIU DOCUMENT ACTION DISPLAY
ITEM TEXT DOCUMENT ACTION ANCILLARY DATA DISPLAY
ITEM
PACKAGE TEXT INTEGRATION UTILITIES
DESCRIPTION
This protocol allows subscribing packages to display an onscreen message 
 DOC IEN: internal entry number of the document in the TIU DOCUMENT file 
          (#8925)
 DOC NAME: name of the document in the TIU DOCUMENT DEFINITION file 
           (#8925.1)
 
^TMP("TIUDOCDIS",$J,"ACTION")=ACTION
 ACTION: the action taken on the document; either "DELETE", "RETRACT" or 
         "REASSIGN"
 
Place the text to display in the ^TMP global with the following structure:
to TIU users when a document is deleted, retracted or reassigned.
 
^TMP("TIUDOCDIS",$J,"MESSAGES",DISPLAY)=LINE COUNT
  DISPLAY: the display name of the package as it should appear to the 
           user; for example, "Women's Health"
  LINE COUNT: total number of lines to display to the user
 
^TMP("TIUDOCDIS",$J,"MESSAGES",DISPLAY,N)=TEXT
  N: line number of text, starting at one and incrementing by one
  TEXT: the line of text to display. The subscriber is responsible for
        ensuring that the length is not more than 80 characters as TIU 
 
        will not wrap the text that is displayed. When the text is
        displayed in the CPRS GUI, it will wrap depending on the screen
        size of the user's display; subscribers should not assume that how
        the text is displayed in a roll and scroll environment is how it
        will appear in a GUI environment.
The following data is available to subscribers:
^TMP("TIUDOCDIS",$J,"PATIENT")=DFN
 DFN: internal entry number of the patient in the PATIENT file (#2)
^TMP("TIUDOCDIS",$J,"VISIT")=VISIT
 VISIT: internal entry number of the visit in the VISIT file (#9000010)
^TMP("TIUDOCDIS",$J,"DOCUMENT")=DOC IEN^DOC NAME
TYPE extended action
CREATOR USER,SIXTYFIVE
TIMESTAMP 2020-06-24 12:14:00