From 768f3f9bf467f478326390dc75ce01be8415a5a4 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Tue, 4 Jan 2022 17:42:24 +0100 Subject: [PATCH] add preset for healthcare=sample_collection wiki: https://wiki.openstreetmap.org/wiki/Tag:healthcare%3Dsample_collection --- data/fields/healthcare/speciality.json | 3 --- data/fields/sample_collection.json | 9 ++++++++ data/presets/healthcare/laboratory.json | 1 + .../presets/healthcare/sample_collection.json | 23 +++++++++++++++++++ interim/source_strings.yaml | 8 +++++++ 5 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 data/fields/sample_collection.json create mode 100644 data/presets/healthcare/sample_collection.json diff --git a/data/fields/healthcare/speciality.json b/data/fields/healthcare/speciality.json index 8a731b756..f4739cf07 100644 --- a/data/fields/healthcare/speciality.json +++ b/data/fields/healthcare/speciality.json @@ -1,8 +1,5 @@ { "key": "healthcare:speciality", "type": "semiCombo", - "reference": { - "key": "healthcare" - }, "label": "Specialties" } diff --git a/data/fields/sample_collection.json b/data/fields/sample_collection.json new file mode 100644 index 000000000..53736e878 --- /dev/null +++ b/data/fields/sample_collection.json @@ -0,0 +1,9 @@ +{ + "key": "sample_collection", + "type": "semiCombo", + "reference": { + "key": "healthcare", + "value": "sample_collection" + }, + "label": "Samples" +} diff --git a/data/presets/healthcare/laboratory.json b/data/presets/healthcare/laboratory.json index 6b6d8f52c..688bc07de 100644 --- a/data/presets/healthcare/laboratory.json +++ b/data/presets/healthcare/laboratory.json @@ -3,6 +3,7 @@ "fields": [ "name", "operator", + "healthcare/speciality", "website", "ref", "address", diff --git a/data/presets/healthcare/sample_collection.json b/data/presets/healthcare/sample_collection.json new file mode 100644 index 000000000..101d64f9f --- /dev/null +++ b/data/presets/healthcare/sample_collection.json @@ -0,0 +1,23 @@ +{ + "name": "Sample Collection Facility", + "icon": "fas-vial", + "fields": [ + "name", + "operator", + "website", + "address", + "opening_hours", + "opening_hours/covid19" + ], + "geometry": [ + "point", + "area" + ], + "terms": [ + "blood sample collection", + "urine sample collection" + ], + "tags": { + "healthcare": "sample_collection" + } +} diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index 8e3e345b5..9e458cfc0 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -2365,6 +2365,9 @@ en: label: Salt # 'terms: saline,salinated' terms: '[translate with synonyms or related terms for ''Salt'', separated by commas]' + sample_collection: + # sample_collection=* + label: Samples sanitary_dump_station: # sanitary_dump_station=* label: Toilet Disposal @@ -5602,6 +5605,11 @@ en: name: Rehabilitation Facility # 'terms: rehab,therapist,therapy' terms: '' + healthcare/sample_collection: + # 'healthcare=sample_collection\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).' + name: Sample Collection Facility + # 'terms: blood sample collection,urine sample collection' + terms: '' healthcare/speech_therapist: # 'healthcare=speech_therapist\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).' name: Speech Therapist