PXRMRPCG GENFVALD (4406)    REMOTE PROCEDURE (8994)

Name Value
NAME PXRMRPCG GENFVALD
TAG GENFVALD
ROUTINE PXRMRPCG
RETURN VALUE TYPE ARRAY
AVAILABILITY AGREEMENT
INACTIVE ACTIVE
APP PROXY ALLOWED No
DESCRIPTION
Validate 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 validation status.
  N is a whole number starting at one and increments by one
  "Validation message" is a line of text suitable for display to the user
  This is only returned when RETURN(0)=-1
 
RETURN(0)=Validation status
  Value
=============
 1 to denote the data is valid
 -1 to denote the data is not valid
 
RETURN(N)=Validation message