MAGN PATIENT IMAGE LIST (3798)    REMOTE PROCEDURE (8994)

Name Value
NAME MAGN PATIENT IMAGE LIST
TAG IMAGEL
ROUTINE MAGNVQ04
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON TRUE
DESCRIPTION
List Images by Patient
INPUT PARAMETER
  • IDTYPE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    "DFN"or "ICN"
    
  • ID
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Patient ID
    
  • IMGLESS
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    flag to speed up queries: if=1 (true), just get study-level data
    
  • FLAGS
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    for feature use
    
  • FROMDATE
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Beginning of the date range for image selection. Date can be in internal
    range are included in the search. For example, in order to search images
    for May 21, 2008, the internal value of both parameters should be 3080521.
    or external FileMan format. If the parameter is not defined or empty, then
    the date range remains open on this side.
     
    Depending on the value of the FLAGS parameter, the date range filter is
    applied either to the exam/procedure dates (PROCEDURE/EXAM DATE/TIME field
    (15)) or image capture dates (DATE/TIME IMAGE SAVED field (7)).
     
    Time parts of date range parameters are ignored and both ends of the date
    
  • TODATE
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    End of the date range for image selection. Dates can be in internal or
    range are included in the search. For example, in order to search images
    for May 21, 2008, the internal value of both parameters should be 3080521.
    external FileMan format. If the parameter is not defined or empty, then
    the date range remains open on this side.
     
    Depending on the value of the FLAGS parameter, the date range filter is
    applied either to the exam/procedure dates (PROCEDURE/EXAM DATE/TIME field
    (15)) or image capture dates (DATE/TIME IMAGE SAVED field (7)).
     
    Time parts of date range parameters are ignored and both ends of the date
    
  • MISCPRMS
    PARAMETER TYPE:   LIST
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    Items of this list define various filter parameters. Each item has 3 or
    The following filter parameters are supported by this remote procedure:
     
      CAPTAPP^^{Name or Code}^{Name or Code}^...
        Internal or external values of the CAPTURE APPLICATION
        field (8.1) of the file #2005.
     
      GDESC^^{Text}
        Text that should be present in the SHORT DESCRIPTION
        field (10) of the IMAGE file (#2005). The comparison
        is case-insensitive.
    more pieces separated by '^':
     
      IDFN^^{DFN}
        Patient IEN (DFN). If this parameter is not defined, all
        patients' images are considered.
     
      ISTAT^^{Name or Code}^{Name or Code}^...
        Internal or external values of the STATUS field (113)
        of the file #2005. 0 (zero) code selects image records
        with empty STATUS field.
     
     
      IXCLASS^^{Name or IEN}^{Name or IEN}^...
        Image class names or IENs (see the CLASS INDEX field (41)
        of the file #2005 for details).
     
      IXORIGIN^^{Name or Code}^{Name or Code}^...
        Internal or external values of the ORIGIN INDEX field (45)
        of the file #2005.
     
      IXPKG^^{Name or Code}^{Name or Code}^...
        Internal or external values of the PACKAGE INDEX field (40)
      ^01: Parameter name
        of the file #2005.
     
      IXPROC^^{Name or IEN}^{Name or IEN}^...
        Procedure/Event names or IENs (see the PROC/EVENT INDEX
        field (43) of the file #2005 for details).
     
      IXSPEC^^{Name or IEN}^{Name or IEN}^...
        Specialty/SubSpecialty names or IENs (see the SPEC/SUBSPEC
        INDEX field (44) of the file #2005 for details).
     
      ^02: Index (for multiples and word-processing values)
      IXTYPE^^{Name or IEN}^{Name or IEN}^...
        Image type names or IENs (see the TYPE INDEX field (42) of
        the file #2005 for details).
     
      SAVEDBY^^{DUZ}
        If this parameter is defined, then only those images that were
        captured by this user (see the IMAGE SAVE BY field (8) of the
        file #2005 for details) are considered.
     
      SENSIMG^^{Name or Code}^{Name or Code}^...
      ^03: Value1
        Internal or external values of the CONTROLLED IMAGE field (112)
        of the file #2005.
     
    For pointer type parameters, pure numeric values are always treated as
    internal entry numbers (IEN).
     
    Parameters can be added to the list in any order. See comments preceding
    the GETIMGS^MAGSIXG1 for more details.
     
    Example:
      ^04: Value2
     
      with RPCBroker.Param[4] do
        begin
          PType := list;
          Mult[1] := 'IXPKG^^RAD^LAB';
          Mult[2] := 'IXCLASS^^1^ADMIN';
          Mult[3] := 'IXORIGIN^^NON-VA^F';
          Mult[4] := 'IDFN^^2341'; 
        end;
      ...
     
    
RETURN PARAMETER DESCRIPTION
if error MAGRY(0) = 0 ^Error message^
if success MAGRY(0) = 1
           MAGRY(1..n) = images in format defined in RPC [MAGN CPRS IMAGE LIST]