refactor check for inactive and reactivated hospital
refactor check for inactive and reactivated hospital

vistadataproject/nonClinicalRPCs,vistadataproject/nonClinicalRPCs,vistadataproject/nonClinicalRPCs