Skip to content

Commit

Permalink
Revert "VACMS-14213 Make CMS the source of truth for VAMC mental heal…
Browse files Browse the repository at this point in the history
…th phone number (#15468)"

This reverts commit 2575fc3.
in order to restore the field location in the api data and its place in the migration.
  • Loading branch information
swirtSJW committed Oct 14, 2023
1 parent cca1468 commit 5ee7a73
Show file tree
Hide file tree
Showing 7 changed files with 83 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies:
- workflows.workflow.editorial
module:
- address
- allowed_formats
- content_moderation
- field_group
- geofield
Expand All @@ -48,7 +49,7 @@ third_party_settings:
label: 'Section settings'
region: content
parent_name: ''
weight: 9
weight: 8
format_type: details_sidebar
format_settings:
classes: ''
Expand All @@ -64,7 +65,7 @@ third_party_settings:
label: 'Editorial Workflow'
region: content
parent_name: ''
weight: 10
weight: 9
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -77,7 +78,7 @@ third_party_settings:
label: '"Prepare for your visit"'
region: content
parent_name: ''
weight: 7
weight: 6
format_type: details
format_settings:
classes: ''
Expand All @@ -92,7 +93,7 @@ third_party_settings:
label: 'VAMC system'
region: content
parent_name: ''
weight: 3
weight: 2
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -106,7 +107,7 @@ third_party_settings:
label: 'Title and summary'
region: content
parent_name: ''
weight: 4
weight: 3
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -118,7 +119,7 @@ third_party_settings:
label: 'Social Media'
region: content
parent_name: ''
weight: 6
weight: 5
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -132,7 +133,7 @@ third_party_settings:
label: 'Operating status'
region: content
parent_name: ''
weight: 2
weight: 1
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -147,7 +148,7 @@ third_party_settings:
label: 'Meta Tags'
region: content
parent_name: ''
weight: 5
weight: 4
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -157,7 +158,6 @@ third_party_settings:
group_locations_and_contact_info:
children:
- group_facility_data_from_vast
- field_mental_health_phone
label: 'Locations and contact information'
region: content
parent_name: ''
Expand All @@ -178,6 +178,7 @@ third_party_settings:
- field_geolocation
- field_mobile
- field_phone_number
- field_mental_health_phone
- field_office_hours
- field_timezone
label: 'Facility data'
Expand All @@ -203,7 +204,7 @@ third_party_settings:
label: 'COVID-19 health protection guidelines'
region: hidden
parent_name: ''
weight: 21
weight: 19
format_type: html_element
format_settings:
classes: ''
Expand Down Expand Up @@ -245,7 +246,6 @@ 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,13 +280,12 @@ 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: 11
weight: 10
region: content
settings: { }
third_party_settings: { }
Expand All @@ -304,7 +303,7 @@ content:
third_party_settings: { }
field_main_location:
type: boolean_checkbox
weight: 3
weight: 21
region: content
settings:
display_label: true
Expand All @@ -318,7 +317,7 @@ content:
third_party_settings: { }
field_mental_health_phone:
type: telephone_default
weight: 21
weight: 28
region: content
settings:
placeholder: ''
Expand All @@ -334,8 +333,7 @@ content:
type: office_hours_default
weight: 29
region: content
settings:
collapsed: false
settings: { }
third_party_settings: { }
field_operating_status_facility:
type: options_buttons
Expand All @@ -353,7 +351,6 @@ 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 All @@ -366,7 +363,7 @@ content:
third_party_settings: { }
field_region_page:
type: options_select
weight: 2
weight: 20
region: content
settings: { }
third_party_settings: { }
Expand All @@ -389,7 +386,7 @@ content:
third_party_settings: { }
path:
type: path
weight: 8
weight: 7
region: content
settings: { }
third_party_settings: { }
Expand All @@ -404,7 +401,6 @@ 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 @@ -36,6 +36,7 @@ dependencies:
- office_hours
- options
- telephone
- text
- user
third_party_settings:
field_group:
Expand Down Expand Up @@ -94,7 +95,6 @@ third_party_settings:
group_locations_and_contact_info:
children:
- group_facility_data_from_vast
- field_mental_health_phone
label: 'Locations and contact information'
parent_name: ''
region: content
Expand All @@ -111,6 +111,7 @@ third_party_settings:
- field_address
- field_phone_number
- field_mobile
- field_mental_health_phone
- field_office_hours
- field_timezone
label: 'Facility data'
Expand Down Expand Up @@ -155,7 +156,7 @@ content:
label: above
settings: { }
third_party_settings: { }
weight: 16
weight: 17
region: content
field_description:
type: string
Expand Down Expand Up @@ -216,7 +217,7 @@ content:
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 18
weight: 19
region: content
field_office_hours:
type: office_hours
Expand All @@ -228,7 +229,6 @@ content:
grouped: false
show_closed: all
closed_format: Closed
all_day_format: 'All day open'
separator:
days: '<br />'
grouped_days: ' - '
Expand All @@ -248,7 +248,7 @@ content:
schema:
enabled: false
third_party_settings: { }
weight: 19
weight: 21
region: content
field_operating_status_facility:
type: list_default
Expand All @@ -270,14 +270,14 @@ content:
settings:
title: ''
third_party_settings: { }
weight: 17
weight: 18
region: content
field_timezone:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 20
weight: 22
region: content
flag_email_node:
settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ third_party_settings:
label: Meta
parent_name: ''
region: hidden
weight: 21
weight: 13
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -55,7 +55,7 @@ third_party_settings:
label: 'Operating status'
parent_name: ''
region: hidden
weight: 19
weight: 11
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -66,7 +66,7 @@ third_party_settings:
label: 'Social media'
parent_name: ''
region: hidden
weight: 25
weight: 17
format_type: details
format_settings:
classes: ''
Expand All @@ -80,7 +80,7 @@ third_party_settings:
label: 'Prepare for your visit'
parent_name: ''
region: hidden
weight: 22
weight: 14
format_type: details
format_settings:
classes: ''
Expand All @@ -93,6 +93,7 @@ third_party_settings:
- field_address
- field_mobile
- field_phone_number
- field_mental_health_phone
- field_office_hours
label: 'Location Information'
parent_name: ''
Expand Down Expand Up @@ -131,7 +132,7 @@ third_party_settings:
label: 'Title and summary'
parent_name: ''
region: hidden
weight: 20
weight: 12
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -144,7 +145,7 @@ third_party_settings:
label: 'Section settings'
parent_name: ''
region: hidden
weight: 23
weight: 15
format_type: details_sidebar
format_settings:
classes: ''
Expand All @@ -160,7 +161,7 @@ third_party_settings:
label: 'Editorial workflow'
parent_name: ''
region: hidden
weight: 24
weight: 16
format_type: fieldset
format_settings:
classes: ''
Expand Down Expand Up @@ -190,6 +191,14 @@ content:
third_party_settings: { }
weight: 17
region: content
field_mental_health_phone:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 21
region: content
field_mobile:
type: boolean
label: above
Expand All @@ -210,7 +219,6 @@ content:
grouped: false
show_closed: all
closed_format: Closed
all_day_format: 'All day open'
separator:
days: '<br />'
grouped_days: ' - '
Expand All @@ -221,11 +229,6 @@ content:
position: ''
open_text: 'Currently open!'
closed_text: 'Currently closed'
exceptions:
title: 'Exception hours'
restrict_exceptions_to_num_days: 7
date_format: long
all_day_format: 'All day open'
timezone_field: ''
office_hours_first_day: ''
schema:
Expand Down Expand Up @@ -263,7 +266,6 @@ hidden:
field_location_services: true
field_main_location: true
field_media: true
field_mental_health_phone: 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 @@ -7,16 +7,12 @@ 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'
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>'
label: 'Mental Health Phone'
description: ''
required: false
translatable: false
default_value: { }
Expand Down
Loading

0 comments on commit 5ee7a73

Please sign in to comment.