Quellcode durchsuchen

Remove "relevance" from all centers

Vijayakrishnan vor 3 Jahren
Ursprung
Commit
19f4cd0610

+ 0 - 6
resources/views/app/patient/allergies-center.blade.php

@@ -44,9 +44,6 @@ function isFavoriteAllergy($_allergy, $_favorites) {
         <table class="table table-sm table-bordered mb-0 bg-white mb-2 point-table read">
             <thead>
             <tr class="">
-                @if($patient->core_note_id !== $note->id)
-                <th class="border-bottom-0 text-secondary text-center width-30px">Rel.</th>
-                @endif
                 <th class="border-bottom-0 text-secondary">Name</th>
                 <th class="border-bottom-0 text-secondary width-50px">Edit</th>
                 <th class="border-bottom-0 text-secondary w-30">Subjective</th>
@@ -68,9 +65,6 @@ function isFavoriteAllergy($_allergy, $_favorites) {
                 data-name-base64="{{!!@($allergy->data->name) ? base64_encode($allergy->data->name) : ''}}"
                 data-is-removed="{{$allergy->is_removed ? 1 : 0}}"
                 data-is-removed-due-to-entry-error="{{$allergy->is_removed_due_to_entry_error ? 1 : 0}}">
-                @if($patient->core_note_id !== $note->id)
-                    @include('app.patient.wizard-partials.relevance-column', ['point' => $allergy])
-                @endif
                 <td>
                     <div class="d-flex align-items-baseline">
                         @include('app.patient.wizard-partials.state-icon', ['point' => $allergy])

+ 0 - 6
resources/views/app/patient/careteam-center.blade.php

@@ -17,9 +17,6 @@ list($careTeamMembers, $counts) = Point::getPointsOfCategoryExtended($patient, '
         <table class="table table-sm table-bordered mb-0 bg-white mb-2 point-table read">
             <thead>
             <tr class="">
-                @if($patient->core_note_id !== $note->id)
-                <th class="border-bottom-0 text-secondary text-center width-30px">Rel.</th>
-                @endif
                 <th class="border-bottom-0 text-secondary">Name/Details</th>
                 <th class="border-bottom-0 text-secondary width-50px">Edit</th>
                 <th class="border-bottom-0 text-secondary w-30">Subjective</th>
@@ -41,9 +38,6 @@ list($careTeamMembers, $counts) = Point::getPointsOfCategoryExtended($patient, '
                 data-name-base64="{{!!@($careTeamMember->data->name) ? base64_encode($careTeamMember->data->name) : ''}}"
                 data-is-removed="{{$careTeamMember->is_removed ? 1 : 0}}"
                 data-is-removed-due-to-entry-error="{{$careTeamMember->is_removed_due_to_entry_error ? 1 : 0}}">
-                @if($patient->core_note_id !== $note->id)
-                    @include('app.patient.wizard-partials.relevance-column', ['point' => $careTeamMember])
-                @endif
                 <td>
                     <div class="d-flex align-items-baseline">
                         @include('app.patient.wizard-partials.state-icon', ['point' => $careTeamMember])

+ 0 - 6
resources/views/app/patient/goals-center.blade.php

@@ -17,9 +17,6 @@ list($goals, $counts) = Point::getPointsOfCategoryExtended($patient, 'GOAL', $no
         <table class="table table-sm table-bordered mb-0 bg-white mb-2 point-table read">
             <thead>
             <tr class="">
-                @if($patient->core_note_id !== $note->id)
-                <th class="border-bottom-0 text-secondary text-center width-30px">Rel.</th>
-                @endif
                 <th class="border-bottom-0 text-secondary">Goal</th>
                 <th class="border-bottom-0 text-secondary width-50px">Edit</th>
                 <th class="border-bottom-0 text-secondary w-30">Subjective</th>
@@ -40,9 +37,6 @@ list($goals, $counts) = Point::getPointsOfCategoryExtended($patient, 'GOAL', $no
                 data-name-base64="{{!!@($goal->data->goal) ? base64_encode($goal->data->goal) : ''}}"
                 data-is-removed="{{$goal->is_removed ? 1 : 0}}"
                 data-is-removed-due-to-entry-error="{{$goal->is_removed_due_to_entry_error ? 1 : 0}}">
-                @if($patient->core_note_id !== $note->id)
-                    @include('app.patient.wizard-partials.relevance-column', ['point' => $goal])
-                @endif
                 <td>
                     <div class="d-flex align-items-baseline">
                         @include('app.patient.wizard-partials.state-icon', ['point' => $goal])

+ 0 - 6
resources/views/app/patient/medications-center.blade.php

@@ -38,9 +38,6 @@ function isFavoriteMedication($_medication, $_favorites) {
         <table class="table table-sm table-bordered mb-0 bg-white mb-2 point-table read">
             <thead>
             <tr class="">
-                @if($patient->core_note_id !== $note->id)
-                <th class="border-bottom-0 text-secondary text-center width-30px">Rel.</th>
-                @endif
                 <th class="border-bottom-0 text-secondary">Name</th>
                 <th class="border-bottom-0 text-secondary width-50px">Edit</th>
                 <th class="border-bottom-0 text-secondary w-30">Subjective</th>
@@ -62,9 +59,6 @@ function isFavoriteMedication($_medication, $_favorites) {
                     data-name-base64="{{!!@($medication->data->name) ? base64_encode($medication->data->name) : ''}}"
                     data-is-removed="{{$medication->is_removed ? 1 : 0}}"
                     data-is-removed-due-to-entry-error="{{$medication->is_removed_due_to_entry_error ? 1 : 0}}">
-                    @if($patient->core_note_id !== $note->id)
-                        @include('app.patient.wizard-partials.relevance-column', ['point' => $medication])
-                    @endif
                     <td>
                         <div class="d-flex align-items-baseline">
                             @include('app.patient.wizard-partials.state-icon', ['point' => $medication])

+ 0 - 6
resources/views/app/patient/problems-center.blade.php

@@ -58,9 +58,6 @@ function isFavoriteProblem($_problem, $_favorites) {
         <table class="table table-sm table-bordered mb-0 bg-white mb-2 point-table read">
             <thead>
             <tr class="">
-                @if($patient->core_note_id !== $note->id)
-                <th class="border-bottom-0 text-secondary text-center width-30px">Rel.</th>
-                @endif
                 <th class="border-bottom-0 text-secondary">Name</th>
                 <th class="border-bottom-0 text-secondary width-50px">Edit</th>
                 <th class="border-bottom-0 text-secondary w-30">Subjective/HPI</th>
@@ -82,9 +79,6 @@ function isFavoriteProblem($_problem, $_favorites) {
                 data-name-base64="{{!!@($problem->data->name) ? base64_encode($problem->data->name) : ''}}"
                 data-is-removed="{{$problem->is_removed ? 1 : 0}}"
                 data-is-removed-due-to-entry-error="{{$problem->is_removed_due_to_entry_error ? 1 : 0}}">
-                @if($patient->core_note_id !== $note->id)
-                    @include('app.patient.wizard-partials.relevance-column', ['point' => $problem])
-                @endif
                 <td>
                     <div class="d-flex align-items-baseline">
                         @include('app.patient.wizard-partials.state-icon', ['point' => $problem])

+ 2 - 3
resources/views/app/patient/wizard-partials/state-row.blade.php

@@ -1,6 +1,6 @@
 <tr>
-    <td colspan="10" class="p-0 pb-0 bg-light">
-        <div class="px-2 pt-2 pb-1 d-lg-flex align-items-center on-hover-opaque">
+    <td colspan="10" class="bg-light">
+        <div class="d-lg-flex align-items-center on-hover-opaque">
             @if($point->state === 'ACTIVE')
                 <i class="text-success fa fa-circle text-sm on-hover-opaque mr-2 active-record"></i>
             @elseif($point->state === 'HISTORIC')
@@ -10,6 +10,5 @@
             @endif
             <span class="text-secondary text-sm font-weight-bold">{{sanitize_state_name($point->state)}} ({{$counts[$point->state]}})</span>
         </div>
-        <hr class="m-0">
     </td>
 </tr>