RAUTL19 ;HISC/GJC-Utility Routine ; Apr 28, 2020@14:47:46
Source file <RAUTL19.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
PRELIM(RAIMG) | ; Called from '1^RAMAIN1'
|
|
EN1 | ; Check data consistency
|
|
NOTNEED | ;non-radiopharm used don't need .5n and .6n fields answered
|
|
CKPRNTR | ;ck that all img locations for that img type has a dosg tkt prntr
|
|
PRNTASGN | ;
|
|
WRPAIR | ||
CKPAIR | ; when field I is Y, then field J must also be Y at current/lower status
|
|
WRWAIT | ||
CKWAIT | ; CKWAIT is only done for WAITING FOR EXAM and assumes order seq = 1
|
|
ASKPRI(A,B,C) | ; Check all prior statuses to ensure that the specific required
; data field is set to 'yes', and the field for data asked is set to ; 'yes'. ; 'A' is the I-Type (external) <-> 'B' is the current status order ; 'C' is fld that shd be prompted <-> 'E' is the order # ; 'F' is the ien of file 72. <-> 'RA' hold the entire data node ; 'RAFLD' value of the field <-> 'RAPCE' where data found on node |
|
PROCTY(Y) | ; Passes back the Procedure Type. 'Y' is the ien in the
; Rad/Nuc Med Procedure file '^RAMIS(71,'. |
|
LK(X) | ; Lock a patient record when updating orders
; 'X' input in a variable pointer format: 'record_#;data_file__root' ; Pass back 'Y': '0' if lock fails, '1' if successful ; 'Y' defined in LK^ORX2 |
|
ULK(X) | ; Unlock a patient record
; 'X' input in a variable pointer format: 'record_#;data_file__root' |
|
ACCVIO | ; Lack of Imaging Location access for a user
|
|
DEV(X) | ; Lookup an entry in the Device (3.5) file.
; Called from the [RA LOCATION PARAMETERS] input template. File: 79.1 ; Input: X=IEN of Device ; Output: Name of Device |
|
OENO(X) | ; OE/RR notifications, called from: RAORR1, RAORD1 & RAO7RO
; Input: 'X' -> ien of the Rad/Nuc Med Orders file (75.1) ; Notification: #51 - STAT IMAGING REQUEST & #52 - URGENT IMAGING REQUEST |
|
VRADE | ;VistaRad Category data entry
|
|
VRADQ |
Name | Field # of Occurrence |
---|---|
^%ZIS | PRELIM+2 |
HOME^%ZIS | PRELIM+9 |
^%ZTLOAD | PRELIM+5 |
^DIC | VRADE+3, VRADE+13 |
^DIE | VRADE+15 |
EN^ORB3 | OENO+14 |
$$IMAGE^RARIC1 | VRADE+1 |
HEAD^RAUTL11 | PRNTASGN+2, PRNTASGN+4, PRNTASGN+7, WRPAIR |
CKPAIR^RAUTL19C | CKPAIR+1 |
CKWAIT^RAUTL19C | CKWAIT+1 |
EN1^RAUTL19C | EN1+1 |
$$EOS^RAUTL5 | PRNTASGN+2, PRNTASGN+4, PRNTASGN+7, WRPAIR |
$$XTERNAL^RAUTL5 | OENO+13 |
$$UP^XLFSTR | ASKPRI+11, ASKPRI+14, PROCTY+2 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^RA(72 - [#72] | Classic Fileman Calls |
^RA(79.2 - [#79.2] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZIS(1 - [#3.5] | DEV+5 |
^DD(72 | NOTNEED+7, PRNTASGN+3 |
^DD(75.1 | OENO+13 |
^RA(72 - [#72] | ASKPRI+8, ASKPRI+9, ASKPRI+10, ASKPRI+13 |
^RA(79.1 - [#79.1] | CKPRNTR+3, PRNTASGN+6, OENO+8 |
^RAMIS(71 - [#71] | PROCTY+2 |
^RAO(75.1 - [#75.1] | OENO+4 |
^SC - [#44] | PRNTASGN+6 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%ZIS | PRELIM+1!* |
A | ASKPRI~, ASKPRI+8, ASKPRI+9 |
B | ASKPRI~, ASKPRI+8 |
C | ASKPRI~, ASKPRI+12, ASKPRI+13 |
D0 | VRADE+6! |
>> DA | VRADE+15* |
DIC | VRADE+2*, VRADE+3!, VRADE+7*, VRADE+13! |
DIC("A" | VRADE+2* |
DIC("S" | VRADE+8* |
DIC("W" | VRADE+12* |
DIC(0 | VRADE+2*, VRADE+7* |
>> DIE | VRADE+15* |
DINUM | VRADE+6! |
DLAYGO | VRADE+6! |
>> DR | VRADE+15* |
E | ASKPRI+7~*, ASKPRI+8*, ASKPRI+9 |
F | ASKPRI+7~, ASKPRI+9*, ASKPRI+10, ASKPRI+13 |
I | OENO+3~, OENO+8*, OENO+9 |
IO | PRELIM+8, PRELIM+9 |
IO("Q" | PRELIM+3 |
IO(0 | PRELIM+8, PRELIM+9 |
IOM | PRELIM+1 |
IOSL | PRNTASGN+2, PRNTASGN+4, PRNTASGN+7, WRPAIR |
>> POP | PRELIM+2 |
RA | ASKPRI+7~ |
RA( | ASKPRI+13* |
RA(0 | ASKPRI+10*, ASKPRI+11 |
RA751 | OENO+3~, OENO+4*, OENO+5, OENO+7, OENO+13 |
RA791 | CKPRNTR+1~, CKPRNTR+2*, CKPRNTR+3*, PRNTASGN+6 |
RA791FL | CKPRNTR+1~, CKPRNTR+2*, PRNTASGN+1, PRNTASGN+3, PRNTASGN+5* |
>> RACHKERR | WRPAIR+1, WRPAIR+2* |
>> RADASH | NOTNEED+2, PRNTASGN+1, WRPAIR+1, WRWAIT |
RADFN | OENO+3~, OENO+4*, OENO+14 |
RADICW | VRADE+13! |
RADICW(1 | VRADE+9*, VRADE+12 |
RADICW(2 | VRADE+10*, VRADE+12 |
RADICW(3 | VRADE+11*, VRADE+12 |
RADUZ | OENO+3~, OENO+11*, OENO+14 |
RADUZ( | OENO+9* |
RAFLD | ASKPRI+7~, ASKPRI+13*, ASKPRI+14 |
>> RAFLG | ASKPRI+8, ASKPRI+14*, ASKPRI+17 |
>> RAHDR | PRELIM+1 |
RAIMG | PRELIM~, NOTNEED+3, PRNTASGN+3, WRWAIT |
RAIMG0 | NOTNEED+5~, NOTNEED+6*, NOTNEED+7* |
RAIMG1 | NOTNEED+5~, NOTNEED+6* |
RAIMG2 | NOTNEED+5~, NOTNEED+6*, NOTNEED+7 |
RAIMG72 | CKPRNTR+1~, CKPRNTR+2*, CKPRNTR+3 |
RAIMGTYI | VRADE+4*, VRADQ! |
RAIMGTYJ | VRADE+4*, VRADQ! |
RALOC | OENO+3~, OENO+7*, OENO+8 |
RAMSG | OENO+3~, OENO+13*, OENO+14 |
>> RANODE( | NOTNEED+1 |
>> RANODE(0 | NOTNEED+4, CKPRNTR+2, PRNTASGN+3, WRWAIT |
RANOTY | OENO+3~, OENO+4*, OENO+6*, OENO+14 |
>> RAO | NOTNEED+4, PRNTASGN+3 |
RAORIFN | OENO+3~, OENO+5*, OENO+14 |
RAOUT | CKPRNTR+3, PRNTASGN+2*, PRNTASGN+4*, PRNTASGN+7*, WRPAIR*, VRADE+4*, VRADE+5, VRADE+14*, VRADQ! |
RAPCE | ASKPRI+7~, ASKPRI+12*, ASKPRI+13 |
>> RAPIECE( | NOTNEED+7 |
>> RAWATERR | WRWAIT, WRWAIT+1* |
U | NOTNEED+7, CKPRNTR+2, CKPRNTR+3, PRNTASGN+3, PRNTASGN+6, WRWAIT, VRADE+4 |
X | LK~, ULK~, DEV~, DEV+4, DEV+5, OENO~, OENO+4 |
Y | PROCTY~, PROCTY+2, VRADE+3, VRADE+4, VRADE+14, VRADE+15 |
>> ZTDESC | PRELIM+4* |
>> ZTRTN | PRELIM+5* |
>> ZTSAVE("RA*" | PRELIM+4* |
>> ZTSK | PRELIM+6 |