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/MAGLOG.m

    r628 r636  
    11MAGLOG ;WOIFO/RED,SRR,MLH - Log image access ; [ 06/20/2001 08:57 ]
    2  ;;3.0;IMAGING;**17,8,20,59**;Nov 27, 2007;Build 20
    3  ;;Per VHA Directive 2004-038, this routine should not be modified.
     2 ;;3.0;IMAGING;**17,8,20**;Apr 12, 2006
    43 ;; +---------------------------------------------------------------+
    54 ;; | Property of the US Government.                                |
     
    3938 I $D(MAGAD) S ^MAG(2006.95,MAGC,100)=MAGAD
    4039 S ^MAG(2006.95,"B",MAGC,MAGC)=""
    41  D ACCESS(MAGO) ; This should be here.  Can now search 2006.95 from "Last Access Date" to "Capture Date" to
    42  ; get all Actions logged. We Don't have to search entire Image File.
    4340 I $G(MAGJOB("SESSION")) S ^MAG(2006.95,"AS",+$G(MAGJOB("SESSION")),MAGC)=""
    4441 Q
    4542ACCESS(MAGO) ; Update Field "Last Access Date" in Image File.
    46  Q:'$G(MAGO)
    4743 I '$D(^MAG(2005,MAGO,0)) D  Q
    4844 . I $D(^MAG(2005.1,MAGO,0)) S $P(^MAG(2005.1,MAGO,0),"^",9)=$$NOW^XLFDT
Note: See TracChangeset for help on using the changeset viewer.