MAGDRPCD ;WOIFO/PMK - Imaging RPCs ; Apr 20, 2022@12:51:24
Source file <MAGDRPCD.m>
Package | Total | Call Graph |
---|---|---|
Imaging | 3 | $$ENQUEUE^MAGDRPC3 ($$PROBLEM61,$$PROBLEM62,$$PROBLEM63,$$PROBLEM64,$$PROBLEM65)^MAGDSTA8 ENTRY^MAGLOG |
Kernel | 1 | $$NOW^XLFDT |
MailMan | 1 | SENDMSG^XMXAPI |
VA FileMan | 1 | $$GET1^DIQ |
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 |
Package | Total | Caller Graph |
---|---|---|
Imaging | 3 | MAG DICOM NEW SOP DB LOOKUP MAGDRPC3 MAGDRPC4 |
Name | Comments | DBIA/ICR reference |
---|---|---|
QUEUE(OUT,IMAGE,APPNAM,LOCATION,ACNUMB,REASON,EMAIL,PRIORITY,JBTOHD) | ; Called by QUEUE^MAGDRPC3
; Add the DICOM study send image request to the queue |
|
NEWLKUP(NOUT,OUT,ACNUMB) | ; lookup study in P34 database for the new SOP Classes
; Invoked from MAGDRPC4 for RPC = MAG DICOM LOOKUP STUDY ; Rules: ; 1) the Attribute On File field is not checked at all. ; 2) for the Procedure Reference file (#2005.61), there has to be a pointer to the Patient ; Reference file (#2005.6) and the patient id type in file #2005.6 needs to be "DFN". ; Rules 1 and 2 are from the logic in ADD1STD^MAGDQR74 ; |
|
NEWSOPAI(NOUT,OUT,PROCIX) | ; get artifact instances
; Rules: ; 1) for the Image Study file (#2005.62), the study must be "accessible" ; 2) for the Image Series file (#2006.63), the series must be "accessible" ; 3) for the SOP Instance file ("2006.64), the SOP instance must be "accessible" |
|
NEWSOPDB(OUT,PROCIX) | ; RPC = MAG DICOM NEW SOP DB LOOKUP
|
Name | Field # of Occurrence |
---|---|
$$GET1^DIQ | NEWLKUP+19, NEWLKUP+20, NEWSOPAI+14, NEWSOPAI+15, NEWSOPAI+16, NEWSOPAI+21, NEWSOPAI+22, NEWSOPAI+23, NEWSOPAI+24, NEWSOPAI+25 , NEWSOPAI+26 |
$$ENQUEUE^MAGDRPC3 | QUEUE+66 |
$$PROBLEM61^MAGDSTA8 | NEWLKUP+13 |
$$PROBLEM62^MAGDSTA8 | NEWSOPAI+13 |
$$PROBLEM63^MAGDSTA8 | NEWSOPAI+20 |
$$PROBLEM64^MAGDSTA8 | NEWSOPAI+30 |
$$PROBLEM65^MAGDSTA8 | NEWSOPAI+33 |
ENTRY^MAGLOG | QUEUE+71 |
$$NOW^XLFDT | QUEUE+43 |
SENDMSG^XMXAPI | QUEUE+82 |
RPC Name | Call Tags |
---|---|
MAG DICOM NEW SOP DB LOOKUP | NEWSOPDB |
FileNo | Call Tags |
---|---|
^MAGV(2005.61 - [#2005.61] | GET1^DIQ |
^MAGV(2005.62 - [#2005.62] | GET1^DIQ |
^MAGV(2005.63 - [#2005.63] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^MAGDOUTP(2006.574 - [#2006.574] | QUEUE+26, QUEUE+27, QUEUE+28, QUEUE+29, QUEUE+36, QUEUE+38, QUEUE+41*, QUEUE+44*, QUEUE+45*, QUEUE+46* , QUEUE+47*, QUEUE+48*, QUEUE+53 |
^MAGV(2005.6 - [#2005.6] | NEWLKUP+16 |
^MAGV(2005.61 - [#2005.61] | NEWLKUP+12, NEWLKUP+14 |
^MAGV(2005.62 - [#2005.62] | QUEUE+24, NEWSOPAI+12 |
^MAGV(2005.63 - [#2005.63] | NEWSOPAI+19 |
^MAGV(2005.64 - [#2005.64] | NEWSOPAI+29 |
^MAGV(2005.65 - [#2005.65] | NEWSOPAI+32, NEWSOPAI+34 |
^TMP("XMERR" | QUEUE+84 |
Name | Line Occurrences |
---|---|
NEWLKUP | QUEUE+16 |
NEWSOPAI | QUEUE+20, NEWSOPDB+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACNUMB | QUEUE~, QUEUE+7, QUEUE+16, QUEUE+44, QUEUE+48, QUEUE+71, NEWLKUP~, NEWLKUP+9, NEWLKUP+12, NEWLKUP+18 |
APPNAM | QUEUE~, QUEUE+5, QUEUE+29, QUEUE+44, QUEUE+69, QUEUE+81 |
ARTIFACTIX | QUEUE+2~, QUEUE+65*, QUEUE+66, NEWSOPAI+9~, NEWSOPAI+35*, NEWSOPAI+36 |
COUNT | QUEUE+2~, QUEUE+55*, QUEUE+66*, QUEUE+71 |
D0 | QUEUE+2~, QUEUE+27*, QUEUE+28, QUEUE+29, QUEUE+30, QUEUE+32*, QUEUE+34, QUEUE+38*, QUEUE+39, QUEUE+44 , QUEUE+45, QUEUE+46, QUEUE+47, QUEUE+48, QUEUE+50, QUEUE+66 |
D1 | QUEUE+2~, QUEUE+59*, QUEUE+60 |
DELETED | NEWSOPAI+9~ |
DFN | QUEUE+2~, QUEUE+62*, QUEUE+71, NEWLKUP+8~, NEWLKUP+17*, NEWLKUP+18 |
DUZ | QUEUE+71, QUEUE+78 |
QUEUE~, QUEUE+80 | |
>> FILENUMBER | QUEUE+60*, QUEUE+61, QUEUE+64 |
IMAGE | QUEUE~ |
IMAGEIX | NEWSOPAI+9~, NEWSOPAI+31*, NEWSOPAI+32*, NEWSOPAI+33, NEWSOPAI+34, NEWSOPAI+36 |
INACCESSIBLE | NEWSOPAI+9~ |
JBTOHD | QUEUE~, QUEUE+12*, QUEUE+44 |
LOCATION | QUEUE~, QUEUE+6, QUEUE+28, QUEUE+44 |
LOG | QUEUE+2~, QUEUE+69*, QUEUE+71, QUEUE+75 |
MAGD0 | NEWLKUP+8~ |
NOUT | NEWLKUP~, NEWLKUP+21*, NEWSOPAI~, NEWSOPAI+17*, NEWSOPAI+27*, NEWSOPAI+37*, NEWSOPAI+42, NEWSOPDB+1~, NEWSOPDB+2*, NEWSOPDB+3 , NEWSOPDB+4 |
NSCRATCH | QUEUE+3~, QUEUE+14*, QUEUE+16, QUEUE+20 |
OK | QUEUE+2~, QUEUE+27*, QUEUE+30*, QUEUE+32 |
OUT | QUEUE~, QUEUE+5*, QUEUE+6*, QUEUE+7*, QUEUE+9, QUEUE+18*, QUEUE+22*, QUEUE+34*, QUEUE+50*, NEWLKUP~ , NEWSOPAI~, NEWSOPDB~, NEWSOPDB+2!, NEWSOPDB+3 |
OUT( | NEWLKUP+21*, NEWSOPAI+17*, NEWSOPAI+27*, NEWSOPAI+37* |
OUT(1 | NEWSOPAI+42*, NEWSOPDB+4* |
>> PATREFDATA | NEWLKUP+16*, NEWLKUP+17 |
PATREFIX | NEWLKUP+8~, NEWLKUP+15*, NEWLKUP+16 |
PRIORITY | QUEUE~, QUEUE+11*, QUEUE+28, QUEUE+44, QUEUE+66 |
PROBLEM | QUEUE+2~, QUEUE+55*, QUEUE+72 |
PROBLEM(1 | QUEUE+74* |
PROBLEM(2 | QUEUE+75* |
PROBLEM(3 | QUEUE+76* |
PROCIX | QUEUE+2~, QUEUE+17*, QUEUE+18, QUEUE+20, NEWLKUP+8~, NEWLKUP+11*, NEWLKUP+12*, NEWLKUP+13, NEWLKUP+14, NEWLKUP+18 , NEWLKUP+19, NEWLKUP+20, NEWSOPAI~, NEWSOPAI+12, NEWSOPDB~, NEWSOPDB+3 |
PROCREFDATA6 | NEWLKUP+8~, NEWLKUP+14*, NEWLKUP+15 |
REASON | QUEUE~, QUEUE+69, QUEUE+71 |
REQUESTDATETIME | QUEUE+2~, QUEUE+43*, QUEUE+44, QUEUE+45 |
SCRATCH | QUEUE+3~, QUEUE+16, QUEUE+20 |
SCRATCH( | QUEUE+59, QUEUE+60 |
SCRATCH(2 | QUEUE+17 |
SCRATCH(3 | QUEUE+21 |
SERIESIX | NEWSOPAI+10~, NEWSOPAI+18*, NEWSOPAI+19*, NEWSOPAI+20, NEWSOPAI+21, NEWSOPAI+22, NEWSOPAI+23, NEWSOPAI+24, NEWSOPAI+25, NEWSOPAI+26 , NEWSOPAI+29 |
SOPIX | NEWSOPAI+10~, NEWSOPAI+28*, NEWSOPAI+29*, NEWSOPAI+30, NEWSOPAI+32, NEWSOPAI+36 |
STATUS | NEWSOPAI+10~ |
STUDYIX | QUEUE+2~, QUEUE+21*, QUEUE+22, QUEUE+24, NEWSOPAI+10~, NEWSOPAI+11*, NEWSOPAI+12*, NEWSOPAI+13, NEWSOPAI+14, NEWSOPAI+15 , NEWSOPAI+16, NEWSOPAI+19 |
STUDYUID | QUEUE+2~, QUEUE+24*, QUEUE+27, QUEUE+46, QUEUE+47 |
TOKEN | NEWSOPAI+10~ |
TYPE | QUEUE+2~ |
X | QUEUE+2~, QUEUE+36*, QUEUE+37*, QUEUE+39*, QUEUE+40*, QUEUE+41, QUEUE+60*, QUEUE+62, QUEUE+65, NEWLKUP+8~ , NEWLKUP+18*, NEWLKUP+19*, NEWLKUP+20*, NEWLKUP+21, NEWSOPAI+10~, NEWSOPAI+14*, NEWSOPAI+15*, NEWSOPAI+16*, NEWSOPAI+17, NEWSOPAI+21* , NEWSOPAI+22*, NEWSOPAI+23*, NEWSOPAI+24*, NEWSOPAI+25*, NEWSOPAI+26*, NEWSOPAI+27, NEWSOPAI+34*, NEWSOPAI+35, NEWSOPAI+36*, NEWSOPAI+37 |
XMERR | QUEUE+73~, QUEUE+83, QUEUE+84* |
XMID | QUEUE+73~, QUEUE+78*, QUEUE+79, QUEUE+82 |
XMSUB | QUEUE+73~, QUEUE+81*, QUEUE+82 |
XMY | QUEUE+73~, QUEUE+82 |
XMY( | QUEUE+79*, QUEUE+80* |
XMZ | QUEUE+73~, QUEUE+82 |