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

MAGSDEL4.m

Go to the documentation of this file.
  1. MAGSDEL4 ;WOIFO/GEK - Find DA for Image delete function ; [ 06/20/2001 08:57 ]
  1. ;;3.0;IMAGING;**8**;Sep 15, 2004
  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. GETDA(PPTR,DA1,MAGDA,DA) ; DA must be passed by reference.
  1. ; The Calling routine checks DA to see if a valid DA was found
  1. ; for the MAGDA (Image IEN) sent.
  1. N MAGX
  1. D FILE^DID(PPTR,"","GLOBAL NAME","MAGRT")
  1. Q:'$D(MAGRT("GLOBAL NAME"))
  1. S MAGX=$G(MAGRT("GLOBAL NAME"))_DA1_",2005,""B"","_MAGDA_",0)"
  1. S DA=$O(@MAGX)
  1. Q