|
@@ -1,489 +1,8 @@
|
|
|
@extends ('layouts.patient')
|
|
|
-
|
|
|
+<?php $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_create($patient->created_at))->invert === 1); ?>
|
|
|
@section('inner-content')
|
|
|
- <div class="">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h4 class="m-0 font-weight-bold">Medical History</h4>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0">Add</a>
|
|
|
- <form url="/api/clientInfoLine/create">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_medical">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="" placeholder="Medical 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-striped table-sm table-bordered">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-secondary w-25">History</th>
|
|
|
- <th class="px-2 text-secondary w-25">Created By</th>
|
|
|
- <th class="px-2 text-secondary">Created At</th>
|
|
|
- <th class="px-2 text-secondary delete-column"> </th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $line)
|
|
|
- @if($line->category === "history_medical")
|
|
|
- <tr>
|
|
|
- <td class="px-2">{{$line->content_text}}</td>
|
|
|
- <td class="px-2">{{$line->createdBySession && $line->createdBySession->pro ? $line->createdBySession->pro->displayName() : '-'}}</td>
|
|
|
- <td class="px-2">{{ friendly_date_time($line->created_at) }}</td>
|
|
|
- <td class="px-2 text-center delete-column">
|
|
|
- <div moe relative>
|
|
|
- <a start show class="on-hover-opaque"><i class="fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove" right>
|
|
|
- <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>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- {{-- history_surgical --}}
|
|
|
- <div class="mt-4">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h4 class="m-0 font-weight-bold">Surgical History</h4>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 mb-3">Add</a>
|
|
|
- <form url="/api/clientInfoLine/create">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_surgical">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="" placeholder="Surgical 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-striped table-sm table-bordered">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-secondary w-25">History</th>
|
|
|
- <th class="px-2 text-secondary w-25">Created By</th>
|
|
|
- <th class="px-2 text-secondary">Created At</th>
|
|
|
- <th class="px-2 text-secondary delete-column"> </th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $line)
|
|
|
- @if($line->category === "history_surgical")
|
|
|
- <tr>
|
|
|
- <td class="px-2">{{$line->content_text}}</td>
|
|
|
- <td class="px-2">{{$line->createdBySession && $line->createdBySession->pro ? $line->createdBySession->pro->displayName() : '-'}}</td>
|
|
|
- <td class="px-2">{{ friendly_date_time($line->created_at) }}</td>
|
|
|
- <td class="px-2 text-center delete-column">
|
|
|
- <div moe relative>
|
|
|
- <a start show class="on-hover-opaque"><i class="fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove" right>
|
|
|
- <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>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- {{-- history_family --}}
|
|
|
- <div class="mt-4">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h4 class="m-0 font-weight-bold">Family History</h4>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 mb-3">Add</a>
|
|
|
- <form url="/api/clientInfoLine/create">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_family">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="" placeholder="Family 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-striped table-sm table-bordered">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-secondary w-25">History</th>
|
|
|
- <th class="px-2 text-secondary w-25">Created By</th>
|
|
|
- <th class="px-2 text-secondary">Created At</th>
|
|
|
- <th class="px-2 text-secondary delete-column"> </th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $line)
|
|
|
- @if($line->category === "history_family")
|
|
|
- <tr>
|
|
|
- <td class="px-2">{{$line->content_text}}</td>
|
|
|
- <td class="px-2">{{$line->createdBySession && $line->createdBySession->pro ? $line->createdBySession->pro->displayName() : '-'}}</td>
|
|
|
- <td class="px-2">{{ friendly_date_time($line->created_at) }}</td>
|
|
|
- <td class="px-2 text-center delete-column">
|
|
|
- <div moe relative>
|
|
|
- <a start show class="on-hover-opaque"><i class="fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove" right>
|
|
|
- <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>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- {{-- history_social --}}
|
|
|
- <div class="mt-4">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h4 class="m-0 font-weight-bold">Social History</h4>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 mb-3">Add</a>
|
|
|
- <form url="/api/clientInfoLine/create">
|
|
|
- <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
|
- <input type="hidden" name="category" value="history_social">
|
|
|
- <div class="mb-2"><input type="text" class="form-control form-control-sm" name="contentText" value="" placeholder="Social 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-striped table-sm table-bordered">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-secondary w-25">History</th>
|
|
|
- <th class="px-2 text-secondary w-25">Created By</th>
|
|
|
- <th class="px-2 text-secondary">Created At</th>
|
|
|
- <th class="px-2 text-secondary delete-column"> </th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $line)
|
|
|
- @if($line->category === "history_social")
|
|
|
- <tr>
|
|
|
- <td class="px-2">{{$line->content_text}}</td>
|
|
|
- <td class="px-2">{{$line->createdBySession && $line->createdBySession->pro ? $line->createdBySession->pro->displayName() : '-'}}</td>
|
|
|
- <td class="px-2">{{ friendly_date_time($line->created_at) }}</td>
|
|
|
- <td class="px-2 text-center delete-column">
|
|
|
- <div moe relative>
|
|
|
- <a start show class="on-hover-opaque"><i class="fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove" right>
|
|
|
- <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>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- {{-- history_ob_and_preg --}}
|
|
|
- <div class="mt-4">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h4 class="m-0 font-weight-bold">OB & Pregnancy History</h4>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 mb-3">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>
|
|
|
- </div>
|
|
|
- <table class="table table-striped table-sm table-bordered">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-secondary w-25">History</th>
|
|
|
- <th class="px-2 text-secondary w-25">Created By</th>
|
|
|
- <th class="px-2 text-secondary">Created At</th>
|
|
|
- <th class="px-2 text-secondary delete-column"> </th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $line)
|
|
|
- @if($line->category === "history_ob_and_preg")
|
|
|
- <tr>
|
|
|
- <td class="px-2">{{$line->content_text}}</td>
|
|
|
- <td class="px-2">{{$line->createdBySession && $line->createdBySession->pro ? $line->createdBySession->pro->displayName() : '-'}}</td>
|
|
|
- <td class="px-2">{{ friendly_date_time($line->created_at) }}</td>
|
|
|
- <td class="px-2 text-center delete-column">
|
|
|
- <div moe relative>
|
|
|
- <a start show class="on-hover-opaque"><i class="fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove" right>
|
|
|
- <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>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- {{-- history_hospitalizations_procedures --}}
|
|
|
- <div class="mt-4">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h4 class="m-0 font-weight-bold">Hospitalizations / Procedures History</h4>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 mb-3">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>
|
|
|
- </div>
|
|
|
- <table class="table table-striped table-sm table-bordered">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-secondary w-25">History</th>
|
|
|
- <th class="px-2 text-secondary w-25">Created By</th>
|
|
|
- <th class="px-2 text-secondary">Created At</th>
|
|
|
- <th class="px-2 text-secondary delete-column"> </th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $line)
|
|
|
- @if($line->category === "history_hospitalizations_procedures")
|
|
|
- <tr>
|
|
|
- <td class="px-2">{{$line->content_text}}</td>
|
|
|
- <td class="px-2">{{$line->createdBySession && $line->createdBySession->pro ? $line->createdBySession->pro->displayName() : '-'}}</td>
|
|
|
- <td class="px-2">{{ friendly_date_time($line->created_at) }}</td>
|
|
|
- <td class="px-2 text-center delete-column">
|
|
|
- <div moe relative>
|
|
|
- <a start show class="on-hover-opaque"><i class="fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove" right>
|
|
|
- <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>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- {{-- history_screenings --}}
|
|
|
- <div class="mt-4">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h4 class="m-0 font-weight-bold">Screenings History</h4>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 mb-3">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>
|
|
|
- </div>
|
|
|
- <table class="table table-striped table-sm table-bordered">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-secondary w-25">History</th>
|
|
|
- <th class="px-2 text-secondary w-25">Created By</th>
|
|
|
- <th class="px-2 text-secondary">Created At</th>
|
|
|
- <th class="px-2 text-secondary delete-column"> </th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $line)
|
|
|
- @if($line->category === "history_screenings")
|
|
|
- <tr>
|
|
|
- <td class="px-2">{{$line->content_text}}</td>
|
|
|
- <td class="px-2">{{$line->createdBySession && $line->createdBySession->pro ? $line->createdBySession->pro->displayName() : '-'}}</td>
|
|
|
- <td class="px-2">{{ friendly_date_time($line->created_at) }}</td>
|
|
|
- <td class="px-2 text-center delete-column">
|
|
|
- <div moe relative>
|
|
|
- <a start show class="on-hover-opaque"><i class="fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove" right>
|
|
|
- <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>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- {{-- history_colonoscopy --}}
|
|
|
- <div class="mt-4">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h4 class="m-0 font-weight-bold">Colonoscopy History</h4>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 mb-3">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-striped table-sm table-bordered">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-secondary w-25">History</th>
|
|
|
- <th class="px-2 text-secondary w-25">Created By</th>
|
|
|
- <th class="px-2 text-secondary">Created At</th>
|
|
|
- <th class="px-2 text-secondary delete-column"> </th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $line)
|
|
|
- @if($line->category === "history_colonoscopy")
|
|
|
- <tr>
|
|
|
- <td class="px-2">{{$line->content_text}}</td>
|
|
|
- <td class="px-2">{{$line->createdBySession && $line->createdBySession->pro ? $line->createdBySession->pro->displayName() : '-'}}</td>
|
|
|
- <td class="px-2">{{ friendly_date_time($line->created_at) }}</td>
|
|
|
- <td class="px-2 text-center delete-column">
|
|
|
- <div moe relative>
|
|
|
- <a start show class="on-hover-opaque"><i class="fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove" right>
|
|
|
- <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>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
- {{-- history_mammogram --}}
|
|
|
- <div class="mt-4">
|
|
|
- <div class="d-flex align-items-center pb-2">
|
|
|
- <h4 class="m-0 font-weight-bold">Mammogram History</h4>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <div moe>
|
|
|
- <a start show class="py-0 mb-3">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-striped table-sm table-bordered">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-secondary w-25">History</th>
|
|
|
- <th class="px-2 text-secondary w-25">Created By</th>
|
|
|
- <th class="px-2 text-secondary">Created At</th>
|
|
|
- <th class="px-2 text-secondary delete-column"> </th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- @foreach($infoLines as $line)
|
|
|
- @if($line->category === "history_mammogram")
|
|
|
- <tr>
|
|
|
- <td class="px-2">{{$line->content_text}}</td>
|
|
|
- <td class="px-2">{{$line->createdBySession && $line->createdBySession->pro ? $line->createdBySession->pro->displayName() : '-'}}</td>
|
|
|
- <td class="px-2">{{ friendly_date_time($line->created_at) }}</td>
|
|
|
- <td class="px-2 text-center delete-column">
|
|
|
- <div moe relative>
|
|
|
- <a start show class="on-hover-opaque"><i class="fa fa-trash-alt text-danger"></i></a>
|
|
|
- <form url="/api/clientInfoLine/remove" right>
|
|
|
- <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>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endif
|
|
|
- @endforeach
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
-
|
|
|
+ @include('app.patient.point-based-partials.pmhx')
|
|
|
+ @include('app.patient.point-based-partials.shx')
|
|
|
+ @include('app.patient.point-based-partials.fhx')
|
|
|
+ @include('app.patient.point-based-partials.sochx')
|
|
|
@endsection
|