{{-- ICTHospital - patient medical history. Copyright (c) DEVtrust Part of ICTHospital Licensed under the GNU General Public License v3.0. --}} @extends('layouts.master') @section('style') @stop @section('content') @if (Session::get('success'))
{{ Session::get('success') }}
@endif

Medical history @if ($patient) {{ $patient->name }} ({{ $patient->patient_id }}) @endif

@if ($term !== '' || $patientId) Clear @endif

@if ($entries->total() === 0)

@if ($term !== '' || $patientId) Nothing on file for that. @else No history recorded yet. Allergies, past operations and chronic conditions go here, and they are the first thing worth reading before a consultation. @endif

@else @foreach ($entries as $entry) @endforeach
Date Patient Title Notes Attachment Actions
{{ $entry->date }} @if ($entry->patient_id) {{ $entry->patient_name }} @else {{ $entry->patient_name }} @endif {{ $entry->title }} {{ \Illuminate\Support\Str::limit($entry->description, 160) }} @if ($entry->img_url) View @else None @endif
{{ csrf_field() }}

{{ $entries->total() }} entry(s).

{!! $entries->links() !!} @endif
@stop @section('script') @stop