MAGN PATIENT IMAGE LIST

TITLEVALUE
NAMEMAGN PATIENT IMAGE LIST
DESCRIPTIONList Images by Patient
TAGIMAGEL
ROUTINEMAGNVQ04
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERIDTYPE
DESCRIPTION"DFN"or "ICN"
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERID
DESCRIPTIONPatient ID
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERIMGLESS
DESCRIPTIONflag to speed up queries: if=1 (true), just get study-level data
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERFLAGS
DESCRIPTIONfor feature use
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERFROMDATE
DESCRIPTIONBeginning of the date range for image selection. Date can be in internal
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
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.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER6
INPUT PARAMETERTODATE
DESCRIPTIONEnd of the date range for image selection. Dates can be in internal 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
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.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER7
INPUT PARAMETERMISCPRMS
DESCRIPTIONItems of this list define various filter parameters. Each item has 3 or
more pieces separated by '^':

^01: Parameter name
^02: Index (for multiples and word-processing values)
^03: Value1
^04: Value2
...

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.

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

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}^...
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:

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;
PARAMETER TYPELIST
REQUIRED
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONif error MAGRY(0) = 0 ^Error message^
if success MAGRY(0) = 1
MAGRY(1..n) = images in format defined in RPC [MAGN CPRS IMAGE LIST]
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED