
| 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 | 
  | 
| 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
 |