<commit_before>import React from 'react';
import FacilityAddress from '../../../../components/FacilityAddress';

export default function ConfirmedCommunityCareLocation({ appointment }) {
  const location = appointment.contained.find(
    res => res.resourceType === 'Location',
  );

  if (!location) {
    return null;
  }

  if (!location.address) {
    return (
      <>
        <h4 className="vaos-appts__block-label">{location.name}</h4>
        <div>
          This appointment is scheduled with a community care provider. Please
          do not report to your local VA facility. If you have questions, please<commit_msg>remove empty header tag as part of accessibility check (#15848)<commit_after>import React from 'react';
import FacilityAddress from '../../../../components/FacilityAddress';

export default function ConfirmedCommunityCareLocation({ appointment }) {
  const location = appointment.contained.find(
    res => res.resourceType === 'Location',
  );

  if (!location) {
    return null;
  }

  if (!location.address) {
    return (
      <>
        {!!location.name && (
          <h4 className="vaos-appts__block-label">{location.name}</h4>
        )}
        <div>
          This appointment is scheduled with a community care provider. Please
          do not report to your local VA facility. If you have questions, please
{'fraction_non_alphanumeric': 0.11860637509266123, 'fraction_numerical': 0.006671608598962194, 'mean_word_length': 3.00593471810089, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4050187', 'n_tokens_mistral': 361, 'n_tokens_neox': 341, 'n_words': 113}