Эх сурвалжийг харах

Rx wizard - remove frequency, last-plan to directions + adding plan with rx in one shot

Vijayakrishnan 3 жил өмнө
parent
commit
74297c8109

+ 0 - 1
resources/views/app/patient/dashboard.blade.php

@@ -89,7 +89,6 @@
                         @foreach($medications as $medication)
                             <div class="mb-1">
                                 <b><?= !!@($medication->data->name) ? @($medication->data->name) : '-' ?></b>
-                                <?= !!@($medication->data->frequency) ? '/&nbsp;' . @($medication->data->frequency) : '' ?>
                             </div>
                         @endforeach
                         @if(!count($medications))

+ 71 - 65
resources/views/app/patient/medications-center.blade.php

@@ -33,13 +33,12 @@ $medications = $points;
             <tr class="">
                 <th class="border-bottom-0 text-secondary text-center width-30px">Rel.</th>
                 <th class="border-bottom-0 text-secondary">Name</th>
-                <th class="border-bottom-0 text-secondary">Frequency</th>
+                <th class="border-bottom-0 text-secondary w-25">Directions</th>
                 <th class="border-bottom-0 text-secondary">Active?</th>
                 <th class="border-bottom-0 text-secondary">Edit</th>
                 <th class="border-bottom-0 text-secondary">Started</th>
                 <th class="border-bottom-0 text-secondary">Ended</th>
                 <th class="border-bottom-0 text-secondary w-25">Last Review</th>
-                <th class="border-bottom-0 text-secondary w-25">Last Plan</th>
             </tr>
             </thead>
             <?php $prevRowRemoved = -1; ?>
@@ -91,7 +90,29 @@ $medications = $points;
                     </div>
                 </td>
                 <td>
-                    <?= !!@($medication->data->frequency) ? @($medication->data->frequency) : '-' ?>
+                    <div class="d-flex align-items-start">
+                        <div class="flex-grow-1">
+                            <?php
+                            include resource_path('views/app/patient/segment-templates/_child_plan/last-plan.php');
+                            ?>
+                        </div>
+                        <div class="d-inline-flex flex-nowrap">
+                            <a class="px-2 view-review-log"
+                               native target="_blank"
+                               open-in-stag-popup
+                               popup-style="stag-popup-md"
+                               title="Plan log<?= !!@($medication->data->name) ? ' for ' . @($medication->data->name) : '' ?>"
+                               href="/point/plan-log/<?= $medication->uid ?>?popupmode=1">
+                                <i class="fa fa-history"></i>
+                            </a>
+                            <?php
+                            $segment = $note->getSegmentByInternalName('plan_medications');
+                            if($segment) {
+                                include resource_path('views/app/patient/segment-templates/_child_plan/edit-plan.php');
+                            }
+                            ?>
+                        </div>
+                    </div>
                 </td>
                 <td>
                     @if($medication->is_removed)
@@ -127,25 +148,14 @@ $medications = $points;
                                 </div>
 
                                 <div class="row mb-2">
-                                    <div class="col-4 pr-0">
-                                        <label class="text-sm mb-1">Frequency</label>
-                                        <input type="text" class="form-control form-control-sm min-width-unset"
-                                               data-option-list="frequency-options" data-field="frequency"
-                                               value="{{@$medication->data->frequency}}"
-                                               data-name="frequency">
-                                        <div id="frequency-options" class="data-option-list">
-                                            <div>Once a day</div>
-                                            <div>Twice a day</div>
-                                        </div>
-                                    </div>
-                                    <div class="col-4 pr-0">
+                                    <div class="col-6 pr-0">
                                         <label class="text-sm mb-0">Start Date</label>
                                         <input type="date"
                                                data-name="start_date"
                                                value="{{@$medication->data->start_date}}"
                                                class="form-control form-control-sm min-width-unset">
                                     </div>
-                                    <div class="col-4">
+                                    <div class="col-6">
                                         <label class="text-sm mb-0">Prescribed By</label>
                                         <input type="text"
                                                data-name="prescriber"
@@ -154,16 +164,16 @@ $medications = $points;
                                     </div>
                                 </div>
 
-                                <div class="mb-2">
+                                <!--<div class="mb-2">
                                     <label class="text-sm mb-1">Description</label>
                                     <textarea rows="1" data-name="description" class="form-control form-control-sm">{{@$medication->data->description}}</textarea>
-                                </div>
+                                </div>-->
 
                             @else
 
                                 <div class="mb-2 bg-light p-2 border">
                                     <p class="mb-1 font-weight-bold">
-                                    {{ @$medication->data->name }} / {{ @$medication->data->frequency }}
+                                    {{ @$medication->data->name }}
                                     </p>
                                     <div class="text-secondary text-sm">Clinical details cannot be modified since the medication was added prior to this visit.</div>
                                 </div>
@@ -281,31 +291,6 @@ $medications = $points;
                         </div>
                     </div>
                 </td>
-                <td>
-                    <div class="d-flex align-items-start">
-                        <div class="flex-grow-1">
-                            <?php
-                            include resource_path('views/app/patient/segment-templates/_child_plan/last-plan.php');
-                            ?>
-                        </div>
-                        <div class="d-inline-flex flex-nowrap">
-                            <a class="px-2 view-review-log"
-                               native target="_blank"
-                               open-in-stag-popup
-                               popup-style="stag-popup-md"
-                               title="Plan log<?= !!@($medication->data->name) ? ' for ' . @($medication->data->name) : '' ?>"
-                               href="/point/plan-log/<?= $medication->uid ?>?popupmode=1">
-                                <i class="fa fa-history"></i>
-                            </a>
-                            <?php
-                            $segment = $note->getSegmentByInternalName('plan_medications');
-                            if($segment) {
-                                include resource_path('views/app/patient/segment-templates/_child_plan/edit-plan.php');
-                            }
-                            ?>
-                        </div>
-                    </div>
-                </td>
             </tr>
             <?php endforeach; ?>
         </table>
@@ -328,7 +313,7 @@ $medications = $points;
                     <div class="row">
                         <div class="col-7">
                             <div class="mb-2">
-                                <label class="text-sm text-secondary mb-0">Name</label>
+                                <label class="text-sm mb-0">Name</label>
                                 <input type="text"
                                        data-name="name"
                                        class="form-control form-control-sm"
@@ -338,32 +323,29 @@ $medications = $points;
                                        required>
                             </div>
                             <div class="row mb-2">
-                                <div class="col-4 pr-0">
-                                    <label class="text-sm mb-1">Frequency</label>
-                                    <input type="text" class="form-control form-control-sm min-width-unset"
-                                           data-option-list="frequency-options" data-field="frequency"
-                                           data-name="frequency">
-                                    <div id="frequency-options" class="data-option-list">
-                                        <div>Once a day</div>
-                                        <div>Twice a day</div>
-                                    </div>
-                                </div>
-                                <div class="col-4 pr-0">
+                                <div class="col-6 pr-0">
                                     <label class="text-sm mb-0">Start Date</label>
                                     <input type="date"
                                            data-name="start_date"
                                            class="form-control form-control-sm min-width-unset">
                                 </div>
-                                <div class="col-4">
+                                <div class="col-6">
                                     <label class="text-sm mb-0">Prescribed By</label>
                                     <input type="text"
                                            data-name="prescriber"
                                            class="form-control form-control-sm min-width-unset">
                                 </div>
                             </div>
-                            <div class="mb-2">
+                            <!--<div class="mb-2">
                                 <label class="text-sm mb-1">Description</label>
                                 <textarea rows="1" data-name="description" class="form-control form-control-sm"></textarea>
+                            </div>-->
+
+                            <div class="mb-2">
+                                <label class="text-sm mb-1">Directions</label>
+                                <div note-rte
+                                     class="form-group mb-2 border-left border-right rte-holder bg-white"
+                                     data-field-name="value"><?= $currentValue ?></div>
                             </div>
 
                             <hr class="my-3">
