[1334] | 1 | KIDS Distribution saved on Jan 04, 2012@01:44:46
|
---|
| 2 | consolidated release Test Build 2
|
---|
| 3 | **KIDS**:VWMU AUDIT 1.0T2^
|
---|
| 4 |
|
---|
| 5 | **INSTALL NAME**
|
---|
| 6 | VWMU AUDIT 1.0T2
|
---|
| 7 | "BLD",7917,0)
|
---|
| 8 | VWMU AUDIT 1.0T2^^0^3120104^n
|
---|
| 9 | "BLD",7917,1,0)
|
---|
| 10 | ^^23^23^3120104^
|
---|
| 11 | "BLD",7917,1,1,0)
|
---|
| 12 | CREATES THREE NEW FILES
|
---|
| 13 | "BLD",7917,1,2,0)
|
---|
| 14 |
|
---|
| 15 | "BLD",7917,1,3,0)
|
---|
| 16 | 1) THE DATA FILE IS NAMED 'AUDIT LOG FOR RPCS'. THIS FILE IS ANALOGOUS
|
---|
| 17 | "BLD",7917,1,4,0)
|
---|
| 18 | TO THE EXISTING VA FILE NAMED 'AUDIT LOG FOR OPTIONS'. IT WILL BE
|
---|
| 19 | "BLD",7917,1,5,0)
|
---|
| 20 | POPULATED AS USERS RUN CERTAIN RPC'S. THIS IS THE FILE OUT OF WHICH
|
---|
| 21 | "BLD",7917,1,6,0)
|
---|
| 22 | REPORTS WILL BE NEEDED.
|
---|
| 23 | "BLD",7917,1,7,0)
|
---|
| 24 |
|
---|
| 25 | "BLD",7917,1,8,0)
|
---|
| 26 | 2) THE DRIVER FILE IS NAMED 'LOGGABLE RPC'. THIS FILE LISTS THE NAMES OF
|
---|
| 27 | "BLD",7917,1,9,0)
|
---|
| 28 | RPCS THAT MAY NEED TO BE AUDITED IN THE 'AUDIT LOG FOR RPCS'. SITE TURNS
|
---|
| 29 | "BLD",7917,1,10,0)
|
---|
| 30 | THE 'ACTIVE' FIELD ON OR OFF TO CONTROL THIS. THERE IS ALSO A 'READABLE
|
---|
| 31 | "BLD",7917,1,11,0)
|
---|
| 32 | NAME' FIELD THAT COULD BE USED TO TRANSLATE 'ORQQPL PROBLEM LIST' TO
|
---|
| 33 | "BLD",7917,1,12,0)
|
---|
| 34 | SOMETHING MORE USER-FRIENDLY LIKE 'SHOW PATIENT'S PROBLEM LIST'. THIS
|
---|
| 35 | "BLD",7917,1,13,0)
|
---|
| 36 | FILE ALSO HAS INFORMATION ON HOW TO INTERCEPT INPUT PARAMETERS AT THE TIME
|
---|
| 37 | "BLD",7917,1,14,0)
|
---|
| 38 | OF THE RPC CALL SO AS TO IDENTIFY WHICH PATIENT IS BEING DEALT WITH ON THE
|
---|
| 39 | "BLD",7917,1,15,0)
|
---|
| 40 | CLIENT SIDE. NOTE THAT AN ENTRY IN THIS FILE NEED NOT NECESSARILY
|
---|
| 41 | "BLD",7917,1,16,0)
|
---|
| 42 | CORRESPOND TO AN ACTUAL RPC IN FILE 8994 AT THE SITE, BECAUSE THE .01
|
---|
| 43 | "BLD",7917,1,17,0)
|
---|
| 44 | FIELD IS FREE-TEXT, NOT A POINTER.
|
---|
| 45 | "BLD",7917,1,18,0)
|
---|
| 46 |
|
---|
| 47 | "BLD",7917,1,19,0)
|
---|
| 48 | 3) THE (EMPTY) DATA FILE NAMED 'AUDIT LOG FOR MU'. THIS FILE IS A FILE
|
---|
| 49 | "BLD",7917,1,20,0)
|
---|
| 50 | WHERE AUDIT RECORDS ARE COLLECTED FROM AUDIT DATA ELSEWHERE ON THE SYSTEM.
|
---|
| 51 | "BLD",7917,1,21,0)
|
---|
| 52 | WHEN THE DATE RANGE FOR AUDITING IS SPECIFIED, THIS FILE IS RECREATED
|
---|
| 53 | "BLD",7917,1,22,0)
|
---|
| 54 | BASED ON INFORMATION IN OTHER AUDIT FILES, SUCH AS THE THE AUDIT FOR THE
|
---|
| 55 | "BLD",7917,1,23,0)
|
---|
| 56 | PATIENT FILE IN ^DIA AND THE ABOVE MENTIONED AUDIT LOG FOR RPCS.
|
---|
| 57 | "BLD",7917,4,0)
|
---|
| 58 | ^9.64PA^8994.8^3
|
---|
| 59 | "BLD",7917,4,8994.8,0)
|
---|
| 60 | 8994.8
|
---|
| 61 | "BLD",7917,4,8994.8,222)
|
---|
| 62 | y^y^f^^y^^y^m^y
|
---|
| 63 | "BLD",7917,4,8994.81,0)
|
---|
| 64 | 8994.81
|
---|
| 65 | "BLD",7917,4,8994.81,222)
|
---|
| 66 | y^y^f^^^^n
|
---|
| 67 | "BLD",7917,4,250001.1,0)
|
---|
| 68 | 250001.1
|
---|
| 69 | "BLD",7917,4,250001.1,222)
|
---|
| 70 | y^y^f^^^^n
|
---|
| 71 | "BLD",7917,4,"B",8994.8,8994.8)
|
---|
| 72 |
|
---|
| 73 | "BLD",7917,4,"B",8994.81,8994.81)
|
---|
| 74 |
|
---|
| 75 | "BLD",7917,4,"B",250001.1,250001.1)
|
---|
| 76 |
|
---|
| 77 | "BLD",7917,6.3)
|
---|
| 78 | 3
|
---|
| 79 | "BLD",7917,"KRN",0)
|
---|
| 80 | ^9.67PA^779.2^20
|
---|
| 81 | "BLD",7917,"KRN",.4,0)
|
---|
| 82 | .4
|
---|
| 83 | "BLD",7917,"KRN",.401,0)
|
---|
| 84 | .401
|
---|
| 85 | "BLD",7917,"KRN",.402,0)
|
---|
| 86 | .402
|
---|
| 87 | "BLD",7917,"KRN",.403,0)
|
---|
| 88 | .403
|
---|
| 89 | "BLD",7917,"KRN",.403,"NM",0)
|
---|
| 90 | ^9.68A^1^1
|
---|
| 91 | "BLD",7917,"KRN",.403,"NM",1,0)
|
---|
| 92 | XWBA FILE #8994.8^8994.8^0
|
---|
| 93 | "BLD",7917,"KRN",.403,"NM","B","XWBA FILE #8994.8",1)
|
---|
| 94 |
|
---|
| 95 | "BLD",7917,"KRN",.5,0)
|
---|
| 96 | .5
|
---|
| 97 | "BLD",7917,"KRN",.84,0)
|
---|
| 98 | .84
|
---|
| 99 | "BLD",7917,"KRN",3.6,0)
|
---|
| 100 | 3.6
|
---|
| 101 | "BLD",7917,"KRN",3.8,0)
|
---|
| 102 | 3.8
|
---|
| 103 | "BLD",7917,"KRN",9.2,0)
|
---|
| 104 | 9.2
|
---|
| 105 | "BLD",7917,"KRN",9.8,0)
|
---|
| 106 | 9.8
|
---|
| 107 | "BLD",7917,"KRN",9.8,"NM",0)
|
---|
| 108 | ^9.68A^3^3
|
---|
| 109 | "BLD",7917,"KRN",9.8,"NM",1,0)
|
---|
| 110 | VWMUAUD^^0^B16355018
|
---|
| 111 | "BLD",7917,"KRN",9.8,"NM",2,0)
|
---|
| 112 | XWBPRS^^0^B39321763
|
---|
| 113 | "BLD",7917,"KRN",9.8,"NM",3,0)
|
---|
| 114 | XWBVW^^0^B9598967
|
---|
| 115 | "BLD",7917,"KRN",9.8,"NM","B","VWMUAUD",1)
|
---|
| 116 |
|
---|
| 117 | "BLD",7917,"KRN",9.8,"NM","B","XWBPRS",2)
|
---|
| 118 |
|
---|
| 119 | "BLD",7917,"KRN",9.8,"NM","B","XWBVW",3)
|
---|
| 120 |
|
---|
| 121 | "BLD",7917,"KRN",19,0)
|
---|
| 122 | 19
|
---|
| 123 | "BLD",7917,"KRN",19,"NM",0)
|
---|
| 124 | ^9.68A^3^3
|
---|
| 125 | "BLD",7917,"KRN",19,"NM",1,0)
|
---|
| 126 | XWBVWDISP^^0
|
---|
| 127 | "BLD",7917,"KRN",19,"NM",2,0)
|
---|
| 128 | XWBVWLOG^^0
|
---|
| 129 | "BLD",7917,"KRN",19,"NM",3,0)
|
---|
| 130 | XWBVWPURGE^^0
|
---|
| 131 | "BLD",7917,"KRN",19,"NM","B","XWBVWDISP",1)
|
---|
| 132 |
|
---|
| 133 | "BLD",7917,"KRN",19,"NM","B","XWBVWLOG",2)
|
---|
| 134 |
|
---|
| 135 | "BLD",7917,"KRN",19,"NM","B","XWBVWPURGE",3)
|
---|
| 136 |
|
---|
| 137 | "BLD",7917,"KRN",19.1,0)
|
---|
| 138 | 19.1
|
---|
| 139 | "BLD",7917,"KRN",101,0)
|
---|
| 140 | 101
|
---|
| 141 | "BLD",7917,"KRN",409.61,0)
|
---|
| 142 | 409.61
|
---|
| 143 | "BLD",7917,"KRN",771,0)
|
---|
| 144 | 771
|
---|
| 145 | "BLD",7917,"KRN",779.2,0)
|
---|
| 146 | 779.2
|
---|
| 147 | "BLD",7917,"KRN",870,0)
|
---|
| 148 | 870
|
---|
| 149 | "BLD",7917,"KRN",8989.51,0)
|
---|
| 150 | 8989.51
|
---|
| 151 | "BLD",7917,"KRN",8989.52,0)
|
---|
| 152 | 8989.52
|
---|
| 153 | "BLD",7917,"KRN",8994,0)
|
---|
| 154 | 8994
|
---|
| 155 | "BLD",7917,"KRN","B",.4,.4)
|
---|
| 156 |
|
---|
| 157 | "BLD",7917,"KRN","B",.401,.401)
|
---|
| 158 |
|
---|
| 159 | "BLD",7917,"KRN","B",.402,.402)
|
---|
| 160 |
|
---|
| 161 | "BLD",7917,"KRN","B",.403,.403)
|
---|
| 162 |
|
---|
| 163 | "BLD",7917,"KRN","B",.5,.5)
|
---|
| 164 |
|
---|
| 165 | "BLD",7917,"KRN","B",.84,.84)
|
---|
| 166 |
|
---|
| 167 | "BLD",7917,"KRN","B",3.6,3.6)
|
---|
| 168 |
|
---|
| 169 | "BLD",7917,"KRN","B",3.8,3.8)
|
---|
| 170 |
|
---|
| 171 | "BLD",7917,"KRN","B",9.2,9.2)
|
---|
| 172 |
|
---|
| 173 | "BLD",7917,"KRN","B",9.8,9.8)
|
---|
| 174 |
|
---|
| 175 | "BLD",7917,"KRN","B",19,19)
|
---|
| 176 |
|
---|
| 177 | "BLD",7917,"KRN","B",19.1,19.1)
|
---|
| 178 |
|
---|
| 179 | "BLD",7917,"KRN","B",101,101)
|
---|
| 180 |
|
---|
| 181 | "BLD",7917,"KRN","B",409.61,409.61)
|
---|
| 182 |
|
---|
| 183 | "BLD",7917,"KRN","B",771,771)
|
---|
| 184 |
|
---|
| 185 | "BLD",7917,"KRN","B",779.2,779.2)
|
---|
| 186 |
|
---|
| 187 | "BLD",7917,"KRN","B",870,870)
|
---|
| 188 |
|
---|
| 189 | "BLD",7917,"KRN","B",8989.51,8989.51)
|
---|
| 190 |
|
---|
| 191 | "BLD",7917,"KRN","B",8989.52,8989.52)
|
---|
| 192 |
|
---|
| 193 | "BLD",7917,"KRN","B",8994,8994)
|
---|
| 194 |
|
---|
| 195 | "BLD",7917,"QUES",0)
|
---|
| 196 | ^9.62^^
|
---|
| 197 | "DATA",8994.8,1,0)
|
---|
| 198 | SC MEAN TEST
|
---|
| 199 | "DATA",8994.8,1,100)
|
---|
| 200 | 1
|
---|
| 201 | "DATA",8994.8,2,0)
|
---|
| 202 | TIU NOTES
|
---|
| 203 | "DATA",8994.8,2,100)
|
---|
| 204 | 1
|
---|
| 205 | "DATA",8994.8,3,0)
|
---|
| 206 | TIU SUMMARIES
|
---|
| 207 | "DATA",8994.8,3,100)
|
---|
| 208 | 1
|
---|
| 209 | "DATA",8994.8,4,0)
|
---|
| 210 | TIU LOAD BOILERPLATE TEXT
|
---|
| 211 | "DATA",8994.8,4,100)
|
---|
| 212 | 2
|
---|
| 213 | "DATA",8994.8,5,0)
|
---|
| 214 | TIU CREATE RECORD
|
---|
| 215 | "DATA",8994.8,5,100)
|
---|
| 216 | 1
|
---|
| 217 | "DATA",8994.8,6,0)
|
---|
| 218 | TIU DOCUMENTS BY CONTEXT
|
---|
| 219 | "DATA",8994.8,6,100)
|
---|
| 220 | 3
|
---|
| 221 | "DATA",8994.8,7,0)
|
---|
| 222 | TIU NOTES 16 BIT
|
---|
| 223 | "DATA",8994.8,7,100)
|
---|
| 224 | 1
|
---|
| 225 | "DATA",8994.8,8,0)
|
---|
| 226 | ORWLR CUMULATIVE REPORT
|
---|
| 227 | "DATA",8994.8,8,100)
|
---|
| 228 | 1
|
---|
| 229 | "DATA",8994.8,9,0)
|
---|
| 230 | ORQQVS DETAIL NOTES
|
---|
| 231 | "DATA",8994.8,9,100)
|
---|
| 232 | 1
|
---|
| 233 | "DATA",8994.8,10,0)
|
---|
| 234 | ORWRA IMAGING EXAMS
|
---|
| 235 | "DATA",8994.8,10,100)
|
---|
| 236 | 1
|
---|
| 237 | "DATA",8994.8,11,0)
|
---|
| 238 | ORWRA REPORT TEXT
|
---|
| 239 | "DATA",8994.8,11,100)
|
---|
| 240 | 1
|
---|
| 241 | "DATA",8994.8,12,0)
|
---|
| 242 | ORQQPL PROBLEM LIST^^SHOW PATIENT'S PROBLEM LIST
|
---|
| 243 | "DATA",8994.8,12,100)
|
---|
| 244 | 1
|
---|
| 245 | "DATA",8994.8,13,0)
|
---|
| 246 | ORQQPL INIT PT
|
---|
| 247 | "DATA",8994.8,13,100)
|
---|
| 248 | 1
|
---|
| 249 | "DATA",8994.8,14,0)
|
---|
| 250 | ORWRP REPORT TEXT
|
---|
| 251 | "DATA",8994.8,14,100)
|
---|
| 252 | 1
|
---|
| 253 | "DATA",8994.8,15,0)
|
---|
| 254 | ORWRP PRINT REPORT
|
---|
| 255 | "DATA",8994.8,15,100)
|
---|
| 256 | 2
|
---|
| 257 | "DATA",8994.8,16,0)
|
---|
| 258 | ORWLR CUMULATIVE SECTION
|
---|
| 259 | "DATA",8994.8,16,100)
|
---|
| 260 | 1
|
---|
| 261 | "DATA",8994.8,17,0)
|
---|
| 262 | ORQQPL ADD SAVE
|
---|
| 263 | "DATA",8994.8,17,100)
|
---|
| 264 | 1
|
---|
| 265 | "DATA",8994.8,18,0)
|
---|
| 266 | ORWRA PRINT REPORT
|
---|
| 267 | "DATA",8994.8,18,100)
|
---|
| 268 | 2
|
---|
| 269 | "DATA",8994.8,19,0)
|
---|
| 270 | ORWCS LIST OF CONSULT REPORTS
|
---|
| 271 | "DATA",8994.8,19,100)
|
---|
| 272 | 1
|
---|
| 273 | "DATA",8994.8,20,0)
|
---|
| 274 | ORWCS REPORT TEXT
|
---|
| 275 | "DATA",8994.8,20,100)
|
---|
| 276 | 1
|
---|
| 277 | "DATA",8994.8,21,0)
|
---|
| 278 | ORWCS PRINT REPORT
|
---|
| 279 | "DATA",8994.8,21,100)
|
---|
| 280 | 2
|
---|
| 281 | "DATA",8994.8,22,0)
|
---|
| 282 | ORWRP16 REPORT TEXT
|
---|
| 283 | "DATA",8994.8,22,100)
|
---|
| 284 | 1
|
---|
| 285 | "DATA",8994.8,23,0)
|
---|
| 286 | GMRC LIST CONSULT REQUESTS
|
---|
| 287 | "DATA",8994.8,23,100)
|
---|
| 288 | 1
|
---|
| 289 | "DATA",8994.8,24,0)
|
---|
| 290 | PSB MEDICATION HISTORY
|
---|
| 291 | "DATA",8994.8,24,100)
|
---|
| 292 | 1
|
---|
| 293 | "DATA",8994.8,25,0)
|
---|
| 294 | PSB GETPRNS
|
---|
| 295 | "DATA",8994.8,25,100)
|
---|
| 296 | 1
|
---|
| 297 | "DATA",8994.8,26,0)
|
---|
| 298 | PSB REPORT
|
---|
| 299 | "DATA",8994.8,26,100)
|
---|
| 300 | 2
|
---|
| 301 | "DATA",8994.8,27,0)
|
---|
| 302 | TIU TEMPLATE GETTEXT
|
---|
| 303 | "DATA",8994.8,27,100)
|
---|
| 304 | 1
|
---|
| 305 | "DATA",8994.8,28,0)
|
---|
| 306 | DG SENSITIVE RECORD ACCESS
|
---|
| 307 | "DATA",8994.8,28,100)
|
---|
| 308 | 1
|
---|
| 309 | "DATA",8994.8,29,0)
|
---|
| 310 | DG SENSITIVE RECORD BULLETIN
|
---|
| 311 | "DATA",8994.8,29,100)
|
---|
| 312 | 1
|
---|
| 313 | "DATA",8994.8,30,0)
|
---|
| 314 | DG CHK BS5 XREF Y/N
|
---|
| 315 | "DATA",8994.8,30,100)
|
---|
| 316 | 1
|
---|
| 317 | "DATA",8994.8,31,0)
|
---|
| 318 | DG CHK BS5 XREF ARRAY
|
---|
| 319 | "DATA",8994.8,31,100)
|
---|
| 320 | 1
|
---|
| 321 | "DATA",8994.8,32,0)
|
---|
| 322 | DG CHK PAT MEANS TEST REQUIRED
|
---|
| 323 | "DATA",8994.8,32,100)
|
---|
| 324 | 1
|
---|
| 325 | "DATA",8994.8,33,0)
|
---|
| 326 | DG CHK PAT/DIV MEANS TEST
|
---|
| 327 | "DATA",8994.8,33,100)
|
---|
| 328 | 1
|
---|
| 329 | "DATA",8994.8,34,0)
|
---|
| 330 | ORWMC PATIENT PROCEDURES
|
---|
| 331 | "DATA",8994.8,34,100)
|
---|
| 332 | 1
|
---|
| 333 | "DATA",8994.8,35,0)
|
---|
| 334 | ORWPT DISCHARGE
|
---|
| 335 | "DATA",8994.8,35,100)
|
---|
| 336 | 1
|
---|
| 337 | "DATA",8994.8,36,0)
|
---|
| 338 | ORWPCE ACTPROB
|
---|
| 339 | "DATA",8994.8,36,100)
|
---|
| 340 | 1
|
---|
| 341 | "DATA",8994.8,37,0)
|
---|
| 342 | ORWORB KILL UNSIG ORDERS ALERT
|
---|
| 343 | "DATA",8994.8,37,100)
|
---|
| 344 | 1
|
---|
| 345 | "DATA",8994.8,38,0)
|
---|
| 346 | ORWRP PRINT LAB REPORTS
|
---|
| 347 | "DATA",8994.8,38,100)
|
---|
| 348 | 2
|
---|
| 349 | "DATA",8994.8,39,0)
|
---|
| 350 | ORWPT CWAD
|
---|
| 351 | "DATA",8994.8,39,100)
|
---|
| 352 | 1
|
---|
| 353 | "DATA",8994.8,40,0)
|
---|
| 354 | ORQQPL CHECK DUP
|
---|
| 355 | "DATA",8994.8,40,100)
|
---|
| 356 | 1
|
---|
| 357 | "DATA",8994.8,41,0)
|
---|
| 358 | ORQQCN DEFAULT REQUEST REASON
|
---|
| 359 | "DATA",8994.8,41,100)
|
---|
| 360 | 2
|
---|
| 361 | "DATA",8994.8,42,0)
|
---|
| 362 | ORWORB KILL EXPIR MED ALERT
|
---|
| 363 | "DATA",8994.8,42,100)
|
---|
| 364 | 1
|
---|
| 365 | "DATA",8994.8,43,0)
|
---|
| 366 | ORWRP PRINT REMOTE REPORT
|
---|
| 367 | "DATA",8994.8,43,100)
|
---|
| 368 | 2
|
---|
| 369 | "DATA",8994.8,44,0)
|
---|
| 370 | ORWPCE HASVISIT
|
---|
| 371 | "DATA",8994.8,44,100)
|
---|
| 372 | 2
|
---|
| 373 | "DATA",8994.8,45,0)
|
---|
| 374 | ORWORB KILL EXPIR OI ALERT
|
---|
| 375 | "DATA",8994.8,45,100)
|
---|
| 376 | 1
|
---|
| 377 | "DATA",8994.8,46,0)
|
---|
| 378 | DVBAB REPORT CPDETAILS
|
---|
| 379 | "DATA",8994.8,46,100)
|
---|
| 380 | 1
|
---|
| 381 | "DATA",8994.8,47,0)
|
---|
| 382 | DVBAB REPORT 7131INQ
|
---|
| 383 | "DATA",8994.8,47,100)
|
---|
| 384 | 1
|
---|
| 385 | "DATA",8994.8,48,0)
|
---|
| 386 | MAGGDGRPD
|
---|
| 387 | "DATA",8994.8,48,100)
|
---|
| 388 | 1
|
---|
| 389 | "DATA",8994.8,49,0)
|
---|
| 390 | MAGGLAB START
|
---|
| 391 | "DATA",8994.8,49,100)
|
---|
| 392 | 4
|
---|
| 393 | "DATA",8994.8,50,0)
|
---|
| 394 | MAGGSUR GET
|
---|
| 395 | "DATA",8994.8,50,100)
|
---|
| 396 | 1
|
---|
| 397 | "DATA",8994.8,51,0)
|
---|
| 398 | MAGG QUE PATIENT
|
---|
| 399 | "DATA",8994.8,51,100)
|
---|
| 400 | 2
|
---|
| 401 | "DATA",8994.8,52,0)
|
---|
| 402 | MAGG PAT IMAGES
|
---|
| 403 | "DATA",8994.8,52,100)
|
---|
| 404 | 1
|
---|
| 405 | "DATA",8994.8,53,0)
|
---|
| 406 | MAGG PAT EACH IMAGE
|
---|
| 407 | "DATA",8994.8,53,100)
|
---|
| 408 | 1
|
---|
| 409 | "DATA",8994.8,54,0)
|
---|
| 410 | MAGG PAT INFO
|
---|
| 411 | "DATA",8994.8,54,100)
|
---|
| 412 | 1
|
---|
| 413 | "DATA",8994.8,55,0)
|
---|
| 414 | MAGG PAT BS5 CHECK
|
---|
| 415 | "DATA",8994.8,55,100)
|
---|
| 416 | 1
|
---|
| 417 | "DATA",8994.8,56,0)
|
---|
| 418 | MAGG PAT PHOTOS
|
---|
| 419 | "DATA",8994.8,56,100)
|
---|
| 420 | 1
|
---|
| 421 | "DATA",8994.8,57,0)
|
---|
| 422 | ORWRP PRINT V REPORT
|
---|
| 423 | "DATA",8994.8,57,100)
|
---|
| 424 | 2
|
---|
| 425 | "DATA",8994.8,58,0)
|
---|
| 426 | ORWMC PATIENT PROCEDURES1
|
---|
| 427 | "DATA",8994.8,58,100)
|
---|
| 428 | 1
|
---|
| 429 | "DATA",8994.8,59,0)
|
---|
| 430 | ORWRA IMAGING EXAMS1
|
---|
| 431 | "DATA",8994.8,59,100)
|
---|
| 432 | 1
|
---|
| 433 | "DATA",8994.8,60,0)
|
---|
| 434 | ORWRA REPORT TEXT1
|
---|
| 435 | "DATA",8994.8,60,100)
|
---|
| 436 | 1
|
---|
| 437 | "DATA",8994.8,61,0)
|
---|
| 438 | DENTV EXCEL EXTRACT
|
---|
| 439 | "DATA",8994.8,61,100)
|
---|
| 440 | 4
|
---|
| 441 | "DATA",8994.8,62,0)
|
---|
| 442 | MAGJ PT INFO
|
---|
| 443 | "DATA",8994.8,62,100)
|
---|
| 444 | 1
|
---|
| 445 | "DATA",8994.8,63,0)
|
---|
| 446 | PSB GETORDERTAB
|
---|
| 447 | "DATA",8994.8,63,100)
|
---|
| 448 | 1
|
---|
| 449 | "DATA",8994.8,64,0)
|
---|
| 450 | PSB IV ORDER HISTORY
|
---|
| 451 | "DATA",8994.8,64,100)
|
---|
| 452 | 1
|
---|
| 453 | "DATA",8994.8,65,0)
|
---|
| 454 | DSIC DPT GET DEMO
|
---|
| 455 | "DATA",8994.8,65,100)
|
---|
| 456 | 1
|
---|
| 457 | "DATA",8994.8,66,0)
|
---|
| 458 | DSIC GET VISITS ONLY
|
---|
| 459 | "DATA",8994.8,66,100)
|
---|
| 460 | 1
|
---|
| 461 | "DATA",8994.8,67,0)
|
---|
| 462 | DSIC SR LIST
|
---|
| 463 | "DATA",8994.8,67,100)
|
---|
| 464 | 1
|
---|
| 465 | "DATA",8994.8,68,0)
|
---|
| 466 | DSIC PX IMMUN LIST
|
---|
| 467 | "DATA",8994.8,68,100)
|
---|
| 468 | 1
|
---|
| 469 | "DATA",8994.8,69,0)
|
---|
| 470 | MSCGMAG PAT IMAGES
|
---|
| 471 | "DATA",8994.8,69,100)
|
---|
| 472 | 1
|
---|
| 473 | "DATA",8994.8,70,0)
|
---|
| 474 | DSIC CPT GET CODE
|
---|
| 475 | "DATA",8994.8,70,100)
|
---|
| 476 | 4
|
---|
| 477 | "DATA",8994.8,71,0)
|
---|
| 478 | DSIC CPT GET DETAIL DESC
|
---|
| 479 | "DATA",8994.8,71,100)
|
---|
| 480 | 3
|
---|
| 481 | "DATA",8994.8,72,0)
|
---|
| 482 | DSIC CPT GET MODIFIER LIST
|
---|
| 483 | "DATA",8994.8,72,100)
|
---|
| 484 | 4
|
---|
| 485 | "DATA",8994.8,73,0)
|
---|
| 486 | DSIC DPT INP INFO
|
---|
| 487 | "DATA",8994.8,73,100)
|
---|
| 488 | 1
|
---|
| 489 | "DATA",8994.8,74,0)
|
---|
| 490 | DSIC DPT INP INFO BRIEF
|
---|
| 491 | "DATA",8994.8,74,100)
|
---|
| 492 | 1
|
---|
| 493 | "DATA",8994.8,75,0)
|
---|
| 494 | MSC RM PATIENT GET DEMO
|
---|
| 495 | "DATA",8994.8,75,100)
|
---|
| 496 | 1
|
---|
| 497 | "DATA",8994.8,76,0)
|
---|
| 498 | MSC GET PATIENT HISTORY
|
---|
| 499 | "DATA",8994.8,76,100)
|
---|
| 500 | 1
|
---|
| 501 | "DATA",8994.8,77,0)
|
---|
| 502 | ORWDXA DC^1
|
---|
| 503 | "DATA",8994.8,77,101)
|
---|
| 504 | 1
|
---|
| 505 | "DATA",8994.8,78,0)
|
---|
| 506 | ORWDX SAVE^1^^M
|
---|
| 507 | "DATA",8994.8,78,100)
|
---|
| 508 | 1
|
---|
| 509 | "DATA",8994.8,79,0)
|
---|
| 510 | ORWDAL32 SAVE ALLERGY^1
|
---|
| 511 | "DATA",8994.8,79,100)
|
---|
| 512 | 2
|
---|
| 513 | "DATA",8994.8,80,0)
|
---|
| 514 | TIU GET RECORD TEXT^1^^A
|
---|
| 515 | "DATA",8994.8,81,0)
|
---|
| 516 | ORQQVI NOTEVIT^1
|
---|
| 517 | "DATA",8994.8,81,100)
|
---|
| 518 | 1
|
---|
| 519 | "FIA",8994.8)
|
---|
| 520 | LOGGABLE RPC
|
---|
| 521 | "FIA",8994.8,0)
|
---|
| 522 | ^XWBVW(
|
---|
| 523 | "FIA",8994.8,0,0)
|
---|
| 524 | 8994.8
|
---|
| 525 | "FIA",8994.8,0,1)
|
---|
| 526 | y^y^f^^y^^y^m^y
|
---|
| 527 | "FIA",8994.8,0,10)
|
---|
| 528 |
|
---|
| 529 | "FIA",8994.8,0,11)
|
---|
| 530 |
|
---|
| 531 | "FIA",8994.8,0,"RLRO")
|
---|
| 532 |
|
---|
| 533 | "FIA",8994.8,8994.8)
|
---|
| 534 | 0
|
---|
| 535 | "FIA",8994.81)
|
---|
| 536 | AUDIT LOG FOR RPCS
|
---|
| 537 | "FIA",8994.81,0)
|
---|
| 538 | ^XUSEC(8994,
|
---|
| 539 | "FIA",8994.81,0,0)
|
---|
| 540 | 8994.81P
|
---|
| 541 | "FIA",8994.81,0,1)
|
---|
| 542 | y^y^f^^^^n
|
---|
| 543 | "FIA",8994.81,0,10)
|
---|
| 544 |
|
---|
| 545 | "FIA",8994.81,0,11)
|
---|
| 546 |
|
---|
| 547 | "FIA",8994.81,0,"RLRO")
|
---|
| 548 |
|
---|
| 549 | "FIA",8994.81,8994.81)
|
---|
| 550 | 0
|
---|
| 551 | "FIA",250001.1)
|
---|
| 552 | AUDIT LOG FOR MU
|
---|
| 553 | "FIA",250001.1,0)
|
---|
| 554 | ^XUSEC(250001.1,
|
---|
| 555 | "FIA",250001.1,0,0)
|
---|
| 556 | 250001.1
|
---|
| 557 | "FIA",250001.1,0,1)
|
---|
| 558 | y^y^f^^^^n
|
---|
| 559 | "FIA",250001.1,0,10)
|
---|
| 560 |
|
---|
| 561 | "FIA",250001.1,0,11)
|
---|
| 562 |
|
---|
| 563 | "FIA",250001.1,0,"RLRO")
|
---|
| 564 |
|
---|
| 565 | "FIA",250001.1,250001.1)
|
---|
| 566 | 0
|
---|
| 567 | "KRN",.403,112,-1)
|
---|
| 568 | 0^1
|
---|
| 569 | "KRN",.403,112,0)
|
---|
| 570 | XWBA^@^@^^3110215.0839^^^8994.8^0^0^1
|
---|
| 571 | "KRN",.403,112,21)
|
---|
| 572 | 1
|
---|
| 573 | "KRN",.403,112,40,0)
|
---|
| 574 | ^.4031I^1^1
|
---|
| 575 | "KRN",.403,112,40,1,0)
|
---|
| 576 | 1^XWBA HEADER^1,1
|
---|
| 577 | "KRN",.403,112,40,1,1)
|
---|
| 578 | Page 1
|
---|
| 579 | "KRN",.403,112,40,1,40,0)
|
---|
| 580 | ^.4032IP^432^1
|
---|
| 581 | "KRN",.403,112,40,1,40,432,0)
|
---|
| 582 | XWBA^1^2,1^e
|
---|
| 583 | "KRN",.403,112,40,1,40,432,2)
|
---|
| 584 | 15
|
---|
| 585 | "KRN",.403,112,40,1,40,432,"COMP MUL")
|
---|
| 586 | S GFT="" F S GFT=$O(^XWBVW("B",GFT)) Q:GFT="" F D=0:0 S D=$O(^XWBVW("B",GFT,D)) Q:'D N Y S (Y,D0)=D X DICMX Q:'$D(D)
|
---|
| 587 | "KRN",.403,112,40,1,40,432,"COMP MUL PTR")
|
---|
| 588 | 8994.8
|
---|
| 589 | "KRN",.404,432,0)
|
---|
| 590 | XWBA^8994.8
|
---|
| 591 | "KRN",.404,432,40,0)
|
---|
| 592 | ^.4044I^4^4
|
---|
| 593 | "KRN",.404,432,40,1,0)
|
---|
| 594 | 1^^3^^NAME
|
---|
| 595 | "KRN",.404,432,40,1,1)
|
---|
| 596 | .01
|
---|
| 597 | "KRN",.404,432,40,1,2)
|
---|
| 598 | 2,2^57
|
---|
| 599 | "KRN",.404,432,40,2,0)
|
---|
| 600 | 2^^3
|
---|
| 601 | "KRN",.404,432,40,2,1)
|
---|
| 602 | .02
|
---|
| 603 | "KRN",.404,432,40,2,2)
|
---|
| 604 | 2,60^3
|
---|
| 605 | "KRN",.404,432,40,3,0)
|
---|
| 606 | 3^^3
|
---|
| 607 | "KRN",.404,432,40,3,1)
|
---|
| 608 | 100
|
---|
| 609 | "KRN",.404,432,40,3,2)
|
---|
| 610 | 2,67^5
|
---|
| 611 | "KRN",.404,432,40,4,0)
|
---|
| 612 | 4^^3
|
---|
| 613 | "KRN",.404,432,40,4,1)
|
---|
| 614 | 101
|
---|
| 615 | "KRN",.404,432,40,4,2)
|
---|
| 616 | 2,75^5
|
---|
| 617 | "KRN",.404,433,0)
|
---|
| 618 | XWBA HEADER^8994.8
|
---|
| 619 | "KRN",.404,433,40,0)
|
---|
| 620 | ^.4044I^^0
|
---|
| 621 | "KRN",19,11039,-1)
|
---|
| 622 | 0^2
|
---|
| 623 | "KRN",19,11039,0)
|
---|
| 624 | XWBVWLOG^Audited RPCs Log^^P^^^^^^^^RPC BROKER^n^^
|
---|
| 625 | "KRN",19,11039,1,0)
|
---|
| 626 | ^^2^2^3110214^
|
---|
| 627 | "KRN",19,11039,1,1,0)
|
---|
| 628 | This report sorts on date/time then RPC, prints all data
|
---|
| 629 | "KRN",19,11039,1,2,0)
|
---|
| 630 | elements of each entry requested.
|
---|
| 631 | "KRN",19,11039,60)
|
---|
| 632 | XUSEC(8994,
|
---|
| 633 | "KRN",19,11039,62)
|
---|
| 634 | 0
|
---|
| 635 | "KRN",19,11039,63)
|
---|
| 636 | [XWBALOGP]
|
---|
| 637 | "KRN",19,11039,64)
|
---|
| 638 | [XWBVWLOGS]
|
---|
| 639 | "KRN",19,11039,65)
|
---|
| 640 |
|
---|
| 641 | "KRN",19,11039,66)
|
---|
| 642 |
|
---|
| 643 | "KRN",19,11039,"U")
|
---|
| 644 | AUDITED RPCS LOG
|
---|
| 645 | "KRN",19,11040,-1)
|
---|
| 646 | 0^3
|
---|
| 647 | "KRN",19,11040,0)
|
---|
| 648 | XWBVWPURGE^Audited RPCs Purge^^R^^^^^^^^RPC BROKER
|
---|
| 649 | "KRN",19,11040,1,0)
|
---|
| 650 | ^^2^2^3110214^
|
---|
| 651 | "KRN",19,11040,1,1,0)
|
---|
| 652 | This prompts for a beginning and ending date AND time to purge
|
---|
| 653 | "KRN",19,11040,1,2,0)
|
---|
| 654 | the RPC Audit entries.
|
---|
| 655 | "KRN",19,11040,25)
|
---|
| 656 | XWBPURGE^XWBVW
|
---|
| 657 | "KRN",19,11040,"U")
|
---|
| 658 | AUDITED RPCS PURGE
|
---|
| 659 | "KRN",19,11041,-1)
|
---|
| 660 | 0^1
|
---|
| 661 | "KRN",19,11041,0)
|
---|
| 662 | XWBVWDISP^RPC Audit Display^^P^^^^^^^y^RPC BROKER
|
---|
| 663 | "KRN",19,11041,1,0)
|
---|
| 664 | ^^2^2^3110214^
|
---|
| 665 | "KRN",19,11041,1,1,0)
|
---|
| 666 | This display sorts on RPC, then date/time. Also prompts for
|
---|
| 667 | "KRN",19,11041,1,2,0)
|
---|
| 668 | print device to generate a hard copy of listing.
|
---|
| 669 | "KRN",19,11041,60)
|
---|
| 670 | XUSEC(8994,
|
---|
| 671 | "KRN",19,11041,62)
|
---|
| 672 | 0
|
---|
| 673 | "KRN",19,11041,63)
|
---|
| 674 | [XWBADISPLAY]
|
---|
| 675 | "KRN",19,11041,64)
|
---|
| 676 | [XWBVWDISPS]
|
---|
| 677 | "KRN",19,11041,65)
|
---|
| 678 |
|
---|
| 679 | "KRN",19,11041,66)
|
---|
| 680 |
|
---|
| 681 | "KRN",19,11041,"U")
|
---|
| 682 | RPC AUDIT DISPLAY
|
---|
| 683 | "MBREQ")
|
---|
| 684 | 0
|
---|
| 685 | "ORD",8,.403)
|
---|
| 686 | .403;8;;;EDEOUT^DIFROMSO(.403,DA,"",XPDA);FPRE^DIFROMSI(.403,"",XPDA);EPRE^DIFROMSI(.403,DA,$E("N",$G(XPDNEW)),XPDA,"",OLDA);;EPOST^DIFROMSI(.403,DA,"",XPDA);DEL^DIFROMSK(.403,"",%)
|
---|
| 687 | "ORD",8,.403,0)
|
---|
| 688 | FORM
|
---|
| 689 | "ORD",18,19)
|
---|
| 690 | 19;18;;;OPT^XPDTA;OPTF1^XPDIA;OPTE1^XPDIA;OPTF2^XPDIA;;OPTDEL^XPDIA
|
---|
| 691 | "ORD",18,19,0)
|
---|
| 692 | OPTION
|
---|
| 693 | "QUES","XPF1",0)
|
---|
| 694 | Y
|
---|
| 695 | "QUES","XPF1","??")
|
---|
| 696 | ^D REP^XPDH
|
---|
| 697 | "QUES","XPF1","A")
|
---|
| 698 | Shall I write over your |FLAG| File
|
---|
| 699 | "QUES","XPF1","B")
|
---|
| 700 | YES
|
---|
| 701 | "QUES","XPF1","M")
|
---|
| 702 | D XPF1^XPDIQ
|
---|
| 703 | "QUES","XPF2",0)
|
---|
| 704 | Y
|
---|
| 705 | "QUES","XPF2","??")
|
---|
| 706 | ^D DTA^XPDH
|
---|
| 707 | "QUES","XPF2","A")
|
---|
| 708 | Want my data |FLAG| yours
|
---|
| 709 | "QUES","XPF2","B")
|
---|
| 710 | YES
|
---|
| 711 | "QUES","XPF2","M")
|
---|
| 712 | D XPF2^XPDIQ
|
---|
| 713 | "QUES","XPI1",0)
|
---|
| 714 | YO
|
---|
| 715 | "QUES","XPI1","??")
|
---|
| 716 | ^D INHIBIT^XPDH
|
---|
| 717 | "QUES","XPI1","A")
|
---|
| 718 | Want KIDS to INHIBIT LOGONs during the install
|
---|
| 719 | "QUES","XPI1","B")
|
---|
| 720 | NO
|
---|
| 721 | "QUES","XPI1","M")
|
---|
| 722 | D XPI1^XPDIQ
|
---|
| 723 | "QUES","XPM1",0)
|
---|
| 724 | PO^VA(200,:EM
|
---|
| 725 | "QUES","XPM1","??")
|
---|
| 726 | ^D MG^XPDH
|
---|
| 727 | "QUES","XPM1","A")
|
---|
| 728 | Enter the Coordinator for Mail Group '|FLAG|'
|
---|
| 729 | "QUES","XPM1","B")
|
---|
| 730 |
|
---|
| 731 | "QUES","XPM1","M")
|
---|
| 732 | D XPM1^XPDIQ
|
---|
| 733 | "QUES","XPO1",0)
|
---|
| 734 | Y
|
---|
| 735 | "QUES","XPO1","??")
|
---|
| 736 | ^D MENU^XPDH
|
---|
| 737 | "QUES","XPO1","A")
|
---|
| 738 | Want KIDS to Rebuild Menu Trees Upon Completion of Install
|
---|
| 739 | "QUES","XPO1","B")
|
---|
| 740 | NO
|
---|
| 741 | "QUES","XPO1","M")
|
---|
| 742 | D XPO1^XPDIQ
|
---|
| 743 | "QUES","XPZ1",0)
|
---|
| 744 | Y
|
---|
| 745 | "QUES","XPZ1","??")
|
---|
| 746 | ^D OPT^XPDH
|
---|
| 747 | "QUES","XPZ1","A")
|
---|
| 748 | Want to DISABLE Scheduled Options, Menu Options, and Protocols
|
---|
| 749 | "QUES","XPZ1","B")
|
---|
| 750 | NO
|
---|
| 751 | "QUES","XPZ1","M")
|
---|
| 752 | D XPZ1^XPDIQ
|
---|
| 753 | "QUES","XPZ2",0)
|
---|
| 754 | Y
|
---|
| 755 | "QUES","XPZ2","??")
|
---|
| 756 | ^D RTN^XPDH
|
---|
| 757 | "QUES","XPZ2","A")
|
---|
| 758 | Want to MOVE routines to other CPUs
|
---|
| 759 | "QUES","XPZ2","B")
|
---|
| 760 | NO
|
---|
| 761 | "QUES","XPZ2","M")
|
---|
| 762 | D XPZ2^XPDIQ
|
---|
| 763 | "RTN")
|
---|
| 764 | 3
|
---|
| 765 | "RTN","VWMUAUD")
|
---|
| 766 | 0^1^B16355018
|
---|
| 767 | "RTN","VWMUAUD",1,0)
|
---|
| 768 | VWMUAUD ;DJW;Generate Meaningful Use Audit
|
---|
| 769 | "RTN","VWMUAUD",2,0)
|
---|
| 770 | ;0.1;;;;;Build 3
|
---|
| 771 | "RTN","VWMUAUD",3,0)
|
---|
| 772 | ;
|
---|
| 773 | "RTN","VWMUAUD",4,0)
|
---|
| 774 | GEN S U="^" K DEBUG
|
---|
| 775 | "RTN","VWMUAUD",5,0)
|
---|
| 776 | N X,Y,VWBEG,VWEND
|
---|
| 777 | "RTN","VWMUAUD",6,0)
|
---|
| 778 | W !,"Generate Meaningful Use Audit"
|
---|
| 779 | "RTN","VWMUAUD",7,0)
|
---|
| 780 | K DIR S DIR(0)="D^::ER",DIR("A")="From Date/Time"
|
---|
| 781 | "RTN","VWMUAUD",8,0)
|
---|
| 782 | I $D(DEBUG) S Y=3110601.0030
|
---|
| 783 | "RTN","VWMUAUD",9,0)
|
---|
| 784 | E D ^DIR Q:$D(DIROUT) Q:+Y=-1
|
---|
| 785 | "RTN","VWMUAUD",10,0)
|
---|
| 786 | S VWBEG=Y
|
---|
| 787 | "RTN","VWMUAUD",11,0)
|
---|
| 788 | K DIR S DIR(0)="D^::ER",DIR("A")="Until Date/Time"
|
---|
| 789 | "RTN","VWMUAUD",12,0)
|
---|
| 790 | I $D(DEBUG) S Y=3110605.1530
|
---|
| 791 | "RTN","VWMUAUD",13,0)
|
---|
| 792 | E D ^DIR Q:$D(DIROUT) Q:+Y=-1
|
---|
| 793 | "RTN","VWMUAUD",14,0)
|
---|
| 794 | S VWEND=Y
|
---|
| 795 | "RTN","VWMUAUD",15,0)
|
---|
| 796 | W !,"From: " S Y=VWBEG X ^DD("DD") W Y," Thru "
|
---|
| 797 | "RTN","VWMUAUD",16,0)
|
---|
| 798 | S Y=VWEND X ^DD("DD") W Y,!
|
---|
| 799 | "RTN","VWMUAUD",17,0)
|
---|
| 800 | ;
|
---|
| 801 | "RTN","VWMUAUD",18,0)
|
---|
| 802 | N FDA
|
---|
| 803 | "RTN","VWMUAUD",19,0)
|
---|
| 804 | S FDA=$P($G(^XUSEC(250001.1,0),"AUDIT LOG FOR MU^250001.1"),U,1,2)
|
---|
| 805 | "RTN","VWMUAUD",20,0)
|
---|
| 806 | K ^XUSEC(250001.1) S ^XUSEC(250001.1,0)=FDA K FDA
|
---|
| 807 | "RTN","VWMUAUD",21,0)
|
---|
| 808 | ; look at AUDIT of PATIENT
|
---|
| 809 | "RTN","VWMUAUD",22,0)
|
---|
| 810 | K VWCNT S VWCNT=0,D=VWBEG-0.00000001
|
---|
| 811 | "RTN","VWMUAUD",23,0)
|
---|
| 812 | F D Q:$O(^DIA(2,"C",D))="" Q:$O(^DIA(2,"C",D))>VWEND
|
---|
| 813 | "RTN","VWMUAUD",24,0)
|
---|
| 814 | . S D=$O(^DIA(2,"C",D))
|
---|
| 815 | "RTN","VWMUAUD",25,0)
|
---|
| 816 | . S I=0 F S I=$O(^DIA(2,"C",D,I)) Q:I="" D
|
---|
| 817 | "RTN","VWMUAUD",26,0)
|
---|
| 818 | .. S VWCNT=VWCNT+1
|
---|
| 819 | "RTN","VWMUAUD",27,0)
|
---|
| 820 | .. I $G(DEBUG) D
|
---|
| 821 | "RTN","VWMUAUD",28,0)
|
---|
| 822 | ... W "^DIA(2,""C"","""_D_""","""_I_""")",!
|
---|
| 823 | "RTN","VWMUAUD",29,0)
|
---|
| 824 | ... N IEN S IEN=I N DA,DIC,DR,DIQ,DIA S DIA=2
|
---|
| 825 | "RTN","VWMUAUD",30,0)
|
---|
| 826 | ... N %,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
|
---|
| 827 | "RTN","VWMUAUD",31,0)
|
---|
| 828 | ... S DA=IEN,DIC="^DIA(2,",DR="0",DIQ(0)="CR"
|
---|
| 829 | "RTN","VWMUAUD",32,0)
|
---|
| 830 | ... D EN1^DIQ
|
---|
| 831 | "RTN","VWMUAUD",33,0)
|
---|
| 832 | .. S RESULT=$$CLASSPT(2,I,.VWCNT)
|
---|
| 833 | "RTN","VWMUAUD",34,0)
|
---|
| 834 | .. D:RESULT'="" SETMUAUD(VWCNT,RESULT)
|
---|
| 835 | "RTN","VWMUAUD",35,0)
|
---|
| 836 | D RPT("AUDIT OF PATIENT")
|
---|
| 837 | "RTN","VWMUAUD",36,0)
|
---|
| 838 | ;
|
---|
| 839 | "RTN","VWMUAUD",37,0)
|
---|
| 840 | W ! S VWCNTPAT=VWCNT
|
---|
| 841 | "RTN","VWMUAUD",38,0)
|
---|
| 842 | F I="MODIFIED","CREATED","DELETED","ACCESSED" D
|
---|
| 843 | "RTN","VWMUAUD",39,0)
|
---|
| 844 | . S VWCNTPAT(I)=$G(VWCNT(I)),VWCNT(I)=0
|
---|
| 845 | "RTN","VWMUAUD",40,0)
|
---|
| 846 | ; look at AUDIT LOG FOR RPCS
|
---|
| 847 | "RTN","VWMUAUD",41,0)
|
---|
| 848 | S D=VWBEG-0.000000001
|
---|
| 849 | "RTN","VWMUAUD",42,0)
|
---|
| 850 | F D Q:$O(^XUSEC(8994,D))="" Q:$O(^XUSEC(8994,D))>VWEND S VWCNT=VWCNT+1
|
---|
| 851 | "RTN","VWMUAUD",43,0)
|
---|
| 852 | . S D=$O(^XUSEC(8994,D))
|
---|
| 853 | "RTN","VWMUAUD",44,0)
|
---|
| 854 | . I $G(DEBUG)
|
---|
| 855 | "RTN","VWMUAUD",45,0)
|
---|
| 856 | .. W "^XUSEC(8994,"""_D_""",0)",!
|
---|
| 857 | "RTN","VWMUAUD",46,0)
|
---|
| 858 | .. N IEN S IEN=D N D,DA,DIC,DR,DIQ
|
---|
| 859 | "RTN","VWMUAUD",47,0)
|
---|
| 860 | .. S DA=IEN,DIC="^XUSEC(8994,",DR="0:~",DIQ(0)="CR"
|
---|
| 861 | "RTN","VWMUAUD",48,0)
|
---|
| 862 | .. D EN1^DIQ
|
---|
| 863 | "RTN","VWMUAUD",49,0)
|
---|
| 864 | . S RESULT=$$CLASSRPC(8994.81,D,.VWCNT)
|
---|
| 865 | "RTN","VWMUAUD",50,0)
|
---|
| 866 | . D:RESULT'="" SETMUAUD(VWCNT,RESULT)
|
---|
| 867 | "RTN","VWMUAUD",51,0)
|
---|
| 868 | ;
|
---|
| 869 | "RTN","VWMUAUD",52,0)
|
---|
| 870 | S VWCNT=VWCNT-VWCNTPAT
|
---|
| 871 | "RTN","VWMUAUD",53,0)
|
---|
| 872 | D RPT("AUDIT LOG FOR RPCS")
|
---|
| 873 | "RTN","VWMUAUD",54,0)
|
---|
| 874 | W ! S VWCNT=VWCNT+VWCNTPAT
|
---|
| 875 | "RTN","VWMUAUD",55,0)
|
---|
| 876 | F I="MODIFIED","CREATED","DELETED","ACCESSED" D
|
---|
| 877 | "RTN","VWMUAUD",56,0)
|
---|
| 878 | . S VWCNT(I)=VWCNT(I)+VWCNTPAT(I)
|
---|
| 879 | "RTN","VWMUAUD",57,0)
|
---|
| 880 | D RPT("")
|
---|
| 881 | "RTN","VWMUAUD",58,0)
|
---|
| 882 | S $P(^XUSEC(250001.1,0),U,3,4)=$O(^XUSEC(250001.1," "),-1)_U_VWCNT
|
---|
| 883 | "RTN","VWMUAUD",59,0)
|
---|
| 884 | Q
|
---|
| 885 | "RTN","VWMUAUD",60,0)
|
---|
| 886 | SETMUAUD(IEN,VAL) ;
|
---|
| 887 | "RTN","VWMUAUD",61,0)
|
---|
| 888 | I $G(DEBUG) W RES,!
|
---|
| 889 | "RTN","VWMUAUD",62,0)
|
---|
| 890 | S ^XUSEC(250001.1,IEN,0)=VAL
|
---|
| 891 | "RTN","VWMUAUD",63,0)
|
---|
| 892 | S ^XUSEC(250001.1,"B",$P(VAL,U),IEN)=""
|
---|
| 893 | "RTN","VWMUAUD",64,0)
|
---|
| 894 | S ^XUSEC(250001.1,"C",$P(VAL,U,4),IEN)=""
|
---|
| 895 | "RTN","VWMUAUD",65,0)
|
---|
| 896 | I $G(DEBUG) D
|
---|
| 897 | "RTN","VWMUAUD",66,0)
|
---|
| 898 | . N DA,DIC,DR,DIQ
|
---|
| 899 | "RTN","VWMUAUD",67,0)
|
---|
| 900 | . S DA=IEN,DIC="^XUSEC(250001.1,",DR="0",DIQ(0)="CR"
|
---|
| 901 | "RTN","VWMUAUD",68,0)
|
---|
| 902 | . D EN1^DIQ
|
---|
| 903 | "RTN","VWMUAUD",69,0)
|
---|
| 904 | ;S DA=1,DR=0,DIC="^XUSEC(250001.1,",DIQ(0)="CR" D EN1^DIQ
|
---|
| 905 | "RTN","VWMUAUD",70,0)
|
---|
| 906 | Q
|
---|
| 907 | "RTN","VWMUAUD",71,0)
|
---|
| 908 | RPT(MSG) ;
|
---|
| 909 | "RTN","VWMUAUD",72,0)
|
---|
| 910 | W !,VWCNT," Audit records found" W:$G(MSG)'="" " for ",MSG
|
---|
| 911 | "RTN","VWMUAUD",73,0)
|
---|
| 912 | S C="" F S C=$O(VWCNT(C)) Q:C="" D
|
---|
| 913 | "RTN","VWMUAUD",74,0)
|
---|
| 914 | . W !,"Count of ",C," records is ",VWCNT(C)
|
---|
| 915 | "RTN","VWMUAUD",75,0)
|
---|
| 916 | Q
|
---|
| 917 | "RTN","VWMUAUD",76,0)
|
---|
| 918 | ;
|
---|
| 919 | "RTN","VWMUAUD",77,0)
|
---|
| 920 | CLASSRPC(FILE,AUDIEN,COUNT) ;
|
---|
| 921 | "RTN","VWMUAUD",78,0)
|
---|
| 922 | I $G(AUDIEN)="" Q ""
|
---|
| 923 | "RTN","VWMUAUD",79,0)
|
---|
| 924 | I $D(^XUSEC(8994,AUDIEN,0)) D Q $$RP("A")
|
---|
| 925 | "RTN","VWMUAUD",80,0)
|
---|
| 926 | . S COUNT("ACCESSED")=$G(COUNT("ACCESSED"))+1
|
---|
| 927 | "RTN","VWMUAUD",81,0)
|
---|
| 928 | S COUNT("OTHER")=$G(COUNT("OTHER"))+1
|
---|
| 929 | "RTN","VWMUAUD",82,0)
|
---|
| 930 | Q $$RP("O")
|
---|
| 931 | "RTN","VWMUAUD",83,0)
|
---|
| 932 | ;
|
---|
| 933 | "RTN","VWMUAUD",84,0)
|
---|
| 934 | RP(X) ;
|
---|
| 935 | "RTN","VWMUAUD",85,0)
|
---|
| 936 | I '$G(AUDIEN) Q ""
|
---|
| 937 | "RTN","VWMUAUD",86,0)
|
---|
| 938 | N DFN S DFN=$G(^XUSEC(8994,AUDIEN,100))
|
---|
| 939 | "RTN","VWMUAUD",87,0)
|
---|
| 940 | N WHO S WHO=$P(^XUSEC(8994,AUDIEN,0),U,2)
|
---|
| 941 | "RTN","VWMUAUD",88,0)
|
---|
| 942 | ;N WHEN S WHEN=$P(AUDIEN,".")_"."_$P($P(AUDIEN,".",2),1,6)
|
---|
| 943 | "RTN","VWMUAUD",89,0)
|
---|
| 944 | N WHEN S WHEN=+$J(AUDIEN,1,6)
|
---|
| 945 | "RTN","VWMUAUD",90,0)
|
---|
| 946 | N RPCCALL S RPCCALL=$P($G(^XUSEC(8994,AUDIEN,0)),U)
|
---|
| 947 | "RTN","VWMUAUD",91,0)
|
---|
| 948 | N AUX S AUX=$P(^XWB(8994,RPCCALL,0),U)
|
---|
| 949 | "RTN","VWMUAUD",92,0)
|
---|
| 950 | Q "RPC;"_AUDIEN_U_DFN_U_WHO_U_WHEN_U_X_U_AUX
|
---|
| 951 | "RTN","VWMUAUD",93,0)
|
---|
| 952 | ;
|
---|
| 953 | "RTN","VWMUAUD",94,0)
|
---|
| 954 | PT(X) ;
|
---|
| 955 | "RTN","VWMUAUD",95,0)
|
---|
| 956 | I '$G(AUDIEN) Q ""
|
---|
| 957 | "RTN","VWMUAUD",96,0)
|
---|
| 958 | N DFN S DFN=$P(^DIA(2,AUDIEN,0),U)
|
---|
| 959 | "RTN","VWMUAUD",97,0)
|
---|
| 960 | N WHO S WHO=$P(^DIA(2,AUDIEN,0),U,4)
|
---|
| 961 | "RTN","VWMUAUD",98,0)
|
---|
| 962 | N WHEN S WHEN=$P(^DIA(2,AUDIEN,0),U,2)
|
---|
| 963 | "RTN","VWMUAUD",99,0)
|
---|
| 964 | N OPTION S OPTION=$P($G(^DIA(2,AUDIEN,4.1)),U)
|
---|
| 965 | "RTN","VWMUAUD",100,0)
|
---|
| 966 | S OPTION=$P($G(^DIC(19,+OPTION,0),OPTION),U,1)
|
---|
| 967 | "RTN","VWMUAUD",101,0)
|
---|
| 968 | N AUX S AUX=OPTION
|
---|
| 969 | "RTN","VWMUAUD",102,0)
|
---|
| 970 | Q "FILE"_FILE_";"_AUDIEN_U_DFN_U_WHO_U_WHEN_U_X_U_AUX
|
---|
| 971 | "RTN","VWMUAUD",103,0)
|
---|
| 972 | ;
|
---|
| 973 | "RTN","VWMUAUD",104,0)
|
---|
| 974 | CLASSPT(FILE,AUDIEN,COUNT) ;
|
---|
| 975 | "RTN","VWMUAUD",105,0)
|
---|
| 976 | I FILE'=2 W !,"not PATIENT" Q
|
---|
| 977 | "RTN","VWMUAUD",106,0)
|
---|
| 978 | I AUDIEN="" W !,"Null IEN" Q
|
---|
| 979 | "RTN","VWMUAUD",107,0)
|
---|
| 980 | ;
|
---|
| 981 | "RTN","VWMUAUD",108,0)
|
---|
| 982 | I $D(^DIA(FILE,AUDIEN,2)),$D(^DIA(FILE,AUDIEN,3)) D Q $$PT("M")
|
---|
| 983 | "RTN","VWMUAUD",109,0)
|
---|
| 984 | . S COUNT("MODIFIED")=$G(COUNT("MODIFIED"))+1 Q
|
---|
| 985 | "RTN","VWMUAUD",110,0)
|
---|
| 986 | I $D(^DIA(FILE,AUDIEN,2)) D Q $$PT("D")
|
---|
| 987 | "RTN","VWMUAUD",111,0)
|
---|
| 988 | . S COUNT("DELETED")=$G(COUNT("DELETED"))+1 Q
|
---|
| 989 | "RTN","VWMUAUD",112,0)
|
---|
| 990 | I $D(^DIA(FILE,AUDIEN,3)) D Q $$PT("C")
|
---|
| 991 | "RTN","VWMUAUD",113,0)
|
---|
| 992 | . S COUNT("CREATED")=$G(COUNT("CREATED"))+1 Q
|
---|
| 993 | "RTN","VWMUAUD",114,0)
|
---|
| 994 | S COUNT("ACCESSED")=$G(COUNT("ACCESSED"))+1
|
---|
| 995 | "RTN","VWMUAUD",115,0)
|
---|
| 996 | Q $$PT("A")
|
---|
| 997 | "RTN","XWBPRS")
|
---|
| 998 | 0^2^B39321763
|
---|
| 999 | "RTN","XWBPRS",1,0)
|
---|
| 1000 | XWBPRS ;ISF/STAFF - VISTA BROKER MSG PARSER ;18FEB2011
|
---|
| 1001 | "RTN","XWBPRS",2,0)
|
---|
| 1002 | ;;1.1;RPC BROKER;**35,43,46,VW**;Mar 28, 1997;Build 3
|
---|
| 1003 | "RTN","XWBPRS",3,0)
|
---|
| 1004 | ;XWB holds info from the message used by the RPC
|
---|
| 1005 | "RTN","XWBPRS",4,0)
|
---|
| 1006 | CALLP(XWBP,XWBDEBUG) ;make API call using Protocol string
|
---|
| 1007 | "RTN","XWBPRS",5,0)
|
---|
| 1008 | N ERR,S,XWBARY K XWB
|
---|
| 1009 | "RTN","XWBPRS",6,0)
|
---|
| 1010 | S ERR=0
|
---|
| 1011 | "RTN","XWBPRS",7,0)
|
---|
| 1012 | S ERR=$$PRSP("[XWB]") ;Read the rest of the protocol header
|
---|
| 1013 | "RTN","XWBPRS",8,0)
|
---|
| 1014 | I '+ERR S ERR=$$PRSM ;Read and parse message
|
---|
| 1015 | "RTN","XWBPRS",9,0)
|
---|
| 1016 | I $G(XWB(2,"RPC"))="XUS SET SHARED" S XWBSHARE=1 Q
|
---|
| 1017 | "RTN","XWBPRS",10,0)
|
---|
| 1018 | I '+ERR S ERR=$$RPC ;Check the RPC
|
---|
| 1019 | "RTN","XWBPRS",11,0)
|
---|
| 1020 | I +ERR S XWBSEC=$P(ERR,U,2) ;P10 -- dpc
|
---|
| 1021 | "RTN","XWBPRS",12,0)
|
---|
| 1022 | I '+ERR D CHKPRMIT^XWBSEC($G(XWB(2,"RPC"))) ;checks if RPC allowed to run
|
---|
| 1023 | "RTN","XWBPRS",13,0)
|
---|
| 1024 | S:$L($G(XWBSEC)) ERR="-1^"_XWBSEC
|
---|
| 1025 | "RTN","XWBPRS",14,0)
|
---|
| 1026 | I '+ERR D
|
---|
| 1027 | "RTN","XWBPRS",15,0)
|
---|
| 1028 | . D CAPI(.XWBP,XWB("PARAM"))
|
---|
| 1029 | "RTN","XWBPRS",16,0)
|
---|
| 1030 | E I ($G(XWBTCMD)'="#BYE#") D LOG^XWBTCPM("Bad Msg"_ERR),CLRBUF
|
---|
| 1031 | "RTN","XWBPRS",17,0)
|
---|
| 1032 | I 'XWBDEBUG K XWB
|
---|
| 1033 | "RTN","XWBPRS",18,0)
|
---|
| 1034 | I $D(XWBARY) K @XWBARY,XWBARY
|
---|
| 1035 | "RTN","XWBPRS",19,0)
|
---|
| 1036 | Q
|
---|
| 1037 | "RTN","XWBPRS",20,0)
|
---|
| 1038 | ;
|
---|
| 1039 | "RTN","XWBPRS",21,0)
|
---|
| 1040 | PRSP(P) ;ef, Parse Protocol
|
---|
| 1041 | "RTN","XWBPRS",22,0)
|
---|
| 1042 | ;M Extrinsic Function
|
---|
| 1043 | "RTN","XWBPRS",23,0)
|
---|
| 1044 | ;Outputs
|
---|
| 1045 | "RTN","XWBPRS",24,0)
|
---|
| 1046 | ;ERR 0 for success, "-1^Text" if error
|
---|
| 1047 | "RTN","XWBPRS",25,0)
|
---|
| 1048 | ;
|
---|
| 1049 | "RTN","XWBPRS",26,0)
|
---|
| 1050 | N ERR,C,M,R,X
|
---|
| 1051 | "RTN","XWBPRS",27,0)
|
---|
| 1052 | S R=0,C=";",ERR=0
|
---|
| 1053 | "RTN","XWBPRS",28,0)
|
---|
| 1054 | S P=$$BREAD^XWBRW(4)
|
---|
| 1055 | "RTN","XWBPRS",29,0)
|
---|
| 1056 | IF $L(P)'=4 S ERR="-1^Short Header info"
|
---|
| 1057 | "RTN","XWBPRS",30,0)
|
---|
| 1058 | IF +ERR=0 D
|
---|
| 1059 | "RTN","XWBPRS",31,0)
|
---|
| 1060 | . S XWB(R,"VER")=+$E(P,1)
|
---|
| 1061 | "RTN","XWBPRS",32,0)
|
---|
| 1062 | . S XWB(R,"TYPE")=+$E(P,2)
|
---|
| 1063 | "RTN","XWBPRS",33,0)
|
---|
| 1064 | . S (XWBENVL,XWB(R,"LENV"))=+$E(P,3)
|
---|
| 1065 | "RTN","XWBPRS",34,0)
|
---|
| 1066 | . S (XWBPRT,XWB(R,"RT"))=+$E(P,4)
|
---|
| 1067 | "RTN","XWBPRS",35,0)
|
---|
| 1068 | I XWBENVL<1 S (XWBENVL,XWB(R,"LENV"))=3
|
---|
| 1069 | "RTN","XWBPRS",36,0)
|
---|
| 1070 | Q ERR
|
---|
| 1071 | "RTN","XWBPRS",37,0)
|
---|
| 1072 | ;
|
---|
| 1073 | "RTN","XWBPRS",38,0)
|
---|
| 1074 | PRSM() ;ef, Parse message
|
---|
| 1075 | "RTN","XWBPRS",39,0)
|
---|
| 1076 | ;M Extrinsic Function
|
---|
| 1077 | "RTN","XWBPRS",40,0)
|
---|
| 1078 | ;See document on msg format
|
---|
| 1079 | "RTN","XWBPRS",41,0)
|
---|
| 1080 | ;Outputs
|
---|
| 1081 | "RTN","XWBPRS",42,0)
|
---|
| 1082 | ;ERR 0 for success, "-1^Text" if error
|
---|
| 1083 | "RTN","XWBPRS",43,0)
|
---|
| 1084 | N C,EX1,ERR,R,X,CNK
|
---|
| 1085 | "RTN","XWBPRS",44,0)
|
---|
| 1086 | S R=1,C=";",CNK=0,EX1=0 ;Max buffer
|
---|
| 1087 | "RTN","XWBPRS",45,0)
|
---|
| 1088 | S ERR="-1^Invalid Chunk"
|
---|
| 1089 | "RTN","XWBPRS",46,0)
|
---|
| 1090 | F S CNK=$$BREAD^XWBRW(1) Q:("12345"'[CNK) D Q:EX1
|
---|
| 1091 | "RTN","XWBPRS",47,0)
|
---|
| 1092 | . S EX1=(CNK=5),@("ERR=$$PRS"_CNK)
|
---|
| 1093 | "RTN","XWBPRS",48,0)
|
---|
| 1094 | Q ERR
|
---|
| 1095 | "RTN","XWBPRS",49,0)
|
---|
| 1096 | ;
|
---|
| 1097 | "RTN","XWBPRS",50,0)
|
---|
| 1098 | PRS1() ;Parse the HEADER chunk
|
---|
| 1099 | "RTN","XWBPRS",51,0)
|
---|
| 1100 | N %,L,R
|
---|
| 1101 | "RTN","XWBPRS",52,0)
|
---|
| 1102 | S R=1
|
---|
| 1103 | "RTN","XWBPRS",53,0)
|
---|
| 1104 | S XWB(R,"VER")=$$SREAD
|
---|
| 1105 | "RTN","XWBPRS",54,0)
|
---|
| 1106 | S XWB(R,"RETURN")=$$SREAD
|
---|
| 1107 | "RTN","XWBPRS",55,0)
|
---|
| 1108 | Q 0
|
---|
| 1109 | "RTN","XWBPRS",56,0)
|
---|
| 1110 | ;
|
---|
| 1111 | "RTN","XWBPRS",57,0)
|
---|
| 1112 | PRS2() ;Parse the RPC chunk
|
---|
| 1113 | "RTN","XWBPRS",58,0)
|
---|
| 1114 | N L,R
|
---|
| 1115 | "RTN","XWBPRS",59,0)
|
---|
| 1116 | S R=2
|
---|
| 1117 | "RTN","XWBPRS",60,0)
|
---|
| 1118 | S (XWBAPVER,XWB(R,"VER"))=$$SREAD ;RPC version
|
---|
| 1119 | "RTN","XWBPRS",61,0)
|
---|
| 1120 | S XWB(R,"RPC")=$$SREAD
|
---|
| 1121 | "RTN","XWBPRS",62,0)
|
---|
| 1122 | I $G(XWBDEBUG)>1 D LOG^XWBTCPM("RPC: "_XWB(R,"RPC"))
|
---|
| 1123 | "RTN","XWBPRS",63,0)
|
---|
| 1124 | Q 0
|
---|
| 1125 | "RTN","XWBPRS",64,0)
|
---|
| 1126 | PRS3() ;Parse the Security chunk
|
---|
| 1127 | "RTN","XWBPRS",65,0)
|
---|
| 1128 | N L,R
|
---|
| 1129 | "RTN","XWBPRS",66,0)
|
---|
| 1130 | S R=3
|
---|
| 1131 | "RTN","XWBPRS",67,0)
|
---|
| 1132 | Q 0
|
---|
| 1133 | "RTN","XWBPRS",68,0)
|
---|
| 1134 | PRS4() ;Parse the Command chunk
|
---|
| 1135 | "RTN","XWBPRS",69,0)
|
---|
| 1136 | N R
|
---|
| 1137 | "RTN","XWBPRS",70,0)
|
---|
| 1138 | S R=4,XWBTCMD=$$SREAD,XWB(R,"CMD")=XWBTCMD
|
---|
| 1139 | "RTN","XWBPRS",71,0)
|
---|
| 1140 | I $G(XWBDEBUG)>1 D LOG^XWBTCPM("CMD: "_XWBTCMD)
|
---|
| 1141 | "RTN","XWBPRS",72,0)
|
---|
| 1142 | Q ("TCPConnect^#BYE#"[XWBTCMD)
|
---|
| 1143 | "RTN","XWBPRS",73,0)
|
---|
| 1144 | ;
|
---|
| 1145 | "RTN","XWBPRS",74,0)
|
---|
| 1146 | PRS5() ;Parse Data Parameter chunk
|
---|
| 1147 | "RTN","XWBPRS",75,0)
|
---|
| 1148 | ;M Extrinsic Function
|
---|
| 1149 | "RTN","XWBPRS",76,0)
|
---|
| 1150 | ;Outputs
|
---|
| 1151 | "RTN","XWBPRS",77,0)
|
---|
| 1152 | ;ERR 0 for success, "-1^Text" if error
|
---|
| 1153 | "RTN","XWBPRS",78,0)
|
---|
| 1154 | ;
|
---|
| 1155 | "RTN","XWBPRS",79,0)
|
---|
| 1156 | N CONT,DONE,ERR,F,FL,IX,K,L,P1,P2,P3,P4,P5,MAXP,R,TY,VA
|
---|
| 1157 | "RTN","XWBPRS",80,0)
|
---|
| 1158 | S R=5,ERR=0,F=3,IX=0,DONE=0,CONT="f",XWB("PARAM")=""
|
---|
| 1159 | "RTN","XWBPRS",81,0)
|
---|
| 1160 | F S:CONT="f" TY=$$BREAD^XWBRW(1) D Q:DONE S CONT=$$BREAD^XWBRW(1) S:CONT'="t" IX=IX+1
|
---|
| 1161 | "RTN","XWBPRS",82,0)
|
---|
| 1162 | . K VA,P1
|
---|
| 1163 | "RTN","XWBPRS",83,0)
|
---|
| 1164 | . IF TY=$C(4) S DONE=1 Q ;EOT
|
---|
| 1165 | "RTN","XWBPRS",84,0)
|
---|
| 1166 | . IF TY=0 D Q ;literal
|
---|
| 1167 | "RTN","XWBPRS",85,0)
|
---|
| 1168 | . . D LREAD("VA")
|
---|
| 1169 | "RTN","XWBPRS",86,0)
|
---|
| 1170 | . . S XWB(R,"P",IX)=VA(1) D PARAM($NA(XWB(R,"P",IX)))
|
---|
| 1171 | "RTN","XWBPRS",87,0)
|
---|
| 1172 | . . Q
|
---|
| 1173 | "RTN","XWBPRS",88,0)
|
---|
| 1174 | . IF TY=1 D Q ;reference
|
---|
| 1175 | "RTN","XWBPRS",89,0)
|
---|
| 1176 | . . D LREAD("VA")
|
---|
| 1177 | "RTN","XWBPRS",90,0)
|
---|
| 1178 | . . S XWB(R,"P",IX)=$$GETV(VA(1)) D PARAM($NA(XWB(R,"P",IX)))
|
---|
| 1179 | "RTN","XWBPRS",91,0)
|
---|
| 1180 | . . Q
|
---|
| 1181 | "RTN","XWBPRS",92,0)
|
---|
| 1182 | . IF TY=2 D Q ;list
|
---|
| 1183 | "RTN","XWBPRS",93,0)
|
---|
| 1184 | . . I CONT'="t" D
|
---|
| 1185 | "RTN","XWBPRS",94,0)
|
---|
| 1186 | . . . S XWBARY=$$OARY,XWB(R,"P",IX)="."_XWBARY
|
---|
| 1187 | "RTN","XWBPRS",95,0)
|
---|
| 1188 | . . . D PARAM(XWB(R,"P",IX))
|
---|
| 1189 | "RTN","XWBPRS",96,0)
|
---|
| 1190 | . . D LREAD("P1") Q:P1(1)="" D LREAD("VA")
|
---|
| 1191 | "RTN","XWBPRS",97,0)
|
---|
| 1192 | . . D LINST(XWBARY,P1(1),VA(1))
|
---|
| 1193 | "RTN","XWBPRS",98,0)
|
---|
| 1194 | . . Q
|
---|
| 1195 | "RTN","XWBPRS",99,0)
|
---|
| 1196 | . IF TY=3 D Q ;global
|
---|
| 1197 | "RTN","XWBPRS",100,0)
|
---|
| 1198 | . . I CONT'="t" D
|
---|
| 1199 | "RTN","XWBPRS",101,0)
|
---|
| 1200 | . . . S XWBARY=$NA(^TMP("XWBA",$J,IX)),XWB(R,"P",IX)=XWBARY
|
---|
| 1201 | "RTN","XWBPRS",102,0)
|
---|
| 1202 | . . . K @XWBARY S @XWBARY=""
|
---|
| 1203 | "RTN","XWBPRS",103,0)
|
---|
| 1204 | . . . D PARAM(XWBARY)
|
---|
| 1205 | "RTN","XWBPRS",104,0)
|
---|
| 1206 | . . D LREAD("P1") Q:P1(1)="" D LREAD("VA")
|
---|
| 1207 | "RTN","XWBPRS",105,0)
|
---|
| 1208 | . . D GINST(XWBARY,P1(1),VA(1))
|
---|
| 1209 | "RTN","XWBPRS",106,0)
|
---|
| 1210 | . . Q
|
---|
| 1211 | "RTN","XWBPRS",107,0)
|
---|
| 1212 | . IF TY=4 D Q ;empty - ,,
|
---|
| 1213 | "RTN","XWBPRS",108,0)
|
---|
| 1214 | . . S XWB(R,"XWB",IX)=""
|
---|
| 1215 | "RTN","XWBPRS",109,0)
|
---|
| 1216 | . . Q
|
---|
| 1217 | "RTN","XWBPRS",110,0)
|
---|
| 1218 | . IF TY=5 D Q
|
---|
| 1219 | "RTN","XWBPRS",111,0)
|
---|
| 1220 | . . ;stream still to be done
|
---|
| 1221 | "RTN","XWBPRS",112,0)
|
---|
| 1222 | . Q ;End of loop
|
---|
| 1223 | "RTN","XWBPRS",113,0)
|
---|
| 1224 | Q ERR
|
---|
| 1225 | "RTN","XWBPRS",114,0)
|
---|
| 1226 | PARAM(NA) ;Add a new parameter to the list
|
---|
| 1227 | "RTN","XWBPRS",115,0)
|
---|
| 1228 | N A
|
---|
| 1229 | "RTN","XWBPRS",116,0)
|
---|
| 1230 | S A=$G(XWB("PARAM")) S:'$L(NA) NA="""""" ;Empty
|
---|
| 1231 | "RTN","XWBPRS",117,0)
|
---|
| 1232 | S A=A_$S($L(A):",",1:"")_$S(TY=3:"$NA(",1:"")_NA_$S(TY=3:")",1:"")
|
---|
| 1233 | "RTN","XWBPRS",118,0)
|
---|
| 1234 | S XWB("PARAM")=A
|
---|
| 1235 | "RTN","XWBPRS",119,0)
|
---|
| 1236 | Q
|
---|
| 1237 | "RTN","XWBPRS",120,0)
|
---|
| 1238 | ;
|
---|
| 1239 | "RTN","XWBPRS",121,0)
|
---|
| 1240 | RPC() ;Check the rpc information.
|
---|
| 1241 | "RTN","XWBPRS",122,0)
|
---|
| 1242 | ;M Extrinsic Function
|
---|
| 1243 | "RTN","XWBPRS",123,0)
|
---|
| 1244 | ;Outputs
|
---|
| 1245 | "RTN","XWBPRS",124,0)
|
---|
| 1246 | ;ERR 0 for success, "-1^Text" if error
|
---|
| 1247 | "RTN","XWBPRS",125,0)
|
---|
| 1248 | ;
|
---|
| 1249 | "RTN","XWBPRS",126,0)
|
---|
| 1250 | N C,DR,ERR,M,R,RPC,T,X
|
---|
| 1251 | "RTN","XWBPRS",127,0)
|
---|
| 1252 | S R=2,C=";",ERR=0,M=512 ;Max buffer
|
---|
| 1253 | "RTN","XWBPRS",128,0)
|
---|
| 1254 | S RPC=$G(XWB(R,"RPC")) I '$L(RPC) Q "-1^No RPC sent"
|
---|
| 1255 | "RTN","XWBPRS",129,0)
|
---|
| 1256 | S T=$O(^XWB(8994,"B",RPC,0))
|
---|
| 1257 | "RTN","XWBPRS",130,0)
|
---|
| 1258 | I '+T Q "-1^Remote Procedure '"_RPC_"' doesn't exist on the server."
|
---|
| 1259 | "RTN","XWBPRS",131,0)
|
---|
| 1260 | S T(0)=$G(^XWB(8994,T,0))
|
---|
| 1261 | "RTN","XWBPRS",132,0)
|
---|
| 1262 | I $P(T(0),U,6)=1!($P(T(0),U,6)=2) Q "-1^Remote Procedure '"_RPC_"' cannot be run at this time." ;P10. Check INACTIVE field. - dpc.
|
---|
| 1263 | "RTN","XWBPRS",133,0)
|
---|
| 1264 | S XWB(R,"RTAG")=$P(T(0),"^",2)
|
---|
| 1265 | "RTN","XWBPRS",134,0)
|
---|
| 1266 | S XWB(R,"RNAM")=$P(T(0),"^",3)
|
---|
| 1267 | "RTN","XWBPRS",135,0)
|
---|
| 1268 | S XWBPTYPE=$P(T(0),"^",4)
|
---|
| 1269 | "RTN","XWBPRS",136,0)
|
---|
| 1270 | S XWBWRAP=+$P(T(0),"^",8)
|
---|
| 1271 | "RTN","XWBPRS",137,0)
|
---|
| 1272 | Q ERR
|
---|
| 1273 | "RTN","XWBPRS",138,0)
|
---|
| 1274 | ;
|
---|
| 1275 | "RTN","XWBPRS",139,0)
|
---|
| 1276 | SREAD() ;Read a S_PACK
|
---|
| 1277 | "RTN","XWBPRS",140,0)
|
---|
| 1278 | N L,V7
|
---|
| 1279 | "RTN","XWBPRS",141,0)
|
---|
| 1280 | S L=$$BREAD^XWBRW(1),L=$A(L)
|
---|
| 1281 | "RTN","XWBPRS",142,0)
|
---|
| 1282 | S V7=$$BREAD^XWBRW(L)
|
---|
| 1283 | "RTN","XWBPRS",143,0)
|
---|
| 1284 | Q V7
|
---|
| 1285 | "RTN","XWBPRS",144,0)
|
---|
| 1286 | ;
|
---|
| 1287 | "RTN","XWBPRS",145,0)
|
---|
| 1288 | LREAD(ROOT) ;Read a L_PACK
|
---|
| 1289 | "RTN","XWBPRS",146,0)
|
---|
| 1290 | N L,V7,I ;p45 Remove limit on length of string.
|
---|
| 1291 | "RTN","XWBPRS",147,0)
|
---|
| 1292 | S I=1,@ROOT@(I)=""
|
---|
| 1293 | "RTN","XWBPRS",148,0)
|
---|
| 1294 | S L=$$BREAD^XWBRW(XWBENVL),L=+L
|
---|
| 1295 | "RTN","XWBPRS",149,0)
|
---|
| 1296 | I L>0 S V7=$$BREAD^XWBRW(L),@ROOT@(I)=V7,I=I+1
|
---|
| 1297 | "RTN","XWBPRS",150,0)
|
---|
| 1298 | Q
|
---|
| 1299 | "RTN","XWBPRS",151,0)
|
---|
| 1300 | ;
|
---|
| 1301 | "RTN","XWBPRS",152,0)
|
---|
| 1302 | ;X can be something like '"TEXT",1,0'.
|
---|
| 1303 | "RTN","XWBPRS",153,0)
|
---|
| 1304 | LINST(A,X,XWBY) ;instantiate local array
|
---|
| 1305 | "RTN","XWBPRS",154,0)
|
---|
| 1306 | IF XWBY=$C(1) S XWBY=""
|
---|
| 1307 | "RTN","XWBPRS",155,0)
|
---|
| 1308 | S X=A_"("_X_")"
|
---|
| 1309 | "RTN","XWBPRS",156,0)
|
---|
| 1310 | S @X=XWBY
|
---|
| 1311 | "RTN","XWBPRS",157,0)
|
---|
| 1312 | Q
|
---|
| 1313 | "RTN","XWBPRS",158,0)
|
---|
| 1314 | ;
|
---|
| 1315 | "RTN","XWBPRS",159,0)
|
---|
| 1316 | ;S can be something like '"TEXT",1,0'.
|
---|
| 1317 | "RTN","XWBPRS",160,0)
|
---|
| 1318 | GINST(R,S,V) ;instantiate global
|
---|
| 1319 | "RTN","XWBPRS",161,0)
|
---|
| 1320 | N N
|
---|
| 1321 | "RTN","XWBPRS",162,0)
|
---|
| 1322 | I V=$C(1) S V=""
|
---|
| 1323 | "RTN","XWBPRS",163,0)
|
---|
| 1324 | S N=$P(R,")")_","_S_")"
|
---|
| 1325 | "RTN","XWBPRS",164,0)
|
---|
| 1326 | S @N=V
|
---|
| 1327 | "RTN","XWBPRS",165,0)
|
---|
| 1328 | Q
|
---|
| 1329 | "RTN","XWBPRS",166,0)
|
---|
| 1330 | ;
|
---|
| 1331 | "RTN","XWBPRS",167,0)
|
---|
| 1332 | GETV(V) ;get value of V - reference parameter
|
---|
| 1333 | "RTN","XWBPRS",168,0)
|
---|
| 1334 | N X
|
---|
| 1335 | "RTN","XWBPRS",169,0)
|
---|
| 1336 | S X=V
|
---|
| 1337 | "RTN","XWBPRS",170,0)
|
---|
| 1338 | IF $E(X,1,2)="$$" Q ""
|
---|
| 1339 | "RTN","XWBPRS",171,0)
|
---|
| 1340 | IF $C(34,36)[$E(V) X "S V="_$$VCHK(V)
|
---|
| 1341 | "RTN","XWBPRS",172,0)
|
---|
| 1342 | E S V=@V
|
---|
| 1343 | "RTN","XWBPRS",173,0)
|
---|
| 1344 | Q V
|
---|
| 1345 | "RTN","XWBPRS",174,0)
|
---|
| 1346 | ;
|
---|
| 1347 | "RTN","XWBPRS",175,0)
|
---|
| 1348 | VCHK(S) ;Parse string for first argument
|
---|
| 1349 | "RTN","XWBPRS",176,0)
|
---|
| 1350 | N C,I,P
|
---|
| 1351 | "RTN","XWBPRS",177,0)
|
---|
| 1352 | F I=1:1 S C=$E(S,I) D VCHKP:C="(",VCHKQ:C=$C(34) Q:" ,"[C
|
---|
| 1353 | "RTN","XWBPRS",178,0)
|
---|
| 1354 | Q $E(S,1,I-1)
|
---|
| 1355 | "RTN","XWBPRS",179,0)
|
---|
| 1356 | VCHKP S P=1 ;Find closing paren
|
---|
| 1357 | "RTN","XWBPRS",180,0)
|
---|
| 1358 | F I=I+1:1 S C=$E(S,I) Q:P=0!(C="") I "()"""[C D VCHKQ:C=$C(34) S P=P+$S("("[C:1,")"[C:-1,1:0)
|
---|
| 1359 | "RTN","XWBPRS",181,0)
|
---|
| 1360 | Q
|
---|
| 1361 | "RTN","XWBPRS",182,0)
|
---|
| 1362 | VCHKQ ;Find closing quote
|
---|
| 1363 | "RTN","XWBPRS",183,0)
|
---|
| 1364 | F I=I+1:1 S C=$E(S,I) Q:C=""!(C=$C(34))
|
---|
| 1365 | "RTN","XWBPRS",184,0)
|
---|
| 1366 | Q
|
---|
| 1367 | "RTN","XWBPRS",185,0)
|
---|
| 1368 | CLRBUF ;Empties Input buffer
|
---|
| 1369 | "RTN","XWBPRS",186,0)
|
---|
| 1370 | N %
|
---|
| 1371 | "RTN","XWBPRS",187,0)
|
---|
| 1372 | F R *%:2 Q:'$T!(%=4) ;!(%=-1)
|
---|
| 1373 | "RTN","XWBPRS",188,0)
|
---|
| 1374 | Q
|
---|
| 1375 | "RTN","XWBPRS",189,0)
|
---|
| 1376 | ZZZ(X) ;Convert
|
---|
| 1377 | "RTN","XWBPRS",190,0)
|
---|
| 1378 | N I
|
---|
| 1379 | "RTN","XWBPRS",191,0)
|
---|
| 1380 | F S I=$F(X,"$C(") Q:'I S J=$F(X,")",I),X=$E(X,1,I-4)_$C($E(X,I,J-2))_$E(X,J,999)
|
---|
| 1381 | "RTN","XWBPRS",192,0)
|
---|
| 1382 | Q X
|
---|
| 1383 | "RTN","XWBPRS",193,0)
|
---|
| 1384 | ;
|
---|
| 1385 | "RTN","XWBPRS",194,0)
|
---|
| 1386 | CAPI(XWBY,PAR) ;make API call
|
---|
| 1387 | "RTN","XWBPRS",195,0)
|
---|
| 1388 | N XWBCALL,T,DX,DY
|
---|
| 1389 | "RTN","XWBPRS",196,0)
|
---|
| 1390 | S XWBCALL=XWB(2,"RTAG")_"^"_XWB(2,"RNAM")_"(.XWBY"_$S($L(PAR):","_PAR,1:"")_")",XWBCALL2=""
|
---|
| 1391 | "RTN","XWBPRS",197,0)
|
---|
| 1392 | K PAR
|
---|
| 1393 | "RTN","XWBPRS",198,0)
|
---|
| 1394 | O XWBNULL U XWBNULL ;p43 Make sure its open
|
---|
| 1395 | "RTN","XWBPRS",199,0)
|
---|
| 1396 | ;
|
---|
| 1397 | "RTN","XWBPRS",200,0)
|
---|
| 1398 | I $G(XWBDEBUG)>2 D LOG^XWBDLOG("Call: "_$E(XWBCALL,1,247))
|
---|
| 1399 | "RTN","XWBPRS",201,0)
|
---|
| 1400 | ;start RUM for RPC
|
---|
| 1401 | "RTN","XWBPRS",202,0)
|
---|
| 1402 | I $G(XWB(2,"CAPI"))]"" D LOGRSRC^%ZOSV(XWB(2,"CAPI"),2,1)
|
---|
| 1403 | "RTN","XWBPRS",203,0)
|
---|
| 1404 | VWAUDIT I $G(XWB(2,"RPC"))]"" D TRAP^XWBVW(.XWB)
|
---|
| 1405 | "RTN","XWBPRS",204,0)
|
---|
| 1406 | D @XWBCALL S XWBCALL2=XWBCALL ;Save call for debug
|
---|
| 1407 | "RTN","XWBPRS",205,0)
|
---|
| 1408 | ;
|
---|
| 1409 | "RTN","XWBPRS",206,0)
|
---|
| 1410 | ;restart RUM for handler
|
---|
| 1411 | "RTN","XWBPRS",207,0)
|
---|
| 1412 | D LOGRSRC^%ZOSV("$BROKER HANDLER$",2,1)
|
---|
| 1413 | "RTN","XWBPRS",208,0)
|
---|
| 1414 | ;
|
---|
| 1415 | "RTN","XWBPRS",209,0)
|
---|
| 1416 | U XWBTDEV
|
---|
| 1417 | "RTN","XWBPRS",210,0)
|
---|
| 1418 | Q
|
---|
| 1419 | "RTN","XWBPRS",211,0)
|
---|
| 1420 | ;
|
---|
| 1421 | "RTN","XWBPRS",212,0)
|
---|
| 1422 | OARY() ;create storage array
|
---|
| 1423 | "RTN","XWBPRS",213,0)
|
---|
| 1424 | N A,DONE,I
|
---|
| 1425 | "RTN","XWBPRS",214,0)
|
---|
| 1426 | S I=1+$G(XWB("ARRAY")),XWB("ARRAY")=I
|
---|
| 1427 | "RTN","XWBPRS",215,0)
|
---|
| 1428 | S A="XWBS"_I
|
---|
| 1429 | "RTN","XWBPRS",216,0)
|
---|
| 1430 | K @A ;temp fix for single array
|
---|
| 1431 | "RTN","XWBPRS",217,0)
|
---|
| 1432 | S @A="" ;set naked
|
---|
| 1433 | "RTN","XWBPRS",218,0)
|
---|
| 1434 | Q A
|
---|
| 1435 | "RTN","XWBPRS",219,0)
|
---|
| 1436 | ;
|
---|
| 1437 | "RTN","XWBPRS",220,0)
|
---|
| 1438 | CREF(R,P) ;Convert array contained in P to reference A
|
---|
| 1439 | "RTN","XWBPRS",221,0)
|
---|
| 1440 | N I,X,DONE,F1,S
|
---|
| 1441 | "RTN","XWBPRS",222,0)
|
---|
| 1442 | S DONE=0
|
---|
| 1443 | "RTN","XWBPRS",223,0)
|
---|
| 1444 | S S=""
|
---|
| 1445 | "RTN","XWBPRS",224,0)
|
---|
| 1446 | F I=1:1 D Q:DONE
|
---|
| 1447 | "RTN","XWBPRS",225,0)
|
---|
| 1448 | . IF $P(P,",",I)="" S DONE=1 Q
|
---|
| 1449 | "RTN","XWBPRS",226,0)
|
---|
| 1450 | . S X(I)=$P(P,",",I)
|
---|
| 1451 | "RTN","XWBPRS",227,0)
|
---|
| 1452 | . IF X(I)?1"."1A.E D
|
---|
| 1453 | "RTN","XWBPRS",228,0)
|
---|
| 1454 | . . S F1=$F(X(I),".")
|
---|
| 1455 | "RTN","XWBPRS",229,0)
|
---|
| 1456 | . . S X(I)="."_R
|
---|
| 1457 | "RTN","XWBPRS",230,0)
|
---|
| 1458 | . S S=S_X(I)_","
|
---|
| 1459 | "RTN","XWBPRS",231,0)
|
---|
| 1460 | Q $E(S,1,$L(S)-1)
|
---|
| 1461 | "RTN","XWBPRS",232,0)
|
---|
| 1462 | ;
|
---|
| 1463 | "RTN","XWBVW")
|
---|
| 1464 | 0^3^B9598967
|
---|
| 1465 | "RTN","XWBVW",1,0)
|
---|
| 1466 | XWBVW ;GFT - PURGE RPC AUDIT;18FEB2011
|
---|
| 1467 | "RTN","XWBVW",2,0)
|
---|
| 1468 | ;;8.0;KERNEL;;Jul 10, 1995;Build 3
|
---|
| 1469 | "RTN","XWBVW",3,0)
|
---|
| 1470 | ;
|
---|
| 1471 | "RTN","XWBVW",4,0)
|
---|
| 1472 | ;
|
---|
| 1473 | "RTN","XWBVW",5,0)
|
---|
| 1474 | ;
|
---|
| 1475 | "RTN","XWBVW",6,0)
|
---|
| 1476 | TRAP(XWB) ;BRING IN THE XWB ARRAY AT TIME OF CALL
|
---|
| 1477 | "RTN","XWBVW",7,0)
|
---|
| 1478 | N DFN,RPCNAME
|
---|
| 1479 | "RTN","XWBVW",8,0)
|
---|
| 1480 | S RPCNAME=$G(XWB(2,"RPC"))
|
---|
| 1481 | "RTN","XWBVW",9,0)
|
---|
| 1482 | S DFN=$$FINDFN(RPCNAME) ;'RPCNAME' IS NAME OF RPC TO BE FOUND IN FILE 8994.8
|
---|
| 1483 | "RTN","XWBVW",10,0)
|
---|
| 1484 | I DFN D LOGRPC(RPCNAME,DFN)
|
---|
| 1485 | "RTN","XWBVW",11,0)
|
---|
| 1486 | Q
|
---|
| 1487 | "RTN","XWBVW",12,0)
|
---|
| 1488 | ;
|
---|
| 1489 | "RTN","XWBVW",13,0)
|
---|
| 1490 | ;
|
---|
| 1491 | "RTN","XWBVW",14,0)
|
---|
| 1492 | FINDFN(RPCNAME) ;XWB ARRAY IS ALSO DEFINED WHEN ENTERING HERE
|
---|
| 1493 | "RTN","XWBVW",15,0)
|
---|
| 1494 | N XWBVW,X
|
---|
| 1495 | "RTN","XWBVW",16,0)
|
---|
| 1496 | I $G(RPCNAME)="" Q ""
|
---|
| 1497 | "RTN","XWBVW",17,0)
|
---|
| 1498 | S XWBVW=$O(^XWBVW("B",RPCNAME,0)) I 'XWBVW Q ""
|
---|
| 1499 | "RTN","XWBVW",18,0)
|
---|
| 1500 | I '$P($G(^XWBVW(XWBVW,0)),"^",2) Q "" ;WON'T WORK IF LOGGABLE RPC IS NOT ACTIVE
|
---|
| 1501 | "RTN","XWBVW",19,0)
|
---|
| 1502 | S X=+$G(^XWBVW(XWBVW,100)) I X Q +$G(XWB(5,"P",X-1)) ;NODE 100 SAYS WHICH PARAMETER IS DFN; PARAMETERS ARE NUMBERED STARTING FROM 0
|
---|
| 1503 | "RTN","XWBVW",20,0)
|
---|
| 1504 | S X=+$G(^XWBVW(XWBVW,101)) I X S X=+$G(XWB(5,"P",X-1)) I X S X=$P($G(^OR(100,X,0)),U,2) I X["DPT(" Q +X ;NODE 101 SAYS WHICH PARAMETER IS ORDER
|
---|
| 1505 | "RTN","XWBVW",21,0)
|
---|
| 1506 | Q ""
|
---|
| 1507 | "RTN","XWBVW",22,0)
|
---|
| 1508 | ;
|
---|
| 1509 | "RTN","XWBVW",23,0)
|
---|
| 1510 | ;
|
---|
| 1511 | "RTN","XWBVW",24,0)
|
---|
| 1512 | LOGRPC(RPC,XWBDFN) ;RPC audit --- something like XQ12 routine
|
---|
| 1513 | "RTN","XWBVW",25,0)
|
---|
| 1514 | N %,Y,XWBVW
|
---|
| 1515 | "RTN","XWBVW",26,0)
|
---|
| 1516 | I '$G(XWBDFN) Q
|
---|
| 1517 | "RTN","XWBVW",27,0)
|
---|
| 1518 | I RPC'?1.NP Q:RPC="" S RPC=$O(^XWB(8994,"B",RPC,0)) Q:'RPC
|
---|
| 1519 | "RTN","XWBVW",28,0)
|
---|
| 1520 | S %=$P($H,",",2),%=DT_(%\60#60/100+(%\3600)+(%#60/10000)/100)
|
---|
| 1521 | "RTN","XWBVW",29,0)
|
---|
| 1522 | L +^XUSEC(8994,0):0
|
---|
| 1523 | "RTN","XWBVW",30,0)
|
---|
| 1524 | F XWBVW=%:.00000001 Q:'$D(^XUSEC(8994,XWBVW))
|
---|
| 1525 | "RTN","XWBVW",31,0)
|
---|
| 1526 | S ^(XWBVW,0)=RPC_"^"_$G(DUZ)_"^"_$I_"^"_$J
|
---|
| 1527 | "RTN","XWBVW",32,0)
|
---|
| 1528 | L -^XUSEC(8994,0)
|
---|
| 1529 | "RTN","XWBVW",33,0)
|
---|
| 1530 | S $P(^(0),U,3,4)=XWBVW_"^"_($P(^XUSEC(8994,0),U,4)+1)
|
---|
| 1531 | "RTN","XWBVW",34,0)
|
---|
| 1532 | D GETENV^%ZOSV S $P(^XUSEC(8994,XWBVW,0),U,6)=$P(Y,U,2)
|
---|
| 1533 | "RTN","XWBVW",35,0)
|
---|
| 1534 | S ^XUSEC(8994,XWBVW,100)=XWBDFN
|
---|
| 1535 | "RTN","XWBVW",36,0)
|
---|
| 1536 | ;djw-indices
|
---|
| 1537 | "RTN","XWBVW",37,0)
|
---|
| 1538 | S ^XUSEC(8994,"APAT",XWBDFN,XWBVW)=""
|
---|
| 1539 | "RTN","XWBVW",38,0)
|
---|
| 1540 | S ^XUSEC(8994,"AD",+$G(DUZ),XWBVW)=""
|
---|
| 1541 | "RTN","XWBVW",39,0)
|
---|
| 1542 | Q
|
---|
| 1543 | "RTN","XWBVW",40,0)
|
---|
| 1544 | ;
|
---|
| 1545 | "RTN","XWBVW",41,0)
|
---|
| 1546 | ;
|
---|
| 1547 | "RTN","XWBVW",42,0)
|
---|
| 1548 | ;
|
---|
| 1549 | "RTN","XWBVW",43,0)
|
---|
| 1550 | XWBPURGE ;RPC audit purge --- 'XWBAPURGE' Option --- stolen from XUAPURGE routine
|
---|
| 1551 | "RTN","XWBVW",44,0)
|
---|
| 1552 | N %DT,BDATE,EDATE,ZTIO,ZTRTN,ZTUCI,ZTSAVE,ZTSK
|
---|
| 1553 | "RTN","XWBVW",45,0)
|
---|
| 1554 | D BEG G:'$D(EDATE) END
|
---|
| 1555 | "RTN","XWBVW",46,0)
|
---|
| 1556 | ;S ZTIO="",ZTRTN="PURGE^XWBVW",ZTDESC="Purge Menu Option Audit Entries" F G="BDATE","EDATE" S ZTSAVE(G)=""
|
---|
| 1557 | "RTN","XWBVW",47,0)
|
---|
| 1558 | ;D ^%ZTLOAD K ZTIO,ZTRTN,ZTDESC,ZTUCI,ZTSAVE
|
---|
| 1559 | "RTN","XWBVW",48,0)
|
---|
| 1560 | ;Q
|
---|
| 1561 | "RTN","XWBVW",49,0)
|
---|
| 1562 | PURGE F REC=BDATE-.000001:0 S REC=$O(^XUSEC(8994,REC)) Q:REC'>0!(REC>EDATE) S DIK="^XUSEC(8994,",DA=REC D ^DIK K DA
|
---|
| 1563 | "RTN","XWBVW",50,0)
|
---|
| 1564 | END Q
|
---|
| 1565 | "RTN","XWBVW",51,0)
|
---|
| 1566 | ;
|
---|
| 1567 | "RTN","XWBVW",52,0)
|
---|
| 1568 | BEG W !!,"You will be asked for a date range to purge, Begin to End"
|
---|
| 1569 | "RTN","XWBVW",53,0)
|
---|
| 1570 | S %DT("A")="PURGE BEGIN DATE: ",%DT="AETX" D ^%DT S BDATE=Y G:Y<1 END S %DT(0)=BDATE,%DT("A")="PURGE END DATE: " D ^%DT S EDATE=Y G:Y<1 END
|
---|
| 1571 | "RTN","XWBVW",54,0)
|
---|
| 1572 | Q
|
---|
| 1573 | "RTN","XWBVW",55,0)
|
---|
| 1574 | ;
|
---|
| 1575 | "RTN","XWBVW",56,0)
|
---|
| 1576 | ;
|
---|
| 1577 | "RTN","XWBVW",57,0)
|
---|
| 1578 | ;
|
---|
| 1579 | "RTN","XWBVW",58,0)
|
---|
| 1580 | ;
|
---|
| 1581 | "RTN","XWBVW",59,0)
|
---|
| 1582 | ;
|
---|
| 1583 | "RTN","XWBVW",60,0)
|
---|
| 1584 | POPTEMPL(TEMPLATE) ;FROM AN 8994 TEMPLATE INTO 8994.8
|
---|
| 1585 | "RTN","XWBVW",61,0)
|
---|
| 1586 | N DIC,DFN,RPC,DFNX,ORD,ORDX
|
---|
| 1587 | "RTN","XWBVW",62,0)
|
---|
| 1588 | Q:$P($G(^DIBT(TEMPLATE,0)),U,4)-8994
|
---|
| 1589 | "RTN","XWBVW",63,0)
|
---|
| 1590 | F RPC=0:0 S RPC=$O(^DIBT(TEMPLATE,1,RPC)) Q:'RPC D POPRPC(RPC)
|
---|
| 1591 | "RTN","XWBVW",64,0)
|
---|
| 1592 | Q
|
---|
| 1593 | "RTN","XWBVW",65,0)
|
---|
| 1594 | ;
|
---|
| 1595 | "RTN","XWBVW",66,0)
|
---|
| 1596 | POPRPC(RPC) ;
|
---|
| 1597 | "RTN","XWBVW",67,0)
|
---|
| 1598 | S X=$P(^XWB(8994,RPC,0),U,2,3) I X[U,$T(@X)]"" D
|
---|
| 1599 | "RTN","XWBVW",68,0)
|
---|
| 1600 | .S (DFN,DFNX,ORD,ORDX)=0
|
---|
| 1601 | "RTN","XWBVW",69,0)
|
---|
| 1602 | .F SEQ=0:0 S SEQ=$O(^XWB(8994,RPC,2,SEQ)) Q:'SEQ D Q:DFN
|
---|
| 1603 | "RTN","XWBVW",70,0)
|
---|
| 1604 | ..I $P(^(SEQ,0),U)["DFN" S DFNX=SEQ,DFN=$P(^(0),U,5) Q
|
---|
| 1605 | "RTN","XWBVW",71,0)
|
---|
| 1606 | ..;I $P(^(0),U)["ORIFN" S ORDX=SEQ,ORD=$P(^(0),U,5)
|
---|
| 1607 | "RTN","XWBVW",72,0)
|
---|
| 1608 | .S:DFN DFNX=DFN Q:'DFNX
|
---|
| 1609 | "RTN","XWBVW",73,0)
|
---|
| 1610 | .S DIC=8994.8,DIC(0)="L",DIC("DR")="100///"_DFNX,X=$$GET1^DIQ(8994,RPC,.01) D ^DIC
|
---|
| 1611 | "RTN","XWBVW",74,0)
|
---|
| 1612 | Q
|
---|
| 1613 | "SEC","^DIC",8994.8,8994.8,0,"AUDIT")
|
---|
| 1614 | @
|
---|
| 1615 | "SEC","^DIC",8994.8,8994.8,0,"DD")
|
---|
| 1616 | @
|
---|
| 1617 | "SEC","^DIC",8994.8,8994.8,0,"DEL")
|
---|
| 1618 | @
|
---|
| 1619 | "SEC","^DIC",8994.8,8994.8,0,"LAYGO")
|
---|
| 1620 | @
|
---|
| 1621 | "SEC","^DIC",8994.8,8994.8,0,"RD")
|
---|
| 1622 | @
|
---|
| 1623 | "SEC","^DIC",8994.8,8994.8,0,"WR")
|
---|
| 1624 | @
|
---|
| 1625 | "SEC","^DIC",8994.81,8994.81,0,"AUDIT")
|
---|
| 1626 | @
|
---|
| 1627 | "SEC","^DIC",8994.81,8994.81,0,"DD")
|
---|
| 1628 | @
|
---|
| 1629 | "SEC","^DIC",8994.81,8994.81,0,"DEL")
|
---|
| 1630 | @
|
---|
| 1631 | "SEC","^DIC",8994.81,8994.81,0,"LAYGO")
|
---|
| 1632 | @
|
---|
| 1633 | "SEC","^DIC",8994.81,8994.81,0,"RD")
|
---|
| 1634 | @
|
---|
| 1635 | "SEC","^DIC",8994.81,8994.81,0,"WR")
|
---|
| 1636 | @
|
---|
| 1637 | "SEC","^DIC",250001.1,250001.1,0,"AUDIT")
|
---|
| 1638 | @
|
---|
| 1639 | "SEC","^DIC",250001.1,250001.1,0,"DD")
|
---|
| 1640 | @
|
---|
| 1641 | "SEC","^DIC",250001.1,250001.1,0,"DEL")
|
---|
| 1642 | @
|
---|
| 1643 | "SEC","^DIC",250001.1,250001.1,0,"LAYGO")
|
---|
| 1644 | @
|
---|
| 1645 | "SEC","^DIC",250001.1,250001.1,0,"RD")
|
---|
| 1646 | @
|
---|
| 1647 | "SEC","^DIC",250001.1,250001.1,0,"WR")
|
---|
| 1648 | @
|
---|
| 1649 | "VER")
|
---|
| 1650 | 8.0^22.0
|
---|
| 1651 | "^DD",8994.8,8994.8,0)
|
---|
| 1652 | FIELD^^.04^6
|
---|
| 1653 | "^DD",8994.8,8994.8,0,"DT")
|
---|
| 1654 | 3110621
|
---|
| 1655 | "^DD",8994.8,8994.8,0,"IX","B",8994.8,.01)
|
---|
| 1656 |
|
---|
| 1657 | "^DD",8994.8,8994.8,0,"NM","LOGGABLE RPC")
|
---|
| 1658 |
|
---|
| 1659 | "^DD",8994.8,8994.8,.01,0)
|
---|
| 1660 | NAME^RFXJ60^^0;1^K:'$D(^XWB(8994,"B")) X
|
---|
| 1661 | "^DD",8994.8,8994.8,.01,1,0)
|
---|
| 1662 | ^.1
|
---|
| 1663 | "^DD",8994.8,8994.8,.01,1,1,0)
|
---|
| 1664 | 8994.8^B
|
---|
| 1665 | "^DD",8994.8,8994.8,.01,1,1,1)
|
---|
| 1666 | S ^XWBVW("B",$E(X,1,30),DA)=""
|
---|
| 1667 | "^DD",8994.8,8994.8,.01,1,1,2)
|
---|
| 1668 | K ^XWBVW("B",$E(X,1,30),DA)
|
---|
| 1669 | "^DD",8994.8,8994.8,.01,3)
|
---|
| 1670 | MUST BE NAME OF AN RPC
|
---|
| 1671 | "^DD",8994.8,8994.8,.01,"DT")
|
---|
| 1672 | 3110214
|
---|
| 1673 | "^DD",8994.8,8994.8,.02,0)
|
---|
| 1674 | ACTIVE^S^1:YES;^0;2^Q
|
---|
| 1675 | "^DD",8994.8,8994.8,.02,3)
|
---|
| 1676 | 'YES' IF RPC IS TO BE AUDITED IN 'AUDIT LOG FOR RPCS' FILE
|
---|
| 1677 | "^DD",8994.8,8994.8,.02,"DT")
|
---|
| 1678 | 3110214
|
---|
| 1679 | "^DD",8994.8,8994.8,.03,0)
|
---|
| 1680 | READABLE NAME^FJ99^^0;3^K:$L(X)>99!($L(X)<4) X
|
---|
| 1681 | "^DD",8994.8,8994.8,.03,3)
|
---|
| 1682 | Answer must be 4-99 characters in length.
|
---|
| 1683 | "^DD",8994.8,8994.8,.03,"DT")
|
---|
| 1684 | 3110326
|
---|
| 1685 | "^DD",8994.8,8994.8,.04,0)
|
---|
| 1686 | ACTION OCCURRED^S^A:ACCESSED;M:MODIFIED;D:DELETED;C:CREATED;^0;4^Q
|
---|
| 1687 | "^DD",8994.8,8994.8,.04,"DT")
|
---|
| 1688 | 3110621
|
---|
| 1689 | "^DD",8994.8,8994.8,100,0)
|
---|
| 1690 | PATIENT PARAMETER^NJ1,0^^100;1^K:+X'=X!(X>9)!(X<1)!(X?.E1"."1.N) X
|
---|
| 1691 | "^DD",8994.8,8994.8,100,3)
|
---|
| 1692 | TELLS WHICH PARAMETER OF THE RPC CALL IS THE 'DFN'
|
---|
| 1693 | "^DD",8994.8,8994.8,100,"DT")
|
---|
| 1694 | 3110214
|
---|
| 1695 | "^DD",8994.8,8994.8,101,0)
|
---|
| 1696 | ORDER PARAMETER^NJ1,0^^101;1^K:+X'=X!(X>9)!(X<1)!(X?.E1"."1.N) X
|
---|
| 1697 | "^DD",8994.8,8994.8,101,3)
|
---|
| 1698 | TELLS WHICH PARAMETER OF THE RPC CALL IS THE ORDER NUMBER
|
---|
| 1699 | "^DD",8994.8,8994.8,101,"DT")
|
---|
| 1700 | 3110214
|
---|
| 1701 | "^DD",8994.81,8994.81,0)
|
---|
| 1702 | FIELD^^100^9
|
---|
| 1703 | "^DD",8994.81,8994.81,0,"DT")
|
---|
| 1704 | 3110215
|
---|
| 1705 | "^DD",8994.81,8994.81,0,"NM","AUDIT LOG FOR RPCS")
|
---|
| 1706 |
|
---|
| 1707 | "^DD",8994.81,8994.81,.001,0)
|
---|
| 1708 | DATE/TIME^D^^ ^S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
|
---|
| 1709 | "^DD",8994.81,8994.81,.001,21,0)
|
---|
| 1710 | ^^5^5^2890125^
|
---|
| 1711 | "^DD",8994.81,8994.81,.001,21,1,0)
|
---|
| 1712 | Entries in this file are uniquely identified by the precise time when
|
---|
| 1713 | "^DD",8994.81,8994.81,.001,21,2,0)
|
---|
| 1714 | the option was accessed. An entry will be made as specified in the
|
---|
| 1715 | "^DD",8994.81,8994.81,.001,21,3,0)
|
---|
| 1716 | Kernel Site Parameters File. Once the date set in the 'Initiate
|
---|
| 1717 | "^DD",8994.81,8994.81,.001,21,4,0)
|
---|
| 1718 | Audit' Field has been reached, this file will be used to maintain a
|
---|
| 1719 | "^DD",8994.81,8994.81,.001,21,5,0)
|
---|
| 1720 | log according to the 'Option Audit' flag.
|
---|
| 1721 | "^DD",8994.81,8994.81,.001,"AUDIT")
|
---|
| 1722 | n
|
---|
| 1723 | "^DD",8994.81,8994.81,.001,"DT")
|
---|
| 1724 | 3110215
|
---|
| 1725 | "^DD",8994.81,8994.81,.01,0)
|
---|
| 1726 | RPC^RP8994'^XWB(8994,^0;1^Q
|
---|
| 1727 | "^DD",8994.81,8994.81,.01,1,0)
|
---|
| 1728 | ^.1^^0
|
---|
| 1729 | "^DD",8994.81,8994.81,.01,3)
|
---|
| 1730 |
|
---|
| 1731 | "^DD",8994.81,8994.81,.01,21,0)
|
---|
| 1732 | ^^1^1^2890125^
|
---|
| 1733 | "^DD",8994.81,8994.81,.01,21,1,0)
|
---|
| 1734 | This field indicates the name of the option being audited.
|
---|
| 1735 | "^DD",8994.81,8994.81,.01,"AUDIT")
|
---|
| 1736 | n
|
---|
| 1737 | "^DD",8994.81,8994.81,.01,"DT")
|
---|
| 1738 | 3110215
|
---|
| 1739 | "^DD",8994.81,8994.81,1,0)
|
---|
| 1740 | USER^P200'^VA(200,^0;2^Q
|
---|
| 1741 | "^DD",8994.81,8994.81,1,21,0)
|
---|
| 1742 | ^^1^1^2890125^
|
---|
| 1743 | "^DD",8994.81,8994.81,1,21,1,0)
|
---|
| 1744 | This field indicates the name of the user who has accessed the option.
|
---|
| 1745 | "^DD",8994.81,8994.81,1,"AUDIT")
|
---|
| 1746 | n
|
---|
| 1747 | "^DD",8994.81,8994.81,1,"DT")
|
---|
| 1748 | 3110213
|
---|
| 1749 | "^DD",8994.81,8994.81,2,0)
|
---|
| 1750 | DEVICE^FXJ60^^0;3^K:$L(X)>60!($L(X)<1) X
|
---|
| 1751 | "^DD",8994.81,8994.81,2,3)
|
---|
| 1752 |
|
---|
| 1753 | "^DD",8994.81,8994.81,2,21,0)
|
---|
| 1754 | ^^1^1^2890125^
|
---|
| 1755 | "^DD",8994.81,8994.81,2,21,1,0)
|
---|
| 1756 | This field indicates the device used while the option was accessed.
|
---|
| 1757 | "^DD",8994.81,8994.81,2,"AUDIT")
|
---|
| 1758 | n
|
---|
| 1759 | "^DD",8994.81,8994.81,2,"DT")
|
---|
| 1760 | 3110215
|
---|
| 1761 | "^DD",8994.81,8994.81,3,0)
|
---|
| 1762 | JOB^NJ8,0^^0;4^K:+X'=X!(X>99999999)!(X<1)!(X?.E1"."1N.N) X
|
---|
| 1763 | "^DD",8994.81,8994.81,3,3)
|
---|
| 1764 | TYPE A WHOLE NUMBER BETWEEN 1 AND 99999999
|
---|
| 1765 | "^DD",8994.81,8994.81,3,21,0)
|
---|
| 1766 | ^^1^1^2890125^
|
---|
| 1767 | "^DD",8994.81,8994.81,3,21,1,0)
|
---|
| 1768 | This field records the job number associated with the option access.
|
---|
| 1769 | "^DD",8994.81,8994.81,3,"AUDIT")
|
---|
| 1770 | n
|
---|
| 1771 | "^DD",8994.81,8994.81,3,"DT")
|
---|
| 1772 | 3110213
|
---|
| 1773 | "^DD",8994.81,8994.81,5,0)
|
---|
| 1774 | CPU^F^^0;6^K:$L(X)>16!($L(X)<1) X
|
---|
| 1775 | "^DD",8994.81,8994.81,5,3)
|
---|
| 1776 | ANSWER MUST BE 1-16 CHARACTERS IN LENGTH
|
---|
| 1777 | "^DD",8994.81,8994.81,5,21,0)
|
---|
| 1778 | ^^1^1^2890125^
|
---|
| 1779 | "^DD",8994.81,8994.81,5,21,1,0)
|
---|
| 1780 | This field records the CPU location of the option access.
|
---|
| 1781 | "^DD",8994.81,8994.81,5,"AUDIT")
|
---|
| 1782 | n
|
---|
| 1783 | "^DD",8994.81,8994.81,5,"DT")
|
---|
| 1784 | 3110213
|
---|
| 1785 | "^DD",8994.81,8994.81,8,0)
|
---|
| 1786 | SUBJECT^FX^^2;E1,65^K:$L(X)>65!($L(X)<3) X
|
---|
| 1787 | "^DD",8994.81,8994.81,8,3)
|
---|
| 1788 | Answer must be 3-65 characters in length.
|
---|
| 1789 | "^DD",8994.81,8994.81,8,21,0)
|
---|
| 1790 | ^^3^3^2911230^
|
---|
| 1791 | "^DD",8994.81,8994.81,8,21,1,0)
|
---|
| 1792 | For a Server-type option this field will contain the subject of
|
---|
| 1793 | "^DD",8994.81,8994.81,8,21,2,0)
|
---|
| 1794 | the MailMan message that activated (or tried to activate) the
|
---|
| 1795 | "^DD",8994.81,8994.81,8,21,3,0)
|
---|
| 1796 | option.
|
---|
| 1797 | "^DD",8994.81,8994.81,8,"AUDIT")
|
---|
| 1798 | n
|
---|
| 1799 | "^DD",8994.81,8994.81,8,"DT")
|
---|
| 1800 | 3110215
|
---|
| 1801 | "^DD",8994.81,8994.81,9,0)
|
---|
| 1802 | ACTION^F^^3;E1,245^K:$L(X)>245!($L(X)<1) X
|
---|
| 1803 | "^DD",8994.81,8994.81,9,3)
|
---|
| 1804 | Answer must be 1-245 characters in length.
|
---|
| 1805 | "^DD",8994.81,8994.81,9,21,0)
|
---|
| 1806 | ^^3^3^2911230^
|
---|
| 1807 | "^DD",8994.81,8994.81,9,21,1,0)
|
---|
| 1808 | For a Server-type option this field will contain the resulting action
|
---|
| 1809 | "^DD",8994.81,8994.81,9,21,2,0)
|
---|
| 1810 | of a server request. In the event of an error, the error will be
|
---|
| 1811 | "^DD",8994.81,8994.81,9,21,3,0)
|
---|
| 1812 | trapped by the server software and entered into this field.
|
---|
| 1813 | "^DD",8994.81,8994.81,9,"AUDIT")
|
---|
| 1814 | n
|
---|
| 1815 | "^DD",8994.81,8994.81,9,"DT")
|
---|
| 1816 | 3110215
|
---|
| 1817 | "^DD",8994.81,8994.81,100,0)
|
---|
| 1818 | PATIENT^P2'^DPT(^100;1^Q
|
---|
| 1819 | "^DD",8994.81,8994.81,100,"DT")
|
---|
| 1820 | 3110214
|
---|
| 1821 | "^DD",250001.1,250001.1,0)
|
---|
| 1822 | FIELD^^4^10
|
---|
| 1823 | "^DD",250001.1,250001.1,0,"DDA")
|
---|
| 1824 | N
|
---|
| 1825 | "^DD",250001.1,250001.1,0,"DT")
|
---|
| 1826 | 3110620
|
---|
| 1827 | "^DD",250001.1,250001.1,0,"IX","B",250001.1,.01)
|
---|
| 1828 |
|
---|
| 1829 | "^DD",250001.1,250001.1,0,"NM","AUDIT LOG FOR MU")
|
---|
| 1830 |
|
---|
| 1831 | "^DD",250001.1,250001.1,.01,0)
|
---|
| 1832 | AUDIT ID^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
|
---|
| 1833 | "^DD",250001.1,250001.1,.01,1,0)
|
---|
| 1834 | ^.1
|
---|
| 1835 | "^DD",250001.1,250001.1,.01,1,1,0)
|
---|
| 1836 | 250001.1^B
|
---|
| 1837 | "^DD",250001.1,250001.1,.01,1,1,1)
|
---|
| 1838 | S ^XUSEC(250001.1,"B",$E(X,1,30),DA)=""
|
---|
| 1839 | "^DD",250001.1,250001.1,.01,1,1,2)
|
---|
| 1840 | K ^XUSEC(250001.1,"B",$E(X,1,30),DA)
|
---|
| 1841 | "^DD",250001.1,250001.1,.01,3)
|
---|
| 1842 | Answer must be 3-30 characters in length.
|
---|
| 1843 | "^DD",250001.1,250001.1,.01,"DT")
|
---|
| 1844 | 3110620
|
---|
| 1845 | "^DD",250001.1,250001.1,.02,0)
|
---|
| 1846 | PATIENT NAME^P2'^DPT(^0;2^Q
|
---|
| 1847 | "^DD",250001.1,250001.1,.02,"DT")
|
---|
| 1848 | 3110620
|
---|
| 1849 | "^DD",250001.1,250001.1,.03,0)
|
---|
| 1850 | USER NAME^P200'^VA(200,^0;3^Q
|
---|
| 1851 | "^DD",250001.1,250001.1,.03,"DT")
|
---|
| 1852 | 3110620
|
---|
| 1853 | "^DD",250001.1,250001.1,.04,0)
|
---|
| 1854 | AUDIT DTTM^D^^0;4^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
|
---|
| 1855 | "^DD",250001.1,250001.1,.04,"DT")
|
---|
| 1856 | 3110620
|
---|
| 1857 | "^DD",250001.1,250001.1,.05,0)
|
---|
| 1858 | ACTION OCCURRED^S^C:CREATED;M:MODIFIED;A:ACCESSED;D:DELETED;O:OTHER;^0;5^Q
|
---|
| 1859 | "^DD",250001.1,250001.1,.05,3)
|
---|
| 1860 |
|
---|
| 1861 | "^DD",250001.1,250001.1,.05,"DT")
|
---|
| 1862 | 3110620
|
---|
| 1863 | "^DD",250001.1,250001.1,.06,0)
|
---|
| 1864 | ACTION INDICATION^F^^0;6^K:$L(X)>80!($L(X)<1) X
|
---|
| 1865 | "^DD",250001.1,250001.1,.06,3)
|
---|
| 1866 | Answer must be 1-80 characters in length.
|
---|
| 1867 | "^DD",250001.1,250001.1,.06,"DT")
|
---|
| 1868 | 3110620
|
---|
| 1869 | "^DD",250001.1,250001.1,1,0)
|
---|
| 1870 | AUDIT DATE^CD^^ ; ^S Y(250001.1,1,1)=$S($D(^XUSEC(250001.1,D0,0)):^(0),1:"") S X=$P(Y(250001.1,1,1),U,4),X=X S X=X\1,X=$P(X,".",1)
|
---|
| 1871 | "^DD",250001.1,250001.1,1,9)
|
---|
| 1872 | ^
|
---|
| 1873 | "^DD",250001.1,250001.1,1,9.01)
|
---|
| 1874 | 250001.1^.04
|
---|
| 1875 | "^DD",250001.1,250001.1,1,9.1)
|
---|
| 1876 | DATE(INTERNAL(#.04)\1)
|
---|
| 1877 | "^DD",250001.1,250001.1,2,0)
|
---|
| 1878 | AUDIT TIME^CF^^ ; ^S Y(250001.1,2,1)=$S($D(^XUSEC(250001.1,D0,0)):^(0),1:"") S X=$P(Y(250001.1,2,1),U,4),X=X#1_"000000",X=$E(X,2,3)_":"_$E(X,4,5)_":"_$E(X,6,7)
|
---|
| 1879 | "^DD",250001.1,250001.1,2,9)
|
---|
| 1880 | ^
|
---|
| 1881 | "^DD",250001.1,250001.1,2,9.01)
|
---|
| 1882 | 250001.1^1;250001.1^.04
|
---|
| 1883 | "^DD",250001.1,250001.1,2,9.1)
|
---|
| 1884 | INTERNAL(AUDIT DTTM)#1
|
---|
| 1885 | "^DD",250001.1,250001.1,2,9.2)
|
---|
| 1886 | X "N I,Y "_$P(^DD(250001.1,1,0),U,5,99) S Y(250001.1,2,2)=X S Y(250001.1,2,1)=$S($D(^XUSEC(250001.1,D0,0)):^(0),1:"") S X=$P(Y(250001.1,2,1),U,4),X=X S X=XY(250001.1,2,2)
|
---|
| 1887 | "^DD",250001.1,250001.1,3,0)
|
---|
| 1888 | USER ID^CJ15^^ ; ^S Y(250001.1,3,1)=$S($D(^XUSEC(250001.1,D0,0)):^(0),1:"") S X=$P(Y(250001.1,3,1),U,3),X=X
|
---|
| 1889 | "^DD",250001.1,250001.1,3,9)
|
---|
| 1890 | ^
|
---|
| 1891 | "^DD",250001.1,250001.1,3,9.01)
|
---|
| 1892 | 250001.1^.03
|
---|
| 1893 | "^DD",250001.1,250001.1,3,9.1)
|
---|
| 1894 | INTERNAL(#.03)
|
---|
| 1895 | "^DD",250001.1,250001.1,4,0)
|
---|
| 1896 | PATIENT ID^C^^ ; ^S Y(250001.1,4,1)=$S($D(^XUSEC(250001.1,D0,0)):^(0),1:"") S X=$P(Y(250001.1,4,1),U,2),X=X
|
---|
| 1897 | "^DD",250001.1,250001.1,4,9)
|
---|
| 1898 | ^
|
---|
| 1899 | "^DD",250001.1,250001.1,4,9.01)
|
---|
| 1900 | 250001.1^.02
|
---|
| 1901 | "^DD",250001.1,250001.1,4,9.1)
|
---|
| 1902 | INTERNAL(PATIENT NAME)
|
---|
| 1903 | "^DIC",8994.8,8994.8,0)
|
---|
| 1904 | LOGGABLE RPC^8994.8
|
---|
| 1905 | "^DIC",8994.8,8994.8,0,"GL")
|
---|
| 1906 | ^XWBVW(
|
---|
| 1907 | "^DIC",8994.8,8994.8,"%D",0)
|
---|
| 1908 | ^^10^10^3110331^
|
---|
| 1909 | "^DIC",8994.8,8994.8,"%D",1,0)
|
---|
| 1910 | THIS FILE LISTS THE NAMES OF
|
---|
| 1911 | "^DIC",8994.8,8994.8,"%D",2,0)
|
---|
| 1912 | RPCS THAT MAY NEED TO BE AUDITED IN THE 'AUDIT LOG FOR RPCS'. SITE TURNS
|
---|
| 1913 | "^DIC",8994.8,8994.8,"%D",3,0)
|
---|
| 1914 | THE 'ACTIVE' FIELD ON OR OFF TO CONTROL THIS. THERE IS ALSO A 'READABLE
|
---|
| 1915 | "^DIC",8994.8,8994.8,"%D",4,0)
|
---|
| 1916 | NAME' FIELD THAT COULD BE USED TO TRANSLATE 'ORQQPL PROBLEM LIST' TO
|
---|
| 1917 | "^DIC",8994.8,8994.8,"%D",5,0)
|
---|
| 1918 | SOMETHING MORE USER-FRIENDLY LIKE 'SHOW PATIENT'S PROBLEM LIST'. THIS
|
---|
| 1919 | "^DIC",8994.8,8994.8,"%D",6,0)
|
---|
| 1920 | FILE ALSO HAS INFORMATION ON HOW TO INTERCEPT INPUT PARAMETERS AT THE
|
---|
| 1921 | "^DIC",8994.8,8994.8,"%D",7,0)
|
---|
| 1922 | TIME OF THE RPC CALL SO AS TO IDENTIFY WHICH PATIENT IS BEING DEALT WITH
|
---|
| 1923 | "^DIC",8994.8,8994.8,"%D",8,0)
|
---|
| 1924 | ON THE CLIENT SIDE. NOTE THAT AN ENTRY IN THIS FILE NEED NOT NECESSARILY
|
---|
| 1925 | "^DIC",8994.8,8994.8,"%D",9,0)
|
---|
| 1926 | CORRESPOND TO AN ACTUAL RPC IN FILE 8994 AT THE SITE, BECAUSE THE .01
|
---|
| 1927 | "^DIC",8994.8,8994.8,"%D",10,0)
|
---|
| 1928 | FIELD IS FREE-TEXT, NOT A POINTER.
|
---|
| 1929 | "^DIC",8994.8,"B","LOGGABLE RPC",8994.8)
|
---|
| 1930 |
|
---|
| 1931 | "^DIC",8994.81,8994.81,0)
|
---|
| 1932 | AUDIT LOG FOR RPCS^8994.81
|
---|
| 1933 | "^DIC",8994.81,8994.81,0,"GL")
|
---|
| 1934 | ^XUSEC(8994,
|
---|
| 1935 | "^DIC",8994.81,8994.81,"%D",0)
|
---|
| 1936 | ^^9^9^3110331^
|
---|
| 1937 | "^DIC",8994.81,8994.81,"%D",1,0)
|
---|
| 1938 | THIS FILE IS ANALOGOUS
|
---|
| 1939 | "^DIC",8994.81,8994.81,"%D",2,0)
|
---|
| 1940 | TO THE EXISTING VA FILE NAMED 'AUDIT LOG FOR OPTIONS'.
|
---|
| 1941 | "^DIC",8994.81,8994.81,"%D",3,0)
|
---|
| 1942 | IT WILL BE POPULATED AS USERS
|
---|
| 1943 | "^DIC",8994.81,8994.81,"%D",4,0)
|
---|
| 1944 | RUN CERTAIN RPC'S. THIS IS THE FILE OUT OF WHICH REPORTS WILL BE NEEDED.
|
---|
| 1945 | "^DIC",8994.81,8994.81,"%D",5,0)
|
---|
| 1946 |
|
---|
| 1947 | "^DIC",8994.81,8994.81,"%D",6,0)
|
---|
| 1948 |
|
---|
| 1949 | "^DIC",8994.81,8994.81,"%D",7,0)
|
---|
| 1950 | File 8994.8 establishes
|
---|
| 1951 | "^DIC",8994.81,8994.81,"%D",8,0)
|
---|
| 1952 | when and how a log of RPC
|
---|
| 1953 | "^DIC",8994.81,8994.81,"%D",9,0)
|
---|
| 1954 | usage will be recorded in this file.
|
---|
| 1955 | "^DIC",8994.81,"B","AUDIT LOG FOR RPCS",8994.81)
|
---|
| 1956 |
|
---|
| 1957 | "^DIC",250001.1,250001.1,0)
|
---|
| 1958 | AUDIT LOG FOR MU^250001.1
|
---|
| 1959 | "^DIC",250001.1,250001.1,0,"GL")
|
---|
| 1960 | ^XUSEC(250001.1,
|
---|
| 1961 | "^DIC",250001.1,250001.1,"%D",0)
|
---|
| 1962 | ^^1^1^3110620^
|
---|
| 1963 | "^DIC",250001.1,250001.1,"%D",1,0)
|
---|
| 1964 | Audit Log for Meaningful Use
|
---|
| 1965 | "^DIC",250001.1,"B","AUDIT LOG FOR MU",250001.1)
|
---|
| 1966 |
|
---|
| 1967 | **END**
|
---|
| 1968 | **END**
|
---|