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: MAGVIM01

Package: Imaging

Routine: MAGVIM01


Information

MAGVIM01 ;WOIFO/DAC/NST/JSJ/BT - Utilities for RPC calls for DICOM file processing ; Nov 05, 2020@07:26:32

Source Information

Source file <MAGVIM01.m>

Entry Points

Name Comments DBIA/ICR reference
OUTSEP() ; Name value separator for output data ie. NAME|TESTPATIENT
  • ICR #7505
    • Status: Active
    • Usage: Controlled Subscription
    STATSEP() ; Status and result separator ie. -3``No record IEN
  • ICR #7505
    • Status: Active
    • Usage: Controlled Subscription
    INPUTSEP() ; Name value separator for input data ie. NAME`TESTPATIENT
    GETLIST(OUT) ; Returns all worklist names and statuses
    CRTITEM(OUT,TYPE,SUBTYPE,STATUS,PLACEID,PRIORITY,MSGTAGS,CRTUSR,CRTAPP,UPDSRV) ; Creates an entry in the work item file and the work history file
    UPDITEM(OUT,ID,EXPSTAT,NEWSTAT,MESSAGE,UPDUSR,UPDAPP) ; Update work item status and create an entry in the work history file
    FIND(OUT,TYPE,SUBTYPE,STATUS,PLACEID,PRIORITY,STOPTAG,MAXROWS,TAGS,LASTIEN,ORDER,DTFROM,DTTO) ; Find records with given attributes - return ID
    DTINRNG(IEN,DTFROM,DTTO) ;
    GFLTITM(FLTITM,TAGS) ;This to improve loading performance
    SRV(IEN) ;return Service
    DESCR(SRV) ;
    GETITEM(OUT,ID,EXPSTAT,NEWSTAT,UPDUSR,UPDAPP) ; Find work item with matching ID and return tags
    DELWITEM(OUT,ID) ; Delete Work Item
    ADDTAG(OUT,ID,EXPSTAT,UPDUSR,UPDAPP,TAG) ; Add tags to work item
    GETNEXT(OUT,ETYPE,EXPSTAT,NEWSTAT,UPDUSR,UPDAPP,LOCATION) ; Find last update work item on worklist type provided
    IMSTATUS(OUT,UIDS) ; Get import status
    UPUSRAPP(OUT,ID,NEWSTAT,UPDUSR,UPDAPP) ; Update user, app, updated time fields
    UPCASE(X) ;

    Used in RPC

    RPC Name Call Tags
    MAGV ADD WORK ITEM TAGS ADDTAG
    MAGV CREATE WORK ITEM CRTITEM
    MAGV DELETE WORK ITEM DELWITEM
    MAGV FIND WORK ITEM FIND
    MAGV GET NEXT WORK ITEM GETNEXT
    MAGV GET WORK ITEM GETITEM
    MAGV GET WORKLISTS GETLIST
    MAGV IMPORT STATUS IMSTATUS
    MAGV UPDATE WORK ITEM UPDITEM

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^MAGV(2006.941 - [#2006.941] GET1^DIQ,  WP^DIE
    Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call