resolved conflicts

This commit is contained in:
2025-03-31 03:46:05 +03:00
6454 changed files with 1520539 additions and 9 deletions
@@ -0,0 +1,150 @@
@extends('layouts.main')
@push('styles')
<link href="{{ asset('elite/bower_components/bootstrap-datepicker/bootstrap-datepicker.min.css') }}" rel="stylesheet" type="text/css" />
@endpush
@section('content')
<div class="row bg-title">
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
<h4 class="page-title">{{ __('hiv.appointment_follow_up') }}</h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="{{ route('home') }}">{{ __('hiv.dashboard') }}</a></li>
<li><a href="{{ route('hiv.menu') }}">{{ __('hiv.hiv_menu') }}</a></li>
<li class="active">{{ __('hiv.appointment_follow_up') }}</li>
</ol>
</div>
</div>
<div class="row">
<div class="col-sm-12">
@include('patients::allergies.header')
</div>
</div>
<div class="row">
<div class="col-sm-12">
@include('flash::message')
<div class="white-box">
{{ Form::open(['route' => 'hct.store','data-toggle'=>'validator']) }}
<div class="headers" style="text-align: center;">
<h3 style="background: #FFFF7D; padding: 10px;">{{ __('hiv.appointment_book') }}</h3>
</div>
<div class="row">
<div class="col-sm-4">
<div class="form-group">
{{ Form::label('date',__('hiv.date')) }}
<div class="input-group">
{{ Form::text('follow_up_date','',['class' => 'form-control compulsory','readonly','id'=>'follow_up_date']) }}
<span class="input-group-addon"><i class="icon-calender"></i></span>
</div>
</div>
<div class="form-group">
{{ Form::label('type_of_care',__('hiv.type_of_care')) }}<br>
{{ Form::checkbox('type_of_care[]', 'Pre ART', false) }} {{ __('hiv.pre_art') }} &nbsp;
{{ Form::checkbox('type_of_care[]', 'ART', false) }} {{ __('hiv.art') }} &nbsp;
{{ Form::checkbox('type_of_care[]', 'HIV Exposed Infant', false) }} {{ __('hiv.hiv_exposed_infant') }} &nbsp;
</div>
<div class="form-group">
{{ Form::label('follow_up_type','Followup Type :'__('hiv.')) }}<br>
{{ Form::checkbox('follow_up_type[]', 'SMS Message', false) }} {{ __('hiv.sms_message') }} &nbsp; <br>
{{ Form::checkbox('follow_up_type[]', 'Phone call', false) }} {{ __('hiv.phone_call') }} &nbsp; <br>
{{ Form::checkbox('follow_up_type[]', 'Home visit', false) }} {{ __('hiv.home_visit') }} &nbsp; <br>
{{ Form::checkbox('follow_up_type[]', 'Other', false, ['id' => 'other_follow_up_chbx']) }} {{ __('hiv.other') }} &nbsp;
</div>
<div class="form-group" id="other_follow_up_div" style="display: none;">
{{ Form::label('other_follow_up_type',__('hiv.specify_follow_up')) }}
{{ Form::text('other_follow_up_type','', ['class' => 'form-control']) }}
</div>
</div>
<div class="col-sm-2"></div>
<div class="col-sm-4">
<div class="form-group">
{{ Form::label('outcome',__('hiv.outcome')) }} <br>
{{ Form::checkbox('outcome[]', 'Spoke with patient', false) }} {{ __('hiv.spoke_with_patient') }} &nbsp; <br>
{{ Form::checkbox('outcome[]', 'Phone not answered', false) }} {{ __('hiv.phone_not_answered') }} &nbsp; <br>
{{ Form::checkbox('outcome[]', 'Spoke with someone else', false) }} {{ __('hiv.spoke_with_someone_else') }} &nbsp; <br>
{{ Form::checkbox('outcome[]', 'Telephone off', false) }} {{ __('hiv.telephone_off') }} &nbsp; <br>
{{ Form::checkbox('outcome[]', 'Client Visit Rescheduled', false, ['id' => 'client_visit_rescheduled_chbx']) }} Client Visit Rescheduled{{ __('hiv.') }} &nbsp; <br>
{{ Form::checkbox('outcome[]', 'Other', false, ['id' => 'other_outcome_chbx']) }} {{ __('hiv.other_specify') }} &nbsp;
</div>
<div class="form-group" id="client_visit_rescheduled_div" style="display: none;">
{{ Form::label('date',__('hiv.reschedule_date')) }}
<div class="input-group">
{{ Form::text('reschedule_date','',['class' => 'form-control compulsory','readonly','id'=>'reschedule_date']) }}
<span class="input-group-addon"><i class="icon-calender"></i></span>
</div>
</div>
<div class="form-group" id="other_outcome_div" style="display: none;">
{{ Form::label('other_outcome',__('hiv.specify_other_outcome')) }}
{{ Form::text('other_outcome','', ['class' => 'form-control']) }}
</div>
<div class="form-group">
{{ Form::label('next_step',__('hiv.next_step')) }}<br>
{{ Form::checkbox('next_step[]', 'Call Treatment Supporter', false) }} {{ __('hiv.call_treatment_supporter') }} &nbsp; <br>
{{ Form::checkbox('next_step[]', 'Try to followup patient again', false, ['id' => 'follow_up_again_on_chbx']) }} {{ __('hiv.try_to_followup_again') }} &nbsp; <br>
{{ Form::checkbox('next_step[]', 'Home visit', false, ['id' => 'home_visit_chbx']) }} {{ __('hiv.home_visit') }} &nbsp; <br>
</div>
<div class="form-group" id="follow_up_again_on_div" style="display: none;">
{{ Form::label('date',__('hiv.follow_up_again_on')) }}
<div class="input-group">
{{ Form::text('follow_up_again_date','',['class' => 'form-control compulsory','readonly','id'=>'follow_up_again_date']) }}
<span class="input-group-addon"><i class="icon-calender"></i></span>
</div>
</div>
<div class="form-group" id="home_visit_on_div" style="display: none;">
{{ Form::label('date',__('hiv.home_visit_on')) }}
<div class="input-group">
{{ Form::text('home_visit_date','',['class' => 'form-control compulsory','readonly','id'=>'home_visit_date']) }}
<span class="input-group-addon"><i class="icon-calender"></i></span>
</div>
</div>
<div class="form-group">
<div style="float: right;">{{ Form::submit(__('hiv.submit'),['class'=>'btn btn-success']) }}</div>
</div>
</div>
</div>
{{ Form::close() }}
</div>
</div>
</div>
@endsection
@push('scripts')
<script src="{{ asset('elite/bower_components/bootstrap-datepicker/bootstrap-datepicker.min.js') }}"></script>
<script type="text/javascript">
jQuery('#follow_up_date,#reschedule_date,#home_visit_date,#follow_up_again_date').datepicker({
autoclose: true,
todayHighlight: true,
format: 'dd/mm/yyyy'
});
$(document).ready(function(){
$('#other_follow_up_chbx').click(function(){
$('#other_follow_up_chbx').prop('checked') ? $("#other_follow_up_div").show() : $("#other_follow_up_div").hide();
});
$('#client_visit_rescheduled_chbx').click(function(){
$('#client_visit_rescheduled_chbx').prop('checked') ? $("#client_visit_rescheduled_div").show() : $("#client_visit_rescheduled_div").hide();
});
$('#other_outcome_chbx').click(function(){
$('#other_outcome_chbx').prop('checked') ? $("#other_outcome_div").show() : $("#other_outcome_div").hide();
});
$('#follow_up_again_on_chbx').click(function(){
$('#follow_up_again_on_chbx').prop('checked') ? $("#follow_up_again_on_div").show() : $("#follow_up_again_on_div").hide();
});
$('#home_visit_chbx').click(function(){
$('#home_visit_chbx').prop('checked') ? $("#home_visit_on_div").show() : $("#home_visit_on_div").hide();
});
});
</script>
@endpush
@@ -0,0 +1,147 @@
@extends('layouts.main')
@push('styles')
<link href="{{ asset('elite/bower_components/bootstrap-datepicker/bootstrap-datepicker.min.css') }}" rel="stylesheet" type="text/css" />
@endpush
@section('content')
<div class="row bg-title">
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
<h4 class="page-title">{{ __('hiv.health_unit_tb_form') }}</h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="{{ route('home') }}">{{ __('hiv.dashboard') }}</a></li>
<li><a href="{{ route('hiv.menu') }}">{{ __('hiv.hiv_menu') }}</a></li>
<li class="active">{{ __('hiv.health_unit_tb_form') }}</li>
</ol>
</div>
</div>
<div class="row">
<div class="col-sm-12">
@include('patients::allergies.header')
</div>
</div>
<div class="row">
<div class="col-sm-12">
@include('flash::message')
<div class="white-box">
{{ Form::open(['route' => 'store_tb_form','data-toggle'=>'validator']) }}
<div class="headers" style="text-align: center;">
<h3 style="background: #FFFF7D; padding: 10px;">{{ __('hiv.health_unit_tb_form') }}</h3>
</div>
<div class="row">
<div class="col-sm-4">
<div class="form-group">
{{ Form::label('unit_tb_number',__('hiv.unit_tb_number')) }}
{{ Form::text('unit_tb_number','',['class' => 'form-control compulsory','id'=>'unit_tb_number']) }}
</div>
<div class="form-group">
{{ Form::label('name_of_contact_person',__('hiv.contact_phone_number')) }}
{{ Form::text('name_of_contact_person','', ['class' => 'form-control']) }}
</div>
<div class="form-group">
{{ Form::label('is_patient_health_worker',__('hiv.patient_health_worker')) }}<br>
{{ Form::radio('is_patient_health_worker', 'yes', false) }} {{ __('hiv.yes') }} &nbsp;
{{ Form::radio('is_patient_health_worker', 'no', false) }} {{ __('hiv.no') }} &nbsp; <br>
</div>
<div class="form-group">
{{ Form::label('date_treatment_started',__('hiv.date_treatment_started')) }}
<div class="input-group">
{{ Form::text('date_treatment_started','',['class' => 'form-control compulsory','readonly','id'=>'date_treatment_started']) }}
<span class="input-group-addon"><i class="icon-calender"></i></span>
</div>
</div>
<div class="form-group">
{{ Form::label('type_of_patient',__('hiv.type_of_patient')) }}
{{ Form::select('type_of_patient',['N' => __('hiv.new'), 'R' => __('hiv.relapse'), 'F' => __('hiv.failure'), 'L' => __('hiv.lost_to_follow_up'), 'THU' => __('hiv.treatment_history_unknown')],'', ['class' => 'form-control']) }}
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
{{ Form::label('hsd_tb_number',__('hiv.hsd_tb_number')) }}
{{ Form::text('hsd_tb_number','',['class' => 'form-control compulsory','id'=>'hsd_tb_number']) }}
</div>
<div class="form-group">
{{ Form::label('contact_phone_number',__('hiv.contact_phone_number')) }}
{{ Form::text('contact_phone_number','', ['class' => 'form-control']) }}
</div>
<div class="form-group">
{{ Form::label('cadre_of_health_worker',__('hiv.cadre_of_health_worker')) }}
{{ Form::select('cadre_of_health_worker',[],'', ['class' => 'form-control']) }}
</div>
<div class="form-group">
{{ Form::label('regimen',__('hiv.regimen')) }}
{{ Form::select('regimen',[],'', ['class' => 'form-control']) }}
</div>
<div class="form-group">
{{ Form::label('regimen_specify',__('hiv.specify_regimen')) }}
{{ Form::text('regimen_specify','', ['class' => 'form-control']) }}
</div>
<div class="form-group">
{{ Form::label('transfer_in_from',__('hiv.transfer_in_from')) }}
{{ Form::text('transfer_in_from','', ['class' => 'form-control']) }}
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
{{ Form::label('district_tb_number',__('hiv.district_tb_number')) }}
{{ Form::text('district_tb_number','',['class' => 'form-control compulsory','id'=>'district_tb_number']) }}
</div>
<div class="form-group">
{{ Form::label('relationship_to_contact_person',__('hiv.relationship_of_contact_person')) }}
{{ Form::select('relationship_to_contact_person',[],'', ['class' => 'form-control']) }}
</div>
<div class="form-group">
<div style="float: right;">{{ Form::submit(__('hiv.submit'),['class'=>'btn btn-success']) }}</div>
</div>
</div>
</div>
{{ Form::close() }}
</div>
</div>
</div>
@endsection
@push('scripts')
<script src="{{ asset('elite/bower_components/bootstrap-datepicker/bootstrap-datepicker.min.js') }}"></script>
<script type="text/javascript">
jQuery('#follow_up_date,#reschedule_date,#home_visit_date,#follow_up_again_date').datepicker({
autoclose: true,
todayHighlight: true,
format: 'dd/mm/yyyy'
});
$(document).ready(function(){
$('#other_follow_up_chbx').click(function(){
$('#other_follow_up_chbx').prop('checked') ? $("#other_follow_up_div").show() : $("#other_follow_up_div").hide();
});
$('#client_visit_rescheduled_chbx').click(function(){
$('#client_visit_rescheduled_chbx').prop('checked') ? $("#client_visit_rescheduled_div").show() : $("#client_visit_rescheduled_div").hide();
});
$('#other_outcome_chbx').click(function(){
$('#other_outcome_chbx').prop('checked') ? $("#other_outcome_div").show() : $("#other_outcome_div").hide();
});
$('#follow_up_again_on_chbx').click(function(){
$('#follow_up_again_on_chbx').prop('checked') ? $("#follow_up_again_on_div").show() : $("#follow_up_again_on_div").hide();
});
$('#home_visit_chbx').click(function(){
$('#home_visit_chbx').prop('checked') ? $("#home_visit_on_div").show() : $("#home_visit_on_div").hide();
});
});
</script>
@endpush
@@ -0,0 +1,299 @@
@extends('layouts.main')
@push('styles')
<link href="{{ asset('elite/bower_components/bootstrap-datepicker/bootstrap-datepicker.min.css') }}" rel="stylesheet" type="text/css" />
@endpush
@section('content')
<div class="row bg-title">
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
<h4 class="page-title">{{ __('hiv.hiv_counselling_testing') }}</h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="{{ route('home') }}">{{ __('hiv.dashboard') }}</a></li>
<li><a href="{{ route('hiv.menu') }}">{{ __('hiv.hiv_menu') }}</a></li>
<li class="active">{{ __('hiv.hiv_counselling') }}</li>
</ol>
</div>
</div>
<div class="row">
<div class="col-sm-12">
@include('patients::allergies.header')
</div>
</div>
<div class="row">
<div class="col-sm-12">
@include('flash::message')
<div class="white-box">
{{ Form::open(['route' => 'hct.store','data-toggle'=>'validator']) }}
<div class="row">
<div class="headers" style="text-align: center;">
<h3 style="background: #FFFF7D; padding: 10px;">{{ __('hiv.hiv_couns_test_card') }}</h3>
</div>
<!-- =================== -->
<div class="col-sm-12">
<h3>{{ __('hiv.section_a') }}:</h3>
</div>
<div class="col-sm-3">
<div class="form-group">
{{ Form::label('date',__('hiv.date')) }}
<div class="input-group">
{{ Form::text('counselling_date','',['class' => 'form-control compulsory','readonly','id'=>'counselling_date']) }}
<span class="input-group-addon"><i class="icon-calender"></i></span>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
{{ Form::label('is_center_static',__('hiv.is_center_static')) }}
{{ Form::select('is_center_static',['static'=>__('hiv.static'),'outreach'=>__('hiv.outreach')],'',['class' => 'form-control', 'required', 'data-error'=>'','placeholder'=>'']) }}
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
{{ Form::label('registration_number',__('hiv.registration_number')) }}
{{ Form::text('registration_number','',['class' => 'form-control', 'data-error'=>'','placeholder'=>'']) }}
</div>
</div>
<div class="col-sm-3">
<!-- display this only if the patient is less than 12 years -->
<div class="form-group">
{{ Form::label('accompanied_by',__('hiv.accompanied_by')) }}
{{ Form::select('accompanied_by', [''=>__('hiv.select'),'mother'=>__('hiv.mother'), 'father'=>__('hiv.father'), 'guardian'=>__('hiv.guardian')], '', ['class' => 'form-control', 'data-error'=>'', 'placeholder'=>'']) }}
</div>
</div>
<!-- =================== -->
<div class="col-sm-12">
<h3>{{ __('hiv.section_b') }}:</h3>
<table class="table table-bordered">
<tbody>
<tr>
<td style="width: 40%">
{{ Form::label('pre_test_counselling_done',__('hiv.pre_test_counselling_done')) }}
</td>
<td>
{{ Form::select('accompanied_by', [''=>__('hiv.select'),'0'=>__('hiv.no'), '1'=>__('hiv.yes')], '', ['class' => 'form-control']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.counseled_as') }}:</label>
</td>
<td>
{{ Form::select('counselled_as', [''=>'--Select--','1'=>'Individual', '2'=>'Couple','3'=>'Group'], '', ['class' => 'form-control']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.approach') }}:</label>
</td>
<td>
{{ Form::select('approach', [''=>'--Select--','1'=>'CICT', '2'=>'PITC'], '', ['class' => 'form-control']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.hct_entry_point') }}:</label>
</td>
<td>
{{ Form::select('hct_entry_point', [''=>__('hiv.select'),'1'=>__('hiv.facility_based'), '2'=>__('hiv.work_place'), '3'=>__('hiv.community_outreach'),'4'=>'HBHCT','5'=>__('hiv.circumcision'),'6'=>'PEP','7'=>'PMTCT','8'=>'MARPS','9'=>'ANC','10'=>__('hiv.maternity'),'11'=>__('hiv.family_planning'),'12'=>__('hiv.gynecological_opd'),'13'=>__('hiv.emergency_gynecological_ward'),'14'=>__('hiv.men_access_clinic'),'15'=>__('hiv.mother_baby_pair_clinic')], '', ['class' => 'form-control']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.ever_hiv_tested') }}:</label>
</td>
<td>
{{ Form::select('ever_tested_for_hiv_before', [''=>__('hiv.select'),'0'=>__('hiv.no'), '1'=>__('hiv.yes')], '', ['class' => 'form-control']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.tested_times_in_12') }}:</label>
</td>
<td>
{{ Form::text('times_tested_in_last_12_months','',['class' => 'form-control', 'data-error'=>'','placeholder'=>'']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.sex_partners_in_12') }}:</label>
</td>
<td>
{{ Form::text('number_of_sexual_partners_in_last_12_months','',['class' => 'form-control', 'data-error'=>'','placeholder'=>'']) }}
</td>
</tr>
<!-- display this if the patient is abve 9 years -->
<tr>
<td>
<label>{{ __('hiv.partner_hiv_tested') }} :</label>
</td>
<td colspan="3" class="PartnerTestedBeforeEnableDisable1">
{{ Form::select('partner_tested_before', [''=>__('hiv.select'),'0'=>__('hiv.no'), '1'=>__('hiv.yes'), '2'=>__('hiv.dont_know')], '', ['class' => 'form-control']) }}
</td>
</tr>
<tr>
<td>
<label style="float:right"><i>{{ __('hiv.partner_results') }}</i></label>
</td>
<td>
{{ Form::select('partner_results', [''=>__('hiv.select'),'0'=>__('hiv.hiv_negative'), '1'=>__('hiv.hiv_positive'), '2'=>__('hiv.unknown')], '', ['class' => 'form-control']) }}
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-8">
<h3>{{ __('hiv.consent_testing') }}</h3>
<table class="table table-bordered">
<tbody>
<tr>
<td>
<label>{{ __('hiv.do_you_agree') }}</label>
</td>
<td>
{{ Form::select('partner_results', [''=>__('hiv.select'),'0'=>__('hiv.no'), '1'=>__('hiv.yes')], '', ['class' => 'form-control']) }}
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-4"></div>
<div class="col-sm-12">
<h3>{{ __('hiv.section_c') }}</h3>
<table class="table">
<tbody>
<tr>
<td>
<label{{ __('hiv.hiv_final_results') }}:</label>
</td>
<td>
{{ Form::select('partner_results', [''=>__('hiv.select'),'1'=>__('hiv.hiv_negative'), '2'=>__('hiv.hiv_positive'),'3'=>'INC','4'=>'NT'], '', ['class' => 'form-control']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.sent_to_confirm') }}</label>
</td>
<td>
{{ Form::select('confirmatory_lab', [''=>__('hiv.select'),'0'=>__('hiv.no'), '1'=>__('hiv.yes')], '', ['class' => 'form-control']) }}
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-12">
<table class="table table-bordered">
<tbody>
<tr>
<td>
<label>{{ __('hiv.results_received') }}:</label>
</td>
<td>
{{ Form::select('results_received', [''=>__('hiv.select'),'0'=>__('hiv.no'), '1'=>__('hiv.yes')], '', ['class' => 'form-control']) }}
</td>
</tr>
<!-- if the patient is above 9 years -->
<tr>
<td>
<label>{{ __('hiv.results_received_couple') }}:</label>
</td>
<td>
{{ Form::select('results_received_as_a_couple', [''=>__('hiv.select'),'0'=>__('hiv.no'), '1'=>__('hiv.yes')], '', ['class' => 'form-control']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.couple_results') }}:</label>
</td>
<td>
{{ Form::select('results_received_as_a_couple', [''=>__('hiv.select'),'discordant'=>__('hiv.discordant'), 'concordant'=>__('hiv.concordant')], '', ['class' => 'form-control']) }}
</td>
</tr>
<!-- ========end if================= -->
<tr>
<td>
<label>{{ __('hiv.is_there_suspision_for_tb') }}:</label>
</td>
<td>
{{ Form::select('is_there_suspision_for_tb', [''=>__('hiv.select'),'0'=>__('hiv.no'), '1'=>__('hiv.yes')], '', ['class' => 'form-control']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.has_client_started_cotrimoxazole_prophylaxis') }}:</label>
</td>
<td>
{{ Form::select('has_client_started_cotrimoxazole_prophylaxis', [''=>__('hiv.select'),'0'=>__('hiv.no'), '1'=>__('hiv.yes')], '', ['class' => 'form-control']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.has_client_been_linked_to_care') }}:</label>
</td>
<td>
{{ Form::select('has_client_been_linked_to_care', [''=>__('hiv.select'),'0'=>__('hiv.no'), '1'=>__('hiv.yes')], '', ['class' => 'form-control']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.where') }}:</label>
</td>
<td>
{{ Form::text('where_is_the_client_care','',['class' => 'form-control', 'data-error'=>'','placeholder'=>'']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.cd4_count_results') }}:</label>
</td>
<td>
{{ Form::text('cd4_count_results','',['class' => 'form-control', 'data-error'=>'','placeholder'=>'']) }}
</td>
</tr>
<tr>
<td>
<label>{{ __('hiv.hiv_recency_test_result') }}:</label>
</td>
<td>
{{ Form::select('hiv_recency_test_result',[''=>'--Select--','1'=>'Recent','2'=>'Long Term'],'',['class' => 'form-control', 'data-error'=>'','placeholder'=>'']) }}
</td>
</tr>
<tr>
<td>
<label>
<span class="required">*</span>{{ __('hiv.counsellor') }}
</label>
</td>
<td>
{{ Form::text('counsellor','',['class' => 'form-control required', 'data-error'=>'','placeholder'=>'counsellor']) }}
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-12">
<div style="float: right;">{{ Form::submit(__('hiv.save'),['class'=>'btn btn-success']) }}</div>
</div>
</div>
{{ Form::close() }}
</div>
</div>
</div>
@endsection
@push('scripts')
<script src="{{ asset('elite/bower_components/bootstrap-datepicker/bootstrap-datepicker.min.js') }}"></script>
<script type="text/javascript">
jQuery('#counselling_date').datepicker({
autoclose: true,
todayHighlight: true,
format: 'dd/mm/yyyy'
});
</script>
@endpush
@@ -0,0 +1,145 @@
@extends('layouts.main')
@push('styles')
<style type="text/css">
#t_header th {
background-color: #708090;
color: #000;
}
.color-tr{
background: #FFFF99;
}
.aTable tr {
background-color: #DDD;
}
.table_no_padding td{
padding: 4px;
}
</style>
@endpush
@section('content')
<div class="row bg-title">
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
<h4 class="page-title">{{ __('hiv.hiv_clinic') }}</h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="{{ route('home') }}">{{ __('hiv.dashboard') }}</a></li>
<li><a href="{{ route('patients.index') }}">{{ __('hiv.patients') }}</a></li>
<li class="active">{{ __('hiv.hiv_clinic') }}</li>
</ol>
</div>
</div>
<div class="row">
<div class="col-sm-12">
@include('patients::allergies.header')
</div>
</div>
<div class="row">
<div class="col-sm-12">
@include('flash::message')
<div class="white-box">
<b>{{ __('hiv.hiv_menu') }}</b><br> <br>
<div class="row">
<div class="col-sm-2">
<a class="btn btn-success btn-sm btn-rounded" href="{{ url('antiretral_viral_therapy/create') }}">{{ __('hiv.art_clinic') }}</a>
</div>
<div class="col-sm-2">
<a class="btn btn-info btn-sm btn-rounded" id="anc_visit"> {{ __('hiv.art_follow_up') }} </a>
</div>
<div class="col-sm-3">
<a class="btn btn-primary btn-sm btn-rounded" href="{{ url('hiv_counselling_and_testing') }}">{{ __('hiv.hiv_counselling_testing_card') }}</a>
</div>
<div class="col-sm-2">
<a class="btn btn-default btn-sm btn-rounded" href="#">{{ __('hiv.exposed_infant_form') }}</a>
</div>
<div class="col-sm-3">
<a class="btn btn-warning btn-sm btn-rounded" href="#">{{ __('hiv.daily_activity_viral') }}</a>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-2">
<a class="btn btn-success btn-sm btn-rounded" href="#">{{ __('hiv.safe_male_circumcision') }}</a>
</div>
<div class="col-sm-2">
<a class="btn btn-info btn-sm btn-rounded" id="anc_visit">{{ __('hiv.lab_forms') }}</a>
</div>
<div class="col-sm-3">
<a class="btn btn-primary btn-sm btn-rounded" href="{{ url('health_unit_tb_form') }}">{{ __('hiv.health_unit_tb_form') }}</a>
</div>
<div class="col-sm-2">
<a class="btn btn-default btn-sm btn-rounded" href="#">{{ __('hiv.patient_referral_transfer') }}</a>
</div>
<div class="col-sm-3">
<a class="btn btn-warning btn-sm btn-rounded" href="#">{{ __('hiv.viral_load_suppression_form') }}</a>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-2">
<a class="btn btn-success btn-sm btn-rounded" href="{{ url('hiv_appointment_follow_up') }}">{{ __('hiv.appointment_follow_up') }}</a>
</div>
<div class="col-sm-2">
<a class="btn btn-info btn-sm btn-rounded">{{ __('hiv.daily_activity_lab') }}</a>
</div>
<div class="col-sm-3">
<!-- <a class="btn btn-primary btn-sm btn-rounded" href="#">##</a> -->
</div>
<div class="col-sm-2">
<a class="btn btn-default btn-sm btn-rounded" href="#">##</a>
</div>
<div class="col-sm-3">
<a class="btn btn-warning btn-sm btn-rounded" href="#">{{ __('hiv.daily_activity_register') }}</a>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="fillNewPregnancyprimary" tabindex="-1" role="dialog">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
</div>
<div class="modal-body">
{{ __('hiv.fill_preg_details_first') }}
</div>
<div class="modal-footer">
<button type="button" class="btn btn-success" data-dismiss="modal">{{ __('hiv.ok') }}</button>
</div>
</div>
</div>
</div>
@endsection
@push('scripts')
<script src="{{ asset('js/streamline_plugins/jquery.session.js') }}"></script>
<script type="text/javascript">
$('#anc_visit').click(function(e){
$.ajax({
method: 'GET',
url: '/check_if_pregnancy_is_registered',
success: function(response){
console.log(response);
if (response === "true") {
window.location.href = "/ante_natal_clinic_follow_up/create";
} else {
$('#fillNewPregnancyprimary').modal('show');
e.preventDefault();
}
},
error: function(jqXHR, textStatus, errorThrown) {
alert(JSON.stringify(jqXHR));
console.log(JSON.stringify(jqXHR));
e.preventDefault();
}
});
});
</script>
@endpush