/******************************************************************************* dpg09ds: Day Surgery defined by CIHI version 2009 DPGs Programmer: Heather Prior First Created: March 21, 2011 Revisions: none Description: This format identifies CIHI 2009 Version DPGs that should not be considered day surgery and should be excluded from the count of hospital separations as follows: if transact = '3' then do; day_surg = put(dpg,$dpg09ds.); end; This format is appropriate for 2008/09 hospital separations, and 2004/05-2007/08 years once the DPGs have been converted to 2009 codes using the CIHI conversion files: cpe8.cmgplus20042005v2009 cpe8.cmgplus20052006v2009 cpe8.cmgplus20062007v2009 cpe8.cmgplus20072008v2009 See programs: /project/franco09/prog/hprior/hosp/dpg/daysurg_dpg.sas /project/franco09/prog/hprior/hosp/dpg/dpg_freq.sas And excel file: P;\franco09\Analysis\Ch 10 Hospitalizations\DPGs\DPG 2003 2008 FINAL comparison Mar 18 2011hjp.xlsx *******************************************************************************/ value dpg09ds 1005, 1006, 1020, 1045, 1263, 1300, 1403, 1410, 1500, 1510, 1535, 1611, 1613, 1623, 1625, 1626, 1810, 1971, 1972, 1973, 2300, 2315, 2325, 2403, 2410, 2610, 2705, 2706, 2710, 2720, 2730, 2740, 2800, 2900, 2910, 3000, 3100, 3999 = 'N' other = 'Y'; value $dpg09ds '1005', '1006', '1020', '1045', '1263', '1300', '1403', '1410', '1500', '1510', '1535', '1611', '1613', '1623', '1625', '1626', '1810', '1971', '1972', '1973', '2300', '2315', '2325', '2403', '2410', '2610', '2705', '2706', '2710', '2720', '2730', '2740', '2800', '2900', '2910', '3000', '3100', '3999' = 'N' other = 'Y';