PSO*7.0*683 (13250)    BUILD (9.6)

Name Value
NAME PSO*7.0*683
DATE DISTRIBUTED 2022-12-20 00:00:00
PACKAGE FILE LINK OUTPATIENT PHARMACY
REQUIRED BUILD
  • PSO*7.0*441
    ACTION:   Don't install, leave global
TYPE SINGLE PACKAGE
ALPHA/BETA TESTING NO
DESCRIPTION OF ENHANCEMENTS
Defect Tracking System Ticket(s) & Overview:
prescriptions with a status of DISCONTINUED BY PROVIDER.  Renewing a 
prescription with this status is not allowed when renewing for a single 
RX selected from the Medication Profile or when doing Barcode Batch 
Prescription Entry.
 
   Resolution:
   ----------
Routine PSORENW4 is modified to check if any RXs selected 
for speed renew are discontinued.  If any are they are removed from list 
of RXs to renew and the message 'Cannot renew Rx # #######, Rx is in 
===========================================
DISCONTINUED BY PROVIDER status.' is displayed.
 
   Technical Resolution:
   --------------------
 ;PSO 683 skip discontinued by provider RXs
 S (ORD,PSOLCNT)=0
 I $G(LST)]"" D
 . ; count remaining orders in LST
 . F ORD=1:1:$L(LST,",")-1 D
 .. Q:$P(LST,",",ORD)'>0
 
 .. S PSOLCNT=PSOLCNT+1,ORN=$P(LST,",",ORD)
 .. I (+PSOLST(ORN)=52&(^PSRX($P(PSOLST(ORN),U,2),"STA")=14)) D
 ... S 
PSOSKIP($P(PSOLST(ORN),U,2))="",$P(LST,",",ORD)=0,PSOLCNT=PSOLCNT-1  ; 
order removed from LST
 .I $O(PSOSKIP(0)) D
 .. W !
 .. S ORD=0 F  S ORD=$O(PSOSKIP(ORD)) Q:'ORD  D
 ... S PSOSTA=$$GET1^DIQ(52,ORD,100)
 ... W $C(7),!,"  Cannot renew Rx # "_$$GET1^DIQ(52,ORD,.01)_", Rx is in 
1.      INC21813625 - OUTPATIENT PHARMACY SPEED RENEW OF RX STATUS 
"_PSOSTA_" status."
 .. D PAUSE^VALM1
 ;END PSO 683
DISCONTINUED BY PROVIDER
 
   Problem:
   -------
Speed renew allows an outpatient prescription to be renewed for 
TRACK PACKAGE NATIONALLY YES
XPI1 NO
XPO1 NO
XPZ1 NO
SEQ# 581
BUILD COMPONENTS
  • ENTRIES:
    • PSORENW4
      ACTION:   SEND TO SITE
      CHECKSUM:   B106809939