Index: ccr/trunk/p/CCRMEDS2.m
===================================================================
--- ccr/trunk/p/CCRMEDS2.m	(revision 179)
+++ ccr/trunk/p/CCRMEDS2.m	(revision 180)
@@ -50,4 +50,5 @@
 	N MEDCOUNT S MEDCOUNT=0
 	F  S RXIEN=$O(MEDS(RXIEN)) Q:RXIEN="B"  D  ; FOR EACH MEDICATION IN THE LIST
+	. I $$GET1^DIQ(52.41,RXIEN,2,"I")="RF" QUIT  ; Dont' want refill request as a "pending" order
 	. S MEDCOUNT=MEDCOUNT+1
 	. I DEBUG W "RXIEN IS ",RXIEN,!
@@ -126,5 +127,4 @@
 	. . N SIGDATA M SIGDATA=FMSIG(52.413,FMSIGNUM)
 	. . ; If this is an order for a refill; it's not really a new order; move on to next
-	. . I SIGDATA(2)="RF" QUIT
 	. . S @MAP@("M",DIRNUM,"MEDDIRECTIONDESCRIPTIONTEXT")=""  ; This is reserved for systems not able to generate the sig in components.
 	. . S @MAP@("M",DIRNUM,"MEDDOSEINDICATOR")="1"  ; means that we are specifying it. See E2369-05.