@@ -437,8 +419,8 @@ $medications = $points;
 
 <script>
     (function() {
-        function initVisitMoeRTEs() {
-            $('.stag-popup [visit-moe]').find('[note-rte]:not(.ql-container)').each(function() {
+        function initRTEs(_collection) {
+            _collection.each(function() {
 
                 let noteRTE = $(this);
 
@@ -474,7 +456,11 @@ $medications = $points;
                     let dataObject = {};
                     dataObject[fieldName] = content;
                     var dataValue = JSON.stringify(dataObject);
-                    $(el).closest('[visit-moe]').find('input[name=data]').val(dataValue);
+                    let pElem = $(el).closest('[visit-moe]');
+                    if(!pElem.length) {
+                        pElem = $(el).closest('form');
+                    }
+                    pElem.find('input[name=data]').val(dataValue);
                 };
 
                 quill.on('text-change', onTextChange);
@@ -594,6 +580,15 @@ $medications = $points;
                     if(dataField.val()) {
                         parsed = JSON.parse(dataField.val());
                     }
+
+                    // store plan content
+                    let planContent = parsed.value ? parsed.value : '';
+                    if(!$.trim($('<div/>').html(planContent).text())) {
+                        toastr.error('Directions cannot be empty');
+                        return false;
+                    }
+                    if(parsed.value) delete parsed.value;
+
                     form.find('[data-name]').each(function() {
                         if(!parsed) parsed = {};
 
@@ -623,8 +618,19 @@ $medications = $points;
 
                     $.post(form.attr('action'), form.serialize(), _data => {
                         if(!hasResponseError(_data)) {
-                            hideMask();
-                            refreshDynamicStagPopup();
+
+                            // save child plan
+                            $.post('/api/visitPoint/upsertChildPlan', {
+                                uid: _data.data,
+                                segmentUid: '{{$note->getSegmentByInternalName('plan_medications')->uid}}',
+                                data: JSON.stringify({value: planContent})
+                            }, _data => {
+                                if(!hasResponseError(_data)) {
+                                    hideMask();
+                                    refreshDynamicStagPopup();
+                                }
+                            }, 'json');
+
                             $('.visit-segment[data-segment-template-name="intake_medications"]').find('.refresh-segment').trigger('click');
                         }
                     }, 'json');
@@ -755,8 +761,8 @@ $medications = $points;
 
             buttonContainer.insertAfter(titleElem);
 
-            initSegmentMoes($('#medications-center-{{$note->id}}'));
-            initVisitMoeRTEs();
+            initSegmentMoes(parentSegment);
+            initRTEs(parentSegment.find('[note-rte]:not(.ql-container)'));
         }
         addMCInitializer('medications-center-{{$note->id}}', init, '#medications-center-{{$note->id}}');
     }).call(window);

+ 1 - 16
resources/views/app/patient/prescriptions-popup/list-popup.blade.php

@@ -65,7 +65,6 @@
                             <div class="" v-if="prescription.erx_category === 'DRUG'">
                                 <div class="d-flex align-items-baseline mb-1" v-for="drug in prescription.clinical_detail_json.items">
                                     <b class="mr-2">@{{drug.medication ?? '-'}}</b>
-                                    <span class="text-secondary mr-1">@{{drug.frequency ?? ''}}</span>
                                 </div>
                             </div>
                             <div class="d-flex align-items-baseline" v-if="prescription.erx_category === 'LAB' || prescription.erx_category === 'IMAGING'">
@@ -148,7 +147,6 @@
                         <div class="" v-if="currentPrescription.erx_category === 'DRUG'">
                             <div class="d-flex align-items-baseline mb-1" v-for="drug in currentPrescription.clinical_detail_json.items">
                                 <b class="mr-2">@{{drug.medication ?? '-'}}</b>
-                                <span class="text-secondary mr-1">@{{drug.frequency ?? ''}}</span>
                             </div>
                         </div>
                         <div class="d-flex align-items-baseline" v-if="currentPrescription.erx_category === 'LAB' || currentPrescription.erx_category === 'IMAGING'">
@@ -184,7 +182,6 @@
                             <div>
                                 <div class="d-flex align-items-baseline">
                                     <b class="mr-2">@{{drug.medication ?? '-'}}</b>
-                                    <span class="text-secondary ml-1">@{{drug.frequency ?? ''}}</span>
                                 </div>
                                 <div class="d-flex align-items-baseline">
                                     <span class="text-secondary">Dispense:</span>
@@ -249,18 +246,10 @@
                     </div>
 
                     <div class="row mb-2">
-                        <div class="col-8 pr-0">
+                        <div class="col-12">
                             <label class="text-sm text-secondary mb-0">Name</label>
                             <input type="text" data-name="name" class="form-control form-control-sm" stag-suggest="" stag-suggest-bottom-left="" stag-suggest-ep="/fdb-med-suggest-v2/json" required="" stag-suggest-initialized="1"><div class="stag-suggestions-container position-relative"><div class="suggestions-outer stag-suggestions position-absolute d-none"></div></div>
                         </div>
-                        <div class="col-4">
-                            <label class="text-sm text-secondary mb-0">Frequency</label>
-                            <input type="text" class="form-control form-control-sm min-width-unset" data-name="frequency" data-option-list="frequency-options" autocomplete="off">
-                            <div id="frequency-options" class="data-option-list">
-                                <div>Once a day</div>
-                                <div>Twice a day</div>
-                            </div>
-                        </div>
                     </div>
                     <div class="row mb-2">
                         <div class="col-4 pr-0">
@@ -457,7 +446,6 @@ GROUP BY erx_category");
                             items: [
                                 {
                                     medication: '',
-                                    frequency: '',
                                     dispense: '',
                                     refills: '',
                                     purpose: ''
@@ -622,7 +610,6 @@ GROUP BY erx_category");
                                         items: [
                                             {
                                                 medication: '',
-                                                frequency: '',
                                                 dispense: '',
                                                 refills: '',
                                                 purpose: ''
@@ -1019,7 +1006,6 @@ GROUP BY erx_category");
                         existing = existing[0];
                         this.currentPrescription.clinical_detail_json.items.push({
                             medication: existing.data.name,
-                            frequency: existing.data.frequency,
                             dispense: existing.data.dispense,
                             refills: existing.data.refills,
                         });
@@ -1126,7 +1112,6 @@ GROUP BY erx_category");
 
                                         let newERxItem = {
                                             medication: form.find('[data-name="name"]').val(),
-                                            frequency: form.find('[data-name="frequency"]').val(),
                                             dispense: form.find('[name="dispense"]').val(),
                                             refills: form.find('[name="refills"]').val(),
                                         };

+ 2 - 16
resources/views/app/patient/prescriptions/list.blade.php

@@ -68,7 +68,6 @@
                             <div class="" v-if="prescription.erx_category === 'DRUG'">
                                 <div class="d-flex align-items-baseline mb-1" v-for="drug in prescription.clinical_detail_json.items">
                                     <b class="mr-2">@{{drug.medication ?? '-'}}</b>
-                                    <span class="text-secondary mr-1">@{{drug.frequency ?? ''}}</span>
                                 </div>
                             </div>
                             <div class="d-flex align-items-baseline" v-if="prescription.erx_category === 'LAB' || prescription.erx_category === 'IMAGING'">
@@ -152,7 +151,6 @@
                         <div class="" v-if="currentPrescription.erx_category === 'DRUG'">
                             <div class="d-flex align-items-baseline mb-1" v-for="drug in currentPrescription.clinical_detail_json.items">
                                 <b class="mr-2">@{{drug.medication ?? '-'}}</b>
-                                <span class="text-secondary mr-1">@{{drug.frequency ?? ''}}</span>
                             </div>
                         </div>
                         <div class="d-flex align-items-baseline" v-if="currentPrescription.erx_category === 'LAB' || currentPrescription.erx_category === 'IMAGING'">
@@ -189,7 +187,6 @@
                             <div>
                                 <div class="d-flex align-items-baseline">
                                     <b class="mr-2">@{{drug.medication ?? '-'}}</b>
-                                    <span class="text-secondary ml-1">@{{drug.frequency ?? ''}}</span>
                                 </div>
                                 <div class="d-flex align-items-baseline">
                                     <span class="text-secondary">Dispense:</span>
@@ -257,18 +254,10 @@
                     </div>
 
                     <div class="row mb-2">
-                        <div class="col-8 pr-0">
+                        <div class="col-12">
                             <label class="text-sm text-secondary mb-0">Name</label>
                             <input type="text" data-name="name" class="form-control form-control-sm" stag-suggest="" stag-suggest-bottom-left="" stag-suggest-ep="/fdb-med-suggest-v2/json" required="" stag-suggest-initialized="1"><div class="stag-suggestions-container position-relative"><div class="suggestions-outer stag-suggestions position-absolute d-none"></div></div>
                         </div>
-                        <div class="col-4">
-                            <label class="text-sm text-secondary mb-0">Frequency</label>
-                            <input type="text" class="form-control form-control-sm min-width-unset" data-name="frequency" data-option-list="frequency-options" autocomplete="off">
-                            <div id="frequency-options" class="data-option-list">
-                                <div>Once a day</div>
-                                <div>Twice a day</div>
-                            </div>
-                        </div>
                     </div>
                     <div class="row mb-2">
                         <div class="col-4 pr-0">
@@ -466,7 +455,6 @@ GROUP BY erx_category");
                             items: [
                                 {
                                     medication: '',
-                                    frequency: '',
                                     dispense: '',
                                     refills: '',
                                     purpose: ''
@@ -632,7 +620,6 @@ GROUP BY erx_category");
                                         items: [
                                             {
                                                 medication: '',
-                                                frequency: '',
                                                 dispense: '',
                                                 refills: '',
                                                 purpose: ''
@@ -1037,7 +1024,6 @@ GROUP BY erx_category");
                         existing = existing[0];
                         this.currentPrescription.clinical_detail_json.items.push({
                             medication: existing.data.name,
-                            frequency: existing.data.frequency,
                             dispense: existing.data.dispense,
                             refills: existing.data.refills,
                         });
@@ -1144,7 +1130,6 @@ GROUP BY erx_category");
 
                                         let newERxItem = {
                                             medication: form.find('[data-name="name"]').val(),
-                                            frequency: form.find('[data-name="frequency"]').val(),
                                             dispense: form.find('[name="dispense"]').val(),
                                             refills: form.find('[name="refills"]').val(),
                                         };
@@ -1155,6 +1140,7 @@ GROUP BY erx_category");
                                                 // refreshDynamicStagPopup();
                                                 // $('.visit-segment[data-segment-template-name="intake_medications"]').find('.refresh-segment').trigger('click');
 
+
                                                 if(!self.currentPrescription.clinical_detail_json) {
                                                     self.currentPrescription.clinical_detail_json = {};
                                                 }

+ 1 - 1
resources/views/app/patient/segment-templates/_child_plan/last-plan.php

@@ -1,6 +1,6 @@
 <?php if ($point->lastChildPlan): ?>
     <?php $parsedPlan = json_decode($point->lastChildPlan->data); ?>
-    <div class="mb-2 <?= $point->last_child_plan_point_scoped_note_id === $note->id ? 'bg-warning-mellow p-2 rounded' : '' ?>">
+    <div class="<?= $point->last_child_plan_point_scoped_note_id === $note->id ? 'bg-warning-mellow p-2 rounded' : '' ?>">
         <div><?= $parsedPlan->value ?></div>
         <div class="text-secondary text-sm"></div>
         <?php if ($point->last_child_plan_point_scoped_note_id === $note->id): ?>

+ 1 - 1
resources/views/app/patient/segment-templates/_child_review/last-review.php

@@ -1,6 +1,6 @@
 <?php if ($point->lastChildReview): ?>
     <?php $parsedReview = json_decode($point->lastChildReview->data); ?>
-    <div class="mb-2 <?= $point->last_child_review_point_scoped_note_id === $note->id ? 'bg-warning-mellow p-2 rounded' : '' ?>">
+    <div class="<?= $point->last_child_review_point_scoped_note_id === $note->id ? 'bg-warning-mellow p-2 rounded' : '' ?>">
         <div><?= @$parsedReview->value ?></div>
         <?php if ($point->last_child_review_point_scoped_note_id === $note->id): ?>
             <span class="text-sm">(reviewed on this note)</span>

+ 0 - 19
resources/views/app/patient/segment-templates/intake_medications/edit.blade.php

@@ -40,7 +40,6 @@ $medications = Point::getIntakePointsOfCategory($patient, 'MEDICATION', $note);
                         <div class="d-flex align-items-baseline">
                             <div class="<?= $medication->is_removed ? 'strike-through' : '' ?>">
                                 <b><?= !!@($medication->data->name) ? @($medication->data->name) : '-' ?></b>
-                                <?= !!@($medication->data->frequency) ? '/&nbsp;' . @($medication->data->frequency) : '' ?>
                             </div>
 
                             <!-- common actions -->
@@ -74,15 +73,6 @@ $medications = Point::getIntakePointsOfCategory($patient, 'MEDICATION', $note);
                                                    stag-suggest
                                                    stag-suggest-ep="/fdb-med-suggest-v2/json">
                                         </div>
-                                        <div class="mb-2">
-                                            <label class="text-sm text-secondary mb-1">Frequency</label>
-                                            <input type="text" class="form-control form-control-sm" data-name="frequency"
-                                                   data-option-list="frequency-options" autocomplete="off">
-                                            <div id="frequency-options" class="data-option-list">
-                                                <div>Once a day</div>
-                                                <div>Twice a day</div>
-                                            </div>
-                                        </div>
                                         <div class="mb-2">
                                             <label class="text-sm text-secondary mb-1">Start Date</label>
                                             <input type="date" class="form-control form-control-sm" data-name="start_date">
@@ -192,15 +182,6 @@ $medications = Point::getIntakePointsOfCategory($patient, 'MEDICATION', $note);
                            stag-suggest
                            stag-suggest-ep="/fdb-med-suggest-v2/json">
                 </div>
-                <div class="mb-2 ml-2">
-                    <label class="text-sm text-secondary mb-1 text-nowrap">Frequency</label>
-                    <input type="text" class="form-control form-control-sm" data-name="frequency"
-                           data-option-list="frequency-options" autocomplete="off">
-                    <div id="frequency-options" class="data-option-list">
-                        <div>Once a day</div>
-                        <div>Twice a day</div>
-                    </div>
-                </div>
                 <div class="mb-2 ml-2">
                     <label class="text-sm text-secondary mb-1 text-nowrap">Start Date</label>
                     <input type="date" class="form-control form-control-sm" data-name="start_date">

+ 0 - 1
resources/views/app/patient/segment-templates/intake_medications/summary.blade.php

@@ -25,7 +25,6 @@ $numRelevant = 0;
                 @endif
                 <div class="<?= $medication->is_removed ? 'strike-through' : '' ?>">
                     <b><?= !!@($medication->data->name) ? @($medication->data->name) : '-' ?></b>
-                    <?= !!@($medication->data->frequency) ? '/&nbsp;' . @($medication->data->frequency) : '' ?>
                     <?= !!@($medication->data->start_date) ? '/&nbsp;From ' . @($medication->data->start_date) : '' ?>
                 </div>
                 <?php if ($medication->is_removed): ?>

+ 0 - 19
resources/views/app/patient/segment-templates/plan_medications/edit.blade.php

@@ -41,7 +41,6 @@ $intakeOrVisit = 'PLAN';
                         <div class="d-flex align-items-baseline">
                             <div class="<?= $medication->is_removed ? 'strike-through' : '' ?>">
                                 <b><?= !!@($medication->data->name) ? @($medication->data->name) : '-' ?></b>
-                                <?= !!@($medication->data->frequency) ? '/&nbsp;' . @($medication->data->frequency) : '' ?>
                             </div>
 
                             <!-- common actions -->
@@ -74,15 +73,6 @@ $intakeOrVisit = 'PLAN';
                                                        stag-suggest
                                                        stag-suggest-ep="/fdb-med-suggest-v2/json">
                                             </div>
-                                            <div class="mb-2">
-                                                <label class="text-sm text-secondary mb-1">Frequency</label>
-                                                <input type="text" class="form-control form-control-sm" data-name="frequency"
-                                                       data-option-list="frequency-options" autocomplete="off">
-                                                <div id="frequency-options" class="data-option-list">
-                                                    <div>Once a day</div>
-                                                    <div>Twice a day</div>
-                                                </div>
-                                            </div>
                                             <div class="mb-2">
                                                 <label class="text-sm text-secondary mb-1">Description</label>
                                                 <textarea type="text" data-name="description" class="form-control form-control-sm"></textarea>
@@ -167,15 +157,6 @@ $intakeOrVisit = 'PLAN';
                            stag-suggest
                            stag-suggest-ep="/fdb-med-suggest-v2/json">
                 </div>
-                <div class="mb-2 ml-2">
-                    <label class="text-sm text-secondary mb-1">Frequency</label>
-                    <input type="text" class="form-control form-control-sm" data-name="frequency"
-                           data-option-list="frequency-options" autocomplete="off">
-                    <div id="frequency-options" class="data-option-list">
-                        <div>Once a day</div>
-                        <div>Twice a day</div>
-                    </div>
-                </div>
                 <div class="mb-2 ml-2 flex-grow-1">
                     <label class="text-sm text-secondary mb-1">Description</label>
                     <textarea rows="1" data-name="description" class="form-control form-control-sm"></textarea>

+ 0 - 1
resources/views/app/patient/segment-templates/plan_medications/summary.blade.php

@@ -25,7 +25,6 @@ $numRelevant = 0;
                 @endif
                 <div class="<?= $medication->is_removed ? 'strike-through' : '' ?>">
                     <b><?= !!@($medication->data->name) ? @($medication->data->name) : '-' ?></b>
-                    <?= !!@($medication->data->frequency) ? '/&nbsp;' . @($medication->data->frequency) : '' ?>
                 </div>
                 <?php if ($medication->is_removed): ?>
                     @if($medication->removal_reason_category === 'DURING_VISIT')