Guest User

uploadform

a guest
Oct 29th, 2016
121
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title>OpenMRS Electronic Medical Record</title>
  7. <link rel="shortcut icon" type="image/ico" href="/openmrs/images/openmrs-favicon.ico"/>
  8. <link rel="icon" type="image/png\" href="/openmrs/images/openmrs-favicon.png"/>
  9.  
  10. <script type="text/javascript" src="http://gc.kis.scr.kaspersky-labs.com/1B74BD89-2A22-4B93-B451-1C9E1052A0EC/main.js" charset="UTF-8"></script><script type="text/javascript" src="/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.8.3.min.js?cache=1477317604671"></script>
  11. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-ui-1.9.2.custom.min.js?cache=1477317604671"></script>
  12. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/uicommons/scripts/underscore-min.js?cache=1477317604671"></script>
  13. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/uicommons/scripts/knockout-2.1.0.js?cache=1477317604671"></script>
  14. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/uicommons/scripts/emr.js?cache=1477317604671"></script>
  15. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/uicommons/scripts/jquery.toastmessage.js?cache=1477317604671"></script>
  16. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/uicommons/scripts/jquery.simplemodal.1.4.4.min.js?cache=1477317604671"></script>
  17. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/uicommons/scripts/bootstrap-collapse.js?cache=1477317604671"></script>
  18. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/uicommons/scripts/bootstrap-transition.js?cache=1477317604671"></script>
  19. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/coreapps/scripts/custom/visits.js?cache=1477317604671"></script>
  20. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/uicommons/scripts/datetimepicker/bootstrap-datetimepicker.min.js?cache=1477317604671"></script>
  21. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/uicommons/scripts/datetimepicker/locales/bootstrap-datetimepicker.en_GB.js?cache=1477317604671"></script>
  22. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/coreapps/scripts/patientdashboard/patient.js?cache=1477317604671"></script>
  23. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/coreapps/scripts/fragments/visitDetails.js?cache=1477317604671"></script>
  24. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/coreapps/scripts/fragments/encounterTemplates.js?cache=1477317604671"></script>
  25. <script type="text/javascript" src="/openmrs/ms/uiframework/resource/coreapps/scripts/fragments/patientdashboard/encountertemplate/defaultEncounterTemplate.js?cache=1477317604671"></script>
  26. <link rel="stylesheet" href="/openmrs/ms/uiframework/resource/uicommons/styles/styleguide/jquery-ui-1.9.2.custom.min.css?cache=1477317604671" type="text/css"/>
  27. <link rel="stylesheet" href="/openmrs/ms/uiframework/resource/uicommons/styles/styleguide/jquery.toastmessage.css?cache=1477317604671" type="text/css"/>
  28. <link rel="stylesheet" href="/openmrs/ms/uiframework/resource/coreapps/styles/patientdashboard/patientDashboard.css?cache=1477317604671" type="text/css"/>
  29. <link rel="stylesheet" href="/openmrs/ms/uiframework/resource/uicommons/styles/datetimepicker.css?cache=1477317604671" type="text/css"/>
  30. <link rel="stylesheet" href="/openmrs/ms/uiframework/resource/coreapps/styles/patientHeader.css?cache=1477317604671" type="text/css"/>
  31. <link rel="stylesheet" href="/openmrs/ms/uiframework/resource/appui/styles/header.css?cache=1477317604671" type="text/css"/>
  32. <link rel="stylesheet" href="/openmrs/ms/uiframework/resource/referenceapplication/styles/referenceapplication.css?cache=1477317604671" type="text/css"/>
  33.  
  34. </head>
  35. <body>
  36. <script type="text/javascript">
  37. var OPENMRS_CONTEXT_PATH = 'openmrs';
  38. window.sessionContext = window.sessionContext || {
  39. locale: "en_GB"
  40. };
  41. window.translations = window.translations || {};
  42. var openmrs = {
  43. server: {
  44. timezone: "-0400",
  45. timezoneOffset: 240
  46. }
  47. }
  48. </script>
  49.  
  50.  
  51. <script type="text/javascript">
  52.  
  53. var sessionLocationModel = {
  54. id: ko.observable(),
  55. text: ko.observable()
  56. };
  57.  
  58. jq(function () {
  59.  
  60. ko.applyBindings(sessionLocationModel, jq('.change-location').get(0));
  61. sessionLocationModel.id(6);
  62. sessionLocationModel.text("Inpatient Ward");
  63.  
  64. // we only want to activate the functionality to change location if there are actually multiple login locations
  65.  
  66.  
  67. jq(".change-location a").click(function () {
  68. jq('#session-location').show();
  69. jq(this).addClass('focus');
  70. jq(".change-location a i:nth-child(3)").removeClass("icon-caret-down");
  71. jq(".change-location a i:nth-child(3)").addClass("icon-caret-up");
  72. });
  73.  
  74. jq('#session-location').mouseleave(function () {
  75. jq('#session-location').hide();
  76. jq(".change-location a").removeClass('focus');
  77. jq(".change-location a i:nth-child(3)").addClass("icon-caret-down");
  78. jq(".change-location a i:nth-child(3)").removeClass("icon-caret-up");
  79. });
  80.  
  81. jq("#session-location ul.select li").click(function (event) {
  82. var element = jq(event.target);
  83. var locationId = element.attr("locationId");
  84. var locationName = element.attr("locationName");
  85.  
  86. var data = { locationId: locationId };
  87.  
  88. jq("#spinner").show();
  89.  
  90. jq.post(emr.fragmentActionLink("appui", "session", "setLocation", data), function (data) {
  91. sessionLocationModel.id(locationId);
  92. sessionLocationModel.text(locationName);
  93. jq('#session-location li').removeClass('selected');
  94. element.addClass('selected');
  95. jq("#spinner").hide();
  96. jq(document).trigger("sessionLocationChanged");
  97. })
  98.  
  99. jq('#session-location').hide();
  100. jq(".change-location a").removeClass('focus');
  101. jq(".change-location a i:nth-child(3)").addClass("icon-caret-down");
  102. jq(".change-location a i:nth-child(3)").removeClass("icon-caret-up");
  103. });
  104.  
  105.  
  106. jq('.identifier').hover(
  107. function(){
  108. jq('.appui-toggle').show();
  109. jq('.appui-icon-caret-down').hide();
  110. },
  111. function(){
  112. jq('.appui-toggle').hide();
  113. jq('.appui-icon-caret-down').show();
  114. }
  115. );
  116. jq('.identifier').css('cursor', 'pointer');
  117.  
  118.  
  119. });
  120.  
  121. </script>
  122.  
  123. <header>
  124. <div class="logo">
  125. <a href="/openmrs/referenceapplication/home.page">
  126. <img src="/openmrs/ms/uiframework/resource/uicommons/images/logo/openmrs-with-title-small.png"/>
  127. </a>
  128. </div>
  129.  
  130. <ul class="user-options">
  131. <li class="identifier">
  132. <i class="icon-user small"></i>
  133. admin
  134.  
  135. <i class="icon-caret-down appui-icon-caret-down link"></i><i class="icon-caret-up link appui-toggle" style="display: none;"></i>
  136. <ul id="user-account-menu" class="appui-toggle">
  137.  
  138. <li>
  139. <a id="" href="/openmrs/adminui/myaccount/myAccount.page">
  140. My Account
  141. </a>
  142. </li>
  143.  
  144. </ul>
  145.  
  146. </li>
  147. <li class="change-location">
  148. <a href="javascript:void(0);">
  149. <i class="icon-map-marker small"></i>
  150. <span data-bind="text: text"></span>
  151.  
  152. <i class="icon-caret-down link"></i>
  153.  
  154. </a>
  155. </li>
  156. <li class="logout">
  157. <a href="/openmrs/appui/header/logout.action?successUrl=openmrs">
  158. Logout
  159. <i class="icon-signout small"></i>
  160. </a>
  161. </li>
  162. </ul>
  163.  
  164. <div id="session-location">
  165. <div id="spinner" style="position:absolute; display:none">
  166. <img src="/openmrs/ms/uiframework/resource/uicommons/images/spinner.gif">
  167. </div>
  168. <ul class="select">
  169.  
  170. <li class="selected" locationId="6" locationName="Inpatient Ward">Inpatient Ward</li>
  171.  
  172. <li class="" locationId="4" locationName="Isolation Ward">Isolation Ward</li>
  173.  
  174. <li class="" locationId="3" locationName="Laboratory">Laboratory</li>
  175.  
  176. <li class="" locationId="7" locationName="Outpatient Clinic">Outpatient Clinic</li>
  177.  
  178. <li class="" locationId="2" locationName="Pharmacy">Pharmacy</li>
  179.  
  180. <li class="" locationId="5" locationName="Registration Desk">Registration Desk</li>
  181.  
  182. <li class="" locationId="1" locationName="Unknown Location">Unknown Location</li>
  183.  
  184. <li class="" locationId="9" locationName="super psychiatric hospital">super psychiatric hospital</li>
  185.  
  186. </ul>
  187. </div>
  188.  
  189. </header>
  190.  
  191. <ul id="breadcrumbs"></ul>
  192.  
  193. <div id="body-wrapper">
  194.  
  195.  
  196.  
  197. <script type="text/javascript">
  198.  
  199. emr.successMessage("Edited image for tade tare");
  200.  
  201.  
  202. </script>
  203.  
  204. <div id="error-message" class="note-container">
  205. <div class="note error" style="display: none" >
  206. <div class="text">
  207. <i class="icon-remove medium"></i>
  208.  
  209. </div>
  210. <div class="close-icon"><i class="icon-remove"></i></div>
  211. </div>
  212. </div>
  213.  
  214. <div id="info-message" class="note-container">
  215. <div class="note success" style="display: none" >
  216. <div class="text">
  217. <i class="icon-ok medium"></i>
  218.  
  219. <p>Edited image for tade tare</p>
  220. <placeholder></placeholder>
  221.  
  222. </div>
  223. <div class="close-icon"><i class="icon-remove"></i></div>
  224. </div>
  225. </div>
  226.  
  227. <div id="content" class="container">
  228.  
  229. <script type="text/javascript">
  230. var breadcrumbs = [
  231. { icon: "icon-home", link: '/' + OPENMRS_CONTEXT_PATH + '/index.htm' },
  232. { label: "tade tare" ,
  233. link: '/openmrs/coreapps/clinicianfacing/patient.page?patientId=48&app=pih.app.clinicianDashboard'}
  234. ];
  235.  
  236. jq(function(){
  237. jq(".tabs").tabs();
  238.  
  239. // make sure we reload the page if the location is changes; this custom event is emitted by by the location selector in the header
  240. jq(document).on('sessionLocationChanged', function() {
  241. window.location.reload();
  242. });
  243. });
  244.  
  245. var patient = { id: 48 };
  246. </script>
  247.  
  248.  
  249.  
  250.  
  251.  
  252. <script type="text/javascript">
  253. jq(function() {
  254.  
  255. // initialize the dialogs used when creating a retrospective visit
  256. visit.createRetrospectiveVisitDialog(48);
  257. visit.createRetrospectiveVisitExistingVisitsDialog();
  258.  
  259. visit.contextPath = "/openmrs";
  260.  
  261. // override returnUrl if specified
  262.  
  263.  
  264. jq(function(){
  265. // TODO: for retrospective visits dialog, hack to set the end date when selecting a start date
  266. // TODO: move this!
  267. jq('#retrospectiveVisitStartDate').change(function() {
  268. jq('#retrospectiveVisitStopDate-display').val(jq('#retrospectiveVisitStartDate-display').val());
  269. jq('#retrospectiveVisitStopDate-field').val(jq('#retrospectiveVisitStartDate-field').val());
  270. });
  271. });
  272.  
  273. });
  274. </script>
  275.  
  276. <div id="end-visit-dialog" class="dialog" style="display: none">
  277. <div class="dialog-header">
  278. <h3>End Visit</h3>
  279. </div>
  280. <div class="dialog-content">
  281. <input type="hidden" id="visitId" value=""/>
  282. <ul>
  283. <li class="info">
  284. <span>Are you sure you want to end this visit?</span>
  285. </li>
  286. </ul>
  287.  
  288. <button class="confirm right">Yes</button>
  289. <button class="cancel">No</button>
  290. </div>
  291. </div>
  292.  
  293. <div id="retrospective-visit-creation-dialog" class="dialog" style="display: none">
  294. <div class="dialog-header">
  295. <i class="icon-plus"></i>
  296. <h3>Add Past Visit</h3>
  297. </div>
  298. <div class="dialog-content form">
  299. <p>
  300. <label for="startDate" class="required">
  301. Start Date
  302. </label>
  303.  
  304.  
  305.  
  306.  
  307. <span id="retrospectiveVisitStartDate"
  308. >
  309. <label for="retrospectiveVisitStartDate-display">
  310.  
  311. </label>
  312. <span id="retrospectiveVisitStartDate-wrapper" class="date">
  313. <input type="text" id="retrospectiveVisitStartDate-display" value="29 Oct 2016" size="null" readonly />
  314. <span class="add-on"><i class="icon-calendar small"></i></span>
  315. </span>
  316. <input type="hidden" id="retrospectiveVisitStartDate-field" name="retrospectiveVisitStartDate" value="2016-10-29"
  317.  
  318. />
  319.  
  320. <span id="fr5421" class="field-error" style="display: none" >
  321.  
  322. </span>
  323. </span>
  324.  
  325. <script type="text/javascript">
  326. var viewModel = viewModel || {};
  327. viewModel.validations = viewModel.validations || [];
  328.  
  329. jq("#retrospectiveVisitStartDate-wrapper").datetimepicker({
  330.  
  331. minView: 2,
  332.  
  333.  
  334. autoclose: true,
  335. pickerPosition: "bottom-left",
  336. todayHighlight: false,
  337.  
  338.  
  339. format: "dd M yyyy",
  340.  
  341.  
  342.  
  343.  
  344.  
  345. endDate: "29-10-2016",
  346.  
  347.  
  348. language: "en_GB",
  349. linkField: "retrospectiveVisitStartDate-field",
  350.  
  351. linkFormat: "yyyy-mm-dd"
  352.  
  353. })
  354.  
  355. </script>
  356.  
  357. </p>
  358.  
  359. <p>
  360. <label for="stopDate" class="required">
  361. End Date
  362. </label>
  363.  
  364.  
  365.  
  366. <span id="retrospectiveVisitStopDate"
  367. >
  368. <label for="retrospectiveVisitStopDate-display">
  369.  
  370. </label>
  371. <span id="retrospectiveVisitStopDate-wrapper" class="date">
  372. <input type="text" id="retrospectiveVisitStopDate-display" value="29 Oct 2016" size="null" readonly />
  373. <span class="add-on"><i class="icon-calendar small"></i></span>
  374. </span>
  375. <input type="hidden" id="retrospectiveVisitStopDate-field" name="retrospectiveVisitStopDate" value="2016-10-29"
  376.  
  377. />
  378.  
  379. <span id="fr2592" class="field-error" style="display: none" >
  380.  
  381. </span>
  382. </span>
  383.  
  384. <script type="text/javascript">
  385. var viewModel = viewModel || {};
  386. viewModel.validations = viewModel.validations || [];
  387.  
  388. jq("#retrospectiveVisitStopDate-wrapper").datetimepicker({
  389.  
  390. minView: 2,
  391.  
  392.  
  393. autoclose: true,
  394. pickerPosition: "bottom-left",
  395. todayHighlight: false,
  396.  
  397.  
  398. format: "dd M yyyy",
  399.  
  400.  
  401.  
  402.  
  403.  
  404. endDate: "29-10-2016",
  405.  
  406.  
  407. language: "en_GB",
  408. linkField: "retrospectiveVisitStopDate-field",
  409.  
  410. linkFormat: "yyyy-mm-dd"
  411.  
  412. })
  413.  
  414. </script>
  415.  
  416. </p>
  417.  
  418. <br><br>
  419.  
  420. <button class="cancel">Cancel</button>
  421. <button class="confirm right">Confirm<i class="icon-spinner icon-spin icon-2x" style="display: none; margin-left: 10px;"></i></button>
  422. </div>
  423. </div>
  424.  
  425. <div id="retrospective-visit-existing-visits-dialog" class="dialog" style="display: none">
  426.  
  427. <div class="dialog-header">
  428. <i class="icon-plus"></i>
  429. <h3>Add Past Visit</h3>
  430. </div>
  431.  
  432. <div class="dialog-content form">
  433.  
  434. <ul>
  435. <li class="error">
  436. <span>The date you selected is conflicting with other visit(s). Click to navigate to a visit:</span>
  437. </li>
  438. </ul>
  439.  
  440. <ul class="select" id="past-visit-dates">
  441.  
  442. </ul>
  443.  
  444. <br><br>
  445.  
  446. <button class="cancel">Cancel</button>
  447. <button class="confirm no-color">Change Date</button>
  448. </div>
  449. </div>
  450.  
  451.  
  452. <div id="quick-visit-creation-dialog" class="dialog" style="display: none">
  453. <div class="dialog-header">
  454. <i class="icon-check-in"></i>
  455. <h3>
  456. Start a visit
  457. </h3>
  458. </div>
  459. <div class="dialog-content">
  460. <p class="dialog-instructions">Are you sure you want to start a visit for tade tare now?</p>
  461.  
  462. <button class="confirm right">Confirm<i class="icon-spinner icon-spin icon-2x" style="display: none; margin-left: 10px;"></i></button>
  463. <button class="cancel">Cancel</button>
  464. </div>
  465. </div>
  466.  
  467. <div id="delete-patient-creation-dialog" class="dialog" style="display: none">
  468. <div class="dialog-header">
  469. <i class="icon-remove"></i>
  470. <h3>
  471. Delete Patient: tade tare
  472. </h3>
  473. </div>
  474. <div class="dialog-content">
  475. <p class="dialog-instructions">Are you sure you want to DELETE the patient tade tare</p>
  476.  
  477. <label for="delete-reason">Reason: </label>
  478. <input type="text" id="delete-reason">
  479.  
  480. <br>
  481. <h6 id="delete-reason-empty">Reason cannot be empty</h6>
  482. <br>
  483. <button class="confirm right">Confirm<i class="icon-spinner icon-spin icon-2x" style="display: none; margin-left: 10px;"></i></button>
  484. <button class="cancel">Cancel</button>
  485. </div>
  486. </div>
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493. <script type="text/javascript">
  494. var addMessage = "Add";
  495. jq(document).ready(function () {
  496. createEditPatientIdentifierDialog(48);
  497. jq("#patientIdentifierValue").keyup(function(event){
  498. var oldValue = jq("#patientIdentifierValue").val();
  499. var newValue = jq("#hiddenInitialIdentifierValue").val();
  500. if(oldValue==newValue){
  501. jq('.confirm').attr("disabled", "disabled");
  502. jq('.confirm').addClass("disabled");
  503. }else{
  504. jq('.confirm').removeAttr("disabled");
  505. jq('.confirm').removeClass("disabled");
  506. if(event.keyCode == 13){
  507. //ENTER key has been pressed
  508. jq('#confirmIdentifierId').click();
  509. }
  510. }
  511.  
  512. });
  513.  
  514. jq(".editPatientIdentifier").click(function (event) {
  515.  
  516. var patientIdentifierId = jq(event.target).attr('data-patient-identifier-id');
  517. var identifierTypeId = jq(event.target).attr("data-identifier-type-id");
  518. var identifierTypeName = jq(event.target).attr("data-identifier-type-name");
  519. var patientIdentifierValue = jq(event.target).attr("data-patient-identifier-value");
  520.  
  521. jq("#hiddenIdentifierTypeId").val(identifierTypeId);
  522. jq("#hiddenInitialIdentifierValue").val(patientIdentifierValue);
  523. jq("#hiddenPatientIdentifierId").val(patientIdentifierId);
  524. jq("#identifierTypeNameSpan").text(identifierTypeName);
  525. jq("#patientIdentifierValue").val(patientIdentifierValue);
  526.  
  527. showEditPatientIdentifierDialog();
  528.  
  529. jq('.confirm').attr("disabled", "disabled");
  530. jq('.confirm').addClass("disabled");
  531.  
  532. });
  533.  
  534. jq(".demographics .name").click(function () {
  535. emr.navigateTo({
  536. url: "/openmrs/coreapps/clinicianfacing/patient.page?patientId=48&app=pih.app.clinicianDashboard"
  537. });
  538. })
  539.  
  540. jq("#patient-header-contactInfo").click(function (){
  541. var contactInfoDialogDiv = jq("#contactInfoContent");
  542.  
  543. if (contactInfoDialogDiv.hasClass('hidden')) {
  544. contactInfoDialogDiv.removeClass('hidden');
  545. jq(this).addClass('expanded');
  546. } else {
  547. contactInfoDialogDiv.addClass('hidden');
  548. jq(this).removeClass('expanded');
  549. }
  550.  
  551. return false;
  552. });
  553. })
  554. </script>
  555.  
  556. <div class="patient-header ">
  557.  
  558.  
  559.  
  560. <div class="demographics">
  561. <h1 class="name">
  562.  
  563. <span>tade<em>Given</em></span>
  564.  
  565. <span>tare<em>Family Name</em></span>
  566.  
  567. &nbsp;
  568. <span class="gender-age">
  569. <span>Male&nbsp;</span>
  570. <span>
  571.  
  572.  
  573. 26 year(s)
  574.  
  575. (14.Feb.1990)
  576.  
  577. </span>
  578. <span id="edit-patient-demographics" class="edit-info">
  579. <small>
  580.  
  581.  
  582.  
  583.  
  584. <a href="/openmrs/registrationapp/editSection.page?patientId=48&sectionId=demographics&appId=referenceapplication.registrationapp.registerPatient&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26visitId%3D26%26encounterId%3D75%26"
  585. >
  586.  
  587. Edit
  588. </a>
  589.  
  590.  
  591. </small>
  592. </span>
  593. <a href="#" id="patient-header-contactInfo" class="contact-info-label">
  594. <span class="show">Show Contact Info</span>
  595. <i class="toggle-icon icon-caret-down small"></i>
  596. <span class="hide">Hide Contact Info</span>
  597. <i class="toggle-icon icon-caret-up small"></i>
  598. </a>
  599. </span>
  600. <div class="hidden" id="contactInfoContent" class="contact-info-content">
  601.  
  602.  
  603. <div class="contact-info-inline">
  604. <span>
  605. kampala
  606. <em>Address</em>
  607. </span>
  608. <span class="left-margin">
  609. 0771414233
  610. <em>Telephone Number</em>
  611. </span>
  612.  
  613. <small id="contact-info-inline-edit" class="edit-info" class="left-margin">
  614.  
  615.  
  616.  
  617.  
  618. <a href="/openmrs/registrationapp/editSection.page?patientId=48&sectionId=contactInfo&appId=referenceapplication.registrationapp.registerPatient&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26visitId%3D26%26encounterId%3D75%26"
  619. >
  620.  
  621. Edit
  622. </a>
  623.  
  624.  
  625. </small>
  626.  
  627. </div>
  628.  
  629. </div>
  630. </h1>
  631.  
  632.  
  633.  
  634. <div class="active-visit-started-at-message">
  635. Active Visit - 08.Aug.2016, 19:24:32
  636. </div>
  637.  
  638. <div class="active-visit-message">
  639. Outpatient
  640. </div>
  641.  
  642.  
  643.  
  644. </div>
  645.  
  646. <div class="identifiers">
  647. <em>Patient ID</em>
  648.  
  649.  
  650. <span>1001C5</span>
  651.  
  652. <br/>
  653.  
  654. </div>
  655.  
  656. <div class="unknown-patient" style= display:none>
  657. This is a temporary record for an unidentified patient <br/>
  658.  
  659. <form action="/openmrs/coreapps/datamanagement/mergePatients.page" method="get">
  660. <input type="hidden" name="app" value="coreapps.mergePatients"/>
  661. <input type="hidden" name="isUnknownPatient" value="true"/>
  662. <input type="hidden" name="patient1" value="48"/>
  663. <input type="submit" id="merge-button"
  664. value="Merge into another Patient Record"/>
  665. </form>
  666. </div>
  667.  
  668. <div class="close"></div>
  669. </div>
  670.  
  671. <div id="edit-patient-identifier-dialog" class="dialog" style="display: none">
  672. <div class="dialog-header">
  673. <h3>Edit Patient Identifier</h3>
  674. </div>
  675.  
  676. <div class="dialog-content">
  677. <input type="hidden" id="hiddenPatientIdentifierId" value=""/>
  678. <input type="hidden" id="hiddenIdentifierTypeId" value=""/>
  679. <input type="hidden" id="hiddenInitialIdentifierValue" value=""/>
  680. <ul>
  681. <li class="info">
  682. <span>Patient</span>
  683. <h5>tade tare</h5>
  684. </li>
  685. <li class="info">
  686. <span id="identifierTypeNameSpan"></span>
  687. </li>
  688. <li class="info">
  689. <input id="patientIdentifierValue" value=""/>
  690. </li>
  691. </ul>
  692.  
  693. <button id="confirmIdentifierId" class="confirm right">Confirm</button>
  694. <button class="cancel">Cancel</button>
  695. </div>
  696. </div>
  697.  
  698. <div class="actions dropdown">
  699. <span class="dropdown-name"><i class="icon-cog"></i>Actions<i class="icon-sort-down"></i></span>
  700. <ul>
  701.  
  702. <li>
  703. <a href="javascript:visit.showRetrospectiveVisitCreationDialog()"><i class="icon-plus"></i>Add Past Visit</a>
  704. </li>
  705.  
  706. <li>
  707. <a href="/openmrs/coreapps/mergeVisits.page?patientId=9df7ff06-04ab-4811-b88a-77e4a0b9e8d3&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26visitId%3D26%26encounterId%3D75%26"><i class="icon-link"></i>Merge Visits</a>
  708. </li>
  709.  
  710. <li>
  711. <a href="/openmrs/htmlformentryui/htmlform/enterHtmlFormWithStandardUi.page?patientId=9df7ff06-04ab-4811-b88a-77e4a0b9e8d3&visitId=964d5849-6f1d-471c-b6e3-c146aa77ca28&formUuid=71f79d33-980b-41cb-9c3a-dc1ff0924ab7&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26visitId%3D26%26encounterId%3D75%26"><i class="icon-file"></i>Admission (With Relationship)</a>
  712. </li>
  713.  
  714. <li>
  715. <a href="/openmrs/htmlformentryui/htmlform/enterHtmlFormWithSimpleUi.page?patientId=9df7ff06-04ab-4811-b88a-77e4a0b9e8d3&visitId=964d5849-6f1d-471c-b6e3-c146aa77ca28&formUuid=c620f802-29b3-4be1-9a05-f77f36f2d411&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26visitId%3D26%26encounterId%3D75%26"><i class="icon-file"></i>akshika</a>
  716. </li>
  717.  
  718. <li>
  719. <a href="/openmrs/xforms/formentry/xformEntry.page?target=xformentry&formId=7&patientId=48&visitId=26&refappui=true&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26visitId%3D26%26encounterId%3D75%26"><i class="icon-file"></i>Noted xForm</a>
  720. </li>
  721.  
  722. <li>
  723. <a href="/openmrs/htmlformentryui/htmlform/enterHtmlFormWithStandardUi.page?patientId=9df7ff06-04ab-4811-b88a-77e4a0b9e8d3&visitId=964d5849-6f1d-471c-b6e3-c146aa77ca28&formUuid=844e71e3-abb2-4763-a769-a73edb70767a&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26visitId%3D26%26encounterId%3D75%26"><i class="icon-file"></i>Test HTML Form Entry</a>
  724. </li>
  725.  
  726. <li>
  727. <a href="javascript:delPatient.showDeletePatientCreationDialog(&#x27;9df7ff06-04ab-4811-b88a-77e4a0b9e8d3&#x27;)"><i class="icon-remove"></i>Delete Patient</a>
  728. </li>
  729.  
  730. <li>
  731. <a href="/openmrs/xforms/formentry/patient.page?patientId=48&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26visitId%3D26%26encounterId%3D75%26"><i class="icon-file-alt"></i>Form Entry</a>
  732. </li>
  733.  
  734. <li>
  735. <a href="/openmrs/xreports/runReports.page?patientId=48&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26visitId%3D26%26encounterId%3D75%26"><i class="icon-bar-chart"></i>Patient Summary</a>
  736. </li>
  737.  
  738. </ul>
  739. </div>
  740.  
  741. <div class="tabs" xmlns="http://www.w3.org/1999/html">
  742. <div class="dashboard-container">
  743.  
  744. <ul>
  745.  
  746. <li>
  747. <a href="#visits">
  748. Visits
  749. </a>
  750. </li>
  751.  
  752.  
  753. </ul>
  754.  
  755.  
  756. <div id="visits">
  757.  
  758.  
  759. <script type="text/javascript">
  760. breadcrumbs.push({ label: "Visits" , link:'/openmrs/coreapps/patientdashboard/patientDashboard.page?patientId=48&'});
  761.  
  762. jq(".collapse").collapse();
  763. </script>
  764.  
  765. <!-- Encounter templates -->
  766.  
  767. <script type="text/javascript">
  768. jq(function() {
  769.  
  770. encounterTemplates.setTemplate('d7151f82-c1f3-4152-a605-2f9ea7414a79', 'defaultEncounterTemplate');
  771.  
  772. encounterTemplates.setParameter('d7151f82-c1f3-4152-a605-2f9ea7414a79', 'icon', 'icon-stethoscope');
  773.  
  774. encounterTemplates.setParameter('d7151f82-c1f3-4152-a605-2f9ea7414a79', 'editable', 'true');
  775.  
  776. encounterTemplates.setTemplate('67a71486-1a54-468f-ac3e-7091a9a79584', 'defaultEncounterTemplate');
  777.  
  778. encounterTemplates.setParameter('67a71486-1a54-468f-ac3e-7091a9a79584', 'icon', 'icon-vitals');
  779.  
  780. encounterTemplates.setParameter('67a71486-1a54-468f-ac3e-7091a9a79584', 'editable', 'true');
  781.  
  782. encounterTemplates.setTemplate('e22e39fd-7db2-45e7-80f1-60fa0d5a4378', 'defaultEncounterTemplate');
  783.  
  784. encounterTemplates.setParameter('e22e39fd-7db2-45e7-80f1-60fa0d5a4378', 'icon', 'icon-signin');
  785.  
  786. encounterTemplates.setParameter('e22e39fd-7db2-45e7-80f1-60fa0d5a4378', 'editable', 'true');
  787.  
  788. encounterTemplates.setTemplate('181820aa-88c9-479b-9077-af92f5364329', 'defaultEncounterTemplate');
  789.  
  790. encounterTemplates.setParameter('181820aa-88c9-479b-9077-af92f5364329', 'icon', 'icon-signout');
  791.  
  792. encounterTemplates.setParameter('181820aa-88c9-479b-9077-af92f5364329', 'editable', 'true');
  793.  
  794. encounterTemplates.setTemplate('7b68d557-85ef-4fc8-b767-4fa4f5eb5c23', 'defaultEncounterTemplate');
  795.  
  796. encounterTemplates.setParameter('7b68d557-85ef-4fc8-b767-4fa4f5eb5c23', 'icon', 'icon-random');
  797.  
  798. encounterTemplates.setParameter('7b68d557-85ef-4fc8-b767-4fa4f5eb5c23', 'editable', 'true');
  799.  
  800. encounterTemplates.setDefaultTemplate('defaultEncounterTemplate');
  801. });
  802. </script>
  803.  
  804.  
  805.  
  806. <script type="text/template" id="defaultEncounterTemplate">
  807. <li>
  808. <div class="encounter-date">
  809. <i class="icon-time"></i>
  810. <strong>
  811. {{- encounter.encounterTime }}
  812. </strong>
  813. {{- encounter.encounterDate }}
  814. </div>
  815. <ul class="encounter-details">
  816. <li>
  817. <div class="encounter-type">
  818. <strong>
  819. <i class="{{- config.icon }}"></i>
  820. <span class="encounter-name" data-encounter-id="{{- encounter.encounterId }}">{{- encounter.encounterType.name }}</span>
  821. </strong>
  822. </div>
  823. </li>
  824. <li>
  825. <div>
  826. by
  827. <strong class="provider">
  828. {{- encounter.primaryProvider ? encounter.primaryProvider : '' }}
  829. </strong>
  830. in
  831. <strong class="location">{{- encounter.location }}</strong>
  832. </div>
  833. </li>
  834. <li>
  835. <div class="details-action">
  836. <a class="view-details collapsed" href='javascript:void(0);' data-encounter-id="{{- encounter.encounterId }}" data-encounter-form="{{- encounter.form != null}}" data-display-with-html-form="{{- config.displayWithHtmlForm }}" data-target="#encounter-summary{{- encounter.encounterId }}" data-toggle="collapse" data-target="#encounter-summary{{- encounter.encounterId }}">
  837. <span class="show-details">show details</span>
  838. <span class="hide-details">hide details</span>
  839. <i class="icon-caret-right"></i>
  840. </a>
  841. </div>
  842. </li>
  843. </ul>
  844.  
  845. <span>
  846. {{ if ( config.editable && encounter.canEdit) { }}
  847. <i class="editEncounter delete-item icon-pencil" data-patient-id="{{- patient.id }}" data-encounter-id="{{- encounter.encounterId }}" {{ if (config.editUrl) { }} data-edit-url="{{- config.editUrl }}" {{ } }} title="Edit"></i>
  848. {{ } }}
  849. {{ if ( encounter.canDelete ) { }}
  850. <i class="deleteEncounterId delete-item icon-remove" data-visit-id="{{- encounter.visitId }}" data-encounter-id="{{- encounter.encounterId }}" title="Delete"></i>
  851. {{ } }}
  852. </span>
  853.  
  854. <div id="encounter-summary{{- encounter.encounterId }}" class="collapse">
  855. <div class="encounter-summary-container"></div>
  856. </div>
  857. </li>
  858. </script>
  859.  
  860. <script type="text/template" id="defaultEncounterDetailsTemplate">
  861. {{ _.each(_.filter(diagnoses, function(d) { return d.answer }), function(d) { }}
  862. <p><small>{{- d.question}}</small><span>{{- d.answer}}</span></p>
  863. {{ }); }}
  864.  
  865. {{ _.each(observations, function(observation) { }}
  866. {{ if(observation.answer != null) {}}
  867. <p><small>{{- observation.question}}</small><span>{{- observation.answer}}</span></p>
  868. {{}}}
  869. {{ }); }}
  870.  
  871. {{ _.each(orders, function(order) { }}
  872. <p>
  873. <small>Order Number</small><span>{{- order.orderNumber }}</span>
  874. </p>
  875. <p>
  876. <small>Order</small><span>{{- order.concept }}</span>
  877. </p>
  878. {{ }); }}
  879. </script>
  880.  
  881. <!-- End of encounter templates -->
  882.  
  883. <script type="text/template" id="visitDetailsTemplate">
  884. <div class="status-container">
  885. [[ if (stopDatetime) { ]]
  886. <i class="icon-time small"></i> Started at [[- startDatetime ]] - Finished at [[- stopDatetime ]]
  887. [[ } else { ]]
  888. <span class="status active"></span> Active Visit
  889. <i class="icon-time small"></i>
  890. Started at [[- startDatetime ]]
  891. [[ } ]]
  892. [[ if (canDeleteVisit) { ]]
  893. <a class="right" id="deleteVisitLink" href="#" data-visit-id="[[= id]]">Delete visit</a>
  894. <span class="right"> | </span>
  895. [[ } ]]
  896. <a class="right" id="editVisitDatesLink" href="#" data-visit-id="[[= id]]">Edit date</a>
  897. </div>
  898.  
  899. <div class="visit-actions [[- stopDatetime ? 'past-visit' : 'active-visit' ]]">
  900. [[ if (stopDatetime) { ]]
  901. <p class="label"><i class="icon-warning-sign small"></i> Attention! These actions are for a past visit:</p>
  902. [[ } ]]
  903.  
  904.  
  905. [[ if (_.contains(availableVisitActions, 'patientDashboard.visitActions.form.14')) { ]]
  906.  
  907.  
  908. <a href="[[= emr.applyContextModel('/openmrs/htmlformentryui/htmlform/enterHtmlFormWithStandardUi.page?patientId=9df7ff06-04ab-4811-b88a-77e4a0b9e8d3&visitId={{visit.uuid}}&formUuid=b31bca6b-aa94-49bc-a517-7677270591e2&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26%26encounterId%3D75%26visitId%3D%7B%7Bvisit.id%7D%7D', { 'visit.id': id, 'visit.uuid': uuid, 'visit.active': stopDatetime == null }) ]]" id="patientDashboard.visitActions.form.14" class="button task">
  909.  
  910. <i class="icon-file"></i> image</a>
  911.  
  912. [[ } ]]
  913.  
  914.  
  915. [[ if (_.contains(availableVisitActions, 'referenceapplication.realTime.endVisit')) { ]]
  916.  
  917.  
  918. <a href="[[= emr.applyContextModel('javascript:visit.showEndVisitDialog({{visit.id}})', {'visit.id': id, 'visit.uuid': uuid, 'visit.active': stopDatetime == null })]]" class="button task">
  919.  
  920. <i class="icon-off"></i> End Visit</a>
  921.  
  922. [[ } ]]
  923.  
  924.  
  925. [[ if (_.contains(availableVisitActions, 'referenceapplication.realTime.simpleVisitNote')) { ]]
  926.  
  927.  
  928. <a href="[[= emr.applyContextModel('/openmrs/htmlformentryui/htmlform/enterHtmlFormWithStandardUi.page?patientId=9df7ff06-04ab-4811-b88a-77e4a0b9e8d3&visitId={{visit.uuid}}&definitionUiResource=referenceapplication:htmlforms/simpleVisitNote.xml&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26%26encounterId%3D75%26visitId%3D%7B%7Bvisit.id%7D%7D', { 'visit.id': id, 'visit.uuid': uuid, 'visit.active': stopDatetime == null }) ]]" id="referenceapplication.realTime.simpleVisitNote" class="button task">
  929.  
  930. <i class="icon-stethoscope"></i> Visit Note</a>
  931.  
  932. [[ } ]]
  933.  
  934.  
  935. [[ if (_.contains(availableVisitActions, 'referenceapplication.realTime.simpleAdmission')) { ]]
  936.  
  937.  
  938. <a href="[[= emr.applyContextModel('/openmrs/htmlformentryui/htmlform/enterHtmlFormWithStandardUi.page?patientId=9df7ff06-04ab-4811-b88a-77e4a0b9e8d3&visitId={{visit.uuid}}&definitionUiResource=referenceapplication:htmlforms/simpleAdmission.xml&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26%26encounterId%3D75%26visitId%3D%7B%7Bvisit.id%7D%7D', { 'visit.id': id, 'visit.uuid': uuid, 'visit.active': stopDatetime == null }) ]]" id="referenceapplication.realTime.simpleAdmission" class="button task">
  939.  
  940. <i class="icon-signin"></i> Admit to Inpatient</a>
  941.  
  942. [[ } ]]
  943.  
  944.  
  945. [[ if (_.contains(availableVisitActions, 'referenceapplication.realTime.simpleDischarge')) { ]]
  946.  
  947.  
  948. <a href="[[= emr.applyContextModel('/openmrs/htmlformentryui/htmlform/enterHtmlFormWithStandardUi.page?patientId=9df7ff06-04ab-4811-b88a-77e4a0b9e8d3&visitId={{visit.uuid}}&definitionUiResource=referenceapplication:htmlforms/simpleDischarge.xml&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26%26encounterId%3D75%26visitId%3D%7B%7Bvisit.id%7D%7D', { 'visit.id': id, 'visit.uuid': uuid, 'visit.active': stopDatetime == null }) ]]" id="referenceapplication.realTime.simpleDischarge" class="button task">
  949.  
  950. <i class="icon-signout"></i> Exit from Inpatient</a>
  951.  
  952. [[ } ]]
  953.  
  954.  
  955. [[ if (_.contains(availableVisitActions, 'referenceapplication.realTime.simpleTransfer')) { ]]
  956.  
  957.  
  958. <a href="[[= emr.applyContextModel('/openmrs/htmlformentryui/htmlform/enterHtmlFormWithStandardUi.page?patientId=9df7ff06-04ab-4811-b88a-77e4a0b9e8d3&visitId={{visit.uuid}}&definitionUiResource=referenceapplication:htmlforms/simpleTransfer.xml&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26%26encounterId%3D75%26visitId%3D%7B%7Bvisit.id%7D%7D', { 'visit.id': id, 'visit.uuid': uuid, 'visit.active': stopDatetime == null }) ]]" id="referenceapplication.realTime.simpleTransfer" class="button task">
  959.  
  960. <i class="icon-random"></i> Transfer To Ward/Service</a>
  961.  
  962. [[ } ]]
  963.  
  964.  
  965. [[ if (_.contains(availableVisitActions, 'referenceapplication.realTime.vitals')) { ]]
  966.  
  967.  
  968. <a href="[[= emr.applyContextModel('/openmrs/htmlformentryui/htmlform/enterHtmlFormWithSimpleUi.page?patientId=9df7ff06-04ab-4811-b88a-77e4a0b9e8d3&visitId={{visit.uuid}}&definitionUiResource=referenceapplication:htmlforms/vitals.xml&returnUrl=%2Fopenmrs%2Fcoreapps%2Fpatientdashboard%2FpatientDashboard.page%3FpatientId%3D48%26%26encounterId%3D75%26visitId%3D%7B%7Bvisit.id%7D%7D', { 'visit.id': id, 'visit.uuid': uuid, 'visit.active': stopDatetime == null }) ]]" id="referenceapplication.realTime.vitals" class="button task">
  969.  
  970. <i class="icon-vitals"></i> Capture Vitals</a>
  971.  
  972. [[ } ]]
  973.  
  974. </div>
  975. [[ if (encounters.length > 0) { ]]
  976. <h4>Encounters </h4>
  977. [[ } ]]
  978. <ul id="encountersList">
  979. [[ _.each(encounters, function(encounter) { ]]
  980. [[= encounterTemplates.displayEncounter(encounter, patient) ]]
  981. [[ }); ]]
  982. </ul>
  983. </script>
  984.  
  985. <script type="text/javascript">
  986. jq(function(){
  987. var visitId;
  988.  
  989. visitId = [26];
  990.  
  991. loadTemplates(visitId, 48);
  992. });
  993. </script>
  994.  
  995. <ul id="visits-list" class="left-menu">
  996.  
  997.  
  998. <li class="menu-item viewVisitDetails" data-visit-id="26">
  999. <span class="menu-date">
  1000. <i class="icon-time"></i>
  1001. 08.Aug.2016
  1002.  
  1003. (active since 07:24 PM)
  1004.  
  1005. </span>
  1006.  
  1007. <!-- if primary diagnosis is null, don't display box at all, if empty, display "no diagnosis" message -->
  1008. <span class="menu-title">
  1009. <i class="icon-stethoscope"></i>
  1010.  
  1011. No diagnosis yet.
  1012.  
  1013. </span>
  1014.  
  1015. <span class="arrow-border"></span>
  1016. <span class="arrow"></span>
  1017. </li>
  1018.  
  1019.  
  1020. <div id="edit-visit-dates-dialog-26" class="dialog" style="display: none">
  1021. <div class="dialog-header">
  1022. <i class="icon-check-in"></i>
  1023. <h3>Edit date</h3>
  1024. </div>
  1025. <div class="dialog-content form">
  1026. <form id="edit-visit-dates-dialog-form-26">
  1027. <input type="hidden" name="visitId" value="26"/>
  1028. <p>
  1029. <label for="startDate" class="required">
  1030. Start Date
  1031. </label>
  1032.  
  1033.  
  1034.  
  1035. <span id="startDate26"
  1036. >
  1037. <label for="startDate26-display">
  1038.  
  1039. </label>
  1040. <span id="startDate26-wrapper" class="date">
  1041. <input type="text" id="startDate26-display" value="08 Aug 2016" size="null" readonly />
  1042. <span class="add-on"><i class="icon-calendar small"></i></span>
  1043. </span>
  1044. <input type="hidden" id="startDate26-field" name="startDate" value="2016-08-08"
  1045.  
  1046. />
  1047.  
  1048. <span id="fr482" class="field-error" style="display: none" >
  1049.  
  1050. </span>
  1051. </span>
  1052.  
  1053. <script type="text/javascript">
  1054. var viewModel = viewModel || {};
  1055. viewModel.validations = viewModel.validations || [];
  1056.  
  1057. jq("#startDate26-wrapper").datetimepicker({
  1058.  
  1059. minView: 2,
  1060.  
  1061.  
  1062. autoclose: true,
  1063. pickerPosition: "bottom-left",
  1064. todayHighlight: false,
  1065.  
  1066.  
  1067. format: "dd M yyyy",
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073. endDate: "28-10-2016",
  1074.  
  1075.  
  1076. language: "en_GB",
  1077. linkField: "startDate26-field",
  1078.  
  1079. linkFormat: "yyyy-mm-dd"
  1080.  
  1081. })
  1082.  
  1083. </script>
  1084.  
  1085. </p>
  1086.  
  1087.  
  1088. <br><br>
  1089.  
  1090. <button class="cancel">Cancel</button>
  1091. <button class="confirm right">Confirm<i class="icon-spinner icon-spin icon-2x" style="display: none; margin-left: 10px;"></i></button>
  1092. </form>
  1093. </div>
  1094. </div>
  1095.  
  1096.  
  1097.  
  1098.  
  1099. </ul>
  1100.  
  1101. <div id="visit-details" class="main-content">
  1102.  
  1103. </div>
  1104.  
  1105. <div id="delete-encounter-dialog" class="dialog" style="display: none">
  1106. <div class="dialog-header">
  1107. <h3>Delete Encounter</h3>
  1108. </div>
  1109. <div class="dialog-content">
  1110. <input type="hidden" id="encounterId" value=""/>
  1111. <ul>
  1112. <li class="info">
  1113. <span>Are you sure you want to delete this encounter from the visit?</span>
  1114. </li>
  1115. </ul>
  1116.  
  1117. <button class="confirm right">Yes<i class="icon-spinner icon-spin icon-2x" style="display: none; margin-left: 10px;"></i></button>
  1118. <button class="cancel">No</button>
  1119. </div>
  1120. </div>
  1121.  
  1122. <div id="delete-visit-dialog" class="dialog" style="display: none">
  1123. <div class="dialog-header">
  1124. <i class="icon-check-in"></i>
  1125. <h3>Delete visit</h3>
  1126. </div>
  1127. <div class="dialog-content">
  1128. <input type="hidden" id="visitId" value=""/>
  1129. <ul>
  1130. <li class="info">
  1131. <span>Are you sure you want to delete this visit?</span>
  1132. </li>
  1133. </ul>
  1134.  
  1135. <button class="confirm right">Yes<i class="icon-spinner icon-spin icon-2x" style="display: none; margin-left: 10px;"></i></button>
  1136. <button class="cancel">No</button>
  1137. </div>
  1138. </div>
  1139. </div>
  1140.  
  1141.  
  1142. </div>
  1143. </div>
  1144. </div>
  1145.  
  1146. </div>
  1147.  
  1148. <script id="breadcrumb-template" type="text/template">
  1149. <li>
  1150. {{ if (!first) { }}
  1151. <i class="icon-chevron-right link"></i>
  1152. {{ } }}
  1153. {{ if (!last && breadcrumb.link) { }}
  1154. <a href="{{= breadcrumb.link }}">
  1155. {{ } }}
  1156. {{ if (breadcrumb.icon) { }}
  1157. <i class="{{= breadcrumb.icon }} small"></i>
  1158. {{ } }}
  1159. {{ if (breadcrumb.label) { }}
  1160. {{= breadcrumb.label }}
  1161. {{ } }}
  1162. {{ if (!last && breadcrumb.link) { }}
  1163. </a>
  1164. {{ } }}
  1165. </li>
  1166. </script>
  1167.  
  1168. <script type="text/javascript">
  1169. jq(function() {
  1170. emr.updateBreadcrumbs();
  1171. });
  1172.  
  1173. // global error handler
  1174. jq(document).ajaxError(function(event, jqxhr) {
  1175. emr.redirectOnAuthenticationFailure(jqxhr);
  1176. });
  1177.  
  1178. var featureToggles = {};
  1179.  
  1180.  
  1181.  
  1182. </script>
  1183.  
  1184. </body>
  1185. </html>
RAW Paste Data