PXVIMM IMM SHORT LIST (3665)    REMOTE PROCEDURE (8994)

Name Value
NAME PXVIMM IMM SHORT LIST
TAG IMMSHORT
ROUTINE PXVRPC4
RETURN VALUE TYPE ARRAY
DESCRIPTION
Returns a short list of immunizations.
INPUT PARAMETER
  • FILTER
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Filter (Optional; Defaults to "B")
    Possible values are: ;               
       "A": Only return active entries
       "H": Only return entries marked as Selectable for Historic
       "B": Return both active entries and those marked as Selectable for
            Historic
    
  • PXDATE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Date (optional; defaults to TODAY)
    Used for determining immunization status (both for filtering and for
    return value)
    
  • OREXCLUDE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Should entries defined in ORWPCE EXCLUDE IMMUNIZATIONS be excluded?
    
  • LOCATION
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Used when excluding entried listed in ORWPCE EXCLUDE IMMUNIZATIONS. This
    is the location used when getting the paramater value at the Location
    level.
    
RETURN PARAMETER DESCRIPTION
PXRTRN(x)
   1: "IMM"
   2: #9999999.14 IEN
   3: Name (#.01)
   4: CVX Code (#.03)
   5: Status (1: Active; 0: Inactive)
   6: Selectable for Historic (#8803)
   7: Mnemonic (#8801)
   8: Acronym (#8802)
   9: Active Lot linked to this Immunization? (1:Yes; 0:No)
PXRTRN(x)
   Note: Status (in the 5th piece) is determined as follows:
   1: "CDC"
   2: CDC Product Name (#9999999.145, #.01)
PXRTRN(x)
   1: "GROUP"
   2: Vaccine Group Name  (#9999999.147, #.01)
     - If PXDATE is today, the status is based off the Inactive Flag
       (#.07)
     - If PXDATE is different than today, we will look when an update was
       last made to the Immunization file (based off the Audits). If there
       have not been any changes since PXDATE, we will get the status
       based off the Inactive Flag, otherwise, we will get the status for
       that date by calling GETSTAT^XTID.