source: FOIAVistA/trunk/r/IMAGING-MAG-ZMAG/MAGDIR85.m@ 1292

Last change on this file since 1292 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 1.5 KB
Line 
1MAGDIR85 ;WOIFO/PMK - Read a DICOM image file ; 05/06/2004 06:32
2 ;;3.0;IMAGING;**11,30**;16-September-2004
3 ;; +---------------------------------------------------------------+
4 ;; | Property of the US Government. |
5 ;; | No permission to copy or redistribute this software is given. |
6 ;; | Use of unreleased versions of this software requires the user |
7 ;; | to execute a written test agreement with the VistA Imaging |
8 ;; | Development Office of the Department of Veterans Affairs, |
9 ;; | telephone (301) 734-0100. |
10 ;; | |
11 ;; | The Food and Drug Administration classifies this software as |
12 ;; | a medical device. As such, it may not be changed in any way. |
13 ;; | Modifications to this software may result in an adulterated |
14 ;; | medical device under 21CFR820, the use of which is considered |
15 ;; | to be a violation of US Federal Statutes. |
16 ;; +---------------------------------------------------------------+
17 ;;
18 Q
19 ; M2MB server
20 ;
21 ; This routine handles the "ROLLBACK" RESULT item.
22 ;
23ENTRY ; remove ^MAG(2005,IMAGEPTR) entry because of a fatal problem
24 N ERRORMSG,IMAGEPTR,ROLLBACK
25 S IMAGEPTR=$P(ARGS,"|",2),U="^"
26 D DELETE^MAGGTID(.ROLLBACK,IMAGEPTR_"^1",1) ; invoke Garrett's routine
27 I ROLLBACK(0)?1"1^".E D
28 . S ERRORMSG="0||"_IMAGEPTR
29 . Q
30 E D
31 . S ERRORMSG="-1|"_$P(ROLLBACK(0),"^",2,999)_"|"_IMAGEPTR
32 . Q
33 D RESULT^MAGDIR8("ROLLBACK",ERRORMSG)
34 Q
Note: See TracBrowser for help on using the repository browser.