PSUSUM2 ;BIR/DAM - Patient Demographics Summary for OP Extract ; 20 DEC 2001
Source file <PSUSUM2.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ;EN CALLED FROM PSUOP0
|
|
DATE | ;Convert date range of extract to external format
|
|
RXSUM | ;Summary report to be run if Rx (Outpatient) extract is run
|
|
TAB2 | ;Tab spacing for line 7. Set line into global
|
|
UNIQUE | ;Find UNIQUE patients across all divisions
|
|
ELIM | ;Eliminate duplicate patient entries to get number of unique pts
|
|
DIVNUM | ;Set number of patients per division into summary message
|
|
TAB | ;Calculate tab spacing
|
|
TOTAL | ;Calculate Outpatient Total of all Divisions
|
|
TAB1 | ;Calculate tab spacing for 'Outpatient Total of all Divisions' line.
|
|
NODATA | ;Summary report line to be sent if there is no data
|