PSOMLLDT ;BIR/RTR - Copay date routine ;08/24/01 ;;7.0;OUTPATIENT PHARMACY;**71,157,143,219,278**;DEC 1997;Build 3 ;External reference SDC022 supported by DBIA 1579 ;External reference DGMSTAPI supported by DBIA2716 ;CIDC: Before doing EI question, check to see if should ask ei question ; because the flag could have changed in enrollment and we shouldn't ; ask if not flagged and should set nulls for answer if Rx is renewed ; or copied when flags changed. Also, CPRS sometimes sends zeros for ; null answers. 5/12/04 DT() ;function for Copay date ;0 means Copay not in effect, 1 means Copay in effect N PSOMILDT S PSOMILDT=3020101 I '$G(DT) S DT=$$DT^XLFDT Q $S(DT