PXVIMM VICR EVENTS (3664)    REMOTE PROCEDURE (8994)

Name Value
NAME PXVIMM VICR EVENTS
TAG GETVICR
ROUTINE PXVRPC5
RETURN VALUE TYPE ARRAY
DESCRIPTION
Returns "active" entries from the V IMM CONTRA/REFUSAL EVENTS file 
(#9000010.707) that are related to the given patient and immunization.
"Active" is defined as entries where the Event Date and Time is <= 
PXDATE@24 and the Warn Until Date is null or>= PXDATE.
INPUT PARAMETER
  • DFN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Pointer to file #2.
    
  • PXVIMM
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Pointer to #9999999.14.
    
  • PXDATE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Used to determine if entry is "active" (Optional; Defaults to TODAY)
    Possible values are:
       "L": Return a caret-delimited list of entries.
       "W": Returns a warning message.
    
  • PXFORMAT
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Format that return array should be returned (Optional; Defaults to "L")
    Possible values are: 
       "L": Return a caret-delimited list of entries.
       "W": Returns a warning message.
    
RETURN PARAMETER DESCRIPTION
PXRSLT(0)=Count of elements returned (0 if nothing found)
If PXFORMAT="L":
   PXRSLT(n)="VICR" ^ V IMM Contra/Refusal Events IEN ^ Visit IEN ^
             Contra/Refusal variable pointer | Contra/Refusal Name ^
             Immunization IEN | Name ^ Warn Until Date ^ D/T Recorded ^
             Event D/T ^ Encounter Provider IEN | Name
   PXRSLT(n)="COM" ^ Comments
If PXFORMAT["W":
   PXRSLT(n)=Warning text