GMV PTSELECT (1278)    REMOTE PROCEDURE (8994)

Name Value
NAME GMV PTSELECT
TAG RPC
ROUTINE GMVRPCP
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON TRUE
DESCRIPTION
Used as a method of processing a patient DFN and returning all warnings 
and notices (i.e. sensitivity or same last 4 of SSN) to the client 
application for processing.  Also includes a call to log access of 
sensitive patients to the DG SECURITY LOG file.
INPUT PARAMETER
  • OPTION
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Contains the appropriate method to perform within this RPC call.
     
    Options are:
      SELECT: Performs a select of the supplied DFN (param 3) and returns the 
              notices and warnings for the DFN
     
      LOGSEC: Logs a security entry in the DG SECURITY LOG file.
    
  • DFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   12
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Contains the DFN of the patient to process in the SELECT or LOGSEC method 
    of param 1.
    
  • DATA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   80
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Used to pass in the option name to DGSEC when logging against the DG 
    SECURITY LOG file.
    
RETURN PARAMETER DESCRIPTION
RESULTS(0)   =Success or failure flag (-1 or 1) from both SELECT & LOGSEC 
              methods
RESULTS(1..n)=Messages to process by the client from the SELECT method.