What is the required timeframe for completing a history and physical (H&P) for inpatient admission per The Joint Commission?