@extends('layouts.app') @section('title', ($location['name'] ?? 'Location Details') . (!empty($location['postalAddressTownCity']) ? ' - ' . $location['postalAddressTownCity'] : '')) @section('meta_description') @if ($location) @php $locationName = $location['name'] ?? 'this facility'; $locationType = strtolower($location['type'] ?? 'healthcare location'); $locationCity = $location['postalAddressTownCity'] ?? ($location['postalAddressCounty'] ?? ($location['localAuthority'] ?? '')); $locationRating = $location['currentRatings']['overall']['rating'] ?? ($location['assessment'][0]['ratings']['overall'][0]['rating'] ?? null); $locationBeds = $location['numberOfBeds'] ?? null; $locationStatus = $location['registrationStatus'] ?? 'Registered'; $desc = "CQC registration and performance profile for {$locationName}"; if ($locationCity) { $desc .= " in {$locationCity}"; } $desc .= " ({$locationType})."; if ($locationRating) { $desc .= " Rated '{$locationRating}' overall by inspectors."; } if ($locationBeds && $locationBeds > 0) { $desc .= " Features {$locationBeds} registered beds."; } $desc .= " Status: {$locationStatus}. View contact info, inspection history, and download PDF reports."; echo e($desc); @endphp @else Explore detailed registry info, registration status, ratings and PDF reports for this CQC location. @endif @endsection @section('content') @if (!empty($location['onspdLatitude']) && !empty($location['onspdLongitude'])) @endif
{{ $error }}
Also known as: {{ $location['alsoKnownAs'] }}
@endif @if (!empty($location['brandName']))Part of brand: {{ $location['brandName'] }}
@endif @if (!empty($location['inspectionDirectorate']))Inspected: {{ date('d M Y', strtotime($inspectionDate)) }}
@endif @if (!empty($publishedDate))Published: {{ date('d M Y', strtotime($publishedDate)) }}
@endifNo nominated manager listed for this activity.
@endifID: {{ $rel['relatedLocationId'] }}
{{ $rel['reason'] }}
@endifStarted: {{ date('d M Y', strtotime($group['startDate'])) }}
@endif