Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: RORERR20

RORERR20.m

Go to the documentation of this file.
  1. RORERR20 ;HCIOFO/SG - LIST OF ERROR MESSAGES ;1/22/06 7:00pm
  1. ;;1.5;CLINICAL CASE REGISTRIES;**18,22**;Feb 17, 2006;Build 17
  1. ;
  1. ;***************************************************************************
  1. ;***************************************************************************
  1. ; --- ROUTINE MODIFICATION LOG ---
  1. ;
  1. ;PKG/PATCH DATE DEVELOPER MODIFICATION
  1. ;----------- ---------- ----------- ----------------------------------------
  1. ;ROR*1.5*18 APR 2012 C RAY Added error code -112
  1. ;ROR*1.5*22 FEB 2014 T KOPP Added error code -113
  1. ;
  1. ;***************************************************************************
  1. ;***************************************************************************
  1. Q
  1. ;
  1. ;***** RETURNS THE TEXT OF THE MESSAGE
  1. ;
  1. ; ERRCODE Error code
  1. ; [.TYPE] Type of the error
  1. ; [ARG1-ARG5] Optional parameters that substitute the |n| "windows"
  1. ; in the text of the message (for example, the |2| will
  1. ; be substituted by the value of the ARG2).
  1. ;
  1. MSG(ERRCODE,TYPE,ARG1,ARG2,ARG3,ARG4,ARG5) ;
  1. S TYPE=6 Q:ERRCODE'<0 ""
  1. N ARG,I1,I2,MSG
  1. ;--- Get a descriptor of the message
  1. S I1=-ERRCODE,MSG=$P($T(MSGLIST+I1),";;",2)
  1. S I1=+$TR($P(MSG,U,2)," "),MSG=$P(MSG,U,3,999)
  1. S:I1>0 TYPE=I1
  1. Q:MSG?." " "Unknown error ("_ERRCODE_")"
  1. ;--- Substitute parameters
  1. S I1=2
  1. F S I1=$F(MSG,"|",I1-1) Q:'I1 D
  1. . S I2=$F(MSG,"|",I1) Q:'I2
  1. . X "S ARG=$G(ARG"_+$TR($E(MSG,I1,I2-2)," ")_")"
  1. . S $E(MSG,I1-1,I2-1)=ARG
  1. Q $$TRIM^XLFSTR(MSG)
  1. ;
  1. ;***** RETURNS TYPE OF THE MESSAGE
  1. ;
  1. ; ERRCODE Error code
  1. ;
  1. TYPE(ERRCODE) ;
  1. Q:ERRCODE'<0 0
  1. N I,TYPE S I=-ERRCODE
  1. S I=$P($T(MSGLIST+I),";;",2),TYPE=+$TR($P(I,U,2)," ")
  1. Q $S(TYPE>0:TYPE,1:6)
  1. ;
  1. ;***** LIST OF THE MESSAGES (THERE SHOULD BE NOTHING AFTER THE LIST!)
  1. ;
  1. ; The error codes are provided in the table only for clarity.
  1. ; Text of the messages are extracted using the $TEXT function and
  1. ; absolute values of the ERRCODE parameter.
  1. ;
  1. ; Message Type:
  1. ; 1 Debug 4 Warning
  1. ; 2 Information 5 Database Error
  1. ; 3 Data Quality 6 Error
  1. ;
  1. MSGLIST ; Code Type Message Text
  1. ;; -1 ^ 6 ^ Cannot find a descriptor of the registry
  1. ;; -2 ^ 6 ^ Duplicate registry names
  1. ;; -3 ^ 6 ^ Cannot find a descriptor of the selection rule
  1. ;; -4 ^ 6 ^ Duplicate rule names
  1. ;; -5 ^ 6 ^ Circle rule references
  1. ;; -6 ^ 6 ^ Invalid update entry point: |2|
  1. ;; -7 ^ 6 ^ Field '|2|' not found
  1. ;; -8 ^ 6 ^ Duplicate patients in the registry
  1. ;; -9 ^ 5 ^ FileMan DBS call error(s)|2|
  1. ;; -10 ^ 6 ^ Bad registry name: '|2|'
  1. ;; -11 ^ 6 ^ Cannot lock the record(s) of |2|
  1. ;; -12 ^ 6 ^ Cannot load and prepare lab search data
  1. ;; -13 ^ 6 ^ Cannot lock the registries
  1. ;; -14 ^ 6 ^ Cannot prepare selection rules
  1. ;; -15 ^ 6 ^ Error(s) during processing of the patient data
  1. ;; -16 ^ 6 ^ Cannot update demographic data
  1. ;; -17 ^ 6 ^ Invalid entry point: '|2|'
  1. ;; -18 ^ 6 ^ Routine '|2|' does not exist
  1. ;; -19 ^ 6 ^ Cannot load the selection rules
  1. ;; -20 ^ 6 ^ Cannot sort the selection rules
  1. ;; -21 ^ 6 ^ Syntax error in the expression
  1. ;; -22 ^ 6 ^ Cannot prepare data extraction definitions
  1. ;; -23 ^ 6 ^ Cannot set up HL7 environment variables
  1. ;; -24 ^ 6 ^ Cannot send the batch HL7 message
  1. ;; -25 ^ 6 ^ No HL7 event driver protocol
  1. ;; -26 ^ 3 ^ Neither ICN nor SSN is available
  1. ;; -27 ^ 5 ^ Cannot obtain results of the Lab tests
  1. ;; -28 ^ 4 ^ No active registries to |2|!
  1. ;; -29 ^ 1 ^ Non-existent LOINC code |2| in the registry parameters
  1. ;; -30 ^ 5 ^ Duplicate records in the file #95.3 for LOINC code |2|
  1. ;; -31 ^ 4 ^ Cannot remove the patient #|1| from the pending list
  1. ;; -32 ^ 6 ^ Incorrect data extraction period: '|2|-|3|'
  1. ;; -33 ^ 6 ^ Cannot de-queue data extraction task
  1. ;; -34 ^ 6 ^ Cannot open an output file
  1. ;; -35 ^ 6 ^ Device Handler error
  1. ;; -36 ^ 6 ^ Cannot retrieve Patient details (DFN:|1|) from File #|2|
  1. ;; -37 ^ 6 ^ Cannot retrieve details of medication
  1. ;; -38 ^ 6 ^ Cannot retrieve CPT code
  1. ;; -39 ^ 6 ^ Duplicate HL7 message ID in the file #798: '|2|'
  1. ;; -40 ^ 6 ^ Undefined variable: '|2|'
  1. ;; -41 ^ 2 ^ Registry setup has been completed
  1. ;; -42 ^ 4 ^ Task has been interrupted by user or by parent task
  1. ;; -43 ^ 6 ^ Error during the |2|. See log files.
  1. ;; -44 ^ 6 ^ Invalid extraction entry point: '|2|'
  1. ;; -45 ^ 6 ^ Invalid or missing IEN of selection rule
  1. ;; -46 ^ 5 ^ Cannot load registry parameters
  1. ;; -47 ^ 5 ^ Cannot find the '|2|' drug class
  1. ;; -48 ^ 2 ^ Registry '|2|' is inactive
  1. ;; -49 ^ 4 ^ Cannot find HL7 message #|2| to check its status
  1. ;; -50 ^ 6 ^ Cannot create the '|2|' checkpoint!
  1. ;; -51 ^ 6 ^ Cannot complete the '|2|' checkpoint!
  1. ;; -52 ^ 6 ^ Cannot find HL7 message ID in the file #798: '|2|'
  1. ;; -53 ^ 6 ^ Cannot enable the '|2|' protocol
  1. ;; -54 ^ 6 ^ The '|2|' Lab Search is not defined
  1. ;; -55 ^ 4 ^ No indicators are defined for the '|2|' Lab Search
  1. ;; -56 ^ 6 ^ Error code '|2|' is returned by the '|3|'
  1. ;; -57 ^ 4 ^ Error code '|2|' is returned by the '|3|'
  1. ;; -58 ^ 6 ^ File '|2|' not found
  1. ;; -59 ^ 3 ^ ICN checksum is shorter than 6 digits
  1. ;; -60 ^ 6 ^ Subtask #|2| crashed (see TaskMan logs)
  1. ;; -61 ^ 6 ^ Cannot start the registry update in multitask mode
  1. ;; -62 ^ 2 ^ Registry Update subtask #|2| has been scheduled
  1. ;; -63 ^ 6 ^ Data search in file #|2| is not supported
  1. ;; -64 ^ 6 ^ Data element #|3| (file #|2|) is not supported
  1. ;; -65 ^ 6 ^ |4| value of element #|3| (file #|2|) is not supported
  1. ;; -66 ^ 1 ^ Patient was skipped due to counter in the file #798.3
  1. ;; -67 ^ 6 ^ CCR HL7 messages created |2| day(s) ago have not been sent yet.
  1. ;; -68 ^ 6 ^ Invalid header of the HL7 message (or no header at all)
  1. ;; -69 ^ 6 ^ Cannot find the data element
  1. ;; -70 ^ 6 ^ Duplicate names of the data element
  1. ;; -71 ^ 1 ^ User entered the "^"
  1. ;; -72 ^ 6 ^ Timeout
  1. ;; -73 ^ 4 ^ HL7 message #|2| is being processed/transmitted
  1. ;; -74 ^ 6 ^ Number of messages in the batch does not match the BTS
  1. ;; -75 ^ 6 ^ Not all four HL7 encoding characters are defined
  1. ;; -76 ^ 6 ^ The [|2|] option must not be running during installation
  1. ;; -77 ^ 6 ^ Cannot create MailMan message stub
  1. ;; -78 ^ 6 ^ Scheduled subtasks have not been started by TaskMan
  1. ;; -79 ^ 6 ^ Missing or dangling pointer
  1. ;; -80 ^ 6 ^ Cannot find a list item (file #799.1)
  1. ;; -81 ^ 6 ^ Duplicate item codes (file #799.1)
  1. ;; -82 ^ 6 ^ The task '|2|' cannot be scheduled at '|3|'
  1. ;; -83 ^ 6 ^ Cannot find the task #|2| in the ROR TASK file
  1. ;; -84 ^ 6 ^ The task #|2| has not responded on the stop request yet
  1. ;; -85 ^ 6 ^ Invalid task number: '|2|'
  1. ;; -86 ^ 6 ^ Cannot find report parameters (file #799.34)
  1. ;; -87 ^ 6 ^ Duplicate report parameters (file #799.34)
  1. ;; -88 ^ 6 ^ Parameter |2| has an invalid value: '|3|'
  1. ;; -89 ^ 2 ^ No output file has been created
  1. ;; -90 ^ 2 ^ The patient has been deleted from the |2| registry
  1. ;; -91 ^ 6 ^ Illegal attempt to access the registries from the GUI
  1. ;; -92 ^ 6 ^ Cannot re-queue unsent batch HL7 message #|2|
  1. ;; -93 ^ 4 ^ Batch HL7 message #|2| has been re-queued
  1. ;; -94 ^ 2 ^ Data Extraction task #|2| has been scheduled
  1. ;; -95 ^ 3 ^ Invalid value. File: #|2|; IENS: "|3|"; Field(s): |4|
  1. ;; -96 ^ 6 ^ Cannot rename the '|2|' security key to '|3|'
  1. ;; -97 ^ 6 ^ The patient is not in the |2|
  1. ;; -98 ^ 6 ^ Cannot get closed root name of file #|2| (IENS: |3|)
  1. ;; -99 ^ 1 ^ FileMan DBS call error(s)|2|
  1. ;;-100 ^ 3 ^ |2| was returned by the |3|
  1. ;;-101 ^ 2 ^ Your CCR task #|2| has finished (|3|)
  1. ;;-102 ^ 5 ^ Invalid or missing record in the |2| file (IEN: |3|)
  1. ;;-103 ^ 6 ^ The registry |2| has not been populated yet.
  1. ;;-104 ^ 4 ^ XML parsing warning
  1. ;;-105 ^ 6 ^ XML parsing error
  1. ;;-106 ^ 6 ^ Error(s) during parsing the report parameters
  1. ;;-107 ^ 6 ^ Incompatible version of the GUI
  1. ;;-108 ^ 2 ^ Backpull parameters have been loaded.
  1. ;;-109 ^ 2 ^ Automatic backpull has been completed.
  1. ;;-110 ^ 5 ^ Pointer(s) in the restored data cannot be resolved.
  1. ;;-111 ^ 2 ^ Patient "merge" from DFN #|2| to DFN #|3|.
  1. ;;-112 ^ 5 ^ Intialization of |2| could not be completed.
  1. ;;-113 ^ 6 ^ Cannot run nightly task. User |2| does not have ROR VA IRM key.