Include 'clinics' in hospital theme; add question to distinguish them, fix #1311

This commit is contained in:
Pieter Vander Vennet 2023-02-12 18:51:21 +01:00
parent ca2c446b2c
commit 9e487c9b06

View file

@ -22,7 +22,7 @@
},
"minzoom": 12,
"source": {
"osmTags": "amenity=hospital"
"osmTags": {"or": ["amenity=hospital","amenity=clinic"]}
},
"tagRenderings": [
{
@ -43,6 +43,26 @@
"key": "name"
}
},
{
"id": "inpatient",
"question": {
"en": "Does this facility admit inpatients?<br><span class='subtle'>An <i>inpatient</i> is a patient which stays for multiple days in the facility</span>"
},
"mappings": [
{
"if": "amenity=clinic",
"then": {
"en": "This is a clinic - patients can not stay overnight"
}
},
{
"if": "amenity=hospital",
"then": {
"en": "This is a hospital - patients can be admitted here for multiple days"
}
}
]
},
"phone",
"email",
"website"
@ -63,4 +83,4 @@
"width": 1
}
]
}
}