ORWTIU SVPASTE (4412)    REMOTE PROCEDURE (8994)

Name Value
NAME ORWTIU SVPASTE
TAG SVPASTE
ROUTINE ORWTIU
RETURN VALUE TYPE ARRAY
DESCRIPTION
Saves pasted text to the copy/paste tracking paste file.
INPUT PARAMETER
  • ORTXT
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    ORTXT - Array containing data to be saved into the copy/paste tracking
                     OR   = CPRS (#100)
                     ???  = Other packages to be determined
                     If only IEN is received (single data piece),
                        will assume TIU Note IEN by default 
            Piece 4: Copy from IEN;Package (1230;GMRC)
                     GMRC = Consults (#123)
                     TIU  = Text Integration Utilities (#8925)
                     OR   = CPRS (#100)
                     OUT  = Outside of application
                     ???  = Other packages to be determined
            paste file
            Piece 5: Percent match between copied text and pasted text
            Piece 6: Capturing package (Package prefix (^DD(9.4,1))
            Piece 7: Capturing application
            Piece 8: Edited Note IEN (Only if contains previous pasted text.
                        Send -1 otherwise.)
          ORTXT(1..n,0,1..n)="Copied text" (Only if not 100% matched by Pasted)
          ORTXT(1..n,1..n)="Pasted text"
        Components of ORTXT:
          ORTXT(1..n,0)="dfn^dt^ien;pkg^capturepkg^Copied text"
            Piece 1: Input User DUZ
            Piece 2: Paste date/time (Fileman format "YYYMMDD.HHMMSS")
            Piece 3: Pasted to location (IEN;Package)
                     GMRC = Consults (#123)
                     TIU  = Text Integration Utilities (#8925)
    
  • DIV
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This is a pointer to the Institution (#4) file.
    
RETURN PARAMETER DESCRIPTION
ARY(0,0) - Total number of unique entries
   Piece 5: Copy from document author (duz;name(last,first m))
   Piece 6: Copy from Patient (dfn;name(last,first m))
   Piece 7: Percent match between copied text and pasted text
   Piece 8: Blank
   Piece 9: Capturing Application
   Piece 10: Date/Time of the copy from document
   Piece 11: Saved Paste IEN
   Piece 12: Parent IEN
                  Or
             Error condition "-1^Error Msg"
 
ARY(1..n,0) - 
   Piece 1: Date/Time of the paste
   Piece 2: User who pasted text
   Piece 3: Copy from location (ien;file)
   Piece 4: Copy from document title