From 1c84c7ee36d8877f1a6f81cb94a5641559eb81da Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Wed, 5 Jan 2022 17:48:39 +0100 Subject: [PATCH] add preset for healthcare=sample_collection (#324) 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 | 2 ++ .../presets/healthcare/sample_collection.json | 24 +++++++++++++++++++ interim/source_strings.yaml | 8 +++++++ 5 files changed, 43 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 8a731b75..f4739cf0 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 00000000..53736e87 --- /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 6b6d8f52..dcab56f6 100644 --- a/data/presets/healthcare/laboratory.json +++ b/data/presets/healthcare/laboratory.json @@ -3,7 +3,9 @@ "fields": [ "name", "operator", + "healthcare/speciality", "website", + "phone", "ref", "address", "opening_hours", diff --git a/data/presets/healthcare/sample_collection.json b/data/presets/healthcare/sample_collection.json new file mode 100644 index 00000000..1397e740 --- /dev/null +++ b/data/presets/healthcare/sample_collection.json @@ -0,0 +1,24 @@ +{ + "name": "Sample Collection Facility", + "icon": "fas-vial", + "fields": [ + "name", + "operator", + "website", + "phone", + "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 d5ddccad..16909c6b 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