PXRMRPCG GENFUPD (4402)    REMOTE PROCEDURE (8994)

Name Value
NAME PXRMRPCG GENFUPD
TAG GENFUPD
ROUTINE PXRMRPCG
RETURN VALUE TYPE ARRAY
AVAILABILITY AGREEMENT
DESCRIPTION
Process general findings selected in a reminder dialog.
INPUT PARAMETER
  • DATA
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Array of general findings and patient identifiers.
            ================
             1      IEN in the HOSPITAL LOCATION file (#44)
             2      Encounter date/time in internal FileMan format
             3      Service category (refer to integration agreement #1889 
                    ADD/EDIT/DELETE PCE DATA SILENTLY for valid values)
     3      IEN in the TIU DOCUMENT file (#8925)
     
    DATA(XIEN,GROUP_ID,N)=Caret-delimited string
                          General finding data
        XIEN - 'R' followed by the IEN in the REMINDER DEFINITION file 
     
               (#811.9) of the reminder associated with the top-level dialog
               that contains this general finding or the IEN in the REMINDER
               DIALOG file (#801.41) of the top-level dialog that contains
               this general finding
        GROUP_ID - Value from the DATA GROUP field (#150) in the REMINDER
                   DIALOG file (#801.41) or '0' if that field is null
        N - the general finding number; starts at one and increments by one
     Piece  Value
    ================
     2      IEN in the REMINDER GENERAL FINDINGS file (#801.46)
    DATA(0)=Caret-delimited string
     X      The data value of this general finding
            Not all general findings have a data piece.
            To determine X, the remote procedure uses the following algorithm:
              1. Obtain the REMINDER GUI PROCESS file (#801.42) IEN from the 
                 PROMPT TYPE field (#6) in the REMINDER GENERAL FINDINGS file
                 (#801.46)
              2. Obtain the NAME field (#.01) value from the REMINDER GENERAL 
                 FINDINGS file (#801.46)
              3. Obtain the value of X from the array returned by the 
                 BLDPARR^PXRMRPCG line tag using the value from step #2 as the
            Patient identifiers
                 subscript of interest
     All other pieces are ignored.
      
    DATA(DIEN,GROUP_ID,"ID",N)=Caret-delimited string
                               General findings that contain record IDs
        XIEN - 'R' followed by the IEN in the REMINDER DEFINITION file 
               (#811.9) of the reminder associated with the top-level dialog
               that contains this general finding or the IEN in the REMINDER
               DIALOG file (#801.41) of the top-level dialog that contains
               this general finding
     Piece  Value
        GROUP_ID - Value from the DATA GROUP field (#150) or '0' if that
                   field is null
        N - the general finding number; starts at one and increments by one
     Piece  Value
    ================
     1      IEN of the general finding in the REMINDER GENERAL FINDINGS
            file (#801.46)
     2      Record ID
    ================
     1      Internal entry number (IEN) in the PATIENT file (#2)
     2      CPRS visit string (semi-colon-delimited)
             Piece  Value
    
RETURN PARAMETER DESCRIPTION
Array containing the status of calling this remote procedure.
 
RETURN(1)=Caret-delimited string
 Piece  Value
================
 1      1 to denote that the call was successful
        -1 to denote that an error occurred
 2      "" if no error occurred
        ERROR MESSAGE if an error occurred