{{-- DTHospital - printable health card (wallet size) or wristband. Stands alone, without the app layout, so it prints on a card or label printer with nothing else on the page. Copyright (c) ICT Innovations Part of DTHospital Licensed under the GNU General Public License v3.0. --}} {{ $wristband ? 'Wristband' : 'Health card' }} {{ $patient->patient_id }} @php($institute = \Illuminate\Support\Facades\Schema::hasTable('institute') && \Illuminate\Support\Facades\Schema::hasColumn('institute', 'name') ? \Illuminate\Support\Facades\DB::table('institute')->value('name') : null) @if ($wristband)
{{ $institute ?: 'Hospital' }}
{{ $patient->name }}
MR {{ $patient->patient_id }} · {{ $patient->age !== '' ? $patient->age . ' y' : '' }} {{ $patient->sex ? ucfirst($patient->sex) : '' }} {{ $patient->bloodgroup ? '· ' . $patient->bloodgroup : '' }} @if ($patient->mlc)· MLC@endif
{{ $patient->patient_id }}
@else
{{ $institute ?: 'Hospital' }} · Health card
{{ $patient->name }}
MR number: {{ $patient->patient_id }}
@if ($patient->cnic)CNIC: {{ $patient->cnic }}
@endif @if ($patient->bloodgroup)Blood group: {{ $patient->bloodgroup }}
@endif {{ optional($type)->name }}
@if ($patient->img_url)@endif {{ $patient->patient_id }}
@endif