@extends("layout") @section("content")
{{trans('messages.new-test')}}
@if($errors->all())
{{ HTML::ul($errors->all()) }}
@endif {{ Form::open(array('route' => 'unhls_test.saveNewTest', 'id' => 'form-new-test')) }}

{{trans("messages.patient-details")}}

{{trans("messages.patient-number")}} {{ $patient->patient_number }} {{ Lang::choice('messages.name',1) }} {{ $patient->name }} {{trans("messages.age")}} {{ $patient->getAge() }} {{trans("messages.gender")}} {{ $patient->gender==0?trans("messages.male"):trans("messages.female") }}

{{"Clinical Information and Sample Information"}}

{{ Form::hidden('patient_id', $patient->id) }} {{ Form::label('visit_type', trans("messages.visit-type")) }} {{ Form::select('visit_type', [' ' => '--- Select visit type ---','' => trans("messages.out-patient"),'1' => trans("messages.in-patient")], null, array('class' => 'form-control')) }}
{{ Form::label('ward_id','Ward/Clinic/Health Unit') }} {{ Form::select('ward_id', $ward, Input::get('ward_id'), array('class' => 'form-control')) }}
{{ Form::label('bed_no','Bed No:', array('text-align' => 'right')) }} {{ Form::text('bed_no', Input::old('bed_no'), array('class' => 'form-control')) }}
{{ Form::label('clinical_notes','Clinical Notes') }} {{ Form::textarea('clinical_notes', Input::old('clinical_notes'), array('class' => 'form-control')) }}
{{ Form::label('previous_therapy','Previous Therapy') }} {{ Form::text('previous_therapy', Input::old('previous_therapy'), array('class' => 'form-control')) }}
{{ Form::label('current_therapy','Current Therapy', array('text-align' => 'right')) }} {{ Form::text('current_therapy', Input::old('current_therapy'), array('class' => 'form-control')) }}
{{ Form::label('physician', 'Test Requested By') }} {{Form::text('physician', Input::old('physician'), array('class' => 'form-control'))}}
{{ Form::label('cadre', 'Cadre') }} {{Form::text('cadre', Input::old('physician'), array('class' => 'form-control'))}}
{{ Form::label('phone_contact', 'Phone Contact') }} {{Form::text('phone_contact', Input::old('phone_contact'), array('class' => 'form-control'))}}
{{ Form::label('email', 'E-mail') }} {{Form::email('email', Auth::user()->email, array('class' => 'form-control', 'placeholder' =>Auth::user()->email))}}
{{Form::label('specimen_type', 'Sample Type')}} {{ Form::select('specimen_type', $specimenType, Input::get('specimenType'), ['class' => 'form-control specimen-type']) }}
{{Form::label('test_type_category', 'Lab Section')}} {{ Form::select('test_type_category', $testCategory, Input::get('testCategory'), ['class' => 'form-control test-type-category']) }}
Specimen
Lab Section
Test
{{ Form::button(" ".trans('messages.save-test'), ['class' => 'btn btn-primary', 'onclick' => 'submit()', 'alt' => 'save_new_test']) }}
{{ Form::close() }}
@stop