SMMQI05000_Bath Ankylosing spondylitis 누적조회.xrw 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>Bath Ankylosing spondylitis 누적조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <accmlst>
  11. <accmlst>
  12. <formrecdt/>
  13. <reccnts/>
  14. <formrecseq/>
  15. </accmlst>
  16. </accmlst>
  17. <patinfo>
  18. <patinfolist/>
  19. </patinfo>
  20. </main>
  21. <send>
  22. <pid/>
  23. <fromdd/>
  24. <todd/>
  25. </send>
  26. <temp/>
  27. <init>
  28. <paminfo/>
  29. </init>
  30. </root>
  31. </instance>
  32. <submission id="TRMQI05000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/accmlst"/>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. var pid = "";
  36. var paminfo = getGlobalVariable("paminfo");
  37. setCSVToNode("/root/init/paminfo", paminfo);
  38. if (checkOpener()){
  39. if(opener.javascript.getParameter("pid")!=""){
  40. pid = opener.javascript.getParameter("pid");
  41. }else{
  42. pid = model.getValue("/root/init/paminfo/list/pid");
  43. }
  44. }
  45. model.setValue("/root/send/fromdd", getCurrentDate().toDate().getAddDate(-2,"Y").getDateFormat());
  46. model.setValue("/root/send/todd", getCurrentDate());
  47. model.setValue("/root/send/pid", pid);
  48. model.refresh();
  49. ]]>
  50. </script>
  51. </model>
  52. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  53. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  58. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  59. </xhtml:head>
  60. <xhtml:body pagewidth="570" pageheight="620" guideline="2,28;">
  61. <group id="group1" style="left:0px; top:0px; width:540px; height:13px; ">
  62. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">항암FlowSheet</caption>
  63. </group>
  64. <group id="grp_sea" style="left:0px; top:20px; width:540px; height:35px; vertical-align:top; ">
  65. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:540px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  66. <caption id="caption5" class="search_name" style="left:188px; top:9px; width:56px; height:17px; ">기간</caption>
  67. <input id="ipt_fromdd" ref="/root/send/fromdd" inputtype="date" style="left:245px; top:8px; width:90px; height:19px; "/>
  68. <input id="ipt_todd" ref="/root/send/todd" inputtype="date" style="left:355px; top:8px; width:90px; height:19px; "/>
  69. <button id="btn_search" class="btn1_letter2" style="left:473px; top:7px; width:56px; height:22px; ">
  70. <caption>조회</caption>
  71. <script type="javascript" ev:event="DOMActivate">
  72. <![CDATA[
  73. var pid = model.getValue("/root/send/pid");
  74. var fromdd = model.getValue("/root/send/fromdd");
  75. var todd = model.getValue("/root/send/todd");
  76. if( pid == "" ){
  77. messageBox("환자번호를","C001");
  78. return;
  79. }else if(fromdd == "" || todd == ""){
  80. messageBox("기간을","C001");
  81. return;
  82. }
  83. if( fromdd > todd ){
  84. messageBox("시작날짜는 종료날짜보다 클 수","I004");
  85. return;
  86. }
  87. submit("TRMQI05000");
  88. model.refresh();
  89. ]]>
  90. </script>
  91. </button>
  92. <caption id="caption1" class="search_name" style="left:5px; top:9px; width:91px; height:17px; ">환자번호</caption>
  93. <input id="ipt_pid" ref="/root/send/pid" style="left:90px; top:8px; width:65px; height:19px; ">
  94. <script type="javascript" ev:event="onkeyup">
  95. <![CDATA[
  96. inputEnterKey("btn_search", "DOMActivate");
  97. ]]>
  98. </script>
  99. </input>
  100. <caption id="caption2" style="left:339px; top:8px; width:15px; height:20px; ">~</caption>
  101. <button id="btn_patinfo" class="icon_search" style="left:157px; top:8px; width:16px; height:16px; ">
  102. <caption/>
  103. <script type="javascript" ev:event="DOMActivate">
  104. <![CDATA[
  105. modal("SPPMC02500", 1,10, 10, "SPPMC02500", "", "");
  106. if (model.getValue("/root/main/popupendflag") == "ok"){
  107. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  108. ipt_pid.refresh();
  109. }
  110. ]]>
  111. </script>
  112. </button>
  113. </group>
  114. <group id="group2" style="left:0px; top:0px; width:540px; height:13px; ">
  115. <caption id="caption3" class="tit_1" style="left:0px; top:0px; width:315px; height:13px; ">Bath Ankylosing spondylitis 누적조회</caption>
  116. </group>
  117. <datagrid id="grid_flowsheet" nodeset="/root/main/accmlst/accmlst" autoresize="true" caption="날짜^score^formrecseq^" colsep="^" colwidth="137, 127, 231" frozencols="2" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="bycol" style="left:0px; top:60px; width:540px; height:530px; ">
  118. <col ref="formrecdt" format="yyyy-mm-dd" style="text-align:center; "/>
  119. <col ref="reccnts" style="text-align:center; "/>
  120. <col ref="formrecseq" visibility="hidden" style="margin-top:d; "/>
  121. </datagrid>
  122. </xhtml:body>
  123. </xhtml:html>