Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding healthcare presets #4329

Merged
merged 9 commits into from
Sep 13, 2017
28 changes: 27 additions & 1 deletion data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,17 @@ en:
source:
# source=*
label: Sources
speciality:
# 'healthcare:speciality=*'
label: Specialties
speciality_clinic:
# 'healthcare:speciality=*'
label: Specialties
options:
# 'healthcare:speciality=abortion'
abortion: Abortion
# 'healthcare:speciality=fertility'
fertility: Fertility
sport:
# sport=*
label: Sports
Expand Down Expand Up @@ -1672,7 +1683,7 @@ en:
amenity/clinic:
# amenity=clinic
name: Clinic
# 'terms: medical,urgentcare'
# 'terms: medical,urgentcare,abortion,fertility'
terms: '<translate with synonyms or related terms for ''Clinic'', separated by commas>'
amenity/clock:
# amenity=clock
Expand Down Expand Up @@ -2754,6 +2765,21 @@ en:
name: Blood Donor Center
# 'terms: blood bank,blood donation,blood transfusion,apheresis,plasmapheresis,plateletpheresis,stem cell donation'
terms: '<translate with synonyms or related terms for ''Blood Donor Center'', separated by commas>'
healthcare/hospice:
# healthcare=hospice
name: Hospice
# 'terms: terminal,illness'
terms: '<translate with synonyms or related terms for ''Hospice'', separated by commas>'
healthcare/midwife:
# healthcare=midwife
name: Midwife
# 'terms: pregnancy,childbirth'
terms: '<translate with synonyms or related terms for ''Midwife'', separated by commas>'
healthcare/specialist:
# 'healthcare:speciality=*'
name: Healthcare Specialist
# 'terms: special'
terms: '<translate with synonyms or related terms for ''Healthcare Specialist'', separated by commas>'
highway:
# highway=*
name: Highway
Expand Down
16 changes: 16 additions & 0 deletions data/presets/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -1656,6 +1656,22 @@
"streetlevel imagery"
]
},
"speciality_clinic": {
"key": "healthcare:speciality",
"type": "semiCombo",
"label": "Specialties",
"strings": {
"options": {
"abortion": "Abortion",
"fertility": "Fertility"
}
}
},
"speciality": {
"key": "healthcare:speciality",
"type": "semiCombo",
"label": "Specialties"
},
"sport_ice": {
"key": "sport",
"type": "semiCombo",
Expand Down
5 changes: 5 additions & 0 deletions data/presets/fields/speciality.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "healthcare:speciality",
"type": "semiCombo",
"label": "Specialties"
}
11 changes: 11 additions & 0 deletions data/presets/fields/speciality_clinic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"key": "healthcare:speciality",
"type": "semiCombo",
"label": "Specialties",
"strings": {
"options": {
"abortion": "Abortion",
"fertility": "Fertility"
}
}
}
129 changes: 128 additions & 1 deletion data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,7 @@
"icon": "hospital",
"fields": [
"name",
"speciality_clinic",
"address",
"building_area",
"opening_hours"
Expand All @@ -1165,11 +1166,25 @@
],
"terms": [
"medical",
"urgentcare"
"urgentcare",
"abortion",
"fertility"
],
"tags": {
"amenity": "clinic"
},
"addTags": {
"amenity": "clinic",
"healthcare": "clinic"
},
"removeTags": {
"amenity": "clinic",
"healthcare": "clinic"
},
"reference": {
"key": "amenity",
"value": "clinic"
},
"name": "Clinic"
},
"amenity/clock": {
Expand Down Expand Up @@ -1301,6 +1316,18 @@
"tags": {
"amenity": "dentist"
},
"addTags": {
"amenity": "dentist",
"healthcare": "dentist"
},
"removeTags": {
"amenity": "dentist",
"healthcare": "dentist"
},
"reference": {
"key": "amenity",
"value": "dentist"
},
"name": "Dentist"
},
"amenity/doctors": {
Expand All @@ -1322,6 +1349,18 @@
"tags": {
"amenity": "doctors"
},
"addTags": {
"amenity": "doctors",
"healthcare": "doctor"
},
"removeTags": {
"amenity": "doctors",
"healthcare": "doctor"
},
"reference": {
"key": "amenity",
"value": "doctors"
},
"name": "Doctor"
},
"amenity/dojo": {
Expand Down Expand Up @@ -1585,6 +1624,18 @@
"tags": {
"amenity": "hospital"
},
"addTags": {
"amenity": "hospital",
"healthcare": "hospital"
},
"removeTags": {
"amenity": "hospital",
"healthcare": "hospital"
},
"reference": {
"key": "amenity",
"value": "hospital"
},
"name": "Hospital Grounds"
},
"amenity/hunting_stand": {
Expand Down Expand Up @@ -6067,6 +6118,7 @@
"name",
"operator",
"address",
"building_area",
"blood_components",
"opening_hours",
"ref"
Expand All @@ -6089,6 +6141,81 @@
},
"name": "Blood Donor Center"
},
"healthcare/hospice": {
"icon": "hospital",
"fields": [
"name",
"operator",
"building_area",
"address",
"opening_hours",
"ref"
],
"geometry": [
"point",
"area"
],
"terms": [
"terminal",
"illness"
],
"tags": {
"healthcare": "hospice"
},
"name": "Hospice"
},
"healthcare/midwife": {
"icon": "hospital",
"fields": [
"name",
"operator",
"building_area",
"address",
"opening_hours",
"ref"
],
"geometry": [
"point",
"area"
],
"terms": [
"pregnancy",
"childbirth"
],
"tags": {
"healthcare": "midwife"
},
"name": "Midwife"
},
"healthcare/specialist": {
"icon": "hospital",
"fields": [
"name",
"operator",
"speciality",
"building_area",
"address",
"opening_hours",
"ref"
],
"geometry": [
"point",
"area"
],
"terms": [
"special"
],
"tags": {
"healthcare:speciality": "*"
},
"addTags": {
"healthcare:speciality": "general"
},
"removeTags": {
"healthcare:speciality": "general"
},
"name": "Healthcare Specialist"
},
"highway/bridleway": {
"fields": [
"name",
Expand Down
17 changes: 16 additions & 1 deletion data/presets/presets/amenity/clinic.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"icon": "hospital",
"fields": [
"name",
"speciality_clinic",
"address",
"building_area",
"opening_hours"
Expand All @@ -12,10 +13,24 @@
],
"terms": [
"medical",
"urgentcare"
"urgentcare",
"abortion",
"fertility"
],
"tags": {
"amenity": "clinic"
},
"addTags": {
"amenity": "clinic",
"healthcare": "clinic"
},
"removeTags": {
"amenity": "clinic",
"healthcare": "clinic"
},
"reference": {
"key": "amenity",
"value": "clinic"
},
"name": "Clinic"
}
12 changes: 12 additions & 0 deletions data/presets/presets/amenity/dentist.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,17 @@
"tags": {
"amenity": "dentist"
},
"addTags": {
"amenity": "dentist",
"healthcare": "dentist"
},
"removeTags": {
"amenity": "dentist",
"healthcare": "dentist"
},
"reference": {
"key": "amenity",
"value": "dentist"
},
"name": "Dentist"
}
12 changes: 12 additions & 0 deletions data/presets/presets/amenity/doctors.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,17 @@
"tags": {
"amenity": "doctors"
},
"addTags": {
"amenity": "doctors",
"healthcare": "doctor"
},
"removeTags": {
"amenity": "doctors",
"healthcare": "doctor"
},
"reference": {
"key": "amenity",
"value": "doctors"
},
"name": "Doctor"
}
12 changes: 12 additions & 0 deletions data/presets/presets/amenity/hospital.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,17 @@
"tags": {
"amenity": "hospital"
},
"addTags": {
"amenity": "hospital",
"healthcare": "hospital"
},
"removeTags": {
"amenity": "hospital",
"healthcare": "hospital"
},
"reference": {
"key": "amenity",
"value": "hospital"
},
"name": "Hospital Grounds"
}
1 change: 1 addition & 0 deletions data/presets/presets/healthcare/blood_donation.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"name",
"operator",
"address",
"building_area",
"blood_components",
"opening_hours",
"ref"
Expand Down
23 changes: 23 additions & 0 deletions data/presets/presets/healthcare/hospice.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"icon": "hospital",
"fields": [
"name",
"operator",
"building_area",
"address",
"opening_hours",
"ref"
],
"geometry": [
"point",
"area"
],
"terms": [
"terminal",
"illness"
],
"tags": {
"healthcare": "hospice"
},
"name": "Hospice"
}
Loading