PXVIMM ADMIN ROUTE (3657)    REMOTE PROCEDURE (8994)

Name Value
NAME PXVIMM ADMIN ROUTE
TAG IMMROUTE
ROUTINE PXVRPC2
RETURN VALUE TYPE ARRAY
DESCRIPTION
Returns entries from the IMM ADMINISTRATION ROUTE file (920.2).
INPUT PARAMETER
  • FILTER
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Filter. Possible values are:
     
    Defaults to "S:B".
       R:XXX - Return entry with IEN XXX.
       H:XXX - Return entry with HL7 Code XXX.
       N:XXX - Return entry with #.01 field equal to XXX
       S:X   - Return all entries with a status of X.
               Possible values of X:
                  A - Active Entries
                  I - Inactive Entries
                  B - Both active and inactive entries
    
  • PXVSITES
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Controls if the available sites for a give route are returned.
    
RETURN PARAMETER DESCRIPTION
PXVRSLT(0)=Count of elements returned (0 if nothing found)
   o If all sites are selectable for a route, the RPC will return:
       PXVRSLT(n+1)=SITE^ALL
   o If no sites are selectable for a route, the RPC will return:
       PXVRSLT(n+1)=SITE^NONE
equal 0, and there will be no data returned in the subsequent subscripts.
PXVRSLT(n)=IEN^Name^HL7 Code^Status (1:Active, 0:Inactive)
 
If PXVSITES=1, the sites for a given route will also be returned.
   o If only a subset of sites are selectable for a route, that list will
     be returned in:
       PXVRSLT(n+1)=SITE^Site IEN 1
       PXVRSLT(n+2)=SITE^Site IEN 2
       PXVRSLT(n+x)=SITE^Site IEN x