- Timestamp:
- Dec 4, 2009, 8:26:01 PM (14 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAPST2.m
r628 r636 1 1 GMRAPST2 ;HIRMFO/WAA- PRINT SUM LISTING OF OUT COMES ;3/5/97 14:50 2 ;;4.0;Adverse Reaction Tracking;**7 ,33**;Mar 29, 1996;Build 52 ;;4.0;Adverse Reaction Tracking;**7**;Mar 29, 1996 3 3 EN1 ; This routine will loop through the ADT entry point to get all 4 4 ; the entries in that date range. … … 28 28 ..S GMRAPA1(0)=$G(^GMR(120.85,GMRAPA1,0)) Q:GMRAPA1(0)="" ;Bad Node 29 29 ..Q:+$G(^GMR(120.8,$P(GMRAPA1(0),U,15),"ER")) ;Entered in Error data 30 ..Q:'$$PRDTST^GMRAUTL1($P(GMRAPA1(0),U,2)) ;GMRA*4*33 Exclude test patient from report if production or legacy environment.31 30 ..S GMRATOT=GMRATOT+1 32 31 ..F GMRALAB=1:1 S GMRALINE=$T(TEXT+GMRALAB) Q:$P(GMRALINE,";",3)="" D … … 58 57 D CLOSE^GMRAUTL 59 58 Q 60 ;has the patient died with in the date59 ;has the patient died with inthe dat 61 60 HEAD ; Print header information 62 61 I GMRAPG'=1 Q:$Y<(IOSL-4) … … 78 77 I $D(ZTQUEUED) S:$$STPCK^GMRAUTL1 GMRAOUT=1 ; Check if stopped by user 79 78 Q 80 TEXT ;;these are the label s that will denote the field data79 TEXT ;;these are the labeles that will denote the field data 81 80 ;;Patients that Died: ;3 82 81 ;;Reactions treated with RX drugs: ;4
Note:
See TracChangeset
for help on using the changeset viewer.