{{-- Read-only medical file, shown once the patient has filled it. --}} @php $medicalHistory = $profile->medical_history ?? []; $surgicalHistory = $profile->surgical_history ?? []; $medicationHistory = $profile->medication_history ?? []; $conditions = $conditionOptions->filter(fn ($option) => ! empty($medicalHistory[$option->code] ?? false)); $medications = $medicationOptions->filter(fn ($option) => ! empty($medicationHistory[$option->code] ?? false)); $notSet = trans('site.medical_file.not_set'); @endphp
{{ trans('site.medical_file.last_updated', ['date' => $profile->updated_at?->translatedFormat('j F Y')]) }}
{{ trans('site.medical_file.none') }}
@else{{ trans('site.medical_file.none') }}
@else{{ trans('site.medical_file.none') }}
@else{{ $medicationHistory['notes'] }}
@endif @endif{{ trans('site.medical_file.none') }}
@else