|
@@ -302,93 +302,101 @@ if(!@$summaryView) {
|
|
|
@if(!@$summaryView)
|
|
|
<div class="d-flex align-items-center">
|
|
|
<div class="mt-1 w-100 border p-3 bg-aliceblue border-info rounded">
|
|
|
- <form action="/api/visitPoint/addTopLevel" class="mcp-theme-1 w-100" id="frm-add-problem" novalidate>
|
|
|
- <input type="hidden" name="noteUid" value="<?= $note->uid ?>">
|
|
|
- <input type="hidden" name="category" value="PROBLEM">
|
|
|
- <input type="hidden" name="data">
|
|
|
-
|
|
|
- <input type="hidden" data-name="dxid">
|
|
|
- <input type="hidden" data-name="icd-type">
|
|
|
-
|
|
|
- <input type="hidden" name="isRemovedDueToEntryError" value="0">
|
|
|
-
|
|
|
- <div class="row">
|
|
|
- <div class="col-8">
|
|
|
- <div class="d-flex align-items-baseline mb-2">
|
|
|
- <b>Add Problem</b>
|
|
|
- @if(count($favorites))
|
|
|
- <div class="d-inline position-relative on-click-menu ml-4">
|
|
|
- <span class="text-primary c-pointer">
|
|
|
- <i class="fa fa-bookmark text-info mr-1"></i> Common Problems <i class="ml-1 fa fa-caret-down"></i>
|
|
|
- </span>
|
|
|
- <div menu right class="bg-white border">
|
|
|
- @foreach($favorites as $favorite)
|
|
|
- <a native target="_blank" href="#"
|
|
|
- data-name="{{@($favorite->data->name)}}"
|
|
|
- data-dxid="{{@($favorite->data->dxid)}}"
|
|
|
- data-icd="{{@($favorite->data->icd)}}"
|
|
|
- data-icd-type="{{@($favorite->data->{'icd-type'})}}"
|
|
|
- class="px-2 py-1 d-block text-nowrap text-sm favorite-item">
|
|
|
- {{$favorite->data->name}}
|
|
|
- </a>
|
|
|
- @endforeach
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-8">
|
|
|
+ <div class="d-flex align-items-baseline mb-3" tab-links="">
|
|
|
+ <a class="tab-link-active" href="#" tab-link="add-multiple-pre-existing">Add Multiple Pre-existing</a>
|
|
|
+ <a class="" href="#" tab-link="add-single">Add Single</a>
|
|
|
+ </div>
|
|
|
+ <div class="cm-tab" tab-key="add-multiple-pre-existing">
|
|
|
+ @include('app.patient.wizard-partials.add-multiple-pre-existing', ['label' => 'problem', 'adder' => 'Diagnosed By'])
|
|
|
+ </div>
|
|
|
+ <div class="cm-tab d-none" tab-key="add-single">
|
|
|
+ <form action="/api/visitPoint/addTopLevel" class="mcp-theme-1 w-100" id="frm-add-problem" novalidate>
|
|
|
+ <input type="hidden" name="noteUid" value="<?= $note->uid ?>">
|
|
|
+ <input type="hidden" name="category" value="PROBLEM">
|
|
|
+ <input type="hidden" name="data">
|
|
|
+
|
|
|
+ <input type="hidden" data-name="dxid">
|
|
|
+ <input type="hidden" data-name="icd-type">
|
|
|
+
|
|
|
+ <input type="hidden" name="isRemovedDueToEntryError" value="0">
|
|
|
+
|
|
|
+ <div class="d-flex align-items-baseline mb-2">
|
|
|
+ <b>Add Problem</b>
|
|
|
+ @if(count($favorites))
|
|
|
+ <div class="d-inline position-relative on-click-menu ml-4">
|
|
|
+ <span class="text-primary c-pointer">
|
|
|
+ <i class="fa fa-bookmark text-info mr-1"></i> Common Problems <i class="ml-1 fa fa-caret-down"></i>
|
|
|
+ </span>
|
|
|
+ <div menu right class="bg-white border">
|
|
|
+ @foreach($favorites as $favorite)
|
|
|
+ <a native target="_blank" href="#"
|
|
|
+ data-name="{{@($favorite->data->name)}}"
|
|
|
+ data-dxid="{{@($favorite->data->dxid)}}"
|
|
|
+ data-icd="{{@($favorite->data->icd)}}"
|
|
|
+ data-icd-type="{{@($favorite->data->{'icd-type'})}}"
|
|
|
+ class="px-2 py-1 d-block text-nowrap text-sm favorite-item">
|
|
|
+ {{$favorite->data->name}}
|
|
|
+ </a>
|
|
|
+ @endforeach
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- @endif
|
|
|
- </div>
|
|
|
- <div class="row mb-2">
|
|
|
- <div class="col-8 pr-0">
|
|
|
- <label class="text-sm mb-0 font-weight-bold">Name</label>
|
|
|
- <input type="text"
|
|
|
- data-name="name"
|
|
|
- class="form-control form-control-sm"
|
|
|
- stag-suggest
|
|
|
- stag-suggest-bottom-left
|
|
|
- stag-suggest-ep="/fdb-dx-suggest-v2/json"
|
|
|
- stag-suggest-text-only
|
|
|
- value="{{trim(request()->input('dx')) ? trim(request()->input('dx')) : ''}}"
|
|
|
- required>
|
|
|
+ @endif
|
|
|
</div>
|
|
|
- <div class="col-4">
|
|
|
- <label class="text-sm mb-0 font-weight-bold">ICD</label>
|
|
|
- <input type="text"
|
|
|
- data-name="icd"
|
|
|
- class="form-control form-control-sm min-width-unset">
|
|
|
+ <div class="row mb-2">
|
|
|
+ <div class="col-8 pr-0">
|
|
|
+ <label class="text-sm mb-0 font-weight-bold">Name</label>
|
|
|
+ <input type="text"
|
|
|
+ data-name="name"
|
|
|
+ class="form-control form-control-sm"
|
|
|
+ stag-suggest
|
|
|
+ stag-suggest-bottom-left
|
|
|
+ stag-suggest-ep="/fdb-dx-suggest-v2/json"
|
|
|
+ stag-suggest-text-only
|
|
|
+ value="{{trim(request()->input('dx')) ? trim(request()->input('dx')) : ''}}"
|
|
|
+ required>
|
|
|
+ </div>
|
|
|
+ <div class="col-4">
|
|
|
+ <label class="text-sm mb-0 font-weight-bold">ICD</label>
|
|
|
+ <input type="text"
|
|
|
+ data-name="icd"
|
|
|
+ class="form-control form-control-sm min-width-unset">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
- <?php $point = null; ?>
|
|
|
- @include('app.patient.wizard-partials.common-fields', ['label' => 'problem', 'addVerbPT' => 'Diagnosed', 'reviewLabel' => 'Subjective/HPI', 'apTerm' => 'assessment/plan'])
|
|
|
+ <?php $point = null; ?>
|
|
|
+ @include('app.patient.wizard-partials.common-fields', ['label' => 'problem', 'addVerbPT' => 'Diagnosed', 'reviewLabel' => 'Subjective/HPI', 'apTerm' => 'assessment/plan'])
|
|
|
|
|
|
- </div>
|
|
|
- <div class="col-4 border-left">
|
|
|
-
|
|
|
- <?php
|
|
|
- $medications = \App\Models\Point::getPointsOfCategory($patient, "MEDICATION");
|
|
|
- ?>
|
|
|
- @if(count($medications))
|
|
|
- <h6 class="my-0 font-weight-bold text-secondary mb-2">Active Medications</h6>
|
|
|
- <div class="bg-light border px-2 pt-2 pb-1 mb-0">
|
|
|
- @foreach($medications as $medication)
|
|
|
- <div class="mb-1">
|
|
|
- <b><?= !!@($medication->data->name) ? @($medication->data->name) : '-' ?></b>
|
|
|
- </div>
|
|
|
- @endforeach
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
+ <button type="submit" class="btn btn-sm btn-primary mr-2">Save Problem</button>
|
|
|
+ <button type="button" class="btn btn-sm btn-default border-secondary bg-white border mr-2" onclick="return closeStagPopup()">Close</button>
|
|
|
</div>
|
|
|
- <hr class="my-3 m-neg-3">
|
|
|
- @endif
|
|
|
-
|
|
|
- <div class="fdb-dx-vigilance max-height-400px overflow-auto">
|
|
|
-
|
|
|
- </div>
|
|
|
+ </form>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="col-4 border-left">
|
|
|
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button type="submit" class="btn btn-sm btn-primary mr-2">Save Problem</button>
|
|
|
- <button type="button" class="btn btn-sm btn-default border-secondary bg-white border mr-2" onclick="return closeStagPopup()">Close</button>
|
|
|
+ <?php
|
|
|
+ $medications = \App\Models\Point::getPointsOfCategory($patient, "MEDICATION");
|
|
|
+ ?>
|
|
|
+ @if(count($medications))
|
|
|
+ <h6 class="my-0 font-weight-bold text-secondary mb-2">Active Medications</h6>
|
|
|
+ <div class="bg-light border px-2 pt-2 pb-1 mb-0">
|
|
|
+ @foreach($medications as $medication)
|
|
|
+ <div class="mb-1">
|
|
|
+ <b><?= !!@($medication->data->name) ? @($medication->data->name) : '-' ?></b>
|
|
|
+ </div>
|
|
|
+ @endforeach
|
|
|
+ </div>
|
|
|
+ <hr class="my-3 m-neg-3">
|
|
|
+ @endif
|
|
|
+
|
|
|
+ <div class="fdb-dx-vigilance max-height-400px overflow-auto">
|
|
|
+
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </form>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@endif
|