Changeset 636 for FOIAVistA/tag/r/CLINICAL_REMINDERS-PXRM/PXRMDBL3.m
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (15 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/CLINICAL_REMINDERS-PXRM/PXRMDBL3.m
r628 r636 1 PXRMDBL3 ; SLC/PJH - Reminder Dialog Generation. (overflow) ; 11/08/20072 ;;2.0;CLINICAL REMINDERS; **6**;Feb 04, 2005;Build 1231 PXRMDBL3 ; SLC/PJH - Reminder Dialog Generation. (overflow) ;04/30/2001 2 ;;2.0;CLINICAL REMINDERS;;Feb 04, 2005 3 3 ; 4 4 ; Called from PXRMDBL1 5 5 ; 6 6 ;Set number range for site 7 START ; 8 D SETSTART^PXRMCOPY("^PXRMD(801.41,") 7 START D SETSTART^PXRMCOPY("^PXRMD(801.41,") 9 8 ;Update dialog file for individual dialog items 10 9 D UPDATE(.ARRAY,.WPTXT,"E") … … 64 63 N RNAME,TEST,YT S YT="" 65 64 ;Convert ien to name 66 ;DBIA #5044 67 S YT("CODE")=$P($G(^YTT(601.71,IEN,0)),U) 65 S YT("CODE")=$P($G(^YTT(601,IEN,0)),U) 68 66 ;Quit if no code found 69 67 I YT("CODE")="" Q 0 70 I '$$OK^PXRMDLL(IEN) Q 0 68 ;Check if this is an allowable GUI test 69 I (YT("CODE")'="GAF"),($P($G(^YTT(601.6,IEN,0)),U,4)'="Y") Q 0 70 ;Get details of test 71 D SHOWALL^YTAPI3(.TEST,.YT) 71 72 ;Check if valid 72 ;I TEST(1)["[ERROR]" Q 073 I TEST(1)["[ERROR]" Q 0 73 74 ; 74 75 S DNAME=FTYP_" "_YT("CODE") … … 82 83 ;Dialog item name, finding item and result 83 84 S ARRAY(CNT)=DSHORT_U_U_RESN_U 84 ;Commented out Result Group Patch 6 until a decision can be made85 85 ;Result group name 86 ;S RNAME="PXRM "_YT("CODE")_" RESULT GROUP"86 S RNAME="PXRM "_YT("CODE")_" RESULT GROUP" 87 87 ;Result pointer 88 ;S $P(ARRAY(CNT),U,7)=$O(^PXRMD(801.41,"B",RNAME,""))88 S $P(ARRAY(CNT),U,7)=$O(^PXRMD(801.41,"B",RNAME,"")) 89 89 ;If aims exclude from p/n 90 90 I YT("CODE")="AIMS" S $P(ARRAY(CNT),U,6)=1 … … 130 130 ..;MH fields (exclude from P/N and results pointer) 131 131 ..S:$P(INP(CNT),U,6) FDA(801.41,"?+1,",54)=$P(INP(CNT),U,6) 132 .. ;S:$P(INP(CNT),U,7) FDA(801.41,"?+1,",55)=$P(INP(CNT),U,7)132 ..S:$P(INP(CNT),U,7) FDA(801.41,"?+1,",55)=$P(INP(CNT),U,7) 133 133 .;Reminder dialog associated reminder/DISABLE 134 134 .I DTYPE="R" D
Note:
See TracChangeset
for help on using the changeset viewer.