Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: MAGDFB

MAGDFB.m

Go to the documentation of this file.
  1. MAGDFB ;WOIFO/EdM - Call MAGFILEB ; 04/29/2005 08:55
  1. ;;3.0;IMAGING;**11,51**;26-August-2005
  1. ;; +---------------------------------------------------------------+
  1. ;; | Property of the US Government. |
  1. ;; | No permission to copy or redistribute this software is given. |
  1. ;; | Use of unreleased versions of this software requires the user |
  1. ;; | to execute a written test agreement with the VistA Imaging |
  1. ;; | Development Office of the Department of Veterans Affairs, |
  1. ;; | telephone (301) 734-0100. |
  1. ;; | |
  1. ;; | The Food and Drug Administration classifies this software as |
  1. ;; | a medical device. As such, it may not be changed in any way. |
  1. ;; | Modifications to this software may result in an adulterated |
  1. ;; | medical device under 21CFR820, the use of which is considered |
  1. ;; | to be a violation of US Federal Statutes. |
  1. ;; +---------------------------------------------------------------+
  1. ;;
  1. Q
  1. ;
  1. ; The purpose of this subroutine is to call FINDFILE in MAGFILEB
  1. ; in such a way that all parameters are passed in or out,
  1. ; and such that all internal variables of MAGFILEB are NEWed
  1. ;
  1. FILEFIND(MAGXX,FILETYPE,MAGJBCP,VERBOSE,MAGFILE1,MAGFILE2,MAGFILE) ;
  1. ; Input:
  1. ; MAGXX -- IEN into file 2005, ^MAG(2005,IEN,0)
  1. ; FILETYPE -- "FULL", "ABSTRACT" or "BIG"
  1. ; MAGJBCP -- Flag: do or don't copy from JukeBox to HardDisk
  1. ; VERBOSE -- Flag: do or don't display interactive error messages
  1. ; Output:
  1. ; MAGFILE1 -- filename
  1. ; MAGFILE2 -- path + filename
  1. ; MAGFILE -- path + filename + $C(0)
  1. ; MAGPLACE -- pointer to ^MAG(2006.1) for "place" where image is stored
  1. ; MAGINST -- pointer to ^DIC(4) that corresponds to MAGPLACE
  1. ;
  1. N MAGJBOL,MAGOFFLN,MAGPREF,MAGTYPE
  1. D FINDFILE^MAGFILEB
  1. S MAGFILE2=$G(MAGPREF)_MAGFILE1,MAGFILE=MAGFILE2_$C(0)
  1. Q
  1. ;