mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 11:11:31 +00:00
resolved conflicts
This commit is contained in:
+70
@@ -0,0 +1,70 @@
|
||||
@extends('layouts.main')
|
||||
|
||||
@push('styles')
|
||||
<link href="{{ asset('elite/bower_components/select2/select2.min.css') }}" rel="stylesheet" />
|
||||
@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">{{ __('insurance_disease_groups.create_disease_groups') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}">{{ __('insurance_groups.dashboard') }}</a></li>
|
||||
<li><a href="/insurance_groups/">{{ __('insurance_disease_groups.insurance_disease_groups') }}</a></li>
|
||||
<li class="active">{{ __('insurance_disease_groups.create') }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('insurance::insurance_disease_groups.menu')
|
||||
|
||||
<div class="white-box">
|
||||
|
||||
@include('flash::message')
|
||||
|
||||
{{ Form::open(['route' => 'insurance_disease_groups.store','data-toggle'=>'validator']) }}
|
||||
|
||||
<div class="form-group">
|
||||
{{ Form::label('name', 'Name') }}
|
||||
{{ Form::text('name', '', ['class' => 'form-control compulsory', 'required']) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{{ Form::label('diagnoses', 'Diagnoses') }}
|
||||
{{ Form::select('diagnoses[]', $diagnoses, '', ['class' => 'form-control compulsory', 'multiple', 'required', 'id' => 'diagnoses']) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{{ Form::label('investigations', 'Investigations') }}
|
||||
{{ Form::select('investigations[]', $investigations, '', ['class' => 'form-control', 'multiple', 'id' => 'investigations']) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{{ Form::label('drugs', 'Drugs') }}
|
||||
{{ Form::select('drugs[]', $drugs, '', ['class' => 'form-control', 'multiple', 'id' => 'drugs']) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{{ Form::label('procedures', 'Procedures') }}
|
||||
{{ Form::select('procedures[]', $procedures, '', ['class' => 'form-control', 'multiple', 'id' => 'procedures']) }}
|
||||
</div>
|
||||
|
||||
{{ Form::button(__('insurance_groups.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
|
||||
{{ Form::button(__('insurance_groups.cancel'),['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }}
|
||||
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script src="{{ asset('elite/bower_components/select2/select2.min.js') }}"></script>
|
||||
|
||||
<script>
|
||||
$('#diagnoses, #investigations, #drugs, #procedures').select2({
|
||||
placeholder: "Select"
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
@extends('layouts.main')
|
||||
|
||||
@push('styles')
|
||||
@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">{{ __('insurance_disease_groups.insurance_disease_group_details') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}">{{ __('insurance_groups.dashboard') }}</a></li>
|
||||
<li><a href="/insurance_groups/">{{ __('insurance_disease_groups.insurance_disease_groups') }}</a></li>
|
||||
<li class="active">{{ __('insurance_disease_groups.details') }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('insurance::insurance_disease_groups.menu')
|
||||
|
||||
<div class="white-box">
|
||||
@include('flash::message')
|
||||
|
||||
<h3>{{ $group->name }} - {{ __('insurance_disease_groups.details') }}</h3>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h4>{{ __('insurance_disease_groups.diagnoses') }}</h4>
|
||||
|
||||
@php $group_diagnoses = explode(",", $group->diagnoses); @endphp
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
@foreach($group_diagnoses as $item)
|
||||
<tr><td>{{ $diagnoses[$item] }}</td></tr>
|
||||
@endforeach
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h4>{{ __('insurance_disease_groups.drugs') }}</h4>
|
||||
|
||||
@php $group_treatments = explode(",", $group->treatments); @endphp
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
@foreach($group_treatments as $item)
|
||||
<tr><td>{{ $drugs[$item] }}</td></tr>
|
||||
@endforeach
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h4>{{ __('insurance_disease_groups.investigations') }}</h4>
|
||||
|
||||
@php $group_investigations = explode(",", $group->investigations); @endphp
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
@foreach($group_investigations as $item)
|
||||
<tr><td>{{ $investigations[$item] }}</td></tr>
|
||||
@endforeach
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h4>{{ __('insurance_disease_groups.procedures') }}</h4>
|
||||
|
||||
@php $group_procedures = explode(",", $group->procedures); @endphp
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
@foreach($group_procedures as $item)
|
||||
<tr><td>{{ $procedures[$item] }}</td></tr>
|
||||
@endforeach
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(Auth::user()->can('insurance-disease-groups-edit'))
|
||||
<a href="/insurance_disease_groups/edit/{{ $group->id }}" class="btn btn-warning"><i class="fa fa-pencil"></i> {{ __('insurance_disease_groups.edit') }}</a>
|
||||
@endif
|
||||
|
||||
@if(Auth::user()->can('insurance-disease-groups-delete'))
|
||||
<a href="/insurance_disease_groups/delete/{{ $group->id }}" class="btn btn-danger" onclick="return confirm('Are you sure?')"><i class="fa fa-trash"></i> {{ __('insurance_disease_groups.delete') }}</a>
|
||||
@endif
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script></script>
|
||||
@endpush
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
@extends('layouts.main')
|
||||
|
||||
@push('styles')
|
||||
<link href="{{ asset('elite/bower_components/select2/select2.min.css') }}" rel="stylesheet" />
|
||||
@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">{{ __('insurance_disease_groups.create_disease_groups') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}">{{ __('insurance_groups.dashboard') }}</a></li>
|
||||
<li><a href="/insurance_groups/">{{ __('insurance_disease_groups.insurance_disease_groups') }}</a></li>
|
||||
<li class="active">{{ __('insurance_disease_groups.create') }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('insurance::insurance_disease_groups.menu')
|
||||
|
||||
<div class="white-box">
|
||||
|
||||
@include('flash::message')
|
||||
|
||||
{{ Form::open(['route' => 'insurance_disease_groups.update','data-toggle'=>'validator']) }}
|
||||
|
||||
{{ Form::hidden('id', $group->id) }}
|
||||
|
||||
<div class="form-group">
|
||||
{{ Form::label('name', 'Name') }}
|
||||
{{ Form::text('name', $group->name, ['class' => 'form-control compulsory', 'required']) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{{ Form::label('diagnoses', 'Diagnoses') }}
|
||||
{{ Form::select('diagnoses[]', $diagnoses, explode(",", $group->diagnoses), ['class' => 'form-control compulsory', 'multiple', 'required', 'id' => 'diagnoses']) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{{ Form::label('investigations', 'Investigations') }}
|
||||
{{ Form::select('investigations[]', $investigations, explode(",", $group->investigations), ['class' => 'form-control', 'multiple', 'id' => 'investigations']) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{{ Form::label('drugs', 'Drugs') }}
|
||||
{{ Form::select('drugs[]', $drugs, explode(",", $group->treatments), ['class' => 'form-control', 'multiple', 'id' => 'drugs']) }}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{{ Form::label('procedures', 'Procedures') }}
|
||||
{{ Form::select('procedures[]', $procedures, explode(",", $group->procedures), ['class' => 'form-control', 'multiple', 'id' => 'procedures']) }}
|
||||
</div>
|
||||
|
||||
{{ Form::button(__('insurance_groups.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
|
||||
{{ Form::button(__('insurance_groups.cancel'),['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }}
|
||||
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script src="{{ asset('elite/bower_components/select2/select2.min.js') }}"></script>
|
||||
|
||||
<script>
|
||||
$('#diagnoses, #investigations, #drugs, #procedures').select2({
|
||||
placeholder: "Select"
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
@extends('layouts.main')
|
||||
|
||||
@push('styles')
|
||||
@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">{{ __('insurance_disease_groups.inactive_disease_groups') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}">{{ __('insurance_groups.dashboard') }}</a></li>
|
||||
<li><a href="/insurance_groups/">{{ __('insurance_disease_groups.insurance_disease_groups') }}</a></li>
|
||||
<li class="active">{{ __('insurance_disease_groups.view') }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('insurance::insurance_disease_groups.menu')
|
||||
|
||||
<div class="white-box">
|
||||
@include('flash::message')
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="table" class="table table-striped color-bordered-table success-bordered-table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ __('insurance_disease_groups.name') }}</th>
|
||||
<th>{{ __('insurance_disease_groups.created') }}</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($groups as $group)
|
||||
<tr>
|
||||
<td>{{ $group->name }}</td>
|
||||
<td>{{ __('insurance_disease_groups.by') }} {{ get_full_name($group->created_by, 'id', 'first_name', 'last_name', 'users') }} {{ __('insurance_disease_groups.at') }} {{ streamline_date_time($group->created_at) }}</td>
|
||||
<td>
|
||||
<a href="/insurance_disease_groups/restore/{{ $group->id }}" class="btn btn-rounded btn-sm btn-success" onclick="return confirm('Are you sure?')"><i class="fa fa-recycle"></i> {{ __('insurance_disease_groups.restore') }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script></script>
|
||||
@endpush
|
||||
+70
@@ -0,0 +1,70 @@
|
||||
@extends('layouts.main')
|
||||
|
||||
@push('styles')
|
||||
@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">{{ __('insurance_disease_groups.view_disease_groups') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}">{{ __('insurance_groups.dashboard') }}</a></li>
|
||||
<li><a href="/insurance_groups/">{{ __('insurance_disease_groups.insurance_disease_groups') }}</a></li>
|
||||
<li class="active">{{ __('insurance_disease_groups.view') }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('insurance::insurance_disease_groups.menu')
|
||||
|
||||
<div class="white-box">
|
||||
@include('flash::message')
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="table" class="table table-striped color-bordered-table success-bordered-table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center">{{ __('insurance_disease_groups.name') }}</th>
|
||||
<th class="text-center">{{ __('insurance_disease_groups.diagnoses') }}</th>
|
||||
<th class="text-center">{{ __('insurance_disease_groups.investigations') }}</th>
|
||||
<th class="text-center">{{ __('insurance_disease_groups.drugs') }}</th>
|
||||
<th class="text-center">{{ __('insurance_disease_groups.procedures') }}</th>
|
||||
<th>{{ __('insurance_disease_groups.created') }}</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($groups as $group)
|
||||
<tr>
|
||||
<td>{{ $group->name }}</td>
|
||||
<td class="text-center">{{ count(explode(",", $group->diagnoses)) }}</td>
|
||||
<td class="text-center">{{ count(explode(",", $group->investigations)) }}</td>
|
||||
<td class="text-center">{{ count(explode(",", $group->treatments)) }}</td>
|
||||
<td class="text-center">{{ count(explode(",", $group->procedures)) }}</td>
|
||||
<td>{{ __('insurance_disease_groups.by') }} {{ get_full_name($group->created_by, 'id', 'first_name', 'last_name', 'users') }} {{ __('insurance_disease_groups.at') }} {{ streamline_date_time($group->created_at) }}</td>
|
||||
<td>
|
||||
@if(Auth::user()->can('insurance-disease-groups-view'))<a href="/insurance_disease_groups/details/{{ $group->id }}" class="btn btn-rounded btn-sm btn-success"><i class="fa fa-info"></i> {{ __('insurance_disease_groups.details') }}</a>@endif
|
||||
</td>
|
||||
<td>
|
||||
@if(Auth::user()->can('insurance-disease-groups-edit'))<a href="/insurance_disease_groups/edit/{{ $group->id }}" class="btn btn-rounded btn-sm btn-warning"><i class="fa fa-pencil"></i> {{ __('insurance_disease_groups.edit') }}</a>@endif
|
||||
</td>
|
||||
<td>
|
||||
@if(Auth::user()->can('insurance-disease-groups-delete'))<a href="/insurance_disease_groups/delete/{{ $group->id }}" class="btn btn-rounded btn-sm btn-danger" onclick="return confirm('Are you sure?')"><i class="fa fa-trash"></i> {{ __('insurance_disease_groups.delete') }}</a>@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script></script>
|
||||
@endpush
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<div class="white-box">
|
||||
@if(Auth::user()->can('insurance-disease-groups-create'))<a href="/insurance_disease_groups/create" class="nav-item btn btn-success" style="border-radius: 5px;"><i class="fa fa-plus"></i> <span style="margin-left: 10px">{{ __('insurance_disease_groups.create_disease_groups') }}</span></a>@endif
|
||||
@if(Auth::user()->can('insurance-disease-groups-view'))<a href="/insurance_disease_groups/index" class="nav-item btn btn-info" style="border-radius: 5px;"><i class="fa fa-eye"></i> <span style="margin-left: 10px">{{ __('insurance_disease_groups.view_disease_groups') }}</span></a>@endif
|
||||
@if(Auth::user()->can('insurance-disease-groups-delete'))<a href="/insurance_disease_groups/inactive" class="nav-item btn btn-danger" style="border-radius: 5px;"><i class="fa fa-trash"></i> <span style="margin-left: 10px">{{ __('insurance_disease_groups.inactive_disease_groups') }}</span></a>@endif
|
||||
</div>
|
||||
Reference in New Issue
Block a user