Skip to content

Commit

Permalink
add preset for healthcare=sample_collection
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrasd committed Jan 4, 2022
1 parent 0da5e3e commit 768f3f9
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 3 deletions.
3 changes: 0 additions & 3 deletions data/fields/healthcare/speciality.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"key": "healthcare:speciality",
"type": "semiCombo",
"reference": {
"key": "healthcare"
},
"label": "Specialties"
}
9 changes: 9 additions & 0 deletions data/fields/sample_collection.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"key": "sample_collection",
"type": "semiCombo",
"reference": {
"key": "healthcare",
"value": "sample_collection"
},
"label": "Samples"
}
1 change: 1 addition & 0 deletions data/presets/healthcare/laboratory.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"fields": [
"name",
"operator",
"healthcare/speciality",
"website",
"ref",
"address",
Expand Down
23 changes: 23 additions & 0 deletions data/presets/healthcare/sample_collection.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
8 changes: 8 additions & 0 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -5602,6 +5605,11 @@ en:
name: Rehabilitation Facility
# 'terms: rehab,therapist,therapy'
terms: '<translate with synonyms or related terms for ''Rehabilitation Facility'', separated by commas>'
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: '<translate with synonyms or related terms for ''Sample Collection Facility'', separated by commas>'
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
Expand Down

0 comments on commit 768f3f9

Please sign in to comment.