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

MAGVRS11.m

Go to the documentation of this file.
MAGVRS11 ;WOIFO/DAC,MLH - RPC calls for DICOM file processing ; Apr 27, 2022@11:46:12
 ;;3.0;IMAGING;**118,278**;Mar 19, 2002;Build 138
 ;; Per VA Directive 6402, this routine should not be modified.
 ;; +---------------------------------------------------------------+
 ;; | Property of the US Government.                                |
 ;; | No permission to copy or redistribute this software is given. |
 ;; | Use of unreleased versions of this software requires the user |
 ;; | to execute a written test agreement with the VistA Imaging    |
 ;; | Development Office of the Department of Veterans Affairs,     |
 ;; | telephone (301) 734-0100.                                     |
 ;; | The Food and Drug Administration classifies this software as  |
 ;; | a medical device.  As such, it may not be changed in any way. |
 ;; | Modifications to this software may result in an adulterated   |
 ;; | medical device under 21CFR820, the use of which is considered |
 ;; | to be a violation of US Federal Statutes.                     |
 ;; +---------------------------------------------------------------+
 ;;
 Q
ATSOP(OUT,SOPATTS) ;RPC - create a new sop
 L +^MAGV(2005.64):60 E  D  ; P278 DAC - Lock Image SOP Instance file to prevent duplicates
 . S OUT(1)="-99"_$$STATSEP^MAGVRS41_"Image SOP Instance file is locked"
 Q:$D(OUT(1))
 D ATTACH^MAGVRS41(.OUT,2005.64,.SOPATTS)
 L -^MAGV(2005.64)
 Q
UPSERIES(OUT,SERATTS,OVERRIDE) ;RPC - update series
 D UPDATE^MAGVRS41(.OUT,2005.63,.SERATTS,$G(OVERRIDE))
 Q
FINDSER(OUT,SERUID) ; RPC - find series by UID
 D FINDBUID^MAGVRS41(.OUT,2005.63,$G(SERUID))
 Q