difference between inpatient and outpatient prescription