| TITLE | VALUE | |
|---|---|---|
| NAME | ROR LOG GET LIST | |
| DESCRIPTION | The ROR LOG GET LIST remote procedure returns a list of logs associated with the registry in the provided time frame. | |
| TAG | LOGLIST | |
| ROUTINE | RORRP007 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
| INPUT PARAMETER | REGIEN | |
| DESCRIPTION | The REGIEN parameter should contain a valid registry IEN (IEN of the registry parameters record in the ROR REGISTRY PARAMETERS file #798.1). The output list will contain log activities associated with the registry defined by this parameter. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | ||
| INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
| INPUT PARAMETER | STDT | |
| DESCRIPTION | The STDT parameter defines the start date for the search of the log activities. By default (if $G(STDT)'>0), the search starts from the earliest record of the ROR LOG file. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | ||
| MAXIMUM DATA LENGTH | ||
| INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
| INPUT PARAMETER | ENDT | |
| DESCRIPTION | The ENDT parameter defines the end date for the search of the log activities. By default (if $G(ENDT)'>0), the search continues to the last record of the ROR LOG file. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | ||
| MAXIMUM DATA LENGTH | ||
| RETURN VALUE TYPE | GLOBAL 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 ^02: Number of the error descriptors Results[i] Error Descriptor ^01: Error code ^02: Message ^03: Place of the error Otherwise, the number of logs is returned in the Results[0] and the subsequent nodes of the Results array contain the information extracted from the ROR LOG file: Results[0] Number of Logs Results[i] Log Descriptor ^01: "L" ^02: Log IEN ^03: Activity (ext) ^04: Activity (int) ^05: Start Date/Time (ext) ^06: Contains messages (0/1) ^07: Job Number ^08: End Date/Time (ext) ^09: Number of Processed Patients ^10: Number of Patients with Errors ^11: Processing Rate ^12: Task Number (optional) Results[...] Registry Descriptor (optional) ^01: "R" ^02: Registry IEN ^03: Registry Name Results[i+n] 'End of Log' Marker ^01: "L" ^02: "END" | |
| AVAILABILITY | RESTRICTED | |
| INACTIVE | ||
| CLIENT MANAGER | ||
| WORD WRAP ON | TRUE | |
| VERSION | 1 | |
| SUPPRESS RDV USER SETUP | ||
| APP PROXY ALLOWED | ||