Include 'clinics' in hospital theme; add question to distinguish them, fix #1311
This commit is contained in:
parent
ca2c446b2c
commit
9e487c9b06
1 changed files with 22 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
},
|
},
|
||||||
"minzoom": 12,
|
"minzoom": 12,
|
||||||
"source": {
|
"source": {
|
||||||
"osmTags": "amenity=hospital"
|
"osmTags": {"or": ["amenity=hospital","amenity=clinic"]}
|
||||||
},
|
},
|
||||||
"tagRenderings": [
|
"tagRenderings": [
|
||||||
{
|
{
|
||||||
|
@ -43,6 +43,26 @@
|
||||||
"key": "name"
|
"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",
|
"phone",
|
||||||
"email",
|
"email",
|
||||||
"website"
|
"website"
|
||||||
|
@ -63,4 +83,4 @@
|
||||||
"width": 1
|
"width": 1
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue