SMMRI03500_시점관리의사별리스트.xrw 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>기록작성 대상 목록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <unpreplist>
  11. <unpreplist/>
  12. <cnt>
  13. <patcnt/>
  14. <reccnt/>
  15. <cnfmcmplcnt/>
  16. </cnt>
  17. <formcnt>
  18. <cnt_0000000680/>
  19. <cnt_0000000003/>
  20. <cnt_0000000004/>
  21. <cnt_0000003169/>
  22. <cnt_0000000676/>
  23. <cnt_0000001592/>
  24. <cnt_0800003416/>
  25. <cnt_0000001595/>
  26. <cnt_0000001596/>
  27. <cnt_0900007052/>
  28. <cnt_0000001594/>
  29. </formcnt>
  30. </unpreplist>
  31. <cond>
  32. <deptcd/>
  33. <detldeptcd/>
  34. <drid/>
  35. <drnm/>
  36. <medispclid/>
  37. <medispclnm/>
  38. <reccosignid/>
  39. <reccosignnm/>
  40. <tmpdrflag/>
  41. <tmpddflag/>
  42. <tmpfromdd/>
  43. <tmptodd/>
  44. <fromall/>
  45. <daychk/>
  46. <dayflag/>
  47. <ordddflag/>
  48. <anstendddflag/>
  49. <dschddflag/>
  50. <informcd/>
  51. <inhospformcd/>
  52. <opformcd/>
  53. <dschformcd/>
  54. <tmppointtimeall/>
  55. <tmppointtimebefore/>
  56. <tmppointtimeafter/>
  57. <tmppointtimebeforenon/>
  58. <tmppointtimeafternon/>
  59. <tmporderbydtl/>
  60. <inhospformall/>
  61. <opformall/>
  62. <dschformall/>
  63. </cond>
  64. <formcnt>
  65. <formcnt>
  66. <col1/>
  67. <col2/>
  68. <col3/>
  69. <col4/>
  70. <col5/>
  71. </formcnt>
  72. </formcnt>
  73. </main>
  74. <send>
  75. <reqdata/>
  76. </send>
  77. <hidden>
  78. <deptlist/>
  79. <drlist/>
  80. <docinfo/>
  81. <patcnt/>
  82. <reccnt/>
  83. <pid/>
  84. <formcd/>
  85. </hidden>
  86. <temp>
  87. <userinfo/>
  88. <pid/>
  89. <hngnm/>
  90. <srchcond/>
  91. <autoflag/>
  92. </temp>
  93. <init>
  94. <drflag>
  95. <item>
  96. <name>전체</name>
  97. <id/>
  98. </item>
  99. <item>
  100. <name>스태프</name>
  101. <id>St</id>
  102. </item>
  103. <item>
  104. <name>레지던트</name>
  105. <id>R</id>
  106. </item>
  107. <item>
  108. <name>인턴</name>
  109. <id>I</id>
  110. </item>
  111. </drflag>
  112. <rspd>
  113. <form/>
  114. <formIn/>
  115. <forminhosp/>
  116. <formop/>
  117. <formdsch/>
  118. </rspd>
  119. <openday/>
  120. <M0501>
  121. </M0501>
  122. <M0502>
  123. </M0502>
  124. <M0503>
  125. </M0503>
  126. </init>
  127. </root>
  128. </instance>
  129. <script type="javascript" ev:event="xforms-ready">
  130. <![CDATA[
  131. fInit();
  132. ]]>
  133. </script>
  134. <submission id="TRMRI03401" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/rspd"/>
  135. <submission id="TRMRI03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/unpreplist"/>
  136. <submission id="TRMRI03502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/hrdcdlist"/>
  137. <submission id="TRMRI02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/userinfo"/>
  138. <submission id="TRMRI02605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patinfo"/>
  139. <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
  140. </model>
  141. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  142. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  143. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  144. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  145. <script type="javascript" src="../../../emr/recindxweb/js/SMMRI03500.js"/>
  146. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  147. </xhtml:head>
  148. <xhtml:body guideline="2,784;" style="text-align:center; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  149. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  150. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:150px; height:14px; ">기록작성 대상 목록</caption>
  151. </group>
  152. <group id="grp_biz" scroll="auto" style="left:0px; top:12px; width:1195px; height:772px; ">
  153. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:4px; width:1194px; height:110px; background-color:#fffbf2; border-color:#ffd799; "/>
  154. <caption id="caption1" class="tit_2" style="left:0px; top:130px; width:155px; height:13px; ">
  155. <![CDATA[기록작성 대상 리스트]]>
  156. <script type="javascript" ev:event="ondblclick">
  157. <![CDATA[
  158. if(chk_merge.visible == false)
  159. {
  160. chk_merge.visible = true;
  161. return;
  162. }
  163. if(chk_merge.visible == true)
  164. {
  165. chk_merge.visible = false;
  166. return;
  167. }
  168. ]]>
  169. </script>
  170. </caption>
  171. <line id="line1" class="line_1" style="x1:0px; y1:145px; x2:1194px; y2:145px; "/>
  172. <button id="btn_ex" class="btn2_letter2" style="left:1147px; top:125px; width:42px; height:19px; ">
  173. <caption>엑셀</caption>
  174. <script type="javascript" ev:event="DOMActivate">
  175. <![CDATA[
  176. fSaveExcel();
  177. ]]>
  178. </script>
  179. </button>
  180. <caption id="caption2" class="search_name" style="left:540px; top:125px; width:128px; height:17px; ">작성대상환자수:</caption>
  181. <caption id="caption8" class="search_name" style="left:722px; top:125px; width:142px; height:17px; ">작성대상건수 :</caption>
  182. <output id="opt_pid" ref="/root/main/unpreplist/cnt/patcnt" class="output_fix" format="#,####" appearance="output" style="left:670px; top:124px; width:45px; height:19px; text-align:right; "/>
  183. <output id="opt_formcd" ref="/root/main/unpreplist/cnt/reccnt" class="output_fix" format="#,###" appearance="output" style="left:864px; top:124px; width:45px; height:19px; text-align:right; "/>
  184. <datagrid id="grd_unprepllist" nodeset="/root/main/unpreplist/unpreplist" visibility="attribute" scroll="auto" caption="등록번호^환자명^입원일^퇴원일^재(퇴)원과^주치의^서식명^진료일자^발생시간^작성기한^초과시간^STAFFSign 시간^STAFFSign기한^STAFFSign초과시간^작성과^작성의사^수술과^집도의^STAFFSign의사^작성분과^직종^비고^최초작성시간^최종작성시간^상태" colsep="^" colwidth="55, 60, 70, 70, 65, 60, 95, 70, 110, 100, 60, 100, 100, 120, 50, 70, 55, 59, 95, 65, 45, 205, 100, 100, 70" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:148px; width:1195px; height:510px; text-align:center; ">
  185. <col ref="pid" style="text-align:center; "/>
  186. <col ref="pnm" style="text-align:center; word-wrap:none; "/>
  187. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  188. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  189. <col ref="indxorddeptnm" style="text-align:center; word-wrap:none; "/>
  190. <col ref="medispclnm" style="text-align:center; word-wrap:none; "/>
  191. <col ref="formnm" style="text-align:left; word-wrap:none; "/>
  192. <col ref="orddt" format="yyyy-mm-dd" style="text-align:center; "/>
  193. <col ref="eventdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  194. <col ref="reclimitdt" format="yyyy-mm-dd hh:nn" style="left:675px; top:23px; width:100px; height:23px; text-align:center; "/>
  195. <col ref="overtm" style="text-align:center; "/>
  196. <col ref="reccosigndt" visibility="hidden" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  197. <col ref="reccosignlimitdt" visibility="hidden" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  198. <col ref="cosignovertm" visibility="hidden" style="text-align:center; "/>
  199. <col ref="orddeptnm" style="left:1155px; top:23px; width:50px; height:23px; text-align:center; word-wrap:none; "/>
  200. <col ref="recdrnm" style="text-align:center; word-wrap:none; "/>
  201. <col ref="opdeptnm" style="text-align:center; word-wrap:none; "/>
  202. <col ref="perfdrnm" style="text-align:center; word-wrap:none; "/>
  203. <col ref="reccosigndrnm" visibility="hidden" style="text-align:center; word-wrap:none; "/>
  204. <col ref="detldeptnm" style="text-align:center; word-wrap:none; "/>
  205. <col ref="dockindflag" style="text-align:center; "/>
  206. <col ref="rem" style="text-align:left; word-wrap:none; "/>
  207. <col ref="formrecdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  208. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  209. <col ref="recstatus" style="text-align:center; word-wrap:none; "/>
  210. <script type="javascript" ev:event="onclick">
  211. <![CDATA[
  212. var total = grd_unprepllist.rows;
  213. if(total < 2){
  214. return;
  215. }
  216. var currow = grd_unprepllist.row;
  217. var curcol = grd_unprepllist.col;
  218. if(isDataCell()){
  219. return;
  220. }else{
  221. //그리드 Header를 클릭한 경우,
  222. if(currow == 0){
  223. if(sORDERBYDTL == "desc"){
  224. sORDERBYDTL = "asc";
  225. }else{
  226. sORDERBYDTL = "desc";
  227. }
  228. if(grd_unprepllist.colAttribute(curcol, "ref") != ""){
  229. var orderby = grd_unprepllist.colAttribute(curcol, "ref") + " " + sORDERBYDTL;
  230. model.makeValue("/root/main/cond/tmporderbydtl", orderby);
  231. fReqGetUnPrepDrClsList();
  232. }
  233. }
  234. }
  235. model.refresh();
  236. ]]>
  237. </script>
  238. <script type="javascript" ev:event="ondblclick">
  239. <![CDATA[
  240. var currow = grd_unprepllist.row;
  241. var curcol = grd_unprepllist.col;
  242. if (isDataCell()) {
  243. //활성화된 검사결과 화면 로드
  244. //검사결과화면이 있는 경우 환자를 변경함
  245. curExamRsltObj = getOpenWindow("SMAER00800");
  246. if(curExamRsltObj != null){
  247. var pid = model.getValue(grd_unprepllist.nodeset + "[" + currow + "]/pid");
  248. curExamRsltObj.model.setvalue("/root/send/data/singdata/srchpid", pid);
  249. curExamRsltObj.javascript.btn_srch.dispatch("DOMActivate");
  250. }
  251. //미비기록을 로드
  252. fLoadUnPrepRec();
  253. }else{
  254. if(currow == 0){
  255. }
  256. }
  257. ]]>
  258. </script>
  259. </datagrid>
  260. <caption id="caption4" class="search_name" style="left:635px; top:10px; width:89px; height:17px; ">작성의사 :</caption>
  261. <input id="ipt_drid" ref="/root/main/cond/drnm" style="left:723px; top:10px; width:100px; height:19px; text-align:left; ">
  262. <script type="javascript" ev:event="onkeydown">
  263. <![CDATA[
  264. if(event.keyCode == 13){
  265. model.setValue("/root/main/cond/drid", ipt_drid.currentText);
  266. var drid = ipt_drid.currentText;
  267. if(isNumber(drid.charAt(0)) == "Y"){
  268. fReqGetUnPrepDrSmplList("id", drid);
  269. }else{
  270. fReqGetUnPrepDrSmplList("nm", drid);
  271. }
  272. var nodelist = model.instances(0).selectNodes("/root/temp/userinfo/usercombo");
  273. if(nodelist.length == 1){
  274. model.setValue("/root/main/cond/drid", model.getValue("/root/temp/userinfo/usercombo/userid"));
  275. model.setValue("/root/main/cond/drnm", model.getValue("/root/temp/userinfo/usercombo/usernm"));
  276. } else if(nodelist.length > 1) {
  277. setParameter("SPMRI02900_stnddd" , getCurrentDate());
  278. setParameter("SPMRI02900_orddrnm", drid );
  279. modal("SPMRI02900");
  280. if(getParameter("SPMRI02900_useyn")=="Y"){
  281. var doctinfo = getParameter("SPMRI02900_rtnparam");
  282. doctinfo = doctinfo.split("^");
  283. model.setValue("/root/main/cond/drid", doctinfo[3]);
  284. model.setValue("/root/main/cond/drnm", doctinfo[4]);
  285. }
  286. }else{
  287. messageBox("의사 정보가", "I004");
  288. return;
  289. }
  290. model.refresh();
  291. }
  292. ]]>
  293. </script>
  294. <script type="javascript" ev:event="DOMFocusOut">
  295. <![CDATA[
  296. if(ipt_drid.value == ""){
  297. model.setValue("/root/main/cond/drnm", "");
  298. model.setValue("/root/main/cond/drid", "");
  299. model.refresh();
  300. }
  301. ]]>
  302. </script>
  303. </input>
  304. <button id="button1" class="btn2_letter2" visibility="hidden" style="left:1105px; top:125px; width:42px; height:19px; ">
  305. <caption>출력</caption>
  306. <script type="javascript" ev:event="DOMActivate">
  307. <![CDATA[
  308. fPrntUnPrepInfo();
  309. ]]>
  310. </script>
  311. </button>
  312. <caption id="caption3" class="search_name" style="left:10px; top:10px; width:75px; height:17px; ">작성과 :</caption>
  313. <select1 id="cmb_deptcd" ref="/root/main/cond/deptcd" class="combo_search" appearance="minimal" style="left:88px; top:10px; width:100px; height:19px; text-align:left; ">
  314. <choices>
  315. <itemset nodeset="/root/init/rspd/dept/">
  316. <label ref="deptnm"/>
  317. <value ref="deptcd"/>
  318. </itemset>
  319. </choices>
  320. <script type="javascript" ev:event="xforms-value-changed">
  321. <![CDATA[
  322. // 외과, 소아청소년과, 산부인과 세부 분과 활성화함.
  323. var orddeptcd = model.getValue("/root/main/cond/deptcd");
  324. if(orddeptcd == "2040000000"
  325. || orddeptcd == "2110000000"
  326. || orddeptcd == "2100000000")
  327. {
  328. cmb_detldept.disabled = false;
  329. //미비과에 따라 미비분과 combo정보를 변경
  330. if(orddeptcd == "2040000000"){ //외과
  331. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0501/M0501";
  332. }else if(orddeptcd == "2100000000"){ //산부인과
  333. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0502/M0502";
  334. }else if(orddeptcd == "2110000000"){ //소아과
  335. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0503/M0503";
  336. }
  337. addComboItem("cmb_detldept", "전체", "ALL", "above");
  338. cmb_detldept.select(0);
  339. cmb_detldept.refresh();
  340. }
  341. else
  342. {
  343. cmb_detldept.select(0);
  344. cmb_detldept.refresh();
  345. cmb_detldept.disabled = true;
  346. }
  347. ]]>
  348. </script>
  349. </select1>
  350. <select1 id="cmb_detldept" ref="/root/main/cond/detldeptcd" class="combo_search" disabled="true" appearance="minimal" style="left:194px; top:10px; width:100px; height:19px; text-align:left; ">
  351. <choices>
  352. <itemset>
  353. <label ref="cdnm"/>
  354. <value ref="cdid"/>
  355. </itemset>
  356. </choices>
  357. <script type="javascript" ev:event="xforms-value-changed">
  358. <![CDATA[
  359. ]]>
  360. </script>
  361. </select1>
  362. <caption id="cap_reqflag" class="search_name" style="left:635px; top:63px; width:86px; height:17px; ">조회구분 :</caption>
  363. <select id="chk_DayChk" ref="/root/main/cond/daychk" overflow="visible" appearance="full" style="left:722px; top:63px; width:70px; height:20px; border-style:none; ">
  364. <choices>
  365. <item>
  366. <label>날짜조회</label>
  367. <value>Y</value>
  368. </item>
  369. </choices>
  370. <script type="javascript" ev:event="onclick">
  371. <![CDATA[
  372. fDayChk(chk_DayChk.value);
  373. ]]>
  374. </script>
  375. </select>
  376. <select1 id="cmb_ddflag" ref="/root/main/cond/tmpddflag" disabled="false" appearance="minimal" style="left:795px; top:63px; width:75px; height:19px; text-align:left; ">
  377. <choices>
  378. <item>
  379. <label>퇴원일자</label>
  380. <value>dschdd</value>
  381. </item>
  382. <item>
  383. <label>입원일자</label>
  384. <value>indd</value>
  385. </item>
  386. <item>
  387. <label>재원일자</label>
  388. <value>orddd</value>
  389. </item>
  390. <item>
  391. <label>수술일자</label>
  392. <value>anstenddd</value>
  393. </item>
  394. </choices>
  395. </select1>
  396. <input id="ipt_todd" ref="/root/main/cond/tmptodd" disabled="false" inputtype="date" style="left:985px; top:63px; width:90px; height:19px; "/>
  397. <caption id="caption11" style="left:948px; top:66px; width:14px; height:10px; ">~</caption>
  398. <input id="ipt_fromdd" ref="/root/main/cond/tmpfromdd" disabled="false" inputtype="date" style="left:875px; top:63px; width:90px; height:19px; "/>
  399. <button id="btn_req" class="btn1_letter6" style="left:1078px; top:16px; width:104px; height:22px; ">
  400. <caption>시점미비조회</caption>
  401. <script type="javascript" ev:event="DOMActivate">
  402. <![CDATA[
  403. sSEARCHTYPE = "1";
  404. fReqGetUnPrepDrClsList();
  405. ]]>
  406. </script>
  407. </button>
  408. <button id="btn_width2" style="left:508px; top:125px; width:28px; height:20px; background-image:../../../com/commonweb/images/btn_send_right.gif; ">
  409. <caption/>
  410. <script type="javascript" ev:event="DOMActivate">
  411. <![CDATA[
  412. btn_width1.disabled =false;
  413. btn_width2.disabled = true;
  414. fColHidden("long");
  415. ]]>
  416. </script>
  417. </button>
  418. <button id="btn_width1" disabled="true" style="left:480px; top:125px; width:28px; height:20px; background-image:../../../com/commonweb/images/btn_send_left.gif; ">
  419. <caption/>
  420. <script type="javascript" ev:event="DOMActivate">
  421. <![CDATA[
  422. btn_width1.disabled = true;
  423. btn_width2.disabled = false;
  424. fColHidden("short");
  425. ]]>
  426. </script>
  427. </button>
  428. <caption id="caption12" class="search_name" style="left:835px; top:10px; width:91px; height:17px; ">의사구분 :</caption>
  429. <select1 id="cmb_doctkindflag" ref="/root/main/cond/tmpdrflag" appearance="minimal" style="left:927px; top:9px; width:75px; height:19px; text-align:left; ">
  430. <choices>
  431. <itemset nodeset="/root/init/drflag/item">
  432. <label ref="name"/>
  433. <value ref="id"/>
  434. </itemset>
  435. </choices>
  436. </select1>
  437. <output id="output1" ref="/root/main/unpreplist/cnt/cnfmcmplcnt" class="output_fix" format="#,###" appearance="output" style="left:1057px; top:124px; width:45px; height:19px; text-align:right; "/>
  438. <caption id="caption16" class="search_name" style="left:916px; top:126px; width:138px; height:17px; ">작성완료건수 :</caption>
  439. <caption id="caption17" class="tit_2" style="left:0px; top:668px; width:175px; height:13px; ">미비 서식별 세부건수</caption>
  440. <group id="grp_formcnt" style="left:5px; top:684px; width:1180px; height:76px; ">
  441. <caption id="cap_0000000003" class="search_name" style="left:30px; top:5px; width:112px; height:17px; ">입원초진기록 :</caption>
  442. <output id="opt_0000000003" ref="/root/main/unpreplist/formcnt/cnt_0000000003" class="output_fix" format="#,####" appearance="output" style="left:144px; top:5px; width:70px; height:19px; text-align:right; "/>
  443. <caption id="cap_0000000004" class="search_name" style="left:56px; top:30px; width:87px; height:17px; ">경과기록 :</caption>
  444. <output id="opt_0000000004" ref="/root/main/unpreplist/formcnt/cnt_0000000004" class="output_fix" format="#,####" appearance="output" style="left:144px; top:30px; width:70px; height:19px; text-align:right; "/>
  445. <caption id="cap_0000003169" class="search_name" style="left:315px; top:5px; width:123px; height:17px; ">Brief OP Note :</caption>
  446. <output id="opt_0000003169" ref="/root/main/unpreplist/formcnt/cnt_0000003169" class="output_fix" format="#,####" appearance="output" style="left:440px; top:5px; width:70px; height:19px; text-align:right; "/>
  447. <caption id="cap_0000000676" class="search_name" style="left:350px; top:30px; width:88px; height:17px; ">수술기록 :</caption>
  448. <output id="opt_0000000676" ref="/root/main/unpreplist/formcnt/cnt_0000000676" class="output_fix" format="#,####" appearance="output" style="left:440px; top:30px; width:70px; height:19px; text-align:right; "/>
  449. <caption id="cap_0800003416" class="search_name" style="left:315px; top:55px; width:124px; height:17px; ">Post Op Note :</caption>
  450. <output id="opt_0800003416" ref="/root/main/unpreplist/formcnt/cnt_0800003416" class="output_fix" format="#,####" appearance="output" style="left:440px; top:55px; width:70px; height:19px; text-align:right; "/>
  451. <caption id="cap_0000001596" class="search_name" style="left:620px; top:5px; width:151px; height:17px; ">Transfer out Note :</caption>
  452. <output id="opt_0000001596" ref="/root/main/unpreplist/formcnt/cnt_0000001596" class="output_fix" format="#,####" appearance="output" style="left:769px; top:5px; width:70px; height:19px; text-align:right; "/>
  453. <caption id="cap_0000001595" class="search_name" style="left:628px; top:30px; width:140px; height:17px; ">Transfer in Note :</caption>
  454. <output id="opt_0000001595" ref="/root/main/unpreplist/formcnt/cnt_0000001595" class="output_fix" format="#,####" appearance="output" style="left:769px; top:30px; width:70px; height:19px; text-align:right; "/>
  455. <caption id="cap_0900007052" class="search_name" style="left:668px; top:55px; width:105px; height:17px; ">재평가기록 :</caption>
  456. <output id="opt_0900007052" ref="/root/main/unpreplist/formcnt/cnt_0900007052" class="output_fix" format="#,####" appearance="output" style="left:769px; top:55px; width:70px; height:19px; text-align:right; "/>
  457. <caption id="cap_0000001592" class="search_name" style="left:945px; top:5px; width:134px; height:17px; ">Discharge Note :</caption>
  458. <output id="opt_0000001592" ref="/root/main/unpreplist/formcnt/cnt_0000001592" class="output_fix" format="#,####" appearance="output" style="left:1080px; top:5px; width:70px; height:19px; text-align:right; "/>
  459. <caption id="cap_0000000680" class="search_name" style="left:980px; top:30px; width:99px; height:17px; ">입퇴원요약 :</caption>
  460. <output id="opt_0000000680" ref="/root/main/unpreplist/formcnt/cnt_0000000680" class="output_fix" format="#,####" appearance="output" style="left:1080px; top:30px; width:70px; height:19px; text-align:right; "/>
  461. <caption id="cap_0000001594" class="search_name" visibility="hidden" style="left:962px; top:55px; width:125px; height:17px; ">Expired Note :</caption>
  462. <output id="opt_0000001594" ref="/root/main/unpreplist/formcnt/cnt_0000001594" class="output_fix" visibility="hidden" format="#,####" appearance="output" style="left:1080px; top:55px; width:70px; height:19px; text-align:right; "/>
  463. </group>
  464. <caption id="caption10" class="search_name" style="left:635px; top:89px; width:86px; height:17px; ">시점구분 :</caption>
  465. <select id="chk_SearchPointTimeBefore" ref="/root/main/cond/tmppointtimebefore" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:765px; top:89px; width:80px; height:20px; border-style:none; ">
  466. <choices>
  467. <item>
  468. <label>시점내작성</label>
  469. <value>BEFORE</value>
  470. </item>
  471. </choices>
  472. <script type="javascript" ev:event="onclick">
  473. <![CDATA[
  474. fTimepointChk(chk_SearchPointTimeBefore.value);
  475. ]]>
  476. </script>
  477. </select>
  478. <select id="chk_SearchPointTimeAll" ref="/root/main/cond/tmppointtimeall" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:722px; top:89px; width:45px; height:20px; border-style:none; ">
  479. <choices>
  480. <item>
  481. <label>전체</label>
  482. <value>ALL</value>
  483. </item>
  484. </choices>
  485. <script type="javascript" ev:event="onclick">
  486. <![CDATA[
  487. fTimepointChk(chk_SearchPointTimeAll.value);
  488. ]]>
  489. </script>
  490. </select>
  491. <select id="chk_SearchPointTimeAfter" ref="/root/main/cond/tmppointtimeafter" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:845px; top:89px; width:90px; height:20px; border-style:none; ">
  492. <choices>
  493. <item>
  494. <label>시점이후작성</label>
  495. <value>AFTER</value>
  496. </item>
  497. </choices>
  498. <script type="javascript" ev:event="onclick">
  499. <![CDATA[
  500. fTimepointChk(chk_SearchPointTimeAfter.value);
  501. ]]>
  502. </script>
  503. </select>
  504. <select id="chk_SearchPointTimeBeforeNon" ref="/root/main/cond/tmppointtimebeforenon" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:937px; top:89px; width:91px; height:20px; border-style:none; ">
  505. <choices>
  506. <item>
  507. <label>시점내미작성</label>
  508. <value>BEFORENON</value>
  509. </item>
  510. </choices>
  511. <script type="javascript" ev:event="onclick">
  512. <![CDATA[
  513. fTimepointChk(chk_SearchPointTimeBeforeNon.value);
  514. ]]>
  515. </script>
  516. </select>
  517. <caption id="caption7" class="search_name" style="left:10px; top:37px; width:86px; height:17px; ">서식 :</caption>
  518. <select id="chk_SearchFrom" ref="/root/main/cond/fromall" overflow="visible" appearance="full" style="left:71px; top:37px; width:40px; height:15px; border-style:none; ">
  519. <choices>
  520. <item>
  521. <label>전체</label>
  522. <value>ALL</value>
  523. </item>
  524. </choices>
  525. <script type="javascript" ev:event="xforms-select">
  526. <![CDATA[
  527. fFromChk("Y");
  528. ]]>
  529. </script>
  530. <script type="javascript" ev:event="xforms-deselect">
  531. <![CDATA[
  532. fFromChk("N");
  533. ]]>
  534. </script>
  535. </select>
  536. <select1 id="rdo_orddd" ref="/root/main/cond/ordddflag" appearance="full" overflow="visible" style="left:112px; top:38px; width:110px; height:17px; border-style:none; ">
  537. <choices>
  538. <item>
  539. <label>재원일 작성대상</label>
  540. <value>orddd</value>
  541. </item>
  542. </choices>
  543. <script type="javascript" ev:event="xforms-value-changed">
  544. <![CDATA[
  545. fFormessChang(rdo_orddd.value);
  546. ]]>
  547. </script>
  548. </select1>
  549. <select1 id="rdo_anstenddd" ref="/root/main/cond/anstendddflag" appearance="full" overflow="visible" style="left:112px; top:67px; width:110px; height:17px; border-style:none; ">
  550. <choices>
  551. <item>
  552. <label>수술일 작성대상</label>
  553. <value>anstenddd</value>
  554. </item>
  555. </choices>
  556. <script type="javascript" ev:event="xforms-value-changed">
  557. <![CDATA[
  558. fFormessChang(rdo_anstenddd.value);
  559. ]]>
  560. </script>
  561. </select1>
  562. <select id="chk_inhospformcd" ref="/root/main/cond/inhospformcd" class="checkbox_search" overflow="visible" appearance="full" cols="3" sep="|" style="left:266px; top:37px; width:355px; height:28px; text-align:left; border-style:none; ">
  563. <choices>
  564. <itemset nodeset="/root/init/rspd/forminhosp/">
  565. <label ref="srcformnm"/>
  566. <value ref="srcformcd"/>
  567. </itemset>
  568. </choices>
  569. <script type="javascript" ev:event="onclick">
  570. <![CDATA[
  571. fChkInhospform();
  572. ]]>
  573. </script>
  574. </select>
  575. <select1 id="rdo_dschdd" ref="/root/main/cond/dschddflag" appearance="full" overflow="visible" style="left:112px; top:87px; width:110px; height:17px; border-style:none; ">
  576. <choices>
  577. <item>
  578. <label>퇴원일 작성대상</label>
  579. <value>dschdd</value>
  580. </item>
  581. </choices>
  582. <script type="javascript" ev:event="xforms-value-changed">
  583. <![CDATA[
  584. fFormessChang(rdo_dschdd.value);
  585. ]]>
  586. </script>
  587. </select1>
  588. <select id="chk_opformcd" ref="/root/main/cond/opformcd" class="checkbox_search" overflow="visible" appearance="full" cols="4" sep="|" style="left:266px; top:69px; width:355px; height:20px; text-align:left; border-style:none; ">
  589. <choices>
  590. <itemset nodeset="/root/init/rspd/formop/">
  591. <label ref="srcformnm"/>
  592. <value ref="srcformcd"/>
  593. </itemset>
  594. </choices>
  595. <script type="javascript" ev:event="onclick">
  596. <![CDATA[
  597. fChkOpform();
  598. ]]>
  599. </script>
  600. </select>
  601. <select id="chk_dschformcd" ref="/root/main/cond/dschformcd" class="checkbox_search" overflow="visible" appearance="full" cols="3" sep="|" style="left:266px; top:88px; width:355px; height:20px; text-align:left; border-style:none; ">
  602. <choices>
  603. <itemset nodeset="/root/init/rspd/formdsch/">
  604. <label ref="srcformnm"/>
  605. <value ref="srcformcd"/>
  606. </itemset>
  607. </choices>
  608. <script type="javascript" ev:event="onclick">
  609. <![CDATA[
  610. fChkDschform();
  611. ]]>
  612. </script>
  613. </select>
  614. <select id="chk_SearchPointTimeAfterNon" ref="/root/main/cond/tmppointtimeafternon" class="checkbox_search" visibility="visible" overflow="visible" appearance="full" cols="4" direction="acrossdown" style="left:1029px; top:89px; width:103px; height:20px; border-style:none; ">
  615. <choices>
  616. <item>
  617. <label>시점이후미작성</label>
  618. <value>AFTERNON</value>
  619. </item>
  620. </choices>
  621. <script type="javascript" ev:event="onclick">
  622. <![CDATA[
  623. fTimepointChk(chk_SearchPointTimeAfterNon.value);
  624. ]]>
  625. </script>
  626. </select>
  627. <input id="ipt_medispclid" ref="/root/main/cond/medispclnm" style="left:723px; top:37px; width:100px; height:19px; text-align:left; ">
  628. <script type="javascript" ev:event="onkeydown">
  629. <![CDATA[
  630. if(event.keyCode == 13){
  631. model.setValue("/root/main/cond/medispclid", ipt_medispclid.currentText);
  632. var drid = ipt_medispclid.currentText;
  633. if(isNumber(drid.charAt(0)) == "Y"){
  634. fReqGetUnPrepDrSmplList("id", drid);
  635. }else{
  636. fReqGetUnPrepDrSmplList("nm", drid);
  637. }
  638. var nodelist = model.instances(0).selectNodes("/root/temp/userinfo/usercombo");
  639. if(nodelist.length == 1){
  640. model.setValue("/root/main/cond/medispclid", model.getValue("/root/temp/userinfo/usercombo/userid"));
  641. model.setValue("/root/main/cond/medispclnm", model.getValue("/root/temp/userinfo/usercombo/usernm"));
  642. } else if(nodelist.length > 1) {
  643. setParameter("SPMRI02900_stnddd" , getCurrentDate());
  644. setParameter("SPMRI02900_orddrnm", drid );
  645. modal("SPMRI02900");
  646. if(getParameter("SPMRI02900_useyn")=="Y"){
  647. var doctinfo = getParameter("SPMRI02900_rtnparam");
  648. doctinfo = doctinfo.split("^");
  649. model.setValue("/root/main/cond/medispclid", doctinfo[3]);
  650. model.setValue("/root/main/cond/medispclnm", doctinfo[4]);
  651. }
  652. }else{
  653. messageBox("주치의 정보가", "I004");
  654. return;
  655. }
  656. model.refresh();
  657. }
  658. ]]>
  659. </script>
  660. <script type="javascript" ev:event="DOMFocusOut">
  661. <![CDATA[
  662. if(ipt_medispclid.value == ""){
  663. model.setValue("/root/main/cond/medispclnm", "");
  664. model.setValue("/root/main/cond/medispclid", "");
  665. model.refresh();
  666. }
  667. ]]>
  668. </script>
  669. </input>
  670. <caption id="caption14" class="search_name" style="left:635px; top:37px; width:89px; height:17px; ">주치의 :</caption>
  671. <caption id="caption15" class="search_name" style="left:834px; top:37px; width:89px; height:17px; ">집도의 :</caption>
  672. <input id="ipt_reccosignid" ref="/root/main/cond/reccosignnm" style="left:927px; top:37px; width:100px; height:19px; text-align:left; ">
  673. <script type="javascript" ev:event="onkeydown">
  674. <![CDATA[
  675. if(event.keyCode == 13){
  676. model.setValue("/root/main/cond/reccosignid", ipt_reccosignid.currentText);
  677. var drid = ipt_reccosignid.currentText;
  678. if(isNumber(drid.charAt(0)) == "Y"){
  679. fReqGetUnPrepDrSmplList("id", drid);
  680. }else{
  681. fReqGetUnPrepDrSmplList("nm", drid);
  682. }
  683. var nodelist = model.instances(0).selectNodes("/root/temp/userinfo/usercombo");
  684. if(nodelist.length == 1){
  685. model.setValue("/root/main/cond/reccosignid", model.getValue("/root/temp/userinfo/usercombo/userid"));
  686. model.setValue("/root/main/cond/reccosignnm", model.getValue("/root/temp/userinfo/usercombo/usernm"));
  687. } else if(nodelist.length > 1) {
  688. setParameter("SPMRI02900_stnddd" , getCurrentDate());
  689. setParameter("SPMRI02900_orddrnm", drid );
  690. modal("SPMRI02900");
  691. if(getParameter("SPMRI02900_useyn")=="Y"){
  692. var doctinfo = getParameter("SPMRI02900_rtnparam");
  693. doctinfo = doctinfo.split("^");
  694. model.setValue("/root/main/cond/reccosignid", doctinfo[3]);
  695. model.setValue("/root/main/cond/reccosignnm", doctinfo[4]);
  696. }
  697. }else{
  698. messageBox("의사 정보가", "I004");
  699. return;
  700. }
  701. model.refresh();
  702. }
  703. ]]>
  704. </script>
  705. <script type="javascript" ev:event="DOMFocusOut">
  706. <![CDATA[
  707. if(ipt_reccosignid.value == ""){
  708. model.setValue("/root/main/cond/reccosignnm", "");
  709. model.setValue("/root/main/cond/reccosignid", "");
  710. model.refresh();
  711. }
  712. ]]>
  713. </script>
  714. </input>
  715. <select id="chk_inhospformall" ref="/root/main/cond/inhospformall" overflow="visible" appearance="full" style="left:222px; top:37px; width:42px; height:15px; border-style:none; ">
  716. <choices>
  717. <item>
  718. <label>전체</label>
  719. <value>Y</value>
  720. </item>
  721. </choices>
  722. <script type="javascript" ev:event="xforms-value-changed">
  723. <![CDATA[
  724. fFormessAll("I");
  725. ]]>
  726. </script>
  727. </select>
  728. <select id="chk_opformall" ref="/root/main/cond/opformall" overflow="visible" appearance="full" style="left:222px; top:69px; width:42px; height:15px; border-style:none; ">
  729. <choices>
  730. <item>
  731. <label>전체</label>
  732. <value>Y</value>
  733. </item>
  734. </choices>
  735. <script type="javascript" ev:event="xforms-value-changed">
  736. <![CDATA[
  737. fFormessAll("O");
  738. ]]>
  739. </script>
  740. </select>
  741. <select id="chk_dschformall" ref="/root/main/cond/dschformall" overflow="visible" appearance="full" style="left:222px; top:88px; width:42px; height:15px; border-style:none; ">
  742. <choices>
  743. <item>
  744. <label>전체</label>
  745. <value>Y</value>
  746. </item>
  747. </choices>
  748. <script type="javascript" ev:event="xforms-value-changed">
  749. <![CDATA[
  750. fFormessAll("D");
  751. ]]>
  752. </script>
  753. </select>
  754. <caption id="caption5" style="left:969px; top:66px; width:15px; height:15px; ">~</caption>
  755. </group>
  756. </xhtml:body>
  757. </xhtml:html>