|
@@ -174,6 +174,9 @@
|
|
<div class="d-flex align-items-baseline">
|
|
<div class="d-flex align-items-baseline">
|
|
<b class="mr-2">@{{drug.medication ?? '-'}}</b>
|
|
<b class="mr-2">@{{drug.medication ?? '-'}}</b>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div v-if="drug.instructions" class="d-flex align-items-baseline text-secondary font-italic">
|
|
|
|
+ @{{ drug.instructions }}
|
|
|
|
+ </div>
|
|
<div class="d-flex align-items-baseline">
|
|
<div class="d-flex align-items-baseline">
|
|
<span class="text-secondary">Dispense:</span>
|
|
<span class="text-secondary">Dispense:</span>
|
|
<span class="ml-1">@{{ drug.dispense ? drug.dispense : '-' }}</span>
|
|
<span class="ml-1">@{{ drug.dispense ? drug.dispense : '-' }}</span>
|
|
@@ -202,12 +205,14 @@
|
|
<table class="m-0 table table-sm border bg-white table-hover table-bordered">
|
|
<table class="m-0 table table-sm border bg-white table-hover table-bordered">
|
|
<tr>
|
|
<tr>
|
|
<th>Medication</th>
|
|
<th>Medication</th>
|
|
|
|
+ <th>Instructions</th>
|
|
<th>Dispense</th>
|
|
<th>Dispense</th>
|
|
<th>Refills</th>
|
|
<th>Refills</th>
|
|
<th> </th>
|
|
<th> </th>
|
|
</tr>
|
|
</tr>
|
|
<tr v-for="drug in existingDrugs" v-if="notAlreadyAdded(drug.data.name)">
|
|
<tr v-for="drug in existingDrugs" v-if="notAlreadyAdded(drug.data.name)">
|
|
<td class="">@{{ drug.data.name }}</td>
|
|
<td class="">@{{ drug.data.name }}</td>
|
|
|
|
+ <td class="width-150px bg-white py-0 pr-0"><input type="text" class="form-control form-control-sm min-width-unset rounded-0 border-0 shadow-none" v-model="drug.data.instructions"></td>
|
|
<td class="width-70px bg-white py-0 pr-0"><input type="text" class="form-control form-control-sm min-width-unset rounded-0 border-0 shadow-none" v-model="drug.data.dispense"></td>
|
|
<td class="width-70px bg-white py-0 pr-0"><input type="text" class="form-control form-control-sm min-width-unset rounded-0 border-0 shadow-none" v-model="drug.data.dispense"></td>
|
|
<td class="width-70px bg-white py-0 pl-0"><input type="text" class="form-control form-control-sm min-width-unset rounded-0 border-0 shadow-none" v-model="drug.data.refills"></td>
|
|
<td class="width-70px bg-white py-0 pl-0"><input type="text" class="form-control form-control-sm min-width-unset rounded-0 border-0 shadow-none" v-model="drug.data.refills"></td>
|
|
<td class="text-right">
|
|
<td class="text-right">
|
|
@@ -1144,6 +1149,7 @@ GROUP BY erx_category");
|
|
medication: existing.data.name,
|
|
medication: existing.data.name,
|
|
dispense: existing.data.dispense,
|
|
dispense: existing.data.dispense,
|
|
refills: existing.data.refills,
|
|
refills: existing.data.refills,
|
|
|
|
+ instructions: existing.data.instructions,
|
|
});
|
|
});
|
|
this.currentPrescription.clinical_detail_json.items = JSON.parse(JSON.stringify(this.currentPrescription.clinical_detail_json.items));
|
|
this.currentPrescription.clinical_detail_json.items = JSON.parse(JSON.stringify(this.currentPrescription.clinical_detail_json.items));
|
|
let temp = this.currentPrescription;
|
|
let temp = this.currentPrescription;
|