source: FOIAVistA/trunk/r/CLINICAL_CASE_REGISTRIES-ROR/RORERR20.m@ 1068

Last change on this file since 1068 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

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