152 lines
10 KiB
PHP
152 lines
10 KiB
PHP
<!DOCTYPE html>
|
||
<html lang="en">
|
||
|
||
<head>
|
||
@include('layouts.shared/title-meta', ['title' => 'Register & Signup'])
|
||
@include('layouts.shared/head-css', ['mode' => $mode ?? '', 'demo' => $demo ?? ''])
|
||
<link href="{{ asset('assets/libs/flatpickr/flatpickr.min.css') }}" rel="stylesheet" type="text/css" />
|
||
</head>
|
||
|
||
<body class="loading authentication-bg authentication-bg-pattern" style="background-color: rgb(65, 154, 154);">
|
||
<div class="account-pages mt-2 mb-5">
|
||
<div class="container">
|
||
<div class="row justify-content-center">
|
||
<div class="col-md-8">
|
||
<div class="card bg-pattern border">
|
||
<div class="card-body p-4">
|
||
<div class="row">
|
||
<div class="col-md-3">
|
||
<img src="{{asset('/images/crest-logo.jpeg')}}" class="img-fluid" style="max-height: 70px;">
|
||
</div>
|
||
<div class="col-md-6 text-center">
|
||
<h4>Doctor feedback after 1 month of adding a Spirometer in the clinic for diagnosis of OADs</h4>
|
||
</div>
|
||
<div class="col-md-3">
|
||
<a href="/pocpatient" class="btn btn-small btn-dark float-end">Back to Patients</a>
|
||
</div>
|
||
</div>
|
||
@if (session('error'))
|
||
<div class="alert alert-danger">{{ session('error') }}</div>
|
||
@endif
|
||
@if (session('success'))
|
||
<div class=" alert alert-success">{{ session('success') }}
|
||
</div>
|
||
@endif
|
||
@if (sizeof($errors) > 0)
|
||
<ul>
|
||
@foreach ($errors->all() as $error)
|
||
<li class="text-danger">{{ $error }}</li>
|
||
@endforeach
|
||
</ul>
|
||
@endif
|
||
<form method="POST" action="{{ route('submitpocfeedback') }}" class="mt-2">
|
||
@csrf
|
||
|
||
<hr>
|
||
<div class="row mb-3">
|
||
<div class="col-md-8">
|
||
<label class="form-check-label" for="gender">Do you think having a spirometer in your clinic has improved your confidence in diagnosing your cases of OADs?<span
|
||
class="text-danger">*</span></label>
|
||
</div>
|
||
<div class="col-md-4">
|
||
<div class="form-check">
|
||
<input type="radio" class="form-check-input" value="Yes" id="spirometer_improved_confidence_in_diagnosing_yes"
|
||
name="spirometer_improved_confidence_in_diagnosing">
|
||
<label class="form-check-label" for="spirometer_improved_confidence_in_diagnosing_yes">Yes</label>
|
||
</div>
|
||
<div class="form-check">
|
||
<input type="radio" class="form-check-input" value="No" id="spirometer_improved_confidence_in_diagnosing_no"
|
||
name="spirometer_improved_confidence_in_diagnosing">
|
||
<label class="form-check-label" for="spirometer_improved_confidence_in_diagnosing_no">No</label>
|
||
</div>
|
||
<div class="form-check">
|
||
<input type="radio" class="form-check-input" value="Somewhat" id="spirometer_improved_confidence_in_diagnosing_somewhat"
|
||
name="spirometer_improved_confidence_in_diagnosing">
|
||
<label class="form-check-label" for="spirometer_improved_confidence_in_diagnosing_somewhat">Somewhat</label>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<hr />
|
||
<div class="row mb-3">
|
||
<div class="col-12">
|
||
<p>Please share your experience of having a point of care spirometer.</p>
|
||
<p>Please select one of the 3 options (a) Agree, (b) Somewhat Agree or (c) Disagree to the statements below:</p>
|
||
</div>
|
||
@php
|
||
$questions = [
|
||
['question'=>'Easy and readily accessibility is an advantage', 'options' => ['Agree','Somewhat Agree','Disagree']],
|
||
['question'=>'Immediate diagnosis is an advantage', 'options' => ['Agree','Somewhat Agree','Disagree']],
|
||
['question'=>'Saves patients’ time, efforts and money as compared to test at a diagnostic lab or a specialist', 'options' => ['Agree','Somewhat Agree','Disagree']],
|
||
['question'=>'Better acceptance of diagnosis by the patients', 'options' => ['Agree','Somewhat Agree','Disagree']],
|
||
['question'=>'Better acceptance of inhalers and better adherence to therapy', 'options' => ['Agree','Somewhat Agree','Disagree']],
|
||
['question'=>'Better health outcome for the patient', 'options' => ['Agree','Somewhat Agree','Disagree']],
|
||
['question'=>'Reduces chance of losing the patients to a specialist', 'options' => ['Agree','Somewhat Agree','Disagree']],
|
||
['question'=>'Time consuming', 'options' => ['Agree','Somewhat Agree','Disagree']],
|
||
['question'=>'I am better off not using a Spirometer ', 'options' => ['Agree','Somewhat Agree','Disagree']],
|
||
['question'=>'Maintenance of equipment is a challenge', 'options' => ['Agree','Somewhat Agree','Disagree']],
|
||
['question'=>'Arranging supply of mouthpieces is a challenge', 'options' => ['Agree','Somewhat Agree','Disagree']],
|
||
['question'=>'The advantages of having a point of care Spirometer outweigh the challenges', 'options' => ['Agree','Somewhat Agree','Disagree']],
|
||
];
|
||
@endphp
|
||
@foreach($questions as $ques)
|
||
<div class="col-6 mt-2">
|
||
<label class="form-check-label"
|
||
for="{{strtolower(str_replace(" ","_", $ques['question']))}}">{{$ques['question']}}<span class="text-danger">*</span></label>
|
||
</div>
|
||
<div class="col-6 mt-2">
|
||
<div class="row">
|
||
@foreach($ques['options'] as $option)
|
||
|
||
<div class="form-check col-4">
|
||
<input type="radio" class="form-check-input" value="{{$option}}"
|
||
id="{{strtolower(str_replace(" ","_", $ques['question']))}}_{{strtolower(str_replace(" ","_", $option))}}"
|
||
name="{{substr(strtolower(str_replace(" ","_", preg_replace('/[^A-Za-z0-9 ]/', '', $ques['question']))),0,64)}}">
|
||
<label class="form-check-label" for="{{strtolower(str_replace(" ","_", $ques['question']))}}_{{strtolower(str_replace(" ","_", $option))}}">{{$option}}</label>
|
||
</div>
|
||
@endforeach
|
||
</div>
|
||
</div>
|
||
@endforeach
|
||
</div>
|
||
|
||
<div class="row mb-3">
|
||
<label for="any_other_thoughts" class="form-label">Any other thoughts or comments about point of care spirometry</label>
|
||
<textarea class="form-control" id="any_other_thoughts" name="any_other_thoughts" rows="5"></textarea>
|
||
</div>
|
||
|
||
|
||
<div class="text-center d-grid">
|
||
<button class="btn btn-success" type="submit" style="max-width:30%"> Submit
|
||
</button>
|
||
</div>
|
||
</form>
|
||
</div> <!-- end card-body -->
|
||
</div>
|
||
<!-- end card -->
|
||
</div> <!-- end col -->
|
||
</div>
|
||
<!-- end row -->
|
||
</div>
|
||
<!-- end container -->
|
||
</div>
|
||
<!-- end page -->
|
||
|
||
@include('layouts.shared/footer-script')
|
||
<script src="{{ asset('assets/libs/flatpickr/flatpickr.min.js') }}"></script>
|
||
<script type="text/javascript">
|
||
$('.datepicker').flatpickr();
|
||
$('#wrapper-other-specialization').hide()
|
||
$('#specialization').change(function() {
|
||
if ($(this).val() == 'Other') {
|
||
$('#wrapper-other-specialization').show()
|
||
$('#other-specialization').prop('required', true);
|
||
} else {
|
||
$('#wrapper-other-specialization').hide()
|
||
$('#other-specialization').removeAttr('required');
|
||
}
|
||
})
|
||
</script>
|
||
</body>
|
||
|
||
</html>
|