|
@@ -47,41 +47,7 @@
|
|
|
@endif
|
|
|
|
|
|
<!-- allergies - point -->
|
|
|
- <?php
|
|
|
- $allergies = \App\Models\Point::getPointsOfCategory($patient, "ALLERGY");
|
|
|
- ?>
|
|
|
- <div class="pt-2 mt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold text-secondary">Allergies</h6>
|
|
|
- @if($isOldClient)
|
|
|
- <div class="px-2 font-weight-bold alert alert-info text-sm my-0 ml-2 py-1">New</div>
|
|
|
- @endif
|
|
|
- @if($patient->coreNote)
|
|
|
- <a native target="_blank"
|
|
|
- class="c-pointer d-inline-flex align-items-center ml-3 text-decoration-none"
|
|
|
- open-in-stag-popup
|
|
|
- update-parent
|
|
|
- mc-initer="allergies-center-{{$patient->coreNote->id}}"
|
|
|
- title="Allergies Center"
|
|
|
- popup-style="wide overflow-visible"
|
|
|
- href="/allergies-center/{{$patient->uid}}/{{$patient->coreNote->uid}}">
|
|
|
- <i class="fa fa-bolt mr-1"></i>
|
|
|
- <span>Manage</span>
|
|
|
- </a>
|
|
|
- @endif
|
|
|
- </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>
|
|
|
+ @include('app.patient.point-based-partials.allergies')
|
|
|
|
|
|
{{-- canvas based rx --}}
|
|
|
@if($isOldClient)
|
|
@@ -97,45 +63,7 @@
|
|
|
@endif
|
|
|
|
|
|
<!-- meds - point -->
|
|
|
- <?php
|
|
|
- $medications = \App\Models\Point::getPointsOfCategory($patient, "MEDICATION");
|
|
|
- ?>
|
|
|
- <div class="pt-2 mt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold text-secondary">Current Medications</h6>
|
|
|
- @if($isOldClient)
|
|
|
- <div class="px-2 font-weight-bold alert alert-info text-sm my-0 ml-2 py-1">New</div>
|
|
|
- @endif
|
|
|
- @if($patient->coreNote)
|
|
|
- <a native target="_blank"
|
|
|
- class="c-pointer d-inline-flex align-items-center ml-3 text-decoration-none"
|
|
|
- open-in-stag-popup
|
|
|
- update-parent
|
|
|
- mc-initer="medications-center-{{$patient->coreNote->id}}"
|
|
|
- title="Medications Center"
|
|
|
- popup-style="wide overflow-visible"
|
|
|
- href="/medications-center/{{$patient->uid}}/{{$patient->coreNote->uid}}">
|
|
|
- <i class="fa fa-bolt mr-1"></i>
|
|
|
- <span>Manage</span>
|
|
|
- </a>
|
|
|
- @endif
|
|
|
- </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>
|
|
|
- </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">
|
|
|
- @include('app/patient/partials/rm-reasons')
|
|
|
- </div>
|
|
|
+ @include('app.patient.point-based-partials.rx')
|
|
|
|
|
|
{{-- devices --}}
|
|
|
<?php
|
|
@@ -298,59 +226,37 @@
|
|
|
</div>
|
|
|
<div class="col-6">
|
|
|
|
|
|
- {{-- medical-team --}}
|
|
|
- @include('app/patient/partials/medical-team')
|
|
|
-
|
|
|
{{-- canvas based dx --}}
|
|
|
@if($isOldClient)
|
|
|
- <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 class="px-2 font-weight-bold alert alert-warning text-sm my-0 ml-2 py-1">Deprecated</div>
|
|
|
- </div>
|
|
|
- <div class="bg-light border p-2 mb-3">
|
|
|
- @include('app.patient.canvas-sections.dx.summary')
|
|
|
+ <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 class="px-2 font-weight-bold alert alert-warning text-sm my-0 ml-2 py-1">Deprecated</div>
|
|
|
+ </div>
|
|
|
+ <div class="bg-light border p-2 mb-3">
|
|
|
+ @include('app.patient.canvas-sections.dx.summary')
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
@endif
|
|
|
|
|
|
<!-- probs - point -->
|
|
|
- <?php
|
|
|
- $problems = \App\Models\Point::getPointsOfCategory($patient, "PROBLEM");
|
|
|
- ?>
|
|
|
- <div class="pt-2 mt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold text-secondary">Current Problems / Focus Areas</h6>
|
|
|
- @if($isOldClient)
|
|
|
- <div class="px-2 font-weight-bold alert alert-info text-sm my-0 ml-2 py-1">New</div>
|
|
|
- @endif
|
|
|
- @if($patient->coreNote)
|
|
|
- <a native target="_blank"
|
|
|
- class="c-pointer d-inline-flex align-items-center ml-3 text-decoration-none"
|
|
|
- open-in-stag-popup
|
|
|
- update-parent
|
|
|
- mc-initer="problems-center-{{$patient->coreNote->id}}"
|
|
|
- title="Problems Center"
|
|
|
- popup-style="wide overflow-visible"
|
|
|
- href="/problems-center/{{$patient->uid}}/{{$patient->coreNote->uid}}">
|
|
|
- <i class="fa fa-bolt mr-1"></i>
|
|
|
- <span>Manage</span>
|
|
|
- </a>
|
|
|
- @endif
|
|
|
- </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
|
|
|
+ @include('app.patient.point-based-partials.dx')
|
|
|
+
|
|
|
+ {{-- canvas based careteam --}}
|
|
|
+ @if($isOldClient)
|
|
|
+ <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">Care Team</h6>
|
|
|
+ <div class="px-2 font-weight-bold alert alert-warning text-sm my-0 ml-2 py-1">Deprecated</div>
|
|
|
+ </div>
|
|
|
+ <div class="bg-light border p-2 mb-3">
|
|
|
+ @include('app.patient.canvas-sections.care-team.summary')
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ @endif
|
|
|
+
|
|
|
+ <!-- careteam - point -->
|
|
|
+ @include('app.patient.point-based-partials.care-team')
|
|
|
|
|
|
{{-- history_medical --}}
|
|
|
@if($isOldClient)
|
|
@@ -366,17 +272,7 @@
|
|
|
@endif
|
|
|
|
|
|
<!-- pmhx - point -->
|
|
|
- <div class="pt-2 mt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold text-secondary">Medical History</h6>
|
|
|
- @if($isOldClient)
|
|
|
- <div class="px-2 font-weight-bold alert alert-info text-sm my-0 ml-2 py-1">New</div>
|
|
|
- @endif
|
|
|
- </div>
|
|
|
- <div class="bg-light border p-2 mb-3">
|
|
|
- @include('app.patient.segment-templates.past_medical_history.summary', compact('patient'))
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ @include('app.patient.point-based-partials.pmhx')
|
|
|
|
|
|
{{-- history_surgical --}}
|
|
|
@if($isOldClient)
|
|
@@ -392,17 +288,7 @@
|
|
|
@endif
|
|
|
|
|
|
<!-- pshx - point -->
|
|
|
- <div class="pt-2 mt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold text-secondary">Surgical History</h6>
|
|
|
- @if($isOldClient)
|
|
|
- <div class="px-2 font-weight-bold alert alert-info text-sm my-0 ml-2 py-1">New</div>
|
|
|
- @endif
|
|
|
- </div>
|
|
|
- <div class="bg-light border p-2 mb-3">
|
|
|
- @include('app.patient.segment-templates.history_surgical.summary', compact('patient'))
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ @include('app.patient.point-based-partials.shx')
|
|
|
|
|
|
{{-- history_family --}}
|
|
|
@if($isOldClient)
|
|
@@ -418,17 +304,7 @@
|
|
|
@endif
|
|
|
|
|
|
<!-- fhx - point -->
|
|
|
- <div class="pt-2 mt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold text-secondary">Family History</h6>
|
|
|
- @if($isOldClient)
|
|
|
- <div class="px-2 font-weight-bold alert alert-info text-sm my-0 ml-2 py-1">New</div>
|
|
|
- @endif
|
|
|
- </div>
|
|
|
- <div class="bg-light border p-2 mb-3">
|
|
|
- @include('app.patient.segment-templates.history_family.summary', compact('patient'))
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ @include('app.patient.point-based-partials.fhx')
|
|
|
|
|
|
{{-- history_social --}}
|
|
|
@if($isOldClient)
|
|
@@ -444,429 +320,9 @@
|
|
|
@endif
|
|
|
|
|
|
<!-- sochx - point -->
|
|
|
- <div class="pt-2 mt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold text-secondary">Social History</h6>
|
|
|
- @if($isOldClient)
|
|
|
- <div class="px-2 font-weight-bold alert alert-info text-sm my-0 ml-2 py-1">New</div>
|
|
|
- @endif
|
|
|
- </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 --}}
|
|
|
- <div class="pl-2 mt-2 border-top pt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold">OB & Pregnancy</h6>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 font-weight-normal">Add</a>
|
|
|
- <form url="/api/clientInfoLine/create">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_ob_and_preg">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="" placeholder="OB & Pregnancy History"></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="">Multi</a>
|
|
|
- <form url="/api/clientInfoLine/createMultiple">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_ob_and_preg">
|
|
|
- <div class="mb-2"><textarea class="form-control form-control-sm" rows="8" name="contentTexts" value="" placeholder="Lines..."></textarea></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <table class="table table-sm border-0 m-0">
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $category => $lines)
|
|
|
- @if($category === "history_ob_and_preg")
|
|
|
- @foreach ($lines as $line)
|
|
|
- <tr>
|
|
|
- {{--<td class="px-2">{{$category}}</td>--}}
|
|
|
- <td class="pl-4 py-0 border-0">
|
|
|
- <div class="d-flex">
|
|
|
- <span moe relative class="mr-2">
|
|
|
- <a class="on-hover-opaque" start show title="Delete"><i class="font-size-11 fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove">
|
|
|
- <input type="hidden" name="uid" value="{{ $line->uid }}">
|
|
|
- <p class="small">Are you sure you want to delete this entry?</p>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-danger mr-2" submit>Delete</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </span>
|
|
|
- <div moe relative class="mr-2">
|
|
|
- <a class="on-hover-opaque" start show title="Edit">
|
|
|
- <i class="font-size-11 fa fa-edit"></i>
|
|
|
- </a>
|
|
|
- <form url="/api/clientInfoLine/updateContent">
|
|
|
- <input type="hidden" name="uid" value="{{ $line->uid }}">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_ob_and_preg">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="{{$line->contentText}}" placeholder="History"></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- <span class="">{{$line->contentText}}</span>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endforeach
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- {{-- history_hospitalizations_procedures --}}
|
|
|
- <div class="pl-2 mt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold">Hospitalizations / Procedures</h6>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 font-weight-normal">Add</a>
|
|
|
- <form url="/api/clientInfoLine/create">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_hospitalizations_procedures">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="" placeholder="Hospitalizations / Procedures History"></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="">Multi</a>
|
|
|
- <form url="/api/clientInfoLine/createMultiple">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_hospitalizations_procedures">
|
|
|
- <div class="mb-2"><textarea class="form-control form-control-sm" rows="8" name="contentTexts" value="" placeholder="Lines..."></textarea></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <table class="table table-sm border-0 m-0">
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $category => $lines)
|
|
|
- @if($category === "history_hospitalizations_procedures")
|
|
|
- @foreach ($lines as $line)
|
|
|
- <tr>
|
|
|
- {{--<td class="px-2">{{$category}}</td>--}}
|
|
|
- <td class="pl-4 py-0 border-0">
|
|
|
- <div class="d-flex">
|
|
|
- <span moe relative class="mr-2">
|
|
|
- <a class="on-hover-opaque" start show title="Delete"><i class="font-size-11 fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove">
|
|
|
- <input type="hidden" name="uid" value="{{ $line->uid }}">
|
|
|
- <p class="small">Are you sure you want to delete this entry?</p>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-danger mr-2" submit>Delete</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </span>
|
|
|
- <div moe relative class="mr-2">
|
|
|
- <a class="on-hover-opaque" start show title="Edit">
|
|
|
- <i class="font-size-11 fa fa-edit"></i>
|
|
|
- </a>
|
|
|
- <form url="/api/clientInfoLine/updateContent">
|
|
|
- <input type="hidden" name="uid" value="{{ $line->uid }}">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_hospitalizations_procedures">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="{{$line->contentText}}" placeholder="History"></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- <span class="">{{$line->contentText}}</span>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endforeach
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- {{-- history_screenings --}}
|
|
|
- <div class="pl-2 mt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold">Screenings</h6>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 font-weight-normal">Add</a>
|
|
|
- <form url="/api/clientInfoLine/create">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_screenings">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="" placeholder="Screenings History"></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="">Multi</a>
|
|
|
- <form url="/api/clientInfoLine/createMultiple">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_screenings">
|
|
|
- <div class="mb-2"><textarea class="form-control form-control-sm" rows="8" name="contentTexts" value="" placeholder="Lines..."></textarea></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <table class="table table-sm border-0 m-0">
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $category => $lines)
|
|
|
- @if($category === "history_screenings")
|
|
|
- @foreach ($lines as $line)
|
|
|
- <tr>
|
|
|
- {{--<td class="px-2">{{$category}}</td>--}}
|
|
|
- <td class="pl-4 py-0 border-0">
|
|
|
- <div class="d-flex">
|
|
|
- <span moe relative class="mr-2">
|
|
|
- <a class="on-hover-opaque" start show title="Delete"><i class="font-size-11 fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove">
|
|
|
- <input type="hidden" name="uid" value="{{ $line->uid }}">
|
|
|
- <p class="small">Are you sure you want to delete this entry?</p>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-danger mr-2" submit>Delete</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </span>
|
|
|
- <div moe relative class="mr-2">
|
|
|
- <a class="on-hover-opaque" start show title="Edit">
|
|
|
- <i class="font-size-11 fa fa-edit"></i>
|
|
|
- </a>
|
|
|
- <form url="/api/clientInfoLine/updateContent">
|
|
|
- <input type="hidden" name="uid" value="{{ $line->uid }}">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_screenings">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="{{$line->contentText}}" placeholder="History"></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- <span class="">{{$line->contentText}}</span>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endforeach
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- {{-- history_colonoscopy --}}
|
|
|
- <div class="pl-2 mt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold">Colonoscopy</h6>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 font-weight-normal">Add</a>
|
|
|
- <form url="/api/clientInfoLine/create">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_colonoscopy">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="" placeholder="Colonoscopy History"></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <table class="table table-sm border-0 m-0">
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $category => $lines)
|
|
|
- @if($category === "history_colonoscopy")
|
|
|
- @foreach ($lines as $line)
|
|
|
- <tr>
|
|
|
- {{--<td class="px-2">{{$category}}</td>--}}
|
|
|
- <td class="pl-4 py-0 border-0">
|
|
|
- <div class="d-flex">
|
|
|
- <span moe relative class="mr-2">
|
|
|
- <a class="on-hover-opaque" start show title="Delete"><i class="font-size-11 fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove">
|
|
|
- <input type="hidden" name="uid" value="{{ $line->uid }}">
|
|
|
- <p class="small">Are you sure you want to delete this entry?</p>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-danger mr-2" submit>Delete</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </span>
|
|
|
- <div moe relative class="mr-2">
|
|
|
- <a class="on-hover-opaque" start show title="Edit">
|
|
|
- <i class="font-size-11 fa fa-edit"></i>
|
|
|
- </a>
|
|
|
- <form url="/api/clientInfoLine/updateContent">
|
|
|
- <input type="hidden" name="uid" value="{{ $line->uid }}">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_colonoscopy">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="{{$line->contentText}}" placeholder="History"></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- <span class="">{{$line->contentText}}</span>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endforeach
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- {{-- history_mammogram --}}
|
|
|
- <div class="pl-2 mt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold">Mammogram</h6>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 font-weight-normal">Add</a>
|
|
|
- <form url="/api/clientInfoLine/create">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_mammogram">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="" placeholder="Mammogram History"></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <table class="table table-sm border-0 m-0">
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $category => $lines)
|
|
|
- @if($category === "history_mammogram")
|
|
|
- @foreach ($lines as $line)
|
|
|
- <tr>
|
|
|
- {{--<td class="px-2">{{$category}}</td>--}}
|
|
|
- <td class="pl-4 py-0 border-0">
|
|
|
- <div class="d-flex">
|
|
|
- <span moe relative class="mr-2">
|
|
|
- <a class="on-hover-opaque" start show title="Delete"><i class="font-size-11 fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove">
|
|
|
- <input type="hidden" name="uid" value="{{ $line->uid }}">
|
|
|
- <p class="small">Are you sure you want to delete this entry?</p>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-danger mr-2" submit>Delete</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </span>
|
|
|
- <div moe relative class="mr-2">
|
|
|
- <a class="on-hover-opaque" start show title="Edit">
|
|
|
- <i class="font-size-11 fa fa-edit"></i>
|
|
|
- </a>
|
|
|
- <form url="/api/clientInfoLine/updateContent">
|
|
|
- <input type="hidden" name="uid" value="{{ $line->uid }}">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_mammogram">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="{{$line->contentText}}" placeholder="History"></div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- <span class="">{{$line->contentText}}</span>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endforeach
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ @include('app.patient.point-based-partials.sochx')
|
|
|
|
|
|
- {{-- ROS --}}
|
|
|
- <div class="pt-2 mt-2 border-top">
|
|
|
- <div class="note-section">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold text-secondary">ROS</h6>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- @include('app.patient.canvas-sections.canvas-editor-modal', ['key' => 'ros'])
|
|
|
- @include('app.patient.note.section_script')
|
|
|
- </div>
|
|
|
- <div class="bg-light border p-2 mb-3">
|
|
|
- @include('app.patient.canvas-sections.ros.summary')
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
|
|
|
- {{-- canvas based careteam --}}
|
|
|
- @if($isOldClient)
|
|
|
- <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">Care Team</h6>
|
|
|
- <div class="px-2 font-weight-bold alert alert-warning text-sm my-0 ml-2 py-1">Deprecated</div>
|
|
|
- </div>
|
|
|
- <div class="bg-light border p-2 mb-3">
|
|
|
- @include('app.patient.canvas-sections.care-team.summary')
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- @endif
|
|
|
-
|
|
|
- <!-- careteam - point -->
|
|
|
- <?php
|
|
|
- $careTeamMembers = \App\Models\Point::getPointsOfCategory($patient, "CARE_TEAM_MEMBER");
|
|
|
- ?>
|
|
|
- <div class="pt-2 mt-2">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h6 class="my-0 font-weight-bold text-secondary">Care Team</h6>
|
|
|
- @if($isOldClient)
|
|
|
- <div class="px-2 font-weight-bold alert alert-info text-sm my-0 ml-2 py-1">New</div>
|
|
|
- @endif
|
|
|
- </div>
|
|
|
- <div class="bg-light border p-2 mb-3">
|
|
|
- @foreach($careTeamMembers as $careTeamMember)
|
|
|
- <div class="mb-1">
|
|
|
- <b><?= !!@($careTeamMember->data->name) ? @($careTeamMember->data->name) : '-' ?></b>
|
|
|
- <?= !!@($careTeamMember->data->spacialty) ? '/ ' . @($careTeamMember->data->spacialty) . '<br>' : '' ?>
|
|
|
- <?= !!@($careTeamMember->data->organization) ? '/ ' . @($careTeamMember->data->organization) . '<br>' : '' ?>
|
|
|
- </div>
|
|
|
- @endforeach
|
|
|
- @if(!count($careTeamMembers))
|
|
|
- <div class="text-secondary">Nothing here yet</div>
|
|
|
- @endif
|
|
|
- </div>
|
|
|
- </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php /* <div class="row my-3">
|
|
@@ -1221,6 +677,7 @@
|
|
|
|
|
|
}
|
|
|
addMCInitializer('patient-dashboard-devices', init, '#patient-dashboard-devices');
|
|
|
+
|
|
|
}).call(window);
|
|
|
</script>
|
|
|
@endsection
|