@extends('web_site.layouts.master') @section('content')
@include('web_site.partials.alerts')
{{ trans('clinic.medical_records.title') }}

{{ $record->doctor->name }}

{{ trans('clinic.doctors.title') }}: {{ $record->doctor->name }} ({{ $record->doctor->specialty->name }})

{{ trans('clinic.clinics.title') }}: {{ $record->booking->branch->name }}

{{ trans('clinic.medical_records.published_at') }}: {{ $record->published_at->format('Y-m-d H:i') }}

@if ($record->last_edited_at)

{{ trans('clinic.medical_records.last_edited_at') }}: {{ $record->last_edited_at->format('Y-m-d H:i') }}

@endif

{{ trans('clinic.medical_records.diagnosis') }}:

{{ $record->diagnosis ?: '-' }}

{{ trans('clinic.medical_records.prescription') }}:

{{ $record->prescription ?: '-' }}

{{ trans('clinic.medical_records.report') }}:

{{ $record->report ?: '-' }}

@if ($record->attachment_path)

{{ trans('clinic.attachments.file') }}:

@if ($record->attachment_type === 'image') @else {{ trans('doctor.visits.view_file') }} @endif

@endif
@endsection