@extends('layouts.app') @section('title', ($provider['name'] ?? 'Provider Details') . ' - Healthcare Directory') @section('meta_description') @if($provider) @php $providerName = $provider['name'] ?? 'this provider'; $providerType = strtolower($provider['organisationType'] ?? $provider['type'] ?? 'healthcare provider'); $providerCity = $provider['postalAddressTownCity'] ?? $provider['postalAddressCounty'] ?? ''; $providerRating = $provider['currentRatings']['overall']['rating'] ?? $provider['assessment'][0]['ratings']['overall'][0]['rating'] ?? null; $providerLocationsCount = count($provider['locationIds'] ?? $locations ?? []); $providerStatus = $provider['registrationStatus'] ?? 'Registered'; $desc = "CQC registration and performance profile for {$providerName}"; if ($providerCity) { $desc .= " in {$providerCity}"; } $desc .= " ({$providerType})."; if ($providerRating) { $desc .= " Rated '{$providerRating}' overall by inspectors."; } if ($providerLocationsCount > 0) { $desc .= " Manages {$providerLocationsCount} registered " . ($providerLocationsCount === 1 ? 'location' : 'locations') . "."; } $desc .= " Status: {$providerStatus}. View registered services, inspection reports, and CQC PDF downloads."; echo e($desc); @endphp @else Explore detailed registry info, registration status, and PDF reports for this CQC healthcare provider. @endif @endsection @section('content') @if(!empty($provider['onspdLatitude']) && !empty($provider['onspdLongitude'])) @endif
{{ $error }}
Also known as: {{ $provider['alsoKnownAs'] }}
@endifInspected: {{ date('d M Y', strtotime($inspectionDate)) }}
@endif @if(!empty($publishedDate))Published: {{ date('d M Y', strtotime($publishedDate)) }}
@endifID: {{ $rel['relatedProviderId'] }}
{{ $rel['reason'] }}
@endif{{ $group['description'] }}
@endif
{{ $loc['postalAddressLine1'] ?? '' }}@if(!empty($loc['postalAddressLine2'])), {{ $loc['postalAddressLine2'] }}@endif
{{ $loc['postalAddressTownCity'] ?? '' }}@if(!empty($loc['postalAddressCounty'])), {{ $loc['postalAddressCounty'] }}@endif
{{ $loc['postalCode'] ?? '' }}