Skip to content

component: node--health_care_local_facility (VAMC Facility) #16793

Open
@timcosgrove

Description

@timcosgrove

Requirements

Acceptance criteria

Preview Give feedback

Background & implementation details

This is used on Operating Status pages: https://github.com/department-of-veterans-affairs/content-build/blob/main/src/site/layouts/vamc_operating_status_and_alerts.drupal.liquid#L76

Example data structure (subject to refinement):

{
    "type": "node--health_care_local_facility",
    "id": "ad959dfa-6831-4c83-8a8f-bee3c460200e",
    "drupal_internal__nid": 2069,
    "drupal_internal__vid": 445242,
    "langcode": "en",
    "revision_timestamp": "2021-06-16T13:12:22+00:00",
    "status": false,
    "title": "St. Cloud VA Mobile Clinic",
    "created": "2019-10-31T19:56:14+00:00",
    "changed": "2021-06-16T13:12:21+00:00",
    "promote": false,
    "sticky": false,
    "default_langcode": true,
    "revision_translation_affected": true,
    "breadcrumbs": [
      {
        "uri": "https://prod.cms.va.gov/",
        "title": "Home",
        "options": []
      },
      {
        "uri": "https://prod.cms.va.gov/st-cloud-health-care",
        "title": "VA St Cloud health care",
        "options": []
      },
      {
        "uri": "internal:#",
        "title": "SERVICES AND LOCATIONS",
        "options": []
      },
      {
        "uri": "https://prod.cms.va.gov/st-cloud-health-care/locations",
        "title": "Locations",
        "options": []
      },
      {
        "uri": "internal:#",
        "title": "St. Cloud VA Mobile Clinic",
        "options": []
      }
    ],
    "moderation_state": "archived",
    "expiration_date": null,
    "warning_date": null,
    "metatag": [
      {
        "tag": "meta",
        "attributes": {
          "name": "title",
          "content": "St. Cloud VA Mobile Clinic | VA St Cloud health care | Veterans Affairs"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "name": "description",
          "content": "Get address and hours, parking and transportation information, and health services offered at St. Cloud VA Mobile Clinic."
        }
      },
      {
        "tag": "link",
        "attributes": {
          "rel": "image_src",
          "href": "https://www.va.gov/img/design/logo/va-og-image.png"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "property": "og:site_name",
          "content": "Veterans Affairs"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "property": "og:title",
          "content": "St. Cloud VA Mobile Clinic | VA St Cloud health care | Veterans Affairs"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "property": "og:description",
          "content": "Get address and hours, parking and transportation information, and health services offered at St. Cloud VA Mobile Clinic."
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "property": "og:image",
          "content": "https://dsva-vagov-prod-cms-files.s3.us-gov-west-1.amazonaws.com/styles/3_2_medium_thumbnail/public/2021-01/facility_photo_na.jpg"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "property": "og:image:alt",
          "content": "facility_photo_na"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "name": "twitter:card",
          "content": "summary_large_image"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "name": "twitter:description",
          "content": "Get address and hours, parking and transportation information, and health services offered at St. Cloud VA Mobile Clinic."
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "name": "twitter:site",
          "content": "@DeptVetAffairs"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "name": "twitter:title",
          "content": "St. Cloud VA Mobile Clinic | VA St Cloud health care | Veterans Affairs"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "name": "twitter:image",
          "content": "https://dsva-vagov-prod-cms-files.s3.us-gov-west-1.amazonaws.com/styles/3_2_medium_thumbnail/public/2021-01/facility_photo_na.jpg"
        }
      },
      {
        "tag": "meta",
        "attributes": {
          "name": "twitter:image:alt",
          "content": "facility_photo_na"
        }
      }
    ],
    "path": {
      "alias": "/st-cloud-health-care/locations/st-cloud-va-mobile-clinic",
      "pid": 2796,
      "langcode": "en"
    },
    "content_translation_source": "und",
    "content_translation_outdated": false,
    "field_address": {
      "langcode": null,
      "country_code": "US",
      "administrative_area": "MN",
      "locality": "St. Cloud",
      "dependent_locality": null,
      "postal_code": "56303-2015",
      "address_line1": "4801 Veterans Drive, Audiology Department",
      "additional_name": null
    },
    "field_description": "Get address and hours, parking and transportation information, and health services offered at St. Cloud VA Mobile Clinic.",
    "field_facility_classification": "6",
    "field_facility_locator_api_id": "vha_656QA",
    "field_geolocation": null,
    "field_intro_text": null,
    "field_last_saved_by_an_editor": null,
    "field_main_location": false,
    "field_mental_health_phone": null,
    "field_meta_tags": null,
    "field_mobile": true,
    "field_office_hours": [],
    "field_operating_status_facility": "closed",
    "field_operating_status_more_info": null,
    "field_phone_number": "320-252-1670 x6370",
    "field_supplemental_status_more_i": null,
    "field_timezone": null,
    "links": {
      "self": {
        "href": "https://prod.cms.va.gov/jsonapi/node/health_care_local_facility/ad959dfa-6831-4c83-8a8f-bee3c460200e?resourceVersion=id%3A445242"
      }
    },
    "node_type": {
      "type": "node_type--node_type",
      "id": "5ecbcf0c-b701-49d5-a47e-08803d42dd80",
      "resourceIdObjMeta": {
        "drupal_internal__target_id": "health_care_local_facility"
      }
    },
    "revision_uid": {
      "type": "user--user",
      "id": "153d1d9f-4f9e-4107-9f63-bc7c25fb71ac",
      "resourceIdObjMeta": {
        "drupal_internal__target_id": 1203
      }
    },
    "uid": {
      "type": "user--user",
      "id": "c564bd69-e8da-4ac3-905c-dd94f4bf7b35",
      "resourceIdObjMeta": {
        "drupal_internal__target_id": 1317
      }
    },
    "field_administration": {
      "type": "taxonomy_term--administration",
      "id": "0d497d78-bdbe-4639-bf06-66ce8bf5d5e5",
      "resourceIdObjMeta": {
        "drupal_internal__target_id": 246
      }
    },
    "field_local_health_care_service_": [],
    "field_location_services": [
      {
        "type": "paragraph--health_care_local_facility_servi",
        "id": "935e1f71-e1e1-449f-8405-7ff9dd4120db",
        "resourceIdObjMeta": {
          "target_revision_id": 328800,
          "drupal_internal__target_id": 29333
        }
      },
      {
        "type": "paragraph--health_care_local_facility_servi",
        "id": "43efa539-ad7a-475f-953a-6ef621cc8e6d",
        "resourceIdObjMeta": {
          "target_revision_id": 328801,
          "drupal_internal__target_id": 29334
        }
      }
    ],
    "field_media": {
      "type": "media--image",
      "id": "9ecc2c19-9741-41eb-ab21-0509d37f2b1b",
      "resourceIdObjMeta": {
        "drupal_internal__target_id": 2159
      }
    },
    "field_region_page": {
      "type": "node--health_care_region_page",
      "id": "492b1051-b341-436a-be3e-023ee51ea5b7",
      "resourceIdObjMeta": {
        "drupal_internal__target_id": 8137
      }
    },
    "field_supplemental_status": null,
    "relationshipNames": [
      "node_type",
      "revision_uid",
      "uid",
      "field_administration",
      "field_local_health_care_service_",
      "field_location_services",
      "field_media",
      "field_region_page",
      "field_supplemental_status"
    ]
  }

Acceptance Criteria

  • VAMC Facility created

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions