|
@@ -52,10 +52,12 @@ $hasMRVData = false;
|
|
|
|
|
|
?>
|
|
|
|
|
|
+<div class="px-3 pt-3 popup-content-container">
|
|
|
+
|
|
|
@if(!!$dptInfo)
|
|
|
<?php $hasMRVData = true; ?>
|
|
|
<div class="mrv-badge ml-1 align-self-center on-trigger-only" title="Duplicate Therapy Notes"><span>DT</span></div>
|
|
|
- <div class="p-3 mb-3 mt-2 border bg-white mr-0 on-content-only">
|
|
|
+ <div class="p-3 mb-3 border bg-white mr-0 on-content-only">
|
|
|
<p class="font-weight-bold m-0 font-size-14 text-info">Duplicate Therapy Notes</p>
|
|
|
<div class="mt-3 ml-3">
|
|
|
{!! $dptInfo !!}
|
|
@@ -66,7 +68,7 @@ $hasMRVData = false;
|
|
|
@if(!!$coadministration)
|
|
|
<?php $hasMRVData = true; ?>
|
|
|
<div class="mrv-badge ml-1 align-self-center on-trigger-only" title="Coadministration Notes"><span>CA</span></div>
|
|
|
- <div class="p-3 mb-3 mt-2 border bg-white mr-0 on-content-only">
|
|
|
+ <div class="p-3 mb-3 border bg-white mr-0 on-content-only">
|
|
|
<p class="font-weight-bold m-0 font-size-14 text-info">Coadministration Notes</p>
|
|
|
<div class="mt-3 ml-3">
|
|
|
{!! $coadministration !!}
|
|
@@ -77,7 +79,7 @@ $hasMRVData = false;
|
|
|
@if(!!$dam)
|
|
|
<?php $hasMRVData = true; ?>
|
|
|
<div class="mrv-badge ml-1 align-self-center on-trigger-only" title="Drug Allergy Notes"><span>DA</span></div>
|
|
|
- <div class="p-3 mb-3 mt-2 border bg-white mr-0 on-content-only">
|
|
|
+ <div class="p-3 mb-3 border bg-white mr-0 on-content-only">
|
|
|
<p class="font-weight-bold m-0 font-size-14 text-info">Drug Allergy Notes</p>
|
|
|
<div class="mt-3 ml-3">
|
|
|
{!! $dam !!}
|
|
@@ -88,7 +90,7 @@ $hasMRVData = false;
|
|
|
@if(!!$ddi)
|
|
|
<?php $hasMRVData = true; ?>
|
|
|
<div class="mrv-badge ml-1 align-self-center on-trigger-only" title="Drug-Drug Interaction Notes"><span>DI</span></div>
|
|
|
- <div class="p-3 mb-3 mt-2 border bg-white mr-0 on-content-only">
|
|
|
+ <div class="p-3 mb-3 border bg-white mr-0 on-content-only">
|
|
|
<p class="font-weight-bold m-0 font-size-14 text-info">Drug-Drug Interaction Notes</p>
|
|
|
<div class="mt-3 ml-3">
|
|
|
{!! $ddi !!}
|
|
@@ -99,7 +101,7 @@ $hasMRVData = false;
|
|
|
@if(count($sideeffects))
|
|
|
<?php $hasMRVData = true; ?>
|
|
|
<div class="mrv-badge ml-1 align-self-center on-trigger-only" title="Side Effects"><span>SE</span></div>
|
|
|
- <div class="p-3 mb-3 mt-2 border bg-white mr-0 on-content-only">
|
|
|
+ <div class="p-3 mb-3 border bg-white mr-0 on-content-only">
|
|
|
<p class="font-weight-bold m-0 font-size-14 text-info">Side Effects</p>
|
|
|
@foreach($sideeffects as $drug => $sideeffect)
|
|
|
<div class="mt-3 ml-3">
|
|
@@ -117,7 +119,7 @@ $hasMRVData = false;
|
|
|
@if(count($contraindications))
|
|
|
<?php $hasMRVData = true; ?>
|
|
|
<div class="mrv-badge ml-1 align-self-center on-trigger-only" title="Contraindications"><span>CI</span></div>
|
|
|
- <div class="p-3 mb-3 mt-2 border bg-white mr-0 on-content-only">
|
|
|
+ <div class="p-3 mb-3 border bg-white mr-0 on-content-only">
|
|
|
<p class="font-weight-bold m-0 font-size-14 text-info">Contraindications</p>
|
|
|
@foreach($contraindications as $drug => $contraindication)
|
|
|
<div class="mt-3 ml-3">
|
|
@@ -132,15 +134,4 @@ $hasMRVData = false;
|
|
|
</div>
|
|
|
@endif
|
|
|
|
|
|
-<script>
|
|
|
- (function() {
|
|
|
- window.segmentInitializers.<?= $segment->segmentTemplate->internal_name ?> = function() {
|
|
|
- // this is incorrect - gets saved in summary html and always fires!
|
|
|
- // toast should be shown "only" on actual refresh of MRV
|
|
|
- {{--@if(!!$hasMRVData)
|
|
|
- toastr.info('Medrisk Vigilance Updated', null, { timeOut: 10000 });
|
|
|
- @endif--}}
|
|
|
- };
|
|
|
- }).call(window);
|
|
|
-</script>
|
|
|
-
|
|
|
+</div>
|