|
@@ -33,7 +33,7 @@
|
|
|
@include('app/patient/partials/appointments')
|
|
|
|
|
|
{{-- canvas based allergies --}}
|
|
|
- <div class="pt-2 mt-2 border-top">
|
|
|
+ {{-- <div class="pt-2 mt-2 border-top">
|
|
|
<div class="d-flex align-items-center pb-2">
|
|
|
<h6 class="my-0 font-weight-bold text-secondary">Allergies</h6>
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
@@ -42,10 +42,31 @@
|
|
|
<div class="bg-light border p-2 mb-3">
|
|
|
@include('app.patient.canvas-sections.allergies.summary')
|
|
|
</div>
|
|
|
+ </div> --}}
|
|
|
+
|
|
|
+ <!-- allergies - point -->
|
|
|
+ <?php
|
|
|
+ $allergies = \App\Models\Point::getPointsOfCategory($patient, "ALLERGY");
|
|
|
+ ?>
|
|
|
+ <div class="pt-2 mt-2 border-top">
|
|
|
+ <div class="d-flex align-items-center pb-2">
|
|
|
+ <h6 class="my-0 font-weight-bold text-secondary">Allergies</h6>
|
|
|
+ </div>
|
|
|
+ <div class="bg-light border p-2 mb-3">
|
|
|
+ @foreach($allergies as $allergy)
|
|
|
+ <div class="mb-1">
|
|
|
+ <b><?= !!@($allergy->data->name) ? @($allergy->data->name) : '-' ?></b>
|
|
|
+ <?= !!@($allergy->data->description) ? '/ ' . @($allergy->data->description) : '' ?>
|
|
|
+ </div>
|
|
|
+ @endforeach
|
|
|
+ @if(!count($allergies))
|
|
|
+ <div class="text-secondary">Nothing here yet</div>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
{{-- canvas based rx --}}
|
|
|
- <div class="pt-2 mt-2 border-top">
|
|
|
+ {{-- <div class="pt-2 mt-2 border-top">
|
|
|
<div class="d-flex align-items-center pb-2">
|
|
|
<h6 class="my-0 font-weight-bold text-secondary">Current Medications</h6>
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
@@ -61,7 +82,28 @@
|
|
|
@include('app.patient.canvas-sections.rx.summary')
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="stag-popup stag-popup-lg ticket-popup mcp-theme-1" stag-popup-key="ticket-popup"></div>
|
|
|
+ <div class="stag-popup stag-popup-lg ticket-popup mcp-theme-1" stag-popup-key="ticket-popup"></div> --}}
|
|
|
+
|
|
|
+ <!-- meds - point -->
|
|
|
+ <?php
|
|
|
+ $medications = \App\Models\Point::getPointsOfCategory($patient, "MEDICATION");
|
|
|
+ ?>
|
|
|
+ <div class="pt-2 mt-2 border-top">
|
|
|
+ <div class="d-flex align-items-center pb-2">
|
|
|
+ <h6 class="my-0 font-weight-bold text-secondary">Current Medications</h6>
|
|
|
+ </div>
|
|
|
+ <div class="bg-light border p-2 mb-3">
|
|
|
+ @foreach($medications as $medication)
|
|
|
+ <div class="mb-1">
|
|
|
+ <b><?= !!@($medication->data->name) ? @($medication->data->name) : '-' ?></b>
|
|
|
+ <?= !!@($medication->data->frequency) ? '/ ' . @($medication->data->frequency) : '' ?>
|
|
|
+ </div>
|
|
|
+ @endforeach
|
|
|
+ @if(!count($medications))
|
|
|
+ <div class="text-secondary">Nothing here yet</div>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
|
|
|
{{-- rm reasons --}}
|
|
|
<div class="pt-2 mt-2 border-top">
|
|
@@ -208,7 +250,7 @@
|
|
|
@include('app/patient/partials/medical-team')
|
|
|
|
|
|
{{-- canvas based dx --}}
|
|
|
- <div class="pt-2 mt-2 border-top">
|
|
|
+ {{-- <div class="pt-2 mt-2 border-top">
|
|
|
<div class="d-flex align-items-center pb-2">
|
|
|
<h6 class="my-0 font-weight-bold text-secondary">Current Problems / Focus Areas</h6>
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
@@ -217,8 +259,31 @@
|
|
|
<div class="bg-light border p-2 mb-3">
|
|
|
@include('app.patient.canvas-sections.dx.summary')
|
|
|
</div>
|
|
|
+ </div> --}}
|
|
|
+
|
|
|
+ <!-- probs - point -->
|
|
|
+ <?php
|
|
|
+ $problems = \App\Models\Point::getPointsOfCategory($patient, "PROBLEM");
|
|
|
+ ?>
|
|
|
+ <div class="pt-2 mt-2 border-top">
|
|
|
+ <div class="d-flex align-items-center pb-2">
|
|
|
+ <h6 class="my-0 font-weight-bold text-secondary">Current Problems / Focus Areas</h6>
|
|
|
+ </div>
|
|
|
+ <div class="bg-light border p-2 mb-3">
|
|
|
+ @foreach($problems as $problem)
|
|
|
+ <div class="mb-1">
|
|
|
+ <b><?= !!@($problem->data->name) ? @($problem->data->name) : '-' ?></b>
|
|
|
+ <?= !!@($problem->data->icd) ? '/ ' . @($problem->data->icd) : '' ?>
|
|
|
+ <?= !!@($problem->data->description) ? '/ ' . @($problem->data->description) : '' ?>
|
|
|
+ </div>
|
|
|
+ @endforeach
|
|
|
+ @if(!count($problems))
|
|
|
+ <div class="text-secondary">Nothing here yet</div>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
+
|
|
|
{{--<div class="mt-2">
|
|
|
<div class="d-flex align-items-center mb-2 py-2 border-top border-bottom">
|
|
|
<h6 class="my-0 font-weight-bold text-secondary">History</h6>
|
|
@@ -231,7 +296,7 @@
|
|
|
</div>--}}
|
|
|
|
|
|
{{-- history_medical --}}
|
|
|
- <div class="pt-2 mt-2 border-top">
|
|
|
+ {{-- <div class="pt-2 mt-2 border-top">
|
|
|
<div class="d-flex align-items-center pb-2">
|
|
|
<h6 class="my-0 font-weight-bold text-secondary">Medical History</h6>
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
@@ -240,10 +305,20 @@
|
|
|
<div class="bg-light border p-2 mb-3">
|
|
|
@include('app.patient.canvas-sections.pmhx.summary')
|
|
|
</div>
|
|
|
+ </div> --}}
|
|
|
+
|
|
|
+ <!-- pmhx - point -->
|
|
|
+ <div class="pt-2 mt-2 border-top">
|
|
|
+ <div class="d-flex align-items-center pb-2">
|
|
|
+ <h6 class="my-0 font-weight-bold text-secondary">Medical History</h6>
|
|
|
+ </div>
|
|
|
+ <div class="bg-light border p-2 mb-3">
|
|
|
+ @include('app.patient.segment-templates.past_medical_history.summary', compact('patient'))
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
{{-- history_surgical --}}
|
|
|
- <div class="mt-2">
|
|
|
+ {{-- <div class="mt-2">
|
|
|
<div class="d-flex align-items-center pb-2">
|
|
|
<h6 class="my-0 font-weight-bold text-secondary">Surgical History</h6>
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
@@ -252,10 +327,20 @@
|
|
|
<div class="bg-light border p-2 mb-3">
|
|
|
@include('app.patient.canvas-sections.pshx.summary')
|
|
|
</div>
|
|
|
+ </div> --}}
|
|
|
+
|
|
|
+ <!-- pshx - point -->
|
|
|
+ <div class="pt-2 mt-2 border-top">
|
|
|
+ <div class="d-flex align-items-center pb-2">
|
|
|
+ <h6 class="my-0 font-weight-bold text-secondary">Surgical History</h6>
|
|
|
+ </div>
|
|
|
+ <div class="bg-light border p-2 mb-3">
|
|
|
+ @include('app.patient.segment-templates.history_surgical.summary', compact('patient'))
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
{{-- history_family --}}
|
|
|
- <div class="mt-2">
|
|
|
+ {{-- <div class="mt-2">
|
|
|
<div class="d-flex align-items-center pb-2">
|
|
|
<h6 class="my-0 font-weight-bold text-secondary">Family History</h6>
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
@@ -264,10 +349,20 @@
|
|
|
<div class="bg-light border p-2 mb-3">
|
|
|
@include('app.patient.canvas-sections.fhx.summary')
|
|
|
</div>
|
|
|
+ </div> --}}
|
|
|
+
|
|
|
+ <!-- fhx - point -->
|
|
|
+ <div class="pt-2 mt-2 border-top">
|
|
|
+ <div class="d-flex align-items-center pb-2">
|
|
|
+ <h6 class="my-0 font-weight-bold text-secondary">Family History</h6>
|
|
|
+ </div>
|
|
|
+ <div class="bg-light border p-2 mb-3">
|
|
|
+ @include('app.patient.segment-templates.history_family.summary', compact('patient'))
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
{{-- history_social --}}
|
|
|
- <div class="mt-2">
|
|
|
+ {{-- <div class="mt-2">
|
|
|
<div class="d-flex align-items-center pb-2">
|
|
|
<h6 class="my-0 font-weight-bold text-secondary">Social History</h6>
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
@@ -276,6 +371,16 @@
|
|
|
<div class="bg-light border p-2 mb-3">
|
|
|
@include('app.patient.canvas-sections.sochx.summary')
|
|
|
</div>
|
|
|
+ </div> --}}
|
|
|
+
|
|
|
+ <!-- sochx - point -->
|
|
|
+ <div class="pt-2 mt-2 border-top">
|
|
|
+ <div class="d-flex align-items-center pb-2">
|
|
|
+ <h6 class="my-0 font-weight-bold text-secondary">Social History</h6>
|
|
|
+ </div>
|
|
|
+ <div class="bg-light border p-2 mb-3">
|
|
|
+ @include('app.patient.segment-templates.history_social.summary', compact('patient'))
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
{{-- history_ob_and_preg --}}
|