RAPM4 ;HOIFO/TH-Radiology Performance Monitors/Indicator; ;8/05/05 14:06 ;;5.0;Radiology/Nuclear Medicine;**63**;Mar 16, 1998 CKMONTH ; If requested an entire month's data, ask if output goes to OQP N RAM,RAMINT S RAM=$E(RABDATE,4,5) Q:RAM'=$E(RAEDATE,4,5) ;diff months ; find min total days for the requested month S RAMINT=31 S:RAM="02" RAMINT=28 I "04^06^09^11"[RAM S RAMINT=30 S X1=RAEDATE,X2=RABDATE D ^%DTC I (X+1)'