TITLE | VALUE | |
---|---|---|
NAME | ROR REPORT SCHEDULE | |
DESCRIPTION | Schedules the report and returns the task information. | |
TAG | SCHEDREP | |
ROUTINE | RORRP010 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | RPTCODE | |
DESCRIPTION | Code of the report (value of the CODE field of the report descriptor in the ROR REPORT file). | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | ||
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | REGIEN | |
DESCRIPTION | Registry IEN (if $G(REGIEN)'>0 the task will not be associated with any particular registry). | |
PARAMETER TYPE | LITERAL | |
REQUIRED | ||
MAXIMUM DATA LENGTH | ||
INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
INPUT PARAMETER | ZTDTH | |
DESCRIPTION | Date/time to start the task (external value). By default (if $G(ZDTH)=""), the task will be scheduled to run after 3-second pause. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | ||
MAXIMUM DATA LENGTH | ||
INPUT PARAMETERS | SEQUENCE NUMBER | 4 |
INPUT PARAMETER | SCHCODE | |
DESCRIPTION | Rescheduling code ("1D", "1M", "D@12:00", etc). | |
PARAMETER TYPE | LITERAL | |
REQUIRED | ||
MAXIMUM DATA LENGTH | ||
INPUT PARAMETERS | SEQUENCE NUMBER | 5 |
INPUT PARAMETER | PARAMS | |
DESCRIPTION | Report parameters in XML format. For example: with RPCBroker.Param[4] do begin PType :=list; Mult[1] := '' Mult[2] := ' Mult[3] := ' Mult[4] := ' Mult[5] := ' Mult[6] := ' Mult[7] := ' Mult[8] := ' Mult[9] := ' ... Mult[n] := ' end; Clinics ------- ... CPT Codes --------- ... Date Range ---------- (Medications date range for the Combined Meds and Labs report) [FISCAL="1"]]/> Lab Date Range -------------- [FISCAL="1"]]/> Utilization Date Range ---------------------- [FISCAL="1"]]/> Divisions --------- Name ... Medications, Drug Classes, and Medication Groups ------------------------------------------------ ... ... ... ... ICD Codes ----------- ... ... Lab Tests --------- ... Local Fields ------------ Lab Result Ranges ----------------- Number of patients with highest utilization ------------------------------------------- Minimum number of procedures/results to display ----------------------------------------------- Optional Columns ---------------- Report Options -------------- Other Registries ---------------- ... Subset of Patients ------------------ [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"]/> ... 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 TYPE | LIST | |
REQUIRED | ||
MAXIMUM DATA LENGTH | ||
RETURN VALUE TYPE | ARRAY | |
RETURN PARAMETER DESCRIPTION | A 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). | |
AVAILABILITY | RESTRICTED | |
INACTIVE | ||
CLIENT MANAGER | ||
WORD WRAP ON | TRUE | |
VERSION | 1 | |
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED |