changed IDC9 or idc9 to the correct ICD9 or icd9 referances.
Removed references to 'ER' discharge date or ER discharge time.
More removal or ER related logic.