MAGJEX1 ;WIRMFO/JHC,ISI/JL - VistARad RPC calls ; 10/17/2022
Source file <MAGJEX1.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| ERR | ||
| OPENCASE(MAGGRY,DATA) | ;
 ; MAGGRY holds $NA reference to ^TMP for rpc return ; all ref's to MAGGRY use subscript indirection ; input in DATA: ; OPEN_FLAG ^ RADFN^RADTI^RACNI^RARPT ^ PSINDGET ^ <unused> ^ USETGA (forced to zero) ; ISI ; OPEN_FLAG = 0: Open, view only ; 1: Open, lock the case for status update ; 2: Open, Reserve for Interpretation ; VIX: Fetching metadata only; Jukebox retrieval occurs (P115 & earlier) ; VIX-Metadata: Fetching metadata only; no JB Retrieval (P104,ff) ; VIX-Open: Fetching metadata with JB Retrieval (P104,ff) ; RADFN^RADTI^RACNI^RARPT = Exam ID string, specifies case of interest ; PSINDGET= Presentation State indicators of interest to client ; K/I/U for Key Image/ Interpretation/ User PS types ; USETGA = hard-code to "0": Open BIG file ; ISI remove support for downsampled image fetch ; ; Details of Reply message are below tag OPENCASZ ;  | 
|
| OPENCASZ | ||
| PSETLST(RADFN,RADTI,RACNI) | ; Return list of Printset Case #'s for exam
 | 
|
| PNAM(X) | ; return pt name for input DFN
 | 
|
| STATN(X) | ; get station #, else return input value
 | 
|
| END | ||
| REGIONAL(MAGS) | ; ISI -- return 1 if image storage loc is regional
 | 
| RPC Name | Call Tags | 
|---|---|
| MAGJ RADCASEIMAGES | OPENCASE | 
| FileNo | Call Tags | 
|---|---|
| ^DIC(4 - [#4] | GETS^DIQ |