3个条件缺一不可
if (([self.arrayHospital[i]objectForKey:@"name"]!= nil && ![[self.arrayHospital[i]objectForKey:@"name"]isKindOfClass:[NSNull class]] && [[self.arrayHospital[i]objectForKey:@"name"] length] > 0))
if (([self.arrayHospital[i]objectForKey:@"name"]!= nil && ![[self.arrayHospital[i]objectForKey:@"name"]isKindOfClass:[NSNull class]] && [[self.arrayHospital[i]objectForKey:@"name"] length] > 0))