Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (14 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

Location:
FOIAVistA/tag/r
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • FOIAVistA/tag/r/IMAGING-MAG-ZMAG/MAGBAPIP.m

    r628 r636  
    11MAGBAPIP ;WOIFO/MLH - Background Processor API to build queues - Modules for place
    2  ;;3.0;IMAGING;**1,7,8,20,59**;Nov 27, 2007;Build 20
    3  ;;Per VHA Directive 2004-038, this routine should not be modified.
     2 ;;3.0;IMAGING;**1,7,8,20**;Apr 12, 2006
    43 ;; +---------------------------------------------------------------+
    54 ;; | Property of the US Government.                                |
     
    1716 ;; +---------------------------------------------------------------+
    1817 ;;
    19 DUZ2PLC(WARN) ;Convert DUZ to a PLACE. File 2006.1 entry (PLACE)
    20  ; Extrinsic : Always returns a PLACE
    21  ; WARN          : message about where the PLACE was derived from.
     18DUZ2PLC(WARN) ; Moved from MAGGTU3 v2.5 - DBI - SEB Patch 4
     19 ; Extrinsic : Always returns a PLACE /gek 8/2003
     20 ; WARN          : message about where the PLACE was derived from.  /gek 8/2003
    2221 ; Compute the Users Institution for older versions of Imaging Display workstation.
    23  ; This is called when DUZ(2) doesn't exist Or Can't resolve DUZ(2)
    24  ;  into site param entry.  This solved a GateWay Problem where DUZ(2) didn't
    25  ;  exist.  - Shouldn't get here anymore, that was fixed.
     22 ; This is called when :
     23 ;               DUZ(2) doesn't exist,
     24 ;               Or Can't resolve DUZ(2) into site param entry
    2625 N MAGINST,DIVDTA,PLACE
    2726 S MAGINST=0
     
    3837 Q PLACE
    3938 ;
    40 DA2PLC(MAGDA,TYPE) ; Get Place from Image File IEN
     39DA2PLC(MAGDA,TYPE) ; Moved from MAGGTU7 v2.5 - DBI - SEB Patch 4
    4140 ; TYPE :        Possible values "A" Abstract, "F" Full Res or "B" Big File
    4241 ; (defaults to "F" if null)
    43  ; Resolve Place (PLC) using the Acquisition Site field (ACQS)
    44  ; IF ACQS is null or not doesn't exist in the site parameter file
    45  ; THEN Resolve PLC using NetWork Location pointer
     42 ; Resolve current place of image using the Acquisition Site field, then
     43 ; resolve current place of image using NetWork Location pointer
     44 ; if the Acquisition Site field is null or not related to the site
     45 ; parameter file.
    4646 ;
    4747 N MAGREF,MAG0,FBIG,SITE,PLC,MAGJB
     
    4949 S SITE=$P($G(^MAG(2005,MAGDA,100)),U,3)
    5050 I SITE S PLC=$$PLACE^MAGBAPI(SITE) Q:PLC PLC
    51  ; p59  Stop the error when an Image is Deleted.
    52  S MAG0=$G(^MAG(2005,MAGDA,0)) Q:MAG0="" 0
    53  ;
     51 S MAG0=^MAG(2005,MAGDA,0)
     52 ;I '$D(TYPE) S TYPE="F" /gek 8/2003  mod for efficiency (from ed)
    5453 S TYPE=$E($G(TYPE)_"F",1)
    5554 I "AF"[TYPE D
Note: See TracChangeset for help on using the changeset viewer.