|
@@ -141,6 +141,7 @@
|
|
|
<div v-if="currentPrescription" class="border-top border-right border-bottom align-self-stretch p-3 flex-grow-1 min-width-50">
|
|
|
<div class="d-flex align-items-center">
|
|
|
<h3 class="font-size-16 m-0 d-flex align-items-baseline">
|
|
|
+ <i v-if="currentPrescription.has_hcp_pro_signed" title="Signed" class="fa fa-check text-success mr-2"></i>
|
|
|
<b class="mr-1 font-size-16">@{{ currentPrescription.erx_category }} ERx <span class="ml-2">@{{ currentPrescription.created_at_friendly }}</span></b>
|
|
|
@if(@$note)
|
|
|
<div v-if="currentPrescription.note_id === {{$note->id}}" class="text-info mt-1 font-weight-bold text-nowrap ml-2">* From this note</div>
|
|
@@ -364,7 +365,7 @@
|
|
|
<div>@{{currentPrescription.hcpProDisplayName}}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="pb-2 d-flex align-items-center">
|
|
|
+ <!--<div class="pb-2 d-flex align-items-center">
|
|
|
<span class="min-width-140px text-secondary text-sm">Sign</span>
|
|
|
<div v-if="currentPrescription.has_hcp_pro_signed" class="d-inline-flex align-items-baseline">
|
|
|
<i class="text-secondary fa fa-check mr-1"></i>
|
|
@@ -376,7 +377,7 @@
|
|
|
v-on:click.prevent="signAsHcpPro(currentPrescription)">Sign</a>
|
|
|
<span v-else>-</span>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>-->
|
|
|
<div class="pb-2 d-flex align-items-center">
|
|
|
<span class="min-width-140px text-secondary text-sm">Prescription Status</span>
|
|
|
<div class="d-inline-flex align-items-baseline">
|
|
@@ -410,11 +411,18 @@
|
|
|
v-on:click.prevent="transmit(currentPrescription)">Transmit</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="!currentPrescription.has_hcp_pro_signed">
|
|
|
- <hr class="my-2">
|
|
|
+ <hr class="my-2">
|
|
|
+ <div v-if="!currentPrescription.has_hcp_pro_signed" class="d-flex align-items-baseline">
|
|
|
+ <a v-if="currentPrescription.hcp_pro_id === {{$pro->id}}" href="#" class="font-weight-bold mr-3"
|
|
|
+ v-on:click.prevent="signAsHcpPro(currentPrescription)">Sign</a>
|
|
|
<div v-if="currentPrescription.pro_declared_status === 'CANCELLED'" class="text-secondary font-weight-bold">CANCELLED</div>
|
|
|
<a v-else href="#" class="text-danger d-block" v-on:click.prevent="cancelItem()">Remove eRx</a>
|
|
|
</div>
|
|
|
+ <div v-else>
|
|
|
+ <i class="fa fa-check text-success mr-2"></i>
|
|
|
+ <span class="font-weight-bold text-success">Signed</span>
|
|
|
+ </div>
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
@include('app.patient.prescriptions.drug-form')
|