Changeset 326
- Timestamp:
- Jan 15, 2009, 10:49:07 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/GPLLABS.m
r314 r326 142 142 . W "LAB LOOKUP FAILED, NO SSN",! 143 143 . S C0CNSSN=1 ; SET NO SSN FLAG 144 S C0CSPC="*" ; LOOKING FOR ALL LABS 145 I $D(^TMP("GPLCCR","RPMS")) D ; RUNNING RPMS 146 . D DT^DILF(,"T-365",.C0CSDT) ; START DATE ONE YEAR AGO TO LIMIT VOLUME 147 E D DT^DILF(,"T-5000",.C0CSDT) ; START DATE LONG AGO TO GET EVERYTHING 148 D DT^DILF(,"T",.C0CEDT) ; END DATE TODAY 144 S C0CSPC="*" ; LOOKING FOR ALL LAB TYPES 145 I $D(^TMP("GPLCCR","LABLIMIT")) D ; IS LAB LIMIT SET? MOVE THIS TO PARMS 146 . S C0CLLMT=^TMP("GPLCCR","LABLIMIT") ;USE THE LAB LIMIT PARAMATER 147 E S C0CLLMT="T-5000" ;START DATE LONG AGO TO GET EVERYTHING 148 D DT^DILF(,C0CLLMT,.C0CSDT) ; 149 W "LAB LIMIT: ",C0CLLMT,! 150 D DT^DILF(,"T",.C0CEDT) ; END DATE TODAY - IMPLEMENT END DATE PARM 149 151 S C0CR=$$GCPR^LA7QRY(C0CPTID,C0CSDT,C0CEDT,C0CSPC,C0CSPC) ; CALL LAB LOOKUP 150 152 Q
Note:
See TracChangeset
for help on using the changeset viewer.