PageRenderTime 95ms CodeModel.GetById 56ms RepoModel.GetById 0ms app.codeStats 2ms

/interface/forms/eye_mag/php/eye_mag_functions.php

https://bitbucket.org/openemr/openemr
PHP | 6325 lines | 5381 code | 387 blank | 557 comment | 699 complexity | 195694ffba08fbf97a66268381143798 MD5 | raw file
Possible License(s): Apache-2.0, AGPL-1.0, GPL-2.0, LGPL-3.0, BSD-3-Clause, Unlicense, MPL-2.0, GPL-3.0, LGPL-2.1

Large files files are truncated, but you can click here to view the full file

  1. <?php
  2. /**
  3. * forms/eye_mag/php/eye_mag_functions.php
  4. *
  5. * Functions which extend clinical forms
  6. *
  7. * @package OpenEMR
  8. * @link https://www.open-emr.org
  9. * @author Ray Magauran <rmagauran@gmail.com>
  10. * @copyright Copyright (c) 2016- Raymond Magauran <rmagauran@gmail.com>
  11. * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
  12. */
  13. $form_folder = "eye_mag";
  14. require_once(dirname(__FILE__) . "/../../../../custom/code_types.inc.php");
  15. require_once(dirname(__FILE__) . "/../../../../library/options.inc.php");
  16. global $PMSFH;
  17. use OpenEMR\Common\Acl\AclMain;
  18. use OpenEMR\Services\FacilityService;
  19. $facilityService = new FacilityService();
  20. /**
  21. * This function returns HTML old record selector widget when needed (4 input values)
  22. *
  23. * @param string $zone options ALL,EXT,ANTSEG,RETINA,NEURO, DRAW_PRIORS_$zone
  24. * @param string $visit_date Future functionality to limit result set. UTC DATE Formatted
  25. * @param string $pid value = patient id
  26. * @param string $type options text(default) image
  27. * @return string returns the HTML old record/image selector widget for the desired zone and type
  28. */
  29. function priors_select($zone, $orig_id, $id_to_show, $pid, $type = 'text')
  30. {
  31. global $priors;
  32. global $form_id;
  33. global $earlier;
  34. if ($type == "canvas") {
  35. $zone = $zone . "_canvas";
  36. }
  37. $tables = array('form_eye_hpi','form_eye_ros','form_eye_vitals',
  38. 'form_eye_acuity','form_eye_refraction','form_eye_biometrics',
  39. 'form_eye_external', 'form_eye_antseg','form_eye_postseg',
  40. 'form_eye_neuro','form_eye_locking');
  41. $output_return = "<span id='" . attr($zone) . "_prefix_oldies' name='" . attr($zone) . "_prefix_oldies' class='oldies_prefix'>";
  42. $selected = '';
  43. $current = '';
  44. if (!$priors) { //we have to build it
  45. $query = "select form_encounter.date as encounter_date,form_eye_base.id as form_id, form_eye_base.*
  46. from form_eye_base,forms,form_encounter
  47. where
  48. form_encounter.encounter = forms.encounter and
  49. form_eye_base.id=forms.form_id and
  50. forms.deleted != '1' and
  51. forms.pid =form_eye_base.pid and
  52. forms.formdir='eye_mag' and form_eye_base.pid=? ORDER BY encounter_date DESC LIMIT 20";
  53. // Unlike the obj data(PMSFH,Clinical,IMPPLAN etc), this data is static.
  54. // It only needs to be passed once to the client side.
  55. $result = sqlStatement($query, array($pid));
  56. $counter = sqlNumRows($result);
  57. $priors = array();
  58. if ($counter < 2) {
  59. return;
  60. }
  61. $i = "0";
  62. while ($prior = sqlFetchArray($result)) {
  63. $dated = new DateTime($prior['encounter_date']);
  64. $dated = $dated->format('Y-m-d');
  65. $oeexam_date = oeFormatShortDate($dated);
  66. foreach ($tables as $table) {
  67. $sql = "SELECT * from " . $table . " WHERE id=?";
  68. $sub_data = sqlStatement($sql, array($prior['id']));
  69. $data = sqlFetchArray($sub_data);
  70. if ($data) {
  71. $prior = array_merge($prior, $data);
  72. }
  73. }
  74. $priors[$i] = $prior;
  75. $priors[$i]['encounter_date'] = $oeexam_date;
  76. if (($i > 0) && ($prior['PLAN'])) {
  77. //this plan is a todo list for next visit, which is $i-1 actually
  78. $j = $i - 1;
  79. $priors[$j]['TODO'] = array();
  80. $priors[$j]['TODO'] = $prior['PLAN'];
  81. }
  82. $selected = '';
  83. $priors[$i]['visit_date'] = $oeexam_date;
  84. $priors[$i]['exam_date'] = $oeexam_date;
  85. if ($id_to_show == $prior['form_id']) {
  86. $selected = 'selected="selected"';
  87. $current = $i;
  88. }
  89. $output .= "<option value='" . attr($prior['id']) . "' " . attr($selected) . ">" . text($oeexam_date) . "</option>";
  90. $selected = '';
  91. $i++;
  92. }
  93. } else {
  94. //priors[] exists, containing the visits data AND the priors[earlier] field at the end, so iterate through all but the last one.
  95. //$visit_count = count($priors) - 1;
  96. for ($i = 0; $i < count($priors); $i++) {
  97. if ($form_id == $priors[$i]['id']) {
  98. $selected = 'selected=selected';
  99. $current = $i;
  100. } else {
  101. $selected = '';
  102. }
  103. $output .= "<option value='" . attr($priors[$i]['id']) . "' " . attr($selected) . ">" . text($priors[$i]['exam_date']) . "</option>";
  104. }
  105. }
  106. $i--;
  107. if ($current < $i) {
  108. $earlier = $current + 1;
  109. } else {
  110. $earlier = $current;
  111. }
  112. if ($current > '0') {
  113. $later = ($current - 1);
  114. } else {
  115. $later = "0";
  116. }
  117. //current visit =[0]
  118. if (!$priors[$current]['PLAN']) {
  119. $priors[$current]['PLAN'] = array();
  120. $query = "SELECT * from form_eye_mag_orders where form_id=?";
  121. $orders = sqlStatement($query, array($priors[$earlier]['id']));
  122. while ($row = sqlFetchArray($orders)) {
  123. $priors[$current]["PLAN"][] = $row;
  124. $priors[$later]["TODO"][] = $row;
  125. }
  126. }
  127. if ($id_to_show != $orig_id) {
  128. $output_return .= '
  129. <span title="' . xla($zone) . ': ' . xla("Copy these values into current visit.") . '
  130. ' . xla("Updated fields will be purple.") . '"
  131. id="COPY_' . attr($zone) . '"
  132. name="COPY_' . attr($zone) . '"
  133. value="' . attr($id_to_show) . '" onclick=\'$("#COPY_SECTION").val("' . attr($zone) . '-' . attr($id_to_show) . '").trigger("change");\'>
  134. <i class="fa fa-paste fa-lg"></i>
  135. </span>
  136. &nbsp;&nbsp;';
  137. }
  138. $output_return .= '
  139. <span onclick=\'$("#PRIOR_' . attr($zone) . '").val("' . attr($priors[$i][id]) . '").trigger("change");\'
  140. id="PRIORS_' . attr($zone) . '_earliest"
  141. name="PRIORS_' . attr($zone) . '_earliest"
  142. class="fa fa-fast-backward fa-sm PRIORS"
  143. title="' . attr($zone) . ': ' . attr($priors[$i]['encounter_date']) . '">
  144. </span>
  145. &nbsp;
  146. <span onclick=\'$("#PRIOR_' . attr($zone) . '").val("' . attr($priors[$earlier][id]) . '").trigger("change");\'
  147. id="PRIORS_' . attr($zone) . '_minus_one"
  148. name="PRIORS_' . attr($zone) . '_minus_one"
  149. class="fa fa-step-backward fa-sm PRIORS"
  150. title="' . attr($zone) . ': ' . attr($priors[$earlier]['encounter_date']) . '">
  151. </span>&nbsp;&nbsp;
  152. <select name="PRIOR_' . attr($zone) . '"
  153. id="PRIOR_' . attr($zone) . '"
  154. style="padding:0 0;font-size:1.2em;"
  155. class="PRIORS">
  156. ' . $output . '
  157. </select>
  158. &nbsp;
  159. <span onclick=\'$("#PRIOR_' . attr($zone) . '").val("' . attr($priors[$later][id]) . '").trigger("change");\'
  160. id="PRIORS_' . attr($zone) . '_plus_one"
  161. name="PRIORS_' . attr($zone) . '_plus_one"
  162. class="fa fa-step-forward PRIORS"
  163. title="' . attr($zone) . ': ' . attr($priors[$later]['encounter_date']) . '">
  164. </span>&nbsp;&nbsp;
  165. <span onclick=\'$("#PRIOR_' . attr($zone) . '").val("' . attr($priors[0][id]) . '").trigger("change");\'
  166. id="PRIORS_' . attr($zone) . '_latest"
  167. name="PRIORS_' . attr($zone) . '_latest"
  168. class="fa fa-fast-forward PRIORS"
  169. title="' . attr($zone) . ': ' . attr($priors[0]['encounter_date']) . '"> &nbsp;
  170. </span>
  171. </span>';
  172. return $output_return;
  173. }
  174. /**
  175. * This function returns ZONE specific HTML for a PRIOR record (3 input values)
  176. *
  177. * This is where the magic of displaying the old records happens.
  178. * Each section is a duplicate of the base html except the values are from a prior visit,
  179. * the background and background-color are different, and the input fields are disabled.
  180. *
  181. * @param string $zone options ALL,EXT,ANTSEG,RETINA,NEURO. DRAW_PRIORS_$zone and IMPPLAN to do.
  182. * @param string $visit_date. Future functionality to limit result set. UTC DATE Formatted
  183. * @param string $pid value = patient id
  184. * @return outputs the ZONE specific HTML for a prior record + "priors_select" widget for the desired zone
  185. */
  186. function display_PRIOR_section($zone, $orig_id, $id_to_show, $pid, $report = '0')
  187. {
  188. global $form_folder;
  189. $query = "SELECT * FROM form_eye_mag_prefs
  190. where PEZONE='PREFS' AND id=?
  191. ORDER BY ZONE_ORDER,ordering";
  192. $result = sqlStatement($query, array($_SESSION['authUserID']));
  193. while ($prefs = sqlFetchArray($result)) {
  194. ${$prefs['LOCATION']} = $prefs['GOVALUE'];
  195. }
  196. $query = "SELECT *
  197. from form_eye_base,
  198. form_eye_hpi,form_eye_ros,form_eye_vitals,
  199. form_eye_acuity,form_eye_refraction,form_eye_biometrics,
  200. form_eye_external, form_eye_antseg,form_eye_postseg,
  201. form_eye_neuro,form_eye_locking
  202. where
  203. form_eye_base.id=form_eye_hpi.id and
  204. form_eye_base.id=form_eye_ros.id and
  205. form_eye_base.id=form_eye_vitals.id and
  206. form_eye_base.id=form_eye_acuity.id and
  207. form_eye_base.id=form_eye_refraction.id and
  208. form_eye_base.id=form_eye_biometrics.id and
  209. form_eye_base.id=form_eye_external.id and
  210. form_eye_base.id=form_eye_antseg.id and
  211. form_eye_base.id=form_eye_postseg.id and
  212. form_eye_base.id=form_eye_neuro.id and
  213. form_eye_base.id=form_eye_locking.id and
  214. form_eye_base.pid =? and
  215. form_eye_base.id=?";
  216. $result = sqlQuery($query, array($pid,$id_to_show));
  217. @extract($result);
  218. ob_start();
  219. if ($zone == "REFRACTIONS") {
  220. //TODO maybe just sql _refraction+acuity
  221. display_refractive_data($result);
  222. } elseif ($zone == "EXT") {
  223. if ($report == '0') {
  224. $output = priors_select($zone, $orig_id, $id_to_show, $pid);
  225. }
  226. ?>
  227. <input disabled type="hidden" id="PRIORS_<?php echo attr($zone); ?>_prefix" name="PRIORS_<?php echo attr($zone); ?>_prefix" value="">
  228. <span class="closeButton float-right fas fa-times" id="Close_PRIORS_<?php echo attr($zone); ?>" name="Close_PRIORS_<?php echo attr($zone); ?>"></span>
  229. <div name="prior_selector">
  230. <?php
  231. echo $output;//prior visit selector - already sanitized
  232. ?>
  233. </div>
  234. <span style="font-weight:bold;">
  235. <?php
  236. if ($report == '0') {
  237. echo xlt('Prior Exam');
  238. } else {
  239. echo xlt($zone);
  240. } ?>: </span>
  241. <br />
  242. <div id="PRIORS_EXT_left_1">
  243. <table>
  244. <?php
  245. list($imaging,$episode) = display($pid, $encounter, "EXT");
  246. echo $episode;
  247. ?>
  248. </table>
  249. <table>
  250. <tr>
  251. <td></td><td><?php echo xlt('R'); ?></td><td><?php echo xlt('L{{left}}'); ?></td>
  252. </tr>
  253. <tr>
  254. <td class="right"><?php echo xlt('Lev Fn{{levator function}}'); ?></td>
  255. <td><input disabled type="text" size="1" name="PRIOR_RLF" id="PRIOR_RLF" value="<?php echo attr($RLF); ?>"></td>
  256. <td><input disabled type="text" size="1" name="PRIOR_LLF" id="PRIOR_LLF" value="<?php echo attr($LLF); ?>"></td>
  257. </tr>
  258. <tr>
  259. <td class="right"><?php echo xlt('MRD{{marginal reflex distance}}'); ?></td>
  260. <td><input disabled type="text" size="1" name="PRIOR_RMRD" id="PRIOR_RMRD" value="<?php echo attr($RMRD); ?>"></td>
  261. <td><input disabled type="text" size="1" name="PRIOR_LMRD" id="PRIOR_LMRD" value="<?php echo attr($LMRD); ?>"></td>
  262. </tr>
  263. <tr>
  264. <td class="right"><?php echo xlt('Vert Fissure{{vertical fissure height}}'); ?></td>
  265. <td><input disabled type="text" size="1" name="PRIOR_RVFISSURE" id="PRIOR_RVFISSURE" value="<?php echo attr($RVFISSURE); ?>"></td>
  266. <td><input disabled type="text" size="1" name="PRIOR_LVFISSURE" id="PRIOR_LVFISSURE" value="<?php echo attr($LVFISSURE); ?>"></td>
  267. </tr>
  268. <tr>
  269. <td class="right"><?php echo xlt('Carotid Bruit'); ?></td>
  270. <td><input disabled type="text" name="PRIOR_RCAROTID" id="PRIOR_RCAROTID" value="<?php echo attr($RCAROTID); ?>"></td>
  271. <td><input disabled type="text" name="PRIOR_LCAROTID" id="PRIOR_LCAROTID" value="<?php echo attr($LCAROTID); ?>"></td>
  272. </tr>
  273. <tr>
  274. <td class="right"><?php echo xlt('Temporal Art.{{Temporal Artery}}'); ?></td>
  275. <td><input disabled type="text" size="1" name="PRIOR_RTEMPART" id="PRIOR_RTEMPART" value="<?php echo attr($RTEMPART); ?>"></td>
  276. <td><input disabled type="text" size="1" name="PRIOR_LTEMPART" id="PRIOR_LTEMPART" value="<?php echo attr($LTEMPART); ?>"></td>
  277. </tr>
  278. <tr>
  279. <td class="right"><?php echo xlt('CN V{{cranial nerve five}}'); ?></td>
  280. <td><input disabled type="text" size="1" name="PRIOR_RCNV" id="PRIOR_RCNV" value="<?php echo attr($RCNV); ?>"></td>
  281. <td><input disabled type="text" size="1" name="PRIOR_LCNV" id="PRIOR_LCNV" value="<?php echo attr($LCNV); ?>"></td>
  282. </tr>
  283. <tr>
  284. <td class="right"><?php echo xlt('CN VII{{cranial nerve seven}}'); ?></td>
  285. <td><input disabled type="text" size="1" name="PRIOR_RCNVII" id="PRIOR_RCNVII" value="<?php echo attr($RCNVII); ?>"></td>
  286. <td><input disabled type="text" size="1" name="PRIOR_LCNVII" id="PRIOR_LCNVII" value="<?php echo attr($LCNVII); ?>"></td>
  287. </tr>
  288. <tr><td colspan=3 class="underline"><?php echo xlt('Hertel Exophthalmometry'); ?></td></tr>
  289. <tr class="center">
  290. <td>
  291. <input disabled type=text size=1 id="PRIOR_ODHERTEL" name="PRIOR_ODHERTEL" value="<?php echo attr($ODHERTEL); ?>">
  292. <i class="fa fa-minus"></i>
  293. </td>
  294. <td>
  295. <input disabled type=text size=3 id="PRIOR_HERTELBASE" name="PRIOR_HERTELBASE" value="<?php echo attr($HERTELBASE); ?>">
  296. <i class="fa fa-minus"></i>
  297. </td>
  298. <td>
  299. <input disabled type=text size=1 id="PRIOR_OSHERTEL" name="PRIOR_OSHERTEL" value="<?php echo attr($OSHERTEL); ?>">
  300. </td>
  301. </tr>
  302. <tr><td>&nbsp;</td></tr>
  303. </table>
  304. </div>
  305. <?php ($EXT_VIEW == 1) ? ($display_EXT_view = "wide_textarea") : ($display_EXT_view = "narrow_textarea");?>
  306. <?php ($display_EXT_view == "wide_textarea") ? ($marker = "fa-minus-square-o") : ($marker = "fa-plus-square-o");?>
  307. <div id="PRIOR_EXT_text_list" name="PRIOR_EXT_text_list" class="borderShadow PRIORS <?php echo attr($display_EXT_view); ?>" >
  308. <span class="top_right fa <?php echo attr($marker); ?>" name="PRIOR_EXT_text_view" id="PRIOR_EXT_text_view"></span>
  309. <table cellspacing="0" cellpadding="0" >
  310. <tr>
  311. <th><?php echo xlt('Right'); ?></th><td style="width:100px;"></td><th><?php echo xlt('Left'); ?> </th>
  312. </tr>
  313. <tr>
  314. <td><textarea disabled name="PRIOR_RBROW" id="PRIOR_RBROW" class="right EXT"><?php echo text($RBROW); ?></textarea></td>
  315. <td class="ident"><?php echo xlt('Brow'); ?></td>
  316. <td><textarea disabled name="PRIOR_LBROW" id="PRIOR_LBROW" class=""><?php echo text($LBROW); ?></textarea></td>
  317. </tr>
  318. <tr>
  319. <td><textarea disabled name="PRIOR_RUL" id="PRIOR_RUL" class="right"><?php echo text($RUL); ?></textarea></td>
  320. <td class="ident"><?php echo xlt('Upper Lids'); ?></td>
  321. <td><textarea disabled name="PRIOR_LUL" id="PRIOR_LUL" class=""><?php echo text($LUL); ?></textarea></td>
  322. </tr>
  323. <tr>
  324. <td><textarea disabled name="PRIOR_RLL" id="PRIOR_RLL" class="right"><?php echo text($RLL); ?></textarea></td>
  325. <td class="ident"><?php echo xlt('Lower Lids'); ?></td>
  326. <td><textarea disabled name="PRIOR_LLL" id="PRIOR_LLL" class=""><?php echo text($LLL); ?></textarea></td>
  327. </tr>
  328. <tr>
  329. <td><textarea disabled name="PRIOR_RMCT" id="PRIOR_RMCT" class="right"><?php echo text($RMCT); ?></textarea></td>
  330. <td class="ident"><?php echo xlt('Medial Canthi'); ?></td>
  331. <td><textarea disabled name="PRIOR_LMCT" id="PRIOR_LMCT" class=""><?php echo text($LMCT); ?></textarea></td>
  332. </tr>
  333. <tr>
  334. <td><textarea disabled name="PRIOR_RADNEXA" id="PRIOR_RADNEXA" class="right"><?php echo text($RADNEXA); ?></textarea></td>
  335. <td class="ident"><?php echo xlt('Adnexa'); ?></td>
  336. <td><textarea disabled name="PRIOR_LADNEXA" id="PRIOR_LADNEXA" class=""><?php echo text($LADNEXA); ?></textarea></td>
  337. </tr>
  338. </table>
  339. </div>
  340. <br />
  341. <div class="QP_lengthen">
  342. <span style="font-weight:bold;"><?php echo xlt('Comments'); ?>:</span>
  343. <br />
  344. <textarea disabled id="PRIOR_EXT_COMMENTS" name="PRIOR_EXT_COMMENTS"><?php echo text($EXT_COMMENTS); ?></textarea>
  345. </div>
  346. <?php
  347. } elseif ($zone == "ANTSEG") {
  348. if ($report == '0') {
  349. $output = priors_select($zone, $orig_id, $id_to_show, $pid);
  350. }
  351. ?>
  352. <input disabled type="hidden" id="PRIORS_<?php echo attr($zone); ?>_prefix" name="PRIORS_<?php echo attr($zone); ?>_prefix" value="">
  353. <span class="closeButton float-right fas fa-times" id="Close_PRIORS_<?php echo attr($zone); ?>" name="Close_PRIORS_<?php echo attr($zone); ?>"></span>
  354. <div name="prior_selector">
  355. <?php
  356. echo $output;
  357. ?>
  358. </div>
  359. <span style="font-weight:bold;"> <?php echo xlt('Prior Exam'); ?>:</span>
  360. <br />
  361. <div class="text_clinical" id="PRIORS_ANTSEG_left_1">
  362. <table>
  363. <?php
  364. list($imaging,$episode) = display($pid, $encounter, "ANTSEG");
  365. echo $episode;
  366. ?>
  367. </table>
  368. <table>
  369. <tr >
  370. <td></td><td><?php echo xlt('R{{right}}'); ?></td><td><?php echo xlt('L{{left}}'); ?></td>
  371. </tr>
  372. <tr>
  373. <td class="right" ><?php echo xlt('Gonio{{Gonioscopy abbreviation}}'); ?></td>
  374. <td><input disabled type="text" name="PRIOR_ODGONIO" id="PRIOR_ODGONIO" value="<?php echo attr($ODGONIO); ?>"></td>
  375. <td><input disabled type="text" name="PRIOR_OSGONIO" id="PRIOR_OSGONIO" value="<?php echo attr($OSGONIO); ?>"></td>
  376. </tr>
  377. <tr>
  378. <td class="right" ><?php echo xlt('Pachymetry'); ?></td>
  379. <td><input disabled type="text" name="PRIOR_ODKTHICKNESS" id="PRIOR_ODKTHICKNESS" value="<?php echo attr($ODKTHICKNESS); ?>"></td>
  380. <td><input disabled type="text" name="PRIOR_OSKTHICKNESS" id="PRIOR_OSKTHICKNESS" value="<?php echo attr($OSKTHICKNESS); ?>"></td>
  381. </tr>
  382. <tr>
  383. <td class="right" title="<?php echo xla('Schirmers I (w/o anesthesia)'); ?>"><?php echo xlt('Schirmer I'); ?></td>
  384. <td><input disabled type="text" name="PRIOR_ODSCHIRMER1" id="PRIOR_ODSCHIRMER1" value="<?php echo attr($ODSCHIRMER1); ?>"></td>
  385. <td><input disabled type="text" name="PRIOR_OSSCHRIMER2" id="PRIOR_OSSCHIRMER1" value="<?php echo attr($OSSCHIRMER1); ?>"></td>
  386. </tr>
  387. <tr>
  388. <td class="right" title="<?php echo xla('Schirmers II (w/ anesthesia)'); ?>"><?php echo xlt('Schirmer II'); ?></td>
  389. <td><input disabled type="text" name="PRIOR_ODSCHIRMER2" id="PRIOR_ODSCHIRMER2" value="<?php echo attr($ODSCHIRMER2); ?>"></td>
  390. <td><input disabled type="text" name="PRIOR_OSSCHRIMER2" id="PRIOR_OSSCHIRMER2" value="<?php echo attr($OSSCHIRMER2); ?>"></td>
  391. </tr>
  392. <tr>
  393. <td class="right" title="<?php echo xla('Tear Break Up Time'); ?>"><?php echo xlt('TBUT{{tear breakup time}}'); ?></td>
  394. <td><input disabled type="text" name="PRIOR_ODTBUT" id="PRIOR_ODTBUT" value="<?php echo attr($ODTBUT); ?>"></td>
  395. <td><input disabled type="text" name="PRIOR_OSTBUT" id="PRIOR_OSTBUT" value="<?php echo attr($OSTBUT); ?>"></td>
  396. </tr>
  397. <tr>
  398. <td colspan="3" rowspan="4" id="PRIORS_dil_box" nowrap="">
  399. <br />
  400. <?php
  401. // This is going to be based off a list in the near future
  402. // to allow for end-user customization
  403. ?>
  404. <span id="PRIORS_dil_listbox_title"><?php echo xlt('Dilation'); ?>:</span>
  405. <span id="PRIORS_dil_meds" class="float-right"><?php
  406. if ($DIL_MEDS) {
  407. echo text($DIL_MEDS);
  408. }
  409. ?></span>
  410. <br />
  411. <table id="PRIORS_dil_listbox">
  412. <tr>
  413. <td>
  414. <input disabled type="checkbox" class="dil_drug" id="PRIORS_CycloMydril" name="PRIORS_CYCLOMYDRIL" value="Cyclomydril" <?php
  415. if ($CYCLOMYDRIL == 'Cyclomydril') {
  416. echo "checked='checked'";
  417. } ?> />
  418. <label for="CycloMydril" class="input-helper input-helper--checkbox"><?php echo text('CycloMydril'); ?></label>
  419. </td>
  420. <td>
  421. <input disabled type="checkbox" class="dil_drug" id="PRIORS_Tropicamide" name="PRIORS_TROPICAMIDE" value="Tropicamide 2.5%" <?php
  422. if ($TROPICAMIDE == 'Tropicamide 2.5%') {
  423. echo "checked='checked'";
  424. } ?> />
  425. <label for="Tropicamide" class="input-helper input-helper--checkbox"><?php echo text('Tropic 2.5%'); ?></label>
  426. </td>
  427. </tr>
  428. <tr>
  429. <td>
  430. <input disabled type="checkbox" class="dil_drug" id="PRIORS_Neo25" name="PRIORS_NEO25" value="Neosynephrine 2.5%" <?php
  431. if ($NEO25 == 'Neosynephrine 2.5%') {
  432. echo "checked='checked'";
  433. } ?> />
  434. <label for="Neo25" class="input-helper input-helper--checkbox"><?php echo text('Neo 2.5%'); ?></label>
  435. </td>
  436. <td>
  437. <input disabled type="checkbox" class="dil_drug" id="PRIORS_Neo10" name="PRIORS_NEO10" value="Neosynephrine 10%" <?php
  438. if ($NEO10 == 'Neosynephrine 10%') {
  439. echo "checked='checked'";
  440. } ?> />
  441. <label for="Neo10" class="input-helper input-helper--checkbox"><?php echo text('Neo 10%'); ?></label>
  442. </td>
  443. </tr>
  444. <tr>
  445. <td>
  446. <input disabled type="checkbox" class="dil_drug" id="PRIORS_Cyclogyl" style="left:150px;" name="PRIORS_CYCLOGYL" value="Cyclopentolate 1%" <?php
  447. if ($CYCLOGYL == 'Cyclopentolate 1%') {
  448. echo "checked='checked'";
  449. } ?> />
  450. <label for="Cyclogyl" class="input-helper input-helper--checkbox"><?php echo text('Cyclo 1%'); ?></label>
  451. </td>
  452. <td>
  453. <input disabled type="checkbox" class="dil_drug" id="PRIORS_Atropine" name="PRIORS_ATROPINE" value="Atropine 1%" <?php
  454. if ($ATROPINE == 'Atropine 1%') {
  455. echo "checked='checked'";
  456. } ?> />
  457. <label for="Atropine" class="input-helper input-helper--checkbox"><?php echo text('Atropine 1%'); ?></label>
  458. </td>
  459. </tr>
  460. </table>
  461. </td>
  462. </tr>
  463. </table>
  464. </div>
  465. <?php ($ANTSEG_VIEW == '1') ? ($display_ANTSEG_view = "wide_textarea") : ($display_ANTSEG_view = "narrow_textarea");?>
  466. <?php ($display_ANTSEG_view == "wide_textarea") ? ($marker = "fa-minus-square-o") : ($marker = "fa-plus-square-o");?>
  467. <div id="PRIOR_ANTSEG_text_list" name="PRIOR_ANTSEG_text_list" class="borderShadow PRIORS <?php echo attr($display_ANTSEG_view); ?>" >
  468. <span class="top_right fa <?php echo attr($marker); ?>" name="PRIOR_ANTSEG_text_view" id="PRIOR_ANTSEG_text_view"></span>
  469. <table>
  470. <tr>
  471. <th><?php echo xlt('OD{{right eye}}'); ?></th><th></th><th><?php echo xlt('OS{{left eye}}'); ?></th></td>
  472. </tr>
  473. <tr>
  474. <td><textarea disabled name="PRIOR_ODCONJ" id="PRIOR_ODCONJ" class="right"><?php echo text($ODCONJ); ?></textarea></td>
  475. <td class="ident"><?php echo xlt('Conj{{Conjunctiva}}'); ?> / <?php echo xlt('Sclera'); ?></td>
  476. <td><textarea disabled name="PRIOR_OSCONJ" id="PRIOR_OSCONJ" class=""><?php echo text($OSCONJ); ?></textarea></td>
  477. </tr>
  478. <tr>
  479. <td><textarea disabled name="PRIOR_ODCORNEA" id="PRIOR_ODCORNEA" class="right"><?php echo text($ODCORNEA); ?></textarea></td>
  480. <td class="ident"><?php echo xlt('Cornea'); ?></td>
  481. <td><textarea disabled name="PRIOR_OSCORNEA" id="PRIOR_OSCORNEA" class=""><?php echo text($OSCORNEA); ?></textarea></td>
  482. </tr>
  483. <tr>
  484. <td><textarea disabled name="PRIOR_ODAC" id="PRIOR_ODAC" class="right"><?php echo text($ODAC); ?></textarea></td>
  485. <td class="ident"><?php echo xlt('A/C{{anterior chamber}}'); ?></td>
  486. <td><textarea disabled name="PRIOR_OSAC" id="PRIOR_OSAC" class=""><?php echo text($OSAC); ?></textarea></td>
  487. </tr>
  488. <tr>
  489. <td><textarea disabled name="PRIOR_ODLENS" id="PRIOR_ODLENS" class=" right"><?php echo text($ODLENS); ?></textarea></td>
  490. <td class="ident" ><?php echo xlt('Lens'); ?></td>
  491. <td><textarea disabled name="PRIOR_OSLENS" id="PRIOR_OSLENS" class=""><?php echo text($OSLENS); ?></textarea></td>
  492. </tr>
  493. <tr>
  494. <td><textarea disabled name="PRIOR_ODIRIS" id="PRIOR_ODIRIS" class="right"><?php echo text($ODIRIS); ?></textarea></td>
  495. <td class="ident"><?php echo xlt('Iris'); ?></td>
  496. <td><textarea disabled name="PRIOR_OSIRIS" id="PRIOR_OSIRIS" class=""><?php echo text($OSIRIS); ?></textarea></td>
  497. </tr>
  498. </table>
  499. </div>
  500. <br />
  501. <div class="QP_lengthen">
  502. <span style="font-weight:bold;"><?php echo xlt('Comments'); ?>:</span>
  503. <br />
  504. <textarea disabled id="PRIOR_ANTSEG_COMMENTS" name="PRIOR_ANTSEG_COMMENTS"><?php echo text($ANTSEG_COMMENTS); ?></textarea>
  505. </div>
  506. <?php
  507. } elseif ($zone == "RETINA") {
  508. if ($report == '0') {
  509. $output = priors_select($zone, $orig_id, $id_to_show, $pid);
  510. }
  511. ?>
  512. <input disabled type="hidden" id="PRIORS_<?php echo attr($zone); ?>_prefix" name="PRIORS_<?php echo attr($zone); ?>_prefix" value="">
  513. <span class="closeButton float-right fas fa-times" id="Close_PRIORS_<?php echo attr($zone); ?>" name="Close_PRIORS_<?php echo attr($zone); ?>"></span>
  514. <div name="prior_selector">
  515. <?php
  516. echo $output;
  517. ?>
  518. </div>
  519. <span style="font-weight:bold;"><?php echo xlt('Prior Exam'); ?>:</span>
  520. <br />
  521. <div id="PRIORS_RETINA_left_1" class="text_clinical">
  522. <table>
  523. <?php
  524. list($imaging,$episode) = display($pid, $encounter, "POSTSEG");
  525. echo $episode;
  526. ?>
  527. </table>
  528. <br />
  529. <table>
  530. <tr class="bold">
  531. <td></td>
  532. <td><?php echo xlt('OD{{right eye}}'); ?> </td><td><?php echo xlt('OS{{left eye}}'); ?> </td>
  533. </tr>
  534. <tr>
  535. <td class="bold right"><?php echo xlt('C/D Ratio{{cup to disc ration}}'); ?>:</td>
  536. <td>
  537. <input type="text" disabled name="PRIOR_ODCUP" size="4" id="PRIOR_ODCUP" value="<?php echo attr($ODCUP); ?>">
  538. </td>
  539. <td>
  540. <input type="text" disabled name="PRIOR_OSCUP" size="4" id="PRIOR_OSCUP" value="<?php echo attr($OSCUP); ?>">
  541. </td>
  542. </tr>
  543. <tr>
  544. <td class="bold right">
  545. <?php echo xlt('CMT{{Central Macular Thickness}}'); ?>:</td>
  546. <td>
  547. <input type="text" disabled name="PRIOR_ODCMT" size="4" id="PRIOR_ODCMT" value="<?php echo attr($ODCMT); ?>">
  548. </td>
  549. <td>
  550. <input type="text" disabled name="PRIOR_OSCMT" size="4" id="PRIOR_OSCMT" value="<?php echo attr($OSCMT); ?>">
  551. </td>
  552. </tr>
  553. </table>
  554. <br />
  555. <table>
  556. <?php
  557. list($imaging,$episode) = display($pid, $encounter, "NEURO");
  558. echo $episode;
  559. ?>
  560. </table>
  561. </div>
  562. <?php ($RETINA_VIEW == 1) ? ($display_RETINA_view = "wide_textarea") : ($display_RETINA_view = "narrow_textarea");?>
  563. <?php ($display_RETINA_view == "wide_textarea") ? ($marker = "fa-minus-square-o") : ($marker = "fa-plus-square-o");?>
  564. <div>
  565. <div id="PRIOR_RETINA_text_list" name="PRIOR_RETINA_text_list" class="borderShadow PRIORS <?php echo attr($display_RETINA_view); ?>">
  566. <span class="top_right fa <?php echo attr($marker); ?>" name="PRIOR_RETINA_text_view" id="PRIOR_RETINA_text_view"></span>
  567. <table cellspacing="0" cellpadding="0">
  568. <tr>
  569. <th><?php echo xlt('OD{{right eye}}'); ?></th><td style="width:100px;"></td><th><?php echo xlt('OS{{left eye}}'); ?></th></td>
  570. </tr>
  571. <tr>
  572. <td><textarea disabled name="PRIOR_ODDISC" id="PRIOR_ODDISC" class="right"><?php echo text($ODDISC); ?></textarea></td>
  573. <td style="text-align:center;font-size:0.9em;"><?php echo xlt('Disc'); ?></td>
  574. <td><textarea disabled name="PRIOR_OSDISC" id="PRIOR_OSDISC"><?php echo text($OSDISC); ?></textarea></td>
  575. </tr>
  576. <tr>
  577. <td><textarea disabled name="ODMACULA" id="ODMACULA" class="right"><?php echo text($ODMACULA); ?></textarea></td>
  578. <td style="text-align:center;font-size:0.9em;"><?php echo xlt('Macula'); ?></td>
  579. <td><textarea disabled name="PRIOR_OSMACULA" id="PRIOR_OSMACULA"><?php echo text($OSMACULA); ?></textarea></td>
  580. </tr>
  581. <tr>
  582. <td><textarea disabled name="PRIOR_ODVESSELS" id="PRIOR_ODVESSELS" class="right"><?php echo text($ODVESSELS); ?></textarea></td>
  583. <td style="text-align:center;font-size:0.9em;"><?php echo xlt('Vessels'); ?></td>
  584. <td><textarea disabled name="PRIOR_OSVESSELS" id="PRIOR_OSVESSELS"><?php echo text($OSVESSELS); ?></textarea></td>
  585. </tr>
  586. <tr>
  587. <td><textarea name="PRIOR_ODVITREOUS" id="PRIOR_ODVITREOUS" class="right"><?php echo text($ODVITREOUS); ?></textarea></td>
  588. <td style="text-align:center;font-size:0.9em;" ><?php echo xlt('Vitreous'); ?></td>
  589. <td><textarea name="PRIOR_OSVITREOUS" id="PRIOR_OSVITREOUS"><?php echo text($OSVITREOUS); ?></textarea></td>
  590. </tr>
  591. <tr>
  592. <td><textarea disabled name="PRIOR_ODPERIPH" id="PRIOR_ODPERIPH" class="right"><?php echo text($ODPERIPH); ?></textarea></td>
  593. <td style="text-align:center;font-size:0.9em;" class=""><?php echo xlt('Periph'); ?></td>
  594. <td><textarea disabled name="PRIOR_OSPERIPH" id="PRIOR_OSPERIPH"><?php echo text($OSPERIPH); ?></textarea></td>
  595. </tr>
  596. </table>
  597. </div>
  598. </div>
  599. <br />
  600. <br />
  601. <div class="QP_lengthen">
  602. <SPAN style="font-weight:bold;"><?php echo xlt('Comments'); ?>:</SPAN>
  603. <br />
  604. <textarea disabled id="PRIOR_RETINA_COMMENTS" name="PRIOR_RETINA_COMMENTS" style="width:4.0in;height:3.0em;"><?php echo text($RETINA_COMMENTS); ?></textarea>
  605. </div>
  606. <?php
  607. } elseif ($zone == "NEURO") {
  608. if ($report == '0') {
  609. $output = priors_select($zone, $orig_id, $id_to_show, $pid);
  610. }
  611. ?>
  612. <input disabled type="hidden" id="PRIORS_<?php echo attr($zone); ?>_prefix" name="PRIORS_<?php echo attr($zone); ?>_prefix" value="">
  613. <span class="closeButton float-right fas fa-times" id="Close_PRIORS_<?php echo attr($zone); ?>" name="Close_PRIORS_<?php echo attr($zone); ?>"></span>
  614. <div name="prior_selector">
  615. <?php
  616. echo $output;
  617. ?>
  618. </div>
  619. <span style="font-weight:bold;"><?php echo xlt('Prior Exam'); ?>:</span>
  620. <br />
  621. <div style="float:left;margin-top:0.8em;font-size:0.8em;">
  622. <div id="PRIOR_NEURO_text_list" class="borderShadow PRIORS" style="border:1pt solid black;float:left;width:195px;padding:10px;text-align:center;margin:2 2;font-weight:bold;">
  623. <table style="font-size:1.0em;font-weight:600;">
  624. <tr>
  625. <td></td><td style="text-align:center;"><?php echo xlt('OD{{right eye}}'); ?></td><td style="text-align:center;"><?php echo xlt('OS{{left eye}}'); ?></td></tr>
  626. <tr>
  627. <td class="right">
  628. <?php echo xlt('Color'); ?>:
  629. </td>
  630. <td>
  631. <input disabled type="text" id="PRIOR_ODCOLOR" name="PRIOR_ODCOLOR" value="<?php
  632. if ($ODCOLOR) {
  633. echo attr($ODCOLOR);
  634. } else {
  635. echo " / ";
  636. } ?>"/>
  637. </td>
  638. <td>
  639. <input disabled type="text" id="PRIOR_OSCOLOR" name="PRIOR_OSCOLOR" value="<?php
  640. if ($OSCOLOR) {
  641. echo attr($OSCOLOR);
  642. } else {
  643. echo " / ";
  644. } ?>"/>
  645. </td>
  646. <td style="text-align:bottom;">
  647. &nbsp;<span title="<?php echo xla('Insert normals - 11/11'); ?>" class="fa fa-reply"></span>
  648. </td>
  649. </tr>
  650. <tr>
  651. <td class="right" style="white-space: nowrap;font-size:0.9em;">
  652. <span title="<?php echo xla('Variation in red color discrimination between the eyes (eg. OD=100, OS=75)'); ?>"><?php echo xlt('Red Desat{{red desaturation}}'); ?>:</span>
  653. </td>
  654. <td>
  655. <input disabled type="text" size="6" name="PRIOR_ODREDDESAT" id="PRIOR_ODREDDESAT" value="<?php echo attr($ODREDDESAT); ?>"/>
  656. </td>
  657. <td>
  658. <input disabled type="text" size="6" name="PRIOR_OSREDDESAT" id="PRIOR_OSREDDESAT" value="<?php echo attr($OSREDDESAT); ?>"/>
  659. </td>
  660. <td>&nbsp;
  661. <span id="" class="fa fa-reply" name="" title="<?php echo xla('Insert normals - 100/100'); ?>"></span>
  662. </td>
  663. </tr>
  664. <tr>
  665. <td class="right" style="white-space: nowrap;font-size:0.9em;">
  666. <span title="<?php echo xla('Variation in white (muscle) light brightness discrimination between the eyes (eg. OD=$1.00, OS=$0.75)'); ?>"><?php echo xlt('Coins'); ?>:</span>
  667. </td>
  668. <td>
  669. <input disabled type="text" size="6" name="PRIOR_ODCOINS" id="PRIOR_ODCOINS" value="<?php echo attr($ODCOINS); ?>"/>
  670. </td>
  671. <td>
  672. <input disabled type="text" size="6" name="PRIOR_OSCOINS" id="PRIOR_OSCOINS" value="<?php echo attr($OSCOINS); ?>"/>
  673. </td>
  674. <td>&nbsp;
  675. <span id="" class="fa fa-reply" name="" title="<?php echo xla('Insert normals - 100/100'); ?>"></span>
  676. </td>
  677. </tr>
  678. </table>
  679. </div>
  680. <div class="borderShadow" style="position: relative;
  681. float: right;
  682. text-align: center;
  683. width: 260px;
  684. z-index: 1;
  685. margin: 2px 0 2px 2px;">
  686. <span class="closeButton fa fa-th" id="PRIOR_Close_ACTMAIN" name="PRIOR_Close_ACTMAIN"></span>
  687. <table class="ACT_top bold">
  688. <tr style="text-align:left;height:26px;vertical-align:middle;width:180px;">
  689. <td >
  690. <span id="PRIOR_ACTTRIGGER" name="PRIOR_ACTTRIGGER" style="text-decoration:underline;"><?php echo ('Alternate Cover Test'); ?>:</span>
  691. </td>
  692. <td>
  693. <span id="PRIOR_ACTNORMAL_CHECK" name="PRIOR_ACTNORMAL_CHECK">
  694. <label for="PRIOR_ACT" class="input-helper input-helper--checkbox"><?php echo xlt('Ortho'); ?></label>
  695. <input disabled type="checkbox" name="PRIOR_ACT" id="PRIOR_ACT" checked="<?php
  696. if ($ACT == '1') {
  697. echo "checked";
  698. } ?>"></span>
  699. </td>
  700. </tr>
  701. <tr>
  702. <td colspan="2" style="text-align:center;">
  703. <br />
  704. <div id="PRIOR_ACTMAIN" name="PRIOR_ACTMAIN" class="ACT_TEXT nodisplay" style="position:relative;z-index:1;margin 10 auto;">
  705. <table cellpadding="0" style="position:relative;margin: 7 5 19 5;">
  706. <tr>
  707. <td id="PRIOR_ACT_tab_SCDIST" name="PRIOR_ACT_tab_SCDIST" class="ACT_selected"> <?php echo xlt('scDist{{ACT without Correction Distance}}'); ?> </td>
  708. <td id="PRIOR_ACT_tab_CCDIST" name="PRIOR_ACT_tab_CCDIST" class="ACT_deselected"> <?php echo xlt('ccDist{{ACT with Correction Distance}}'); ?> </td>
  709. <td id="PRIOR_ACT_tab_SCNEAR" name="PRIOR_ACT_tab_SCNEAR" class="ACT_deselected"> <?php echo xlt('scNear{{ACT without Correction Near}}'); ?> </td>
  710. <td id="PRIOR_ACT_tab_CCNEAR" name="PRIOR_ACT_tab_CCNEAR" class="ACT_deselected"> <?php echo xlt('ccNear{{ACT with Correction Near}}'); ?> </td>
  711. </tr>
  712. <tr>
  713. <td colspan="4" style="text-align:center;font-size:0.8em;">
  714. <div id="PRIOR_ACT_SCDIST" name="PRIOR_ACT_SCDIST" class="ACT_box">
  715. <br />
  716. <table>
  717. <tr>
  718. <td class="text-center"><?php echo xlt('R{{right}}'); ?></td>
  719. <td style="border-right:1pt solid black;border-bottom:1pt solid black;text-align:right;">
  720. <textarea disabled id="PRIOR_ACT1SCDIST" name="PRIOR_ACT1SCDIST" class="ACT"><?php echo text($ACT1SCDIST); ?></textarea></td>
  721. <td style="border:1pt solid black;border-top:0pt;text-align:center;">
  722. <textarea disabled id="PRIOR_ACT2SCDIST" name="PRIOR_ACT2SCDIST"class="ACT"><?php echo text($ACT2SCDIST); ?></textarea></td>
  723. <td style="border-left:1pt solid black;border-bottom:1pt solid black;text-align:left;">
  724. <textarea disabled id="PRIOR_ACT3SCDIST" name="PRIOR_ACT3SCDIST" class="ACT"><?php echo text($ACT3SCDIST); ?></textarea></td>
  725. <td class="text-center"><?php echo xlt('L{{left}}'); ?></td>
  726. </tr>
  727. <tr>
  728. <td class="text-center"><i class="fa fa-reply rotate-left"></i></td>
  729. <td style="border:1pt solid black;border-left:0pt;text-align:right;">
  730. <textarea disabled id="PRIOR_ACT4SCDIST" name="PRIOR_ACT4SCDIST" class="ACT"><?php echo text($ACT4SCDIST); ?></textarea></td>
  731. <td style="border:1pt solid black;text-align:center;">
  732. <textarea disabled id="PRIOR_ACT5SCDIST" name="PRIOR_ACT5SCDIST" class="ACT"><?php echo text($ACT5SCDIST); ?></textarea></td>
  733. <td style="border:1pt solid black;border-right:0pt;text-align:left;">
  734. <textarea disabled id="PRIOR_ACT6SCDIST" name="PRIOR_ACT6SCDIST" class="ACT"><?php echo text($ACT6SCDIST); ?></textarea></td>
  735. <td class="text-center"><i class="fa fa-reply flip-left"></i></td>
  736. </tr>
  737. <tr>
  738. <td style="border:0; border-top:2pt solid black;border-right:2pt solid black;text-align:right;">
  739. <textarea disabled id="PRIOR_ACT10SCDIST" name="PRIOR_ACT10SCDIST" class="ACT"><?php echo text($ACT10SCDIST); ?></textarea></td>
  740. <td style="border-right:1pt solid black;border-top:1pt solid black;text-align:right;">
  741. <textarea disabled id="PRIOR_ACT7SCDIST" name="PRIOR_ACT7SCDIST" class="ACT"><?php echo text($ACT7SCDIST); ?></textarea></td>
  742. <td style="border:1pt solid black;border-bottom:0pt;text-align:center;">
  743. <textarea disabled id="PRIOR_ACT8SCDIST" name="PRIOR_ACT8SCDIST" class="ACT"><?php echo text($ACT8SCDIST); ?></textarea></td>
  744. <td style="border-left:1pt solid black;border-top:1pt solid black;text-align:left;">
  745. <textarea disabled id="PRIOR_ACT9SCDIST" name="PRIOR_ACT9SCDIST" class="ACT"><?php echo text($ACT9SCDIST); ?></textarea></td>
  746. <td style="border:0; border-top:2pt solid black;border-left:2pt solid black;text-align:left;vertical-align:middle;">
  747. <textarea disabled id="PRIOR_ACT11SCDIST" name="PRIOR_ACT11SCDIST" class="ACT"><?php echo text($ACT11SCDIST); ?></textarea>
  748. </td>
  749. </tr>
  750. </table>
  751. <br />
  752. </div>
  753. <div id="PRIOR_ACT_CCDIST" name="PRIOR_ACT_CCDIST" class="nodisplay ACT_box">
  754. <br />
  755. <table>
  756. <tr>
  757. <td class="text-center"><?php echo xlt('R{{right}}'); ?></td>
  758. <td style="border-right:1pt solid black;border-bottom:1pt solid black;text-align:right;">
  759. <textarea disabled id="PRIOR_ACT1CCDIST" name="PRIOR_ACT1CCDIST" class="ACT"><?php echo text($ACT1CCDIST); ?></textarea></td>
  760. <td style="border:1pt solid black;border-top:0pt;text-align:center;">
  761. <textarea disabled id="PRIOR_ACT2CCDIST" name="PRIOR_ACT2CCDIST"class="ACT"><?php echo text($ACT2CCDIST); ?></textarea></td>
  762. <td style="border-left:1pt solid black;border-bottom:1pt solid black;text-align:left;">
  763. <textarea disabled id="PRIOR_ACT3CCDIST" name="PRIOR_ACT3CCDIST" class="ACT"><?php echo text($ACT3CCDIST); ?></textarea></td>
  764. <td class="text-center"><?php echo xlt('L{{left}}'); ?></td>
  765. </tr>
  766. <tr>
  767. <td class="text-center"><i class="fa fa-reply rotate-left"></i></td>
  768. <td style="border:1pt solid black;border-left:0pt;text-align:right;">
  769. <textarea disabled id="PRIOR_ACT4CCDIST" name="PRIOR_ACT4CCDIST" class="ACT"><?php echo text($ACT4CCDIST); ?></textarea></td>
  770. <td style="border:1pt solid black;text-align:center;">
  771. <textarea disabled id="PRIOR_ACT5CCDIST" name="PRIOR_ACT5CCDIST" class="ACT"><?php echo text($ACT5CCDIST); ?></textarea></td>

Large files files are truncated, but you can click here to view the full file