mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
The official image from streamline does not currently work for the arm64 platform. As a temporary measure, the source code and docker build scripts have been lifted from the official images and are used to build locally. Some additional modifications are made to reduce overall image size, these are documented in docker/README.md
142 lines
7.2 KiB
PHP
Executable File
142 lines
7.2 KiB
PHP
Executable File
@extends('layouts.main')
|
|
|
|
@push('styles')
|
|
<link href="{{ asset('elite/bower_components/bootstrap-datepicker/bootstrap-datepicker.min.css') }}" rel="stylesheet" type="text/css" />
|
|
<link href="{{ asset('elite/bower_components/select2/select2.min.css') }}" rel="stylesheet" />
|
|
@endpush
|
|
|
|
@section('content')
|
|
|
|
<div class="row bg-title">
|
|
<div class="col-md-6">
|
|
<h4 class="page-title">{{ __('patients.reschedule_appointment') }}</h4>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<ol class="breadcrumb">
|
|
<li><a href="{{ route('home') }}">{{ __('patients.dashboard') }}</a></li>
|
|
<li><a href="{{ url('/patients/follow_up') }}">{{ __('patients.appointments') }}</a></li>
|
|
<li class="active">{{ __('patients.create') }}</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
|
|
@include('flash::message')
|
|
|
|
@include('errors.list')
|
|
|
|
<div class="white-box">
|
|
<h4>{{ __('patients.patient_information') }}</h4>
|
|
<br>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<p>{{ __('patients.first_name') }}: {{ get_name($appointment->patient_id, 'id', 'first_name', 'patients') }}</p>
|
|
<p>{{ __('patients.last_name') }}: {{ get_name($appointment->patient_id, 'id', 'last_name', 'patients') }}</p>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<p>{{ __('patients.patient_number') }}: {{ get_name($appointment->patient_id, 'id', 'number', 'patients') }}</p>
|
|
<p>{{ __('patients.phone') }}: {{ get_name($appointment->patient_id, 'id', 'phone', 'patients') }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="white-box">
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<h4>{{ __('patients.previous_details') }}</h4>
|
|
<div class="form-group">
|
|
{{ Form::label('clinic_allocation', __('patients.assigned_clinic')) }}
|
|
@if($appointment->clinic_allocation == 0)
|
|
{{ Form::text('clinic_allocation_previous', __('patients.not_assigned'), ['class' => 'form-control col-sm-12 compulsory', 'readonly']) }}
|
|
@else
|
|
{{ Form::text('clinic_allocation_previous', $clinics[$appointment->clinic_allocation], ['class' => 'form-control col-sm-12 compulsory', 'readonly']) }}
|
|
@endif
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
{{ Form::label('in_charge', __('patients.assigned_incharge')) }}
|
|
@if($appointment->incharge_id == 0)
|
|
{{ Form::text('in_charge_previous', __('patients.not_assigned'), ['class' => 'form-control col-sm-12 compulsory', 'readonly']) }}
|
|
@else
|
|
{{ Form::text('in_charge_previous', get_full_name($appointment->incharge_id, 'id', 'first_name', 'last_name', 'users'), ['class' => 'form-control col-sm-12 compulsory', 'readonly']) }}
|
|
@endif
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
{{ Form::label('appointment_date_previous',__('patients.appointment_date')) }}
|
|
{{ Form::text('appointment_date_previous', streamline_date($appointment->appointment_date), ['class' => 'form-control col-sm-12 compulsory', 'readonly']) }}
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
{{ Form::label('appointment_time_previous',__('patients.appointment_time')) }}
|
|
{{ Form::text('appointment_time_previous', $appointment->appointment_time, ['class' => 'form-control col-sm-12 compulsory', 'readonly']) }}
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
{{ Form::label('comments_previous',__('patients.comments')) }}
|
|
{{ Form::text('comments_previous', $appointment->comments, ['class' => 'form-control col-sm-12 compulsory', 'readonly']) }}
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<h4>{{ __('patients.new_details') }}</h4>
|
|
{{ Form::open(['route' => 'patients.save_rescheduled_appointment']) }}
|
|
|
|
{{ Form::hidden('appointment_id', $appointment->id, ['class' => 'patient_id']) }}
|
|
|
|
<div class="form-group">
|
|
{{ Form::label('clinic_allocation', __('patients.assign_clinic')) }}
|
|
{{ Form::select('clinic_allocation', $clinics, $appointment->clinic_allocation, ['class' => 'form-control col-sm-12 compulsory search_criteria', 'id' => 'clinic_allocation']) }}
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
{{ Form::label('in_charge', __('patients.assign_incharge')) }}
|
|
<select name="in_charge" class="form-control col-sm-12 compulsory search_criteria">
|
|
<option value="0" selected>{{ __('patients.dont_assign_incharge') }}</option>
|
|
@foreach($users as $user)
|
|
<option value="{{ $user->id }}">{{ $user->first_name }} {{ $user->last_name }}</option>
|
|
@endforeach
|
|
</select>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
{{ Form::label('appointment_date',__('patients.appointment_date')) }}
|
|
<div class="input-group">
|
|
{{ Form::text('appointment_date', date('d-m-Y', strtotime($appointment->appointment_date)),['class' => 'compulsory form-control','readonly','id'=>'appointment_date', 'required']) }}
|
|
</div>
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
{{ Form::label('appointment_time',__('patients.appointment_time')) }}
|
|
{{ Form::time('appointment_time',$appointment->appointment_time,['class' => 'compulsory form-control','required']) }}
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
{{ Form::label('comments',__('patients.comments')) }}
|
|
{{ Form::textarea('comments',$appointment->comments,['class' => 'form-control', 'data-error'=>'','id'=>'comments']) }}
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
|
|
{{ Form::button(__('patients.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
|
|
{{ Form::button(__('patients.cancel'),['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }}
|
|
|
|
{{ Form::close() }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
|
|
@push('scripts')
|
|
<script src="{{ asset('elite/js/validator.js') }}"></script>
|
|
<script src="{{ asset('elite/bower_components/bootstrap-datepicker/bootstrap-datepicker.min.js') }}"></script>
|
|
<script src="{{ asset('elite/bower_components/select2/select2.min.js') }}"></script>
|
|
|
|
<script type="text/javascript">
|
|
$('#appointment_date').datepicker({
|
|
autoclose: true,
|
|
todayHighlight: true,
|
|
format: 'dd-mm-yyyy',
|
|
});
|
|
</script>
|
|
@endpush |