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

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

@include('investigations::investigations.menu')
@include('flash::message')
@foreach($investigations as $investigation) @php $hmis_no_outpatient_array = explode(",", $investigation->hmis_no_outpatient); $hmis_outpatient_category_array = explode(",", $investigation->hmis_category); @endphp @endforeach
{{ __('investigations.investigation_name') }} {{ __('investigations.normal_ranges') }} {{ __('investigations.minimum') }} {{ __('investigations.sample_container') }} {{ __('investigations.non_insured_price') }} {{ __('investigations.comments') }} {{ __('investigations.lab_time') }} {{ __('investigations.category') }} {{ __('investigations.hmis_category_out_patient_number') }} {{ __('investigations.hmis_category_out_patient') }} {{ __('investigations.hmis_category_in_patient_number') }} {{ __('investigations.hmis_category_in_patient') }}
{{ $investigation->name }} @if(!$investigation->available) ({{ __('investigations.not_available') }}) @endif @if($investigation->range_type == 1) View Reference Ranges @else {{ $investigation->normal_ranges }} @endif {{ $investigation->minimum }} {{ $investigation->sample_container }} {{ $investigation->non_insured_price }} {{ $investigation->comments }} {{ $investigation->lab_time }} {{ $investigation_categories[$investigation->category] ?? "Not Set" }}{{ $investigation->hmis_no_outpatient }} @if(count($hmis_no_outpatient_array) > 0)
    @for($i=0; $i < count($hmis_outpatient_category_array); $i++)
  • {{ $hmis_categories[$hmis_outpatient_category_array[$i]] ?? "" }}
  • @endfor
@endif
{{ $investigation->hmis_no_inpatient }} {{ $investigation_categories[$investigation->hmis_category_inpatient] ?? "" }} {{ __('investigations.edit') }} @if (!in_array($investigation->id, $ordered_investigations_ids)) {{ Form::model($investigation->id ,['method' => 'DELETE', 'route' => ['investigations.destroy', $investigation->id]]) }} {{ Form::close() }} @endif
{{ $investigations->links() }}
@endsection @push('scripts') @endpush