| {{ __('investigations.date') }} |
{{ __('investigations.patient_number') }} |
{{ __('investigations.patient_names') }} |
{{ __('investigations.investigations') }} |
{{ __('investigations.results') }} |
{{ __('investigations.select') }} |
@foreach($normal_orders as $order)
{{ Form::hidden('order_id[]',$order['order_id']) }}
|
{{ $order['date'] }}
|
{{ $order['number'] }}
|
{!! insurance_flag($order['id']) !!}
|
@foreach($order['values'] as $value)
@if(get_name($value['investigation_id'], 'id', 'type', 'investigations') == 1)
|
{{ $value['name'] }}
|
@if(empty($value['per_investigation']) || $value['per_investigation'] == 0)
@else
@endif
|
@php
// get the specialised results and check if it is valid
$specialised_results = \Illuminate\Support\Facades\DB::table('investigation_specialised_results')->find($value['value']);
$specialised_ids = [];
$specialised_values = [];
if(!is_null($specialised_results)){
$specialised_ids = explode(",", $specialised_results->specialised_variable_id);
$specialised_values = explode(",", $specialised_results->value);
}
@endphp
@if(count($specialised_ids) > 0)
@for($i = 0; $i < count($specialised_ids); $i++)
|
{{ get_name($specialised_ids[$i], 'id', 'name', 'investigation_specialised_variables') }}
|
{{ $specialised_values[$i] }} |
@endfor
@else
| |
@endif
|
@else
|
{{ $value['name'] }}
|
{{ $value['value'] }}
@if (!empty($value['document']))
{{ $value['title'] }}
@endif
|
@if(empty($value['per_investigation']) || $value['per_investigation'] == 0)
@else
@endif
|
@endif
@endforeach
{{ Form::hidden('count[]',$count) }}
|
@endforeach
@if(count($orders) <= 0)
| {{ __('investigations.all_results_authenticated') }} |
@endif
@if (count($urgent_orders) > 0)
| {{ __('investigations.date') }} |
{{ __('investigations.patient_number') }} |
{{ __('investigations.patient_names') }} |
{{ __('investigations.investigations') }} |
{{ __('investigations.results') }} |
{{ __('investigations.select') }} |
@foreach($urgent_orders as $urgent_order)
{{ Form::hidden('order_id[]',$urgent_order['order_id']) }}
|
{{ $urgent_order['date'] }}
|
{{ $urgent_order['number'] }}
|
{!! insurance_flag($urgent_order['id']) !!}
|
@foreach($urgent_order['values'] as $value)
@if(get_name($value['investigation_id'], 'id', 'type', 'investigations') == 1)
|
{{ $value['name'] }}
|
@if(empty($value['per_investigation']) || $value['per_investigation'] == 0)
@else
@endif
|
@php
// get the specialised results and check if it is valid
$specialised_results = \Illuminate\Support\Facades\DB::table('investigation_specialised_results')->find($value['value']);
$specialised_ids = [];
$specialised_values = [];
if(!is_null($specialised_results)){
$specialised_ids = explode(",", $specialised_results->specialised_variable_id);
$specialised_values = explode(",", $specialised_results->value);
}
@endphp
@if(count($specialised_ids) > 0)
@for($i = 0; $i < count($specialised_ids); $i++)
|
{{ get_name($specialised_ids[$i], 'id', 'name', 'investigation_specialised_variables') }}
|
{{ $specialised_values[$i] }} |
@endfor
@else
| |
@endif
|
@else
|
{{ $value['name'] }}
|
{{ $value['value'] }}
@if (!empty($value['document']))
{{ $value['title'] }}
@endif
|
@if(empty($value['per_investigation']) || $value['per_investigation'] == 0)
@else
@endif
|
@endif
@endforeach
{{ Form::hidden('count[]',$count) }}
|
@endforeach
@endif