Skip to content

Commit

Permalink
VACMS-15647 Add editable mental health contact field to VAMC facility
Browse files Browse the repository at this point in the history
  • Loading branch information
swirtSJW committed Oct 13, 2023
1 parent a91b38d commit d0130cf
Show file tree
Hide file tree
Showing 10 changed files with 101 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies:
- field.field.node.health_care_local_facility.field_location_services
- field.field.node.health_care_local_facility.field_main_location
- field.field.node.health_care_local_facility.field_media
- field.field.node.health_care_local_facility.field_mental_health_contact_phon
- field.field.node.health_care_local_facility.field_mental_health_phone
- field.field.node.health_care_local_facility.field_meta_tags
- field.field.node.health_care_local_facility.field_mobile
Expand All @@ -30,7 +31,6 @@ dependencies:
- workflows.workflow.editorial
module:
- address
- allowed_formats
- content_moderation
- field_group
- geofield
Expand All @@ -49,7 +49,7 @@ third_party_settings:
label: 'Section settings'
region: content
parent_name: ''
weight: 8
weight: 9
format_type: details_sidebar
format_settings:
classes: ''
Expand All @@ -65,7 +65,7 @@ third_party_settings:
label: 'Editorial Workflow'
region: content
parent_name: ''
weight: 9
weight: 10
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -78,7 +78,7 @@ third_party_settings:
label: '"Prepare for your visit"'
region: content
parent_name: ''
weight: 6
weight: 7
format_type: details
format_settings:
classes: ''
Expand Down Expand Up @@ -119,7 +119,7 @@ third_party_settings:
label: 'Social Media'
region: content
parent_name: ''
weight: 5
weight: 6
format_type: fieldset
format_settings:
classes: ''
Expand Down Expand Up @@ -158,6 +158,7 @@ third_party_settings:
group_locations_and_contact_info:
children:
- group_facility_data_from_vast
- field_mental_health_contact_phon
label: 'Locations and contact information'
region: content
parent_name: ''
Expand Down Expand Up @@ -204,7 +205,7 @@ third_party_settings:
label: 'COVID-19 health protection guidelines'
region: hidden
parent_name: ''
weight: 19
weight: 21
format_type: html_element
format_settings:
classes: ''
Expand Down Expand Up @@ -246,6 +247,7 @@ content:
maxlength: 300
counter_position: after
js_prevent_submit: false
count_only_mode: false
count_html_characters: false
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
third_party_settings: { }
Expand Down Expand Up @@ -280,12 +282,13 @@ content:
maxlength: 600
counter_position: after
js_prevent_submit: false
count_only_mode: false
count_html_characters: false
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
third_party_settings: { }
field_last_saved_by_an_editor:
type: datetime_timestamp
weight: 10
weight: 11
region: content
settings: { }
third_party_settings: { }
Expand Down Expand Up @@ -315,6 +318,13 @@ content:
settings:
media_types: { }
third_party_settings: { }
field_mental_health_contact_phon:
type: telephone_default
weight: 21
region: content
settings:
placeholder: ''
third_party_settings: { }
field_mental_health_phone:
type: telephone_default
weight: 28
Expand All @@ -333,7 +343,8 @@ content:
type: office_hours_default
weight: 29
region: content
settings: { }
settings:
collapsed: false
third_party_settings: { }
field_operating_status_facility:
type: options_buttons
Expand All @@ -351,6 +362,7 @@ content:
maxlength: 300
counter_position: after
js_prevent_submit: true
count_only_mode: false
count_html_characters: true
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
third_party_settings: { }
Expand Down Expand Up @@ -386,7 +398,7 @@ content:
third_party_settings: { }
path:
type: path
weight: 7
weight: 8
region: content
settings: { }
third_party_settings: { }
Expand All @@ -401,6 +413,7 @@ content:
maxlength: 150
counter_position: after
js_prevent_submit: false
count_only_mode: false
count_html_characters: true
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
- field.field.node.health_care_local_facility.field_location_services
- field.field.node.health_care_local_facility.field_main_location
- field.field.node.health_care_local_facility.field_media
- field.field.node.health_care_local_facility.field_mental_health_contact_phon
- field.field.node.health_care_local_facility.field_mental_health_phone
- field.field.node.health_care_local_facility.field_meta_tags
- field.field.node.health_care_local_facility.field_mobile
Expand Down Expand Up @@ -150,6 +151,7 @@ hidden:
field_location_services: true
field_main_location: true
field_media: true
field_mental_health_contact_phon: true
field_mental_health_phone: true
field_meta_tags: true
field_mobile: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies:
- field.field.node.health_care_local_facility.field_location_services
- field.field.node.health_care_local_facility.field_main_location
- field.field.node.health_care_local_facility.field_media
- field.field.node.health_care_local_facility.field_mental_health_contact_phon
- field.field.node.health_care_local_facility.field_mental_health_phone
- field.field.node.health_care_local_facility.field_meta_tags
- field.field.node.health_care_local_facility.field_mobile
Expand All @@ -36,7 +37,6 @@ dependencies:
- office_hours
- options
- telephone
- text
- user
third_party_settings:
field_group:
Expand Down Expand Up @@ -95,6 +95,7 @@ third_party_settings:
group_locations_and_contact_info:
children:
- group_facility_data_from_vast
- field_mental_health_contact_phon
label: 'Locations and contact information'
parent_name: ''
region: content
Expand Down Expand Up @@ -156,7 +157,7 @@ content:
label: above
settings: { }
third_party_settings: { }
weight: 17
weight: 16
region: content
field_description:
type: string
Expand Down Expand Up @@ -201,14 +202,22 @@ content:
third_party_settings: { }
weight: 0
region: content
field_mental_health_phone:
field_mental_health_contact_phon:
type: telephone_link
label: inline
settings:
title: ''
third_party_settings: { }
weight: 20
region: content
field_mental_health_phone:
type: telephone_link
label: inline
settings:
title: ''
third_party_settings: { }
weight: 19
region: content
field_mobile:
type: boolean
label: inline
Expand All @@ -217,7 +226,7 @@ content:
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 19
weight: 18
region: content
field_office_hours:
type: office_hours
Expand All @@ -229,6 +238,7 @@ content:
grouped: false
show_closed: all
closed_format: Closed
all_day_format: 'All day open'
separator:
days: '<br />'
grouped_days: ' - '
Expand All @@ -248,7 +258,7 @@ content:
schema:
enabled: false
third_party_settings: { }
weight: 21
weight: 20
region: content
field_operating_status_facility:
type: list_default
Expand All @@ -270,14 +280,14 @@ content:
settings:
title: ''
third_party_settings: { }
weight: 18
weight: 17
region: content
field_timezone:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 22
weight: 21
region: content
flag_email_node:
settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
- field.field.node.health_care_local_facility.field_location_services
- field.field.node.health_care_local_facility.field_main_location
- field.field.node.health_care_local_facility.field_media
- field.field.node.health_care_local_facility.field_mental_health_contact_phon
- field.field.node.health_care_local_facility.field_mental_health_phone
- field.field.node.health_care_local_facility.field_meta_tags
- field.field.node.health_care_local_facility.field_mobile
Expand Down Expand Up @@ -266,6 +267,7 @@ hidden:
field_location_services: true
field_main_location: true
field_media: true
field_mental_health_contact_phon: true
field_meta_tags: true
field_meta_title: true
field_operating_status_facility: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
- field.field.node.health_care_local_facility.field_location_services
- field.field.node.health_care_local_facility.field_main_location
- field.field.node.health_care_local_facility.field_media
- field.field.node.health_care_local_facility.field_mental_health_contact_phon
- field.field.node.health_care_local_facility.field_mental_health_phone
- field.field.node.health_care_local_facility.field_meta_tags
- field.field.node.health_care_local_facility.field_mobile
Expand Down Expand Up @@ -118,6 +119,7 @@ hidden:
field_local_health_care_service_: true
field_location_services: true
field_main_location: true
field_mental_health_contact_phon: true
field_mental_health_phone: true
field_meta_tags: true
field_mobile: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
- field.field.node.health_care_local_facility.field_location_services
- field.field.node.health_care_local_facility.field_main_location
- field.field.node.health_care_local_facility.field_media
- field.field.node.health_care_local_facility.field_mental_health_contact_phon
- field.field.node.health_care_local_facility.field_mental_health_phone
- field.field.node.health_care_local_facility.field_meta_tags
- field.field.node.health_care_local_facility.field_mobile
Expand Down Expand Up @@ -94,6 +95,7 @@ hidden:
field_location_services: true
field_main_location: true
field_media: true
field_mental_health_contact_phon: true
field_mental_health_phone: true
field_meta_tags: true
field_mobile: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 85b46732-b695-42f5-be09-413287698196
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_mental_health_contact_phon
- node.type.health_care_local_facility
module:
- telephone
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: node.health_care_local_facility.field_mental_health_contact_phon
field_name: field_mental_health_contact_phon
entity_type: node
bundle: health_care_local_facility
label: 'Mental health contact phone number'
description: 'Enter the number Veterans should call to access mental health services at your facility. If your facility doesn''''t offer these services, enter the most appropriate system number. This number will be displayed everywhere your facility appears across VA.gov. <a href="/help/va-medical-centers-vamcs/about-locations-content-for-vamcs/how-to-edit-a-vamc-facility" target="_blank">View guidelines for editing VAMC facilities (opens in a new tab)</a>'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: telephone
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ dependencies:
- node.type.health_care_local_facility
module:
- telephone
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: node.health_care_local_facility.field_mental_health_phone
field_name: field_mental_health_phone
entity_type: node
bundle: health_care_local_facility
label: 'Mental Health Phone'
label: 'Mental health phone number'
description: ''
required: false
translatable: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ dependencies:
- node.type.health_care_local_facility
module:
- telephone
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: node.health_care_local_facility.field_phone_number
field_name: field_phone_number
entity_type: node
bundle: health_care_local_facility
label: 'Phone Number'
label: 'Phone number'
description: ''
required: false
translatable: false
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 0b19fe89-c843-4663-a729-1244f4931208
langcode: en
status: true
dependencies:
module:
- node
- telephone
id: node.field_mental_health_contact_phon
field_name: field_mental_health_contact_phon
entity_type: node
type: telephone
settings: { }
module: telephone
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

0 comments on commit d0130cf

Please sign in to comment.