DG: Fixed Detailed Inpatient Inquiry error on discharged patient (REF-268)