|
@@ -183,11 +183,11 @@
|
|
|
]
|
|
|
?>
|
|
|
@foreach($commonICDs as $commonICD)
|
|
|
- <div class="d-inline position-relative on-click-menu ml-2">
|
|
|
+ <div class="d-inline position-relative on-hover-show ml-2">
|
|
|
<span class="text-primary c-pointer text-sm">
|
|
|
- {{$commonICD['code']}} <i class="fa fa-caret-down"></i>
|
|
|
+ {{$commonICD['code']}}
|
|
|
</span>
|
|
|
- <div menu right class="bg-white border">
|
|
|
+ <div menu right class="bg-white border on-hover-content">
|
|
|
@for($i = 1; $i <= 4; $i++)
|
|
|
<a native target="_blank" href="#"
|
|
|
data-code="{{$commonICD['code']}}"
|
|
@@ -200,11 +200,25 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
@endforeach
|
|
|
- <div class="d-inline position-relative on-click-menu ml-auto">
|
|
|
+ <a native target="_blank" href="#"
|
|
|
+ data-code="Z71.9"
|
|
|
+ data-description="Counseling, unspecified"
|
|
|
+ data-target="0"
|
|
|
+ class="text-primary c-pointer text-sm ml-2 common-icd-item">
|
|
|
+ Z@1
|
|
|
+ </a>
|
|
|
+ <a native target="_blank" href="#"
|
|
|
+ data-code="I10"
|
|
|
+ data-description="Essential (primary) hypertension"
|
|
|
+ data-target="1"
|
|
|
+ class="text-primary c-pointer text-sm ml-2 common-icd-item">
|
|
|
+ I@2
|
|
|
+ </a>
|
|
|
+ <div class="d-inline position-relative on-hover-show ml-auto">
|
|
|
<span class="text-primary c-pointer text-sm">
|
|
|
Clear <i class="fa fa-caret-down"></i>
|
|
|
</span>
|
|
|
- <div menu class="bg-white border">
|
|
|
+ <div menu class="bg-white border on-hover-content">
|
|
|
@for($i = 1; $i <= 4; $i++)
|
|
|
<a native target="_blank" href="#"
|
|
|
data-code=""
|
|
@@ -389,7 +403,7 @@
|
|
|
tr = table.find('tbody>tr:eq(' + $(this).attr('data-target') + ')');
|
|
|
tr.find('>td:eq(0) input').first().val($(this).attr('data-code'));
|
|
|
tr.find('>td:eq(1) input').first().val($(this).attr('data-description'));
|
|
|
- $(this).closest('.on-click-menu').find('[menu]').hide();
|
|
|
+ $(this).closest('.on-hover-content').find('[menu]').hide();
|
|
|
return false;
|
|
|
});
|
|
|
|
|
@@ -398,7 +412,7 @@
|
|
|
.on('click.common-icd-item-clear-all', function () {
|
|
|
let table = $(this).closest('.nrc-icds').find('table').first();
|
|
|
table.find('td input').val('');
|
|
|
- $(this).closest('.on-click-menu').find('[menu]').hide();
|
|
|
+ $(this).closest('.on-hover-content').find('[menu]').hide();
|
|
|
return false;
|
|
|
});
|
|
|
}
|