@extends('layouts.main') @push('styles') @endpush @section('content')

{{ __('investigations.investigation_requests') }}

@include('patients::allergies.header')


{{ __('investigations.investigation_requests') }}

{{--{{ $hospital_information->name }} {{ $hospital_information->address }} Tel: {{ $hospital_information->phone_number }}
Email: {{ $hospital_information->email }}
--}}

@for ($x = 0; $x < count($category_ids_array); $x++)

{{ __('investigations.patient_name') }}: {{ get_name($patient->id, 'id', 'first_name', 'patients') }} {{ get_name($patient->id, 'id', 'last_name', 'patients') }}
{{ __('investigations.patient_number') }} : {{ get_name($patient->id, 'id', 'number', 'patients') }}
{{ __('investigations.age') }} : {{ get_patients_age($patient->date_of_birth) }}
{{ __('investigations.gender') }} : @if(get_name($patient->id, 'id', 'gender', 'patients') == 1) {{ __('investigations.male') }} @elseif(get_name($patient->id, 'id', 'gender', 'patients') == 2) {{ __('investigations.female') }} @else {{ __('investigations.other') }} @endif
{{ __('investigations.ward') }} : @if($ordered_investigation->inpatient == 0) OPD @else {{ get_ward_name($ordered_investigation->patient_id, $ordered_investigation->episode_id) }} @endif
{{ __('investigations.authorised_by') }} : {{ get_full_name($ordered_investigation->created_by, 'id', 'first_name', 'last_name', 'users') }}
{{ __('investigations.date') }} : {{ streamline_date($ordered_investigation->created_at) }}

@endfor © Stre@mline
@endsection @push('scripts') @endpush