|
@@ -1,20 +1,9 @@
|
|
<?php
|
|
<?php
|
|
-/** @var \App\Models\Pro $sectionPro */
|
|
|
|
-/** @var \App\Models\Pro $pro */
|
|
|
|
-/** @var \App\Models\Note $note */
|
|
|
|
|
|
|
|
-if(!@$sectionPro) {
|
|
|
|
- if(@$note) {
|
|
|
|
- $sectionPro = $note->hcpPro;
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
- $sectionPro = $pro; // should never get here
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
|
|
+// $contentData is already pro-scoped by this point!
|
|
|
|
|
|
-if(!$contentData) $contentData = [];
|
|
|
|
-if(!isset($contentData[$sectionPro->uid])) {
|
|
|
|
- $contentData[$sectionPro->uid] = [
|
|
|
|
|
|
+if(!$contentData) {
|
|
|
|
+ $contentData = [
|
|
'physical_activity' => [
|
|
'physical_activity' => [
|
|
'type' => '',
|
|
'type' => '',
|
|
'frequency' => '',
|
|
'frequency' => '',
|
|
@@ -153,39 +142,39 @@ $formID = rand(0, 100000);
|
|
<div class="row mb-2">
|
|
<div class="row mb-2">
|
|
<div class="col-4">
|
|
<div class="col-4">
|
|
<label class="mb-1 text-secondary text-sm">Type:</label>
|
|
<label class="mb-1 text-secondary text-sm">Type:</label>
|
|
- <input type="text" v-model="data['{{$sectionPro->uid}}']['physical_activity']['type']" class="form-control form-control-sm">
|
|
|
|
|
|
+ <input type="text" v-model="data['physical_activity']['type']" class="form-control form-control-sm">
|
|
</div>
|
|
</div>
|
|
<div class="col-4">
|
|
<div class="col-4">
|
|
<label class="mb-1 text-secondary text-sm">Frequency:</label>
|
|
<label class="mb-1 text-secondary text-sm">Frequency:</label>
|
|
- <input type="text" v-model="data['{{$sectionPro->uid}}']['physical_activity']['frequency']" class="form-control form-control-sm">
|
|
|
|
|
|
+ <input type="text" v-model="data['physical_activity']['frequency']" class="form-control form-control-sm">
|
|
</div>
|
|
</div>
|
|
<div class="col-4">
|
|
<div class="col-4">
|
|
<label class="mb-1 text-secondary text-sm">Time:</label>
|
|
<label class="mb-1 text-secondary text-sm">Time:</label>
|
|
- <input type="text" v-model="data['{{$sectionPro->uid}}']['physical_activity']['time']" class="form-control form-control-sm">
|
|
|
|
|
|
+ <input type="text" v-model="data['physical_activity']['time']" class="form-control form-control-sm">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="row mb-2">
|
|
<div class="row mb-2">
|
|
<div class="col-4">
|
|
<div class="col-4">
|
|
<label class="mb-1 text-secondary text-sm">Intensity:</label>
|
|
<label class="mb-1 text-secondary text-sm">Intensity:</label>
|
|
- <input type="text" v-model="data['{{$sectionPro->uid}}']['physical_activity']['intensity']" class="form-control form-control-sm">
|
|
|
|
|
|
+ <input type="text" v-model="data['physical_activity']['intensity']" class="form-control form-control-sm">
|
|
</div>
|
|
</div>
|
|
<div class="col-8">
|
|
<div class="col-8">
|
|
<label class="mb-1 text-secondary text-sm">Enjoyment:</label>
|
|
<label class="mb-1 text-secondary text-sm">Enjoyment:</label>
|
|
- <input type="text" v-model="data['{{$sectionPro->uid}}']['physical_activity']['enjoyment']" class="form-control form-control-sm">
|
|
|
|
|
|
+ <input type="text" v-model="data['physical_activity']['enjoyment']" class="form-control form-control-sm">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p class="font-weight-bold text-secondary mt-2 mb-1">Barriers To Physical Activity</p>
|
|
<p class="font-weight-bold text-secondary mt-2 mb-1">Barriers To Physical Activity</p>
|
|
- <input type="text" v-model="data['{{$sectionPro->uid}}']['physical_activity']['barriers']" class="form-control form-control-sm">
|
|
|
|
|
|
+ <input type="text" v-model="data['physical_activity']['barriers']" class="form-control form-control-sm">
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="row mb-3">
|
|
<div class="row mb-3">
|
|
<div class="col-4">
|
|
<div class="col-4">
|
|
<p class="font-weight-bold mb-1">Assessment of Physical Activity Level</p>
|
|
<p class="font-weight-bold mb-1">Assessment of Physical Activity Level</p>
|
|
- <select v-model="data['{{$sectionPro->uid}}']['physical_activity']['assessment']" class="form-control form-control-sm" required>
|
|
|
|
|
|
+ <select v-model="data['physical_activity']['assessment']" class="form-control form-control-sm" required>
|
|
<option value="">-- select --</option>
|
|
<option value="">-- select --</option>
|
|
<option value="Inactive">Inactive</option>
|
|
<option value="Inactive">Inactive</option>
|
|
<option value="Insufficiently Active">Insufficiently Active</option>
|
|
<option value="Insufficiently Active">Insufficiently Active</option>
|
|
@@ -208,231 +197,231 @@ $formID = rand(0, 100000);
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
|
|
|
|
- <tbody class="border-0" v-if="data['{{$sectionPro->uid}}']['adherence']['seated']['active'] || data['{{$sectionPro->uid}}']['adherence']['arm']['active'] || data['{{$sectionPro->uid}}']['adherence']['aquatic']['active']">
|
|
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['seated']['active']">
|
|
|
|
|
|
+ <tbody class="border-0" v-if="data['adherence']['seated']['active'] || data['adherence']['arm']['active'] || data['adherence']['aquatic']['active']">
|
|
|
|
+ <tr v-if="data['adherence']['seated']['active']">
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
Seated Exercises
|
|
Seated Exercises
|
|
</td>
|
|
</td>
|
|
- <td class="px-2 align-middle" v-html="data['{{$sectionPro->uid}}']['adherence']['seated']['memo']"></td>
|
|
|
|
|
|
+ <td class="px-2 align-middle" v-html="data['adherence']['seated']['memo']"></td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['seated']['adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['seated']['adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['seated']['adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['seated']['adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['seated']['adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['seated']['adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['seated']['adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['seated']['adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['arm']['active']">
|
|
|
|
|
|
+ <tr v-if="data['adherence']['arm']['active']">
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
Arm Exercises
|
|
Arm Exercises
|
|
</td>
|
|
</td>
|
|
- <td class="px-2 align-middle" v-html="data['{{$sectionPro->uid}}']['adherence']['arm']['memo']"></td>
|
|
|
|
|
|
+ <td class="px-2 align-middle" v-html="data['adherence']['arm']['memo']"></td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['arm']['adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['arm']['adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['arm']['adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['arm']['adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['arm']['adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['arm']['adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['arm']['adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['arm']['adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['aquatic']['active']">
|
|
|
|
|
|
+ <tr v-if="data['adherence']['aquatic']['active']">
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
Aquatic Exercises
|
|
Aquatic Exercises
|
|
</td>
|
|
</td>
|
|
- <td class="px-2 align-middle" v-html="data['{{$sectionPro->uid}}']['adherence']['aquatic']['memo']"></td>
|
|
|
|
|
|
+ <td class="px-2 align-middle" v-html="data['adherence']['aquatic']['memo']"></td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aquatic']['adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aquatic']['adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aquatic']['adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aquatic']['adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aquatic']['adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aquatic']['adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['aquatic']['adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['aquatic']['adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
</tbody>
|
|
</tbody>
|
|
|
|
|
|
- <tbody class="border-0" v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['active']">
|
|
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['walk']['active']">
|
|
|
|
|
|
+ <tbody class="border-0" v-if="data['adherence']['aerobic']['active']">
|
|
|
|
+ <tr v-if="data['adherence']['aerobic']['walk']['active']">
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
Aerobic → Walk
|
|
Aerobic → Walk
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['walk']['intensity']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['walk']['intensity']"></span>
|
|
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['walk']['days_per_week']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['walk']['days_per_week'] + ' days/wk'"></span>
|
|
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['walk']['minutes_per_day']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['walk']['minutes_per_day'] + ' mins/days'"></span>
|
|
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['walk']['intensity']" v-html="' / ' + data['adherence']['aerobic']['walk']['intensity']"></span>
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['walk']['days_per_week']" v-html="' / ' + data['adherence']['aerobic']['walk']['days_per_week'] + ' days/wk'"></span>
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['walk']['minutes_per_day']" v-html="' / ' + data['adherence']['aerobic']['walk']['minutes_per_day'] + ' mins/days'"></span>
|
|
</td>
|
|
</td>
|
|
- <td class="px-2 align-middle" v-html="data['{{$sectionPro->uid}}']['adherence']['aerobic']['walk']['memo']"></td>
|
|
|
|
|
|
+ <td class="px-2 align-middle" v-html="data['adherence']['aerobic']['walk']['memo']"></td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['walk']['adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['walk']['adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['walk']['adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['walk']['adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['walk']['adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['walk']['adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['walk']['adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['aerobic']['walk']['adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['jog']['active']">
|
|
|
|
|
|
+ <tr v-if="data['adherence']['aerobic']['jog']['active']">
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
Aerobic → Jog
|
|
Aerobic → Jog
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['jog']['intensity']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['jog']['intensity']"></span>
|
|
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['jog']['days_per_week']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['jog']['days_per_week'] + ' days/wk'"></span>
|
|
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['jog']['minutes_per_day']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['jog']['minutes_per_day'] + ' mins/days'"></span>
|
|
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['jog']['intensity']" v-html="' / ' + data['adherence']['aerobic']['jog']['intensity']"></span>
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['jog']['days_per_week']" v-html="' / ' + data['adherence']['aerobic']['jog']['days_per_week'] + ' days/wk'"></span>
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['jog']['minutes_per_day']" v-html="' / ' + data['adherence']['aerobic']['jog']['minutes_per_day'] + ' mins/days'"></span>
|
|
</td>
|
|
</td>
|
|
- <td class="px-2 align-middle" v-html="data['{{$sectionPro->uid}}']['adherence']['aerobic']['jog']['memo']"></td>
|
|
|
|
|
|
+ <td class="px-2 align-middle" v-html="data['adherence']['aerobic']['jog']['memo']"></td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['jog']['adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['jog']['adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['jog']['adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['jog']['adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['jog']['adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['jog']['adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['jog']['adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['aerobic']['jog']['adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['elliptical']['active']">
|
|
|
|
|
|
+ <tr v-if="data['adherence']['aerobic']['elliptical']['active']">
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
Aerobic → Elliptical
|
|
Aerobic → Elliptical
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['elliptical']['intensity']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['elliptical']['intensity']"></span>
|
|
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['elliptical']['days_per_week']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['elliptical']['days_per_week'] + ' days/wk'"></span>
|
|
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['elliptical']['minutes_per_day']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['elliptical']['minutes_per_day'] + ' mins/days'"></span>
|
|
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['elliptical']['intensity']" v-html="' / ' + data['adherence']['aerobic']['elliptical']['intensity']"></span>
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['elliptical']['days_per_week']" v-html="' / ' + data['adherence']['aerobic']['elliptical']['days_per_week'] + ' days/wk'"></span>
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['elliptical']['minutes_per_day']" v-html="' / ' + data['adherence']['aerobic']['elliptical']['minutes_per_day'] + ' mins/days'"></span>
|
|
</td>
|
|
</td>
|
|
- <td class="px-2 align-middle" v-html="data['{{$sectionPro->uid}}']['adherence']['aerobic']['elliptical']['memo']"></td>
|
|
|
|
|
|
+ <td class="px-2 align-middle" v-html="data['adherence']['aerobic']['elliptical']['memo']"></td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['elliptical']['adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['elliptical']['adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['elliptical']['adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['elliptical']['adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['elliptical']['adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['elliptical']['adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['elliptical']['adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['aerobic']['elliptical']['adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['swim']['active']">
|
|
|
|
|
|
+ <tr v-if="data['adherence']['aerobic']['swim']['active']">
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
Aerobic → Swim
|
|
Aerobic → Swim
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['swim']['intensity']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['swim']['intensity']"></span>
|
|
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['swim']['days_per_week']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['swim']['days_per_week'] + ' days/wk'"></span>
|
|
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['swim']['minutes_per_day']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['swim']['minutes_per_day'] + ' mins/days'"></span>
|
|
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['swim']['intensity']" v-html="' / ' + data['adherence']['aerobic']['swim']['intensity']"></span>
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['swim']['days_per_week']" v-html="' / ' + data['adherence']['aerobic']['swim']['days_per_week'] + ' days/wk'"></span>
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['swim']['minutes_per_day']" v-html="' / ' + data['adherence']['aerobic']['swim']['minutes_per_day'] + ' mins/days'"></span>
|
|
</td>
|
|
</td>
|
|
- <td class="px-2 align-middle" v-html="data['{{$sectionPro->uid}}']['adherence']['aerobic']['swim']['memo']"></td>
|
|
|
|
|
|
+ <td class="px-2 align-middle" v-html="data['adherence']['aerobic']['swim']['memo']"></td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['swim']['adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['swim']['adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['swim']['adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['swim']['adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['swim']['adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['swim']['adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['swim']['adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['aerobic']['swim']['adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['bike']['active']">
|
|
|
|
|
|
+ <tr v-if="data['adherence']['aerobic']['bike']['active']">
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
Aerobic → Bike
|
|
Aerobic → Bike
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['bike']['intensity']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['bike']['intensity']"></span>
|
|
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['bike']['days_per_week']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['bike']['days_per_week'] + ' days/wk'"></span>
|
|
|
|
- <span v-if="data['{{$sectionPro->uid}}']['adherence']['aerobic']['bike']['minutes_per_day']" v-html="' / ' + data['{{$sectionPro->uid}}']['adherence']['aerobic']['bike']['minutes_per_day'] + ' mins/days'"></span>
|
|
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['bike']['intensity']" v-html="' / ' + data['adherence']['aerobic']['bike']['intensity']"></span>
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['bike']['days_per_week']" v-html="' / ' + data['adherence']['aerobic']['bike']['days_per_week'] + ' days/wk'"></span>
|
|
|
|
+ <span v-if="data['adherence']['aerobic']['bike']['minutes_per_day']" v-html="' / ' + data['adherence']['aerobic']['bike']['minutes_per_day'] + ' mins/days'"></span>
|
|
</td>
|
|
</td>
|
|
- <td class="px-2 align-middle" v-html="data['{{$sectionPro->uid}}']['adherence']['aerobic']['bike']['memo']"></td>
|
|
|
|
|
|
+ <td class="px-2 align-middle" v-html="data['adherence']['aerobic']['bike']['memo']"></td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['bike']['adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['bike']['adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['bike']['adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['bike']['adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
<label class="d-inline-flex align-items-center mr-3 mb-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['bike']['adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['aerobic']['bike']['adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['aerobic']['bike']['adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['aerobic']['bike']['adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
</tbody>
|
|
</tbody>
|
|
|
|
|
|
|
|
|
|
- <tbody class="border-0" v-if="data['{{$sectionPro->uid}}']['adherence']['strength']['active']">
|
|
|
|
|
|
+ <tbody class="border-0" v-if="data['adherence']['strength']['active']">
|
|
|
|
|
|
- <tr v-for="(exercise) in data['{{$sectionPro->uid}}']['adherence']['strength']['exercises']">
|
|
|
|
|
|
+ <tr v-for="(exercise) in data['adherence']['strength']['exercises']">
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
Strength → <span v-html="exercise.name"></span>
|
|
Strength → <span v-html="exercise.name"></span>
|
|
<span v-if="exercise.intensity" v-html="' / ' + exercise.intensity"></span>
|
|
<span v-if="exercise.intensity" v-html="' / ' + exercise.intensity"></span>
|
|
@@ -462,130 +451,130 @@ $formID = rand(0, 100000);
|
|
</tr>
|
|
</tr>
|
|
</tbody>
|
|
</tbody>
|
|
|
|
|
|
- <tbody class="border-0" v-if="data['{{$sectionPro->uid}}']['adherence']['neat']['active']">
|
|
|
|
|
|
+ <tbody class="border-0" v-if="data['adherence']['neat']['active']">
|
|
|
|
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['park_farther']">
|
|
|
|
|
|
+ <tr v-if="data['adherence']['neat']['recommendations']['park_farther']">
|
|
<td class="px-2 align-middle" colspan="2">
|
|
<td class="px-2 align-middle" colspan="2">
|
|
NEAT → Park farther away from entrances
|
|
NEAT → Park farther away from entrances
|
|
</td>
|
|
</td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['park_farther_adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['park_farther_adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['park_farther_adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['park_farther_adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['park_farther_adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['park_farther_adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['park_farther_adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['neat']['recommendations']['park_farther_adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['steps_instead_of_elevator']">
|
|
|
|
|
|
+ <tr v-if="data['adherence']['neat']['recommendations']['steps_instead_of_elevator']">
|
|
<td class="px-2 align-middle" colspan="2">
|
|
<td class="px-2 align-middle" colspan="2">
|
|
NEAT → Take the stairs instead of escalator/elevator
|
|
NEAT → Take the stairs instead of escalator/elevator
|
|
</td>
|
|
</td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['steps_instead_of_elevator_adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['steps_instead_of_elevator_adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['steps_instead_of_elevator_adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['steps_instead_of_elevator_adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['steps_instead_of_elevator_adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['steps_instead_of_elevator_adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['steps_instead_of_elevator_adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['neat']['recommendations']['steps_instead_of_elevator_adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['stand_instead_of_sit']">
|
|
|
|
|
|
+ <tr v-if="data['adherence']['neat']['recommendations']['stand_instead_of_sit']">
|
|
<td class="px-2 align-middle" colspan="2">
|
|
<td class="px-2 align-middle" colspan="2">
|
|
NEAT → Stand instead of sit
|
|
NEAT → Stand instead of sit
|
|
</td>
|
|
</td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['stand_instead_of_sit_adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['stand_instead_of_sit_adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['stand_instead_of_sit_adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['stand_instead_of_sit_adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['stand_instead_of_sit_adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['stand_instead_of_sit_adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['stand_instead_of_sit_adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['neat']['recommendations']['stand_instead_of_sit_adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['steps_goal_per_day']">
|
|
|
|
|
|
+ <tr v-if="data['adherence']['neat']['recommendations']['steps_goal_per_day']">
|
|
<td class="px-2 align-middle" colspan="2">
|
|
<td class="px-2 align-middle" colspan="2">
|
|
- NEAT → Steps goal / day: <b v-html="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['steps_goal_per_day']"></b>
|
|
|
|
|
|
+ NEAT → Steps goal / day: <b v-html="data['adherence']['neat']['recommendations']['steps_goal_per_day']"></b>
|
|
</td>
|
|
</td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['steps_goal_per_day_adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['steps_goal_per_day_adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['steps_goal_per_day_adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['steps_goal_per_day_adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['steps_goal_per_day_adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['steps_goal_per_day_adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['steps_goal_per_day_adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['neat']['recommendations']['steps_goal_per_day_adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
- <tr v-if="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['other']">
|
|
|
|
|
|
+ <tr v-if="data['adherence']['neat']['recommendations']['other']">
|
|
<td class="px-2 align-middle" colspan="2">
|
|
<td class="px-2 align-middle" colspan="2">
|
|
- NEAT → Other: <b v-html="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['other']"></b>
|
|
|
|
|
|
+ NEAT → Other: <b v-html="data['adherence']['neat']['recommendations']['other']"></b>
|
|
</td>
|
|
</td>
|
|
<td class="px-2 align-middle">
|
|
<td class="px-2 align-middle">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['other_adherence']" value="Yes">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['other_adherence']" value="Yes">
|
|
<span class="ml-1">Yes</span>
|
|
<span class="ml-1">Yes</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['other_adherence']" value="No">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['other_adherence']" value="No">
|
|
<span class="ml-1">No</span>
|
|
<span class="ml-1">No</span>
|
|
</label>
|
|
</label>
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
<label class="d-inline-flex align-items-center mr-3 my-0">
|
|
- <input type="radio" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['other_adherence']" value="Other">
|
|
|
|
|
|
+ <input type="radio" v-model="data['adherence']['neat']['recommendations']['other_adherence']" value="Other">
|
|
<span class="ml-1">Other</span>
|
|
<span class="ml-1">Other</span>
|
|
</label>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
<td class="px-0 align-middle">
|
|
<td class="px-0 align-middle">
|
|
- <input type="text" class="form-control form-control-sm border-0" v-model="data['{{$sectionPro->uid}}']['adherence']['neat']['recommendations']['other_adherence_memo']">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm border-0" v-model="data['adherence']['neat']['recommendations']['other_adherence_memo']">
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
@@ -617,7 +606,7 @@ $formID = rand(0, 100000);
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
addItem: function() {
|
|
addItem: function() {
|
|
- this.data['{{$sectionPro->uid}}']['current_cch']['list'].push({
|
|
|
|
|
|
+ this.data['current_cch']['list'].push({
|
|
"category": '',
|
|
"category": '',
|
|
"name": '',
|
|
"name": '',
|
|
"icd": '',
|
|
"icd": '',
|
|
@@ -628,7 +617,7 @@ $formID = rand(0, 100000);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
removeItem: function(_index) {
|
|
removeItem: function(_index) {
|
|
- this.data['{{$sectionPro->uid}}']['current_cch']['list'].splice(_index, 1);
|
|
|
|
|
|
+ this.data['current_cch']['list'].splice(_index, 1);
|
|
},
|
|
},
|
|
cleanArray: function(_source) {
|
|
cleanArray: function(_source) {
|
|
let plItems = [], plObject = {};
|
|
let plItems = [], plObject = {};
|