From fe6bd581cd104ed30ba28f3ab41b5f6760aab04c Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Thu, 26 Jan 2023 11:49:52 +0100 Subject: [PATCH] allow to specify therapist offices more precisely --- data/fields/healthcare_therapist.json | 12 ++++++++++++ data/presets/office/therapist.json | 8 +++++++- interim/source_strings.yaml | 2 ++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 data/fields/healthcare_therapist.json diff --git a/data/fields/healthcare_therapist.json b/data/fields/healthcare_therapist.json new file mode 100644 index 00000000..fdf33d8a --- /dev/null +++ b/data/fields/healthcare_therapist.json @@ -0,0 +1,12 @@ +{ + "key": "healthcare", + "type": "typeCombo", + "options": [ + "physiotherapist", + "psychotherapist", + "occupational_therapist", + "speech_therapist" + ], + "autoSuggestions": false, + "label": "{healthcare}" +} diff --git a/data/presets/office/therapist.json b/data/presets/office/therapist.json index 7bbde11b..d0f44ac1 100644 --- a/data/presets/office/therapist.json +++ b/data/presets/office/therapist.json @@ -7,8 +7,14 @@ "tags": { "office": "therapist" }, + "fields": [ + "healthcare_therapist", + "healthcare/speciality", + "{office}" + ], "terms": [ "therapy" ], - "name": "Therapist Office" + "name": "Therapist Office", + "matchScore": 0.9 } diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index 8d707de1..88eb8929 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -2112,6 +2112,8 @@ en: vaccination: Vaccination # healthcare:speciality=vascular_surgery vascular_surgery: Vascular Surgery + healthcare_therapist: + # healthcare=* heating: # heating=* label: Heating