Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: MAGDRPCD

Package: Imaging

Routine: MAGDRPCD


Information

MAGDRPCD ;WOIFO/PMK - Imaging RPCs ; Apr 20, 2022@12:51:24

Source Information

Source file <MAGDRPCD.m>

Entry Points

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

Used in RPC

RPC Name Call Tags
MAG DICOM NEW SOP DB LOOKUP NEWSOPDB

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^MAGV(2005.61 - [#2005.61] GET1^DIQ
^MAGV(2005.62 - [#2005.62] GET1^DIQ
^MAGV(2005.63 - [#2005.63] GET1^DIQ
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call