<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def query(params):
 """`params` is a city name or a city name + hospital name. CLI: 1. query all putian hospitals in a city: $ iquery -p 南京 +------+ | 南京 | +------+ +------+ +------+ 2. query if the hospital in the city is putian series, you can only input hospital's short name: $ iquery -p 南京 曙光 |南京曙光医院| | True | """


    r = requests_get(QUERY_URL, verify=True)

    return HospitalCollection(r.json(), params)