Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ADGIPCU

ADGIPCU.m

Go to the documentation of this file.
ADGIPCU ; IHS/ADC/PDW/ENM - ICU/PCU PTS REM COUNT ; [ 03/25/1999  11:48 AM ]
 ;;5.0;ADMISSION/DISCHARGE/TRANSFER;;MAR 25, 1999
 ;
 N PCU,ICU,DATE
 S (PCU,ICU)=0,DATE=2921231.9
 F  S DATE=$O(^ADGWD(5,1,DATE)) Q:DATE>2931231  D
 . I $P(^ADGWD(5,1,DATE,0),U,2)>6 S PCU=PCU+1
 . I $P(^ADGWD(6,1,DATE,0),U,2)>4 S ICU=ICU+1
 W !!,"PCU=",PCU,!,"ICU=",ICU