ROR REPORT SCHEDULE

TITLEVALUE
NAMEROR REPORT SCHEDULE
DESCRIPTIONSchedules the report and returns the task information.
TAGSCHEDREP
ROUTINERORRP010
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERRPTCODE
DESCRIPTIONCode of the report (value of the CODE field of the report descriptor in
the ROR REPORT file).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERREGIEN
DESCRIPTIONRegistry IEN (if $G(REGIEN)'>0 the task will not be associated with any
particular registry).
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERZTDTH
DESCRIPTIONDate/time to start the task (external value). By default (if $G(ZDTH)=""),
the task will be scheduled to run after 3-second pause.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERSCHCODE
DESCRIPTIONRescheduling code ("1D", "1M", "D@12:00", etc).
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERPARAMS
DESCRIPTIONReport parameters in XML format. For example:

with RPCBroker.Param[4] do
begin
PType :=list;
Mult[1] := ''
Mult[2] := '';
Mult[3] := 'Ear procedures 2003'
Mult[4] := '';
Mult[5] := '';
Mult[6] := '';
Mult[7] := 'ANESTH, EAR SURGERY';
Mult[8] := 'ANESTH, EAR EXAM';
Mult[9] := '
';
...
Mult[n] := '
';
end;

Clinics
-------


Name
...


CPT Codes
---------


Name
...


Date Range
----------
(Medications date range for the Combined Meds and Labs report)

[CUTOFF="..."] [YEAR="..." [QUARTER="..."]
[FISCAL="1"]]/>

Lab Date Range
--------------

[CUTOFF="..."] [YEAR="..." [QUARTER="..."]
[FISCAL="1"]]/>

Utilization Date Range
----------------------

[CUTOFF="..."] [YEAR="..." [QUARTER="..."]
[FISCAL="1"]]/>

Divisions
---------


Name

...


Medications, Drug Classes, and Medication Groups
------------------------------------------------

[INVESTIG="1"] [REGMEDS="1"]>


Name
...


Name
...


Name
...


...


ICD Codes
-----------



Name
...





Name
...



Lab Tests
---------


Name
...


Local Fields
------------


[NAME="FieldName"]>Description


Lab Result Ranges
-----------------


[LOW="..."] [HIGH="..."]>GroupName


Number of patients with highest utilization
-------------------------------------------

...

Minimum number of procedures/results to display
-----------------------------------------------

...

Optional Columns
----------------





Report Options
--------------

[REGMEDSMRY="1"] [PTLIST="1"]/>

Other Registries
----------------


[NAME="RegName"]>Description
...


Subset of Patients
------------------

[DE_BEFORE="1"] [DE_DURING="1"] [DE_AFTER="1"]
[INPATIENT="1"] [OUTPATIENT="1"]
[COMPLEX="1"] [BASIC="1"]
[LAB="1"] [NOLAB="1"]
[NOTSEEN="1"] [SEEN="1"] [CAREONLY="1"]
[PHARM="1"] [NOPHARM="1"]
[PROC="1"] [NOPROC="1"]/>
Name
...


User Defined Comment
--------------------

...

Utilization Types
-----------------



...


VADRUGCLS VA drug classes included in the report

Example:
Mult['"VADRUGCLS(1)"'] := 'IN140';
Mult['"VADRUGCLS(2)"'] := 'IN150';

VIRAL_LOAD Viral Load options
^01: Include Viral Load (0/1)
^02: Use range (0/1)
^03: Low
^04: High

Example (include all):
Mult['"VIRAL_LOAD"'] := '1';

Example (use range):
Mult['"VIRAL_LOAD"'] := '1^1^3000^100000';
PARAMETER TYPELIST
REQUIRED
MAXIMUM DATA LENGTH

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONA negative value of the first "^"-piece of the Results[0] indicates that
an error occurred during the execution of the remote procedure. In this
case, the second piece of the Results[0] will contain number of the error
descriptors returned in the subsequent nodes of the Results array.

Results[0] Result Descriptor
^01: The last error code (LASTERR)
^02: Number of the error descriptors


Results[i] Error Descriptor
^01: Error code
^02: Message
^03: Place of the error

Error descriptors are returned in reverse chronological order (most recent
error first).

Otherwise, the Results[0] contains number of task descriptors returned in
the Results array (always 1) and number of elements that comprise a task
descriptor:

Results[0] Result Descriptor
^01: 1
^02: Number of elements that comprise a task
descriptor (TIN)

The subsequent nodes of the Results array (from 1 to TIN) contain the
information about the scheduled task (see the ROR TASK INFO remote
procedure for more details).
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED