Changeset 636 for FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (15 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 17 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRACMR4.m
r628 r636 1 GMRACMR4 ;HIRMFO/WAA-PATIENT NOT ASKED ABOUT ALLERGIES ; 10/1/922 ;;4.0;Adverse Reaction Tracking; **33**;Mar 29, 1996;Build 51 GMRACMR4 ;HIRMFO/WAA-PATIENT NOT ASKED ABOUT ALLERGIES ; 10/1/92 2 ;;4.0;Adverse Reaction Tracking;;Mar 29, 1996 3 3 EN1 ;This is the main entry point for this program 4 4 D EN1^GMRACMR G:GMRAOUT EXIT 5 DEV ; *** Select output device, force queu ing5 DEV ; *** Select output device, force queueing 6 6 S GMRAZIS="" 7 7 S:GMRASEL'="1," GMRAZIS="Q" … … 31 31 .S GMRACNT=0 32 32 .S GMRADATE=0 F S GMRADATE=$O(^TMP($J,"GMRAWC",GMRAX,GMRADATE)) Q:GMRADATE="" S (GMRAFLG,GMRADFN)=0 F S GMRADFN=$O(^TMP($J,"GMRAWC",GMRAX,GMRADATE,GMRADFN)) Q:GMRADFN<1 D Q:GMRAOUT 33 ..Q:'$$PRDTST^GMRAUTL1(GMRADFN) ;GMRA*4*33 Exclude test patient from report if production or legacy environment.34 33 ..S GMRAI=0 F S GMRAI=$O(^GMR(120.8,"B",GMRADFN,GMRAI)) Q:GMRAI<1 D Q:GMRAOUT 35 34 ...Q:'$D(^GMR(120.8,GMRAI,0)) Q:$P($G(^GMR(120.86,GMRADFN,0)),U,2)'=1 -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRADSP5.m
r628 r636 1 GMRADSP5 ;HIRMFO/YMP,RM,WAA-LISTING OF ALLERGIES TO SIGNED OFF ALLERGIES ; 8/16/922 ;;4.0;Adverse Reaction Tracking; **33**;Mar 29, 1996;Build 51 GMRADSP5 ;HIRMFO/YMP,RM,WAA-LISTING OF ALLERGIES TO SIGNED OFF ALLERGIES ; 8/16/92 2 ;;4.0;Adverse Reaction Tracking;;Mar 29, 1996 3 3 EN1 ; Entry to PATIENT ALLERGIES NOT SIGNED OFF option 4 4 S GMRAOUT=0 … … 14 14 EN2A S GMRATEMP=$G(^GMR(120.8,GMRAREC,0)) Q:GMRATEMP="" 15 15 I '$D(^XUSEC("GMRA-ALLERGY VERIFY",DUZ)) Q:$P(GMRATEMP,U,5)'=DUZ 16 Q:'$$PRDTST^GMRAUTL1($P(GMRATEMP,U)) ;GMRA*4*33 Exclude test patient if production or legacy environment.17 16 S DFN=$P(GMRATEMP,U) D PID^VADPT6 S GMRASSN=VA("BID") D KVA^VADPT 18 17 I $P(GMRATEMP,U,5)'="" S ^TMP($J,"GMRADSP",$P(^VA(200,$P(GMRATEMP,U,5),0),U),$P(GMRATEMP,U,5),$P(GMRATEMP,U,4),$P(GMRATEMP,U),GMRAREC)=$P(GMRATEMP,U,2)_U_$E($P(^DPT($P(GMRATEMP,U),0),U),1,14)_"("_GMRASSN_")" -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAEF2.m
r628 r636 1 1 GMRAEF2 ;HIRMFO/WAA-FDA EXCEPTION REPORT ;11/29/95 15:01 2 ;;4.0;Adverse Reaction Tracking; **33**;Mar 29, 1996;Build 52 ;;4.0;Adverse Reaction Tracking;;Mar 29, 1996 3 3 EN1 ; Entry to PRINT ALL FDA EXCEPTIONS WITHIN A D/T RANGE option 4 4 S GMRAOUT=0 K DIR … … 21 21 .I $$CMPFDA^GMRAEF1(GMRAIEN) Q 22 22 .S GMRDFN=$P(GMRA(0),U) 23 .Q:'$$PRDTST^GMRAUTL1(GMRDFN) ;GMRA*4*33 Exclude test patient from report if production or legacy environment.24 23 .S ^TMP($J,"GMRAEF",GMRDFN,GMRABGDT)=GMRAIEN 25 24 .Q -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAFDA3.m
r628 r636 1 1 GMRAFDA3 ;HIRMFO/WAA-DISPLAY FDA REPORT OVER DT RANGE ;12/1/95 11:34 2 ;;4.0;Adverse Reaction Tracking; **33**;Mar 29, 1996;Build 52 ;;4.0;Adverse Reaction Tracking;;Mar 29, 1996 3 3 EN1 ; Entry for PRINT ALL FDA EVENTS WITHIN D/T RANGE option 4 4 S GMRAOUT=0 K DIR … … 41 41 .S GMRAPA(0)=$G(^GMR(120.8,$P(GMRAPA1(0),U,15),0)) Q:GMRAPA(0)="" 42 42 .S DFN=$P(GMRAPA(0),U) D PID^VADPT6 43 .Q:'$$PRDTST^GMRAUTL1(DFN) ;GMRA*4*33 Exclude test patient from report if production or legacy environment.44 43 .S GMRACNT=GMRACNT+1 45 44 .W !,$E($P(^DPT(DFN,0),U),1,23)," (",VA("PID"),")" K VA,DFN -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAPFT.m
r628 r636 1 1 GMRAPFT ;HIRMFO/WAA- PRINT FDA REACTION BY DATE ENTERED/TRACKED ;4/10/97 09:30 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. … … 31 31 ..S (GMRAPID,GMRANAME,GMRALOC)="" 32 32 ..S GMRADFN=$P(GMRAPA1(0),U,2),GMRADDT=$P(GMRAPA1(0),U) 33 ..Q:'$$PRDTST^GMRAUTL1(GMRADFN) ;GMRA*4*33 Exclude test patient from report if production or legacy system.34 33 ..D VAD^GMRAUTL1(GMRADFN,GMRADDT,.GMRALOC,.GMRANAME,"",.GMRAPID) 35 34 ..I GMRALOC="" S GMRALOC="OUT PATIENT" … … 47 46 ..W ?49,$E($G(GMRARAC(2)),1,30) ; The 2nd reaction that is listed 48 47 ..W !,"Loc: ",GMRALOC 49 ..W ?32,"-------------" ; Sep arator48 ..W ?32,"-------------" ; Seperator 50 49 ..W ?49,$E($G(GMRARAC(3)),1,30) ; The 3rd reaction that is listed 51 50 ..W !,"Obs: ",$P($G(^VA(200,$P(GMRAPA1(0),U,19),0)),U) ; User entered -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAPL.m
r628 r636 1 1 GMRAPL ;HIRMFO/WAA- PRINT ALLERGY LIST BY LOCATION ;5/2/97 14:13 2 ;;4.0;Adverse Reaction Tracking;**7 ,33**;Mar 29, 1996;Build 53 EN1 ; This routine will loop th rough the GMRA patient allergy file4 ; to find all patient within the date range that meet the criter ia2 ;;4.0;Adverse Reaction Tracking;**7**;Mar 29, 1996 3 EN1 ; This routine will loop thourgh the GMRA patient allergy file 4 ; to find all patient within the date range that meet the critera 5 5 ; and then display all the data for those patients first by location 6 6 ; then by date/time range of the reaction. … … 32 32 ..S GMRATYP=$P(GMRAPA(0),U,20) ; Get the reaction types FDO 33 33 ..S (GMRANAM,GMRALOC,GMRAVIP)="" 34 ..Q:'$$PRDTST^GMRAUTL1($P($G(GMRAPA(0)),U)) ;GMRA*4*33 Exclude test patient from report if production or legacy environment35 34 ..D VAD^GMRAUTL1($P(GMRAPA(0),U),$P(GMRAPA(0),U,4),.GMRALOC,.GMRANAM,"","","","",.GMRAVIP) 36 35 ..I GMRALOC'="",+$G(^DIC(42,GMRALOC,44)) S GMRALOC=$P($G(^SC(+$G(^DIC(42,GMRALOC,44)),0)),U) -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAPNA.m
r628 r636 1 1 GMRAPNA ;HIRMFO/WAA-PATIENT NOT ASKED ABOUT ALLERGIES ;12/1/95 14:15 2 ;;4.0;Adverse Reaction Tracking;**30 ,33**;Mar 29, 1996;Build 52 ;;4.0;Adverse Reaction Tracking;**30**;Mar 29, 1996 3 3 EN1 ; Entry for LIST BY LOCATION OF UNDOCUMENTED ALLERGIES option 4 4 D EN1^GMRACMR G:GMRAOUT EXIT … … 6 6 D EXIT 7 7 Q 8 DEV ; *** Select output device, force queu ing8 DEV ; *** Select output device, force queueing 9 9 ;***** NOTE: CHECKS TO SEE IF VALID DEVICE IS SELECTED THEN ALL I HAVE TO DO IS RUN TASK MAN. 10 10 S GMRAZIS="" S:GMRASEL'="1," GMRAZIS="Q" … … 37 37 ..Q:'$D(^DPT(GMRADFN,0)) 38 38 ..Q:$$DECEASED^GMRAFX(GMRADFN) ;GMRA*4*30 Prevent deceased patients from appearing on this report. 39 ..Q:'$$PRDTST^GMRAUTL1(GMRADFN) ;GMRA*4*33 Exclude test patient from report if production or legacy environment.40 39 ..S GMRACNT=GMRACNT+1 41 40 ..W !,$P(^DPT(GMRADFN,0),U) S DFN=GMRADFN,VAINDT=$S(GMRADATE="CURRENT":DT,1:GMRADATE) D 1^VADPT W ?30,VA("PID") W:GMRA'="C" ?45,$P(VAIN(2),U,2) -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAPST1.m
r628 r636 1 1 GMRAPST1 ;HIRMFO/WAA- PRINT LISTING OF FATAL REACTIONS ;3/5/97 14:45 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 where the patient has died. … … 31 31 ..Q:$P(GMRAPA1(0),U,3)'="y" ; If patient did not die of the reaction 32 32 ..S GMRADFN=$P(GMRAPA1(0),U,2),GMRADDT=$P(GMRAPA1(0),U) ; reaction date 33 ..Q:'$$PRDTST^GMRAUTL1(GMRADFN) ;GMRA*4*33 Exclude test patient from report in production or legacy environments.34 33 ..S (GMRAPID,GMRANAME)="" 35 34 ..D VAD^GMRAUTL1(GMRADFN,GMRADDT,"",.GMRANAME,"",.GMRAPID) … … 68 67 D CLOSE^GMRAUTL 69 68 Q 70 ;has the patient died with in the date69 ;has the patient died with inthe dat 71 70 HEAD ; Print header information 72 71 I GMRAPG'=1 Q:$Y<(IOSL-4) -
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 -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAPST3.m
r628 r636 1 1 GMRAPST3 ;HIRMFO/WAA- PRINT FREQUENCY OF DIST OVR DT BY REACT ;3/5/97 15:14 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. … … 31 31 ..S GMRAPA1(0)=$G(^GMR(120.85,GMRAPA1,0)) Q:GMRAPA1(0)="" ;Bad Node 32 32 ..Q:+$G(^GMR(120.8,$P(GMRAPA1(0),U,15),"ER")) ;Entered in error data 33 ..Q:'$$PRDTST^GMRAUTL1($P(GMRAPA1(0),U,2)) ;GMRA*4*33 Exclude test patient from report if production or legacy environment.34 33 ..S GMRATOT=GMRATOT+1 35 34 ..S GMRAPA=$P(GMRAPA1(0),U,15) Q:'GMRAPA … … 60 59 D CLOSE^GMRAUTL 61 60 Q 62 ;has the patient died with in the date61 ;has the patient died with inthe dat 63 62 HEAD ; Print header information 64 63 I GMRAPG'=1 Q:$Y<(IOSL-4) -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAPST4.m
r628 r636 1 1 GMRAPST4 ;HIRMFO/WAA- PRINT FREQUENCY OF DIST OVR DT BY DC ;3/5/97 15:15 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. … … 30 30 ..S GMRAPA1(0)=$G(^GMR(120.85,GMRAPA1,0)) Q:GMRAPA1(0)="" ;Bad Node 31 31 ..Q:+$G(^GMR(120.8,$P(GMRAPA1(0),U,15),"ER")) ;Entered in error data 32 ..Q:'$$PRDTST^GMRAUTL1($P(GMRAPA1(0),U,2)) ;GMRA*4*33 Exclude test patient from report if production or legacy environment.33 32 ..S GMRATOT=GMRATOT+1 34 33 ..S GMRAPA=$P(GMRAPA1(0),U,15) Q:'GMRAPA -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAPST5.m
r628 r636 1 1 GMRAPST5 ;HIRMFO/WAA- PRINT TOTAL NUMBER OF REPORTED REACTION ;3/5/97 15:16 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 ..Q … … 38 37 D CLOSE^GMRAUTL 39 38 Q 40 ;has the patient died with in the date39 ;has the patient died with inthe dat 41 40 HEAD ; Print header information 42 41 I GMRAPG'=1 Q:$Y<(IOSL-4) -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAPST6.m
r628 r636 1 1 GMRAPST6 ;HIRMFO/WAA- ADR OUTCOME REPORT ;3/5/97 15:16 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. … … 34 34 ..S GMRACA=$P(GMRAPA(0),U,2) ; Causative Agent 35 35 ..S DFN=$P(GMRAPA(0),U),GMRACA=$E(GMRACA,1,22)_"-"_$E($P(^DPT(DFN,0),U),1)_$E($P(^(0),U,9),6,9) 36 ..Q:'$$PRDTST^GMRAUTL1(DFN) ;GMRA*4*33 Exclude test patients if production or legacy environment.37 36 ..S ^TMP($J,"GMRAPST6",GMRADDT,GMRACA,GMRAPA1)="" 38 37 ..Q -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAPST7.m
r628 r636 1 1 GMRAPST7 ;HIRMFO/WAA- ADVERSE DRUG REACTION REPORT ;3/5/97 15:17 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. … … 35 35 ..S GMRACA=$P(GMRAPA(0),U,2) ; Causative Agent 36 36 ..S DFN=$P(GMRAPA(0),U),GMRACA=$E(GMRACA,1,22)_"-"_$E($P(^DPT(DFN,0),U),1)_$E($P(^(0),U,9),6,9) 37 ..Q:'$$PRDTST^GMRAUTL1(DFN) ;GMRA*4*33 Exclude test patients from report if production or legacy environment.38 37 ..S ^TMP($J,"GMRAPST7",GMRADDT,GMRACA,GMRAPA1)=GMRAPA 39 38 ..Q -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAPU.m
r628 r636 1 GMRAPU ;HIRMFO/WAA- PRINT ALLERGY LIST BY LOCATION UNVERIFIED ; 8/27/932 ;;4.0;Adverse Reaction Tracking; **33**;Mar 29, 1996;Build 51 GMRAPU ;HIRMFO/WAA- PRINT ALLERGY LIST BY LOCATION UNVERIFIED ; 8/27/93 2 ;;4.0;Adverse Reaction Tracking;;Mar 29, 1996 3 3 EN1 ; This routine will loop through the GMRA patient allergy file (120.8) 4 4 ; to find all patients with unverified reactions … … 67 67 .N GMRALOC,GMRANAM,GMALOC,GMRAPA 68 68 .S GMRANAM="",GMRALOC="" 69 .Q:'$$PRDTST^GMRAUTL1(GMADFN) ;GMRA*4*33 Exclude test patients if production or legacy environment.70 69 .D VAD^GMRAUTL1(GMADFN,"",.GMRALOC,.GMRANAM,"","","") I GMRALOC="" S GMALOC="OUTPATIENT" 71 70 .E S GMALOC=$P($G(^DIC(42,GMRALOC,0)),U) -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAUTL1.m
r628 r636 1 GMRAUTL1 ;HIRMFO/WAA-ALLERGY UTILITIES ;12/04/92 2 ;;4.0;Adverse Reaction Tracking;**33**;Mar 29, 1996;Build 5 3 ; 4 ; Reference to $$PROD^XUPROD supported by DBIA 4440 5 ; Reference to $$TESTPAT^VADPT supported by DBIA 3744 6 ; 1 GMRAUTL1 ;HIRMFO/WAA-ALLERGY UTILITIES ; 12/04/92 2 ;;4.0;Adverse Reaction Tracking;;Mar 29, 1996 7 3 Q 8 4 STPCK() ; This is to check to see if the user wanted to stop the print … … 47 43 D CLOSE^GMRAUTL 48 44 Q 49 PRDTST(GMRADFN) ; GMRA*4*33 - Remove Test Patients from Live Reports50 ; This function will return 0 if the patient should not print on the report, and 1 if the patient51 ; should appear on the report. This function will allow all patients to print on the report if the52 ; report is run in a test environment.53 ;54 I GMRADFN="" Q 0 ;DFN not defined. Should never be the case.55 I '$$PROD^XUPROD() Q 1 ;Not a production or legacy environment. Print all patients on report.56 I $$TESTPAT^VADPT(GMRADFN) Q 0 ;Production or legacy environment. Test patient. Do not print on report.57 Q 1 ;Production or legacy environment. Not a test patient. Print on report.58 ;59 45 VAD(DFN,DAT,LOC,NAM,SEX,SSN,RB,PRO,PID) ; Call to VADPT 60 46 ; This call is a generic call to 1^VADPT -
FOIAVistA/tag/r/ADVERSE_REACTION_TRACKING-GMRA-GMA/GMRAVFY.m
r628 r636 1 GMRAVFY ;HIRMFO/WAA ,PWC-VERIFY AND SIGN OFF AN AGENT ; 5/23/07 10:32am2 ;;4.0;Adverse Reaction Tracking;**2 ,33**;Mar 29, 1996;Build 51 GMRAVFY ;HIRMFO/WAA-VERIFY AND SIGN OFF AN AGENT ;12/1/95 16:06 2 ;;4.0;Adverse Reaction Tracking;**2**;Mar 29, 1996 3 3 EN1 ;This is the main entry point for the verifier option. 4 4 S GMRAVER=0,GMRADRUG=0 … … 27 27 S GMRAPA(0)=$G(^GMR(120.8,GMRAPA,0)),GMRATYPE=$P(GMRAPA(0),U,20) 28 28 S DA=GMRAPA,DIE="^GMR(120.8,",DR="19////1;20///N;21////"_DUZ D ^DIE D:'GMRAVER EN1^GMRAVAB S GMRAPA(0)=$S($D(^GMR(120.8,GMRAPA,0)):^(0),1:"") 29 I $G(GMRANEW) D ;send NOTIFICATION bulletin if this is new -- GMRA*4*33 30 . I $P(GMRAPA(0),U,6)="o",GMRATYPE["D" D PTBUL^GMRAROBS 29 I $P(GMRAPA(0),U,6)="o",GMRATYPE["D" D PTBUL^GMRAROBS 31 30 I GMRAVER D EN1^GMRAPET0($P(GMRAPA(0),U),GMRAPA,"V",.GMRAOUT) I GMRAOUT S GMRAOUT=0 32 31 Q1 D UNLOCK^GMRAUTL(120.8,GMRAPA)
Note:
See TracChangeset
for help on using the changeset viewer.