it depends on what the status of the patient was at the time of his or her death. I had a case where a patient was taken directly from the ER to the OR and died during surgery. Status of pt was outpatient surgery, since he was not admitted since there was no admitting order.