Merge pull request #22829 from ruchamahabal/validate-patient-transfer-time

fix: validate check out and check in time for inpatient occupancy