SMMMB02100_지시처방코드관리.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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>지시처방코드 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <currentdd/>
  12. <ordprcpnm/>
  13. <prcpclscd1/>
  14. <prcpclscd2/>
  15. <prcpclscd3/>
  16. <prcpclsnm/>
  17. <prcpinptflag>-</prcpinptflag>
  18. <prcpuseflag>-</prcpuseflag>
  19. </cond>
  20. <ordprcpcdinfo>
  21. <ordprcpcdinfo>
  22. <status/>
  23. <prcpcd/>
  24. <todd/>
  25. <instcd/>
  26. <fromdd/>
  27. <grupsnglflag>S</grupsnglflag>
  28. <prcpclscd1/>
  29. <prcpclscd2/>
  30. <prcpclscd3/>
  31. <prcpclsnm1/>
  32. <prcpclsnm2/>
  33. <prcpclsnm3/>
  34. <prcpinptflag>-</prcpinptflag>
  35. <prcpuseflag>A</prcpuseflag>
  36. <prcpessninptflag/>
  37. <prcpclscd/>
  38. <direcprcplnkno/>
  39. <prcpexecdeptcd/>
  40. <prcpexecdeptnm/>
  41. <prcpnm/>
  42. <prcpclsnm/>
  43. <prcpnmupdtflag>N</prcpnmupdtflag>
  44. </ordprcpcdinfo>
  45. </ordprcpcdinfo>
  46. <ordprcpcdlist>
  47. <ordprcpcdlist>
  48. <status/>
  49. <prcpcd/>
  50. <todd/>
  51. <instcd/>
  52. <fromdd/>
  53. <grupsnglflag/>
  54. <prcpclscd1/>
  55. <prcpclscd2/>
  56. <prcpclscd3/>
  57. <prcpclsnm1/>
  58. <prcpclsnm2/>
  59. <prcpclsnm3/>
  60. <prcpinptflag/>
  61. <prcpuseflag/>
  62. <prcpessninptflag/>
  63. <prcpclscd/>
  64. <direcprcplnkno/>
  65. <prcpexecdeptcd/>
  66. <prcpnm/>
  67. <prcpnmupdtflag/>
  68. </ordprcpcdlist>
  69. </ordprcpcdlist>
  70. </main>
  71. <send>
  72. <reqdata/>
  73. <savedata/>
  74. </send>
  75. <hidden/>
  76. <init>
  77. <today/>
  78. <M0005/>
  79. <orddept/>
  80. </init>
  81. <temp>
  82. <ordprcpcdinfo>
  83. <ordprcpcdlist/>
  84. </ordprcpcdinfo>
  85. </temp>
  86. </root>
  87. </instance>
  88. <script type="javascript" ev:event="xforms-ready">
  89. <![CDATA[
  90. fInitialize_SMMMB02100();
  91. ]]>
  92. </script>
  93. <submission id="TRMMB02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ordprcpcdlist"/>
  94. <submission id="TXMMB02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/ordprcpcdlist"/>
  95. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  96. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  97. </model>
  98. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  101. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  102. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  103. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  104. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB02100.js"/>
  105. </xhtml:head>
  106. <xhtml:body guideline="1,1193;2,784;2,29;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  107. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:21px; width:1193px; height:39px; background-color:#fffbf2; border-color:#ffd799; "/>
  108. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:124px; height:14px; ">지시처방코드 관리</caption>
  109. <caption id="caption1" class="search_name" style="left:205px; top:31px; width:105px; height:17px; ">지시처방명 :</caption>
  110. <input id="ipt_pid" ref="/root/main/cond/ordprcpnm" class="input_search" style="left:304px; top:29px; width:144px; height:19px; ">
  111. <script type="javascript" ev:event="onkeypress">
  112. <![CDATA[
  113. inputEnterKey("btn_req", "DOMActivate");
  114. ]]>
  115. </script>
  116. </input>
  117. <line id="line3" style="x1:1110px; y1:28px; x2:1110px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
  118. <caption id="caption2" class="tit_2" style="left:0px; top:65px; width:126px; height:14px; vertical-align:middle; ">지시처방코드</caption>
  119. <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:1193px; y2:80px; "/>
  120. <caption id="caption3" class="cell_1" style="left:0px; top:85px; width:101px; height:23px; vertical-align:middle; ">처방명</caption>
  121. <caption id="caption4" class="cell_1" style="left:396px; top:157px; width:101px; height:23px; vertical-align:middle; ">그룹싱글구분</caption>
  122. <caption id="caption5" class="cell_1" style="left:0px; top:109px; width:101px; height:23px; vertical-align:middle; ">유효기간</caption>
  123. <caption id="caption10" class="cell_1" style="left:199px; top:181px; width:101px; height:23px; vertical-align:middle; ">사용구분</caption>
  124. <caption id="caption13" class="cell_1" style="left:0px; top:157px; width:101px; height:23px; vertical-align:middle; ">실시부서</caption>
  125. <caption id="caption14" class="cell_1" style="left:0px; top:133px; width:101px; height:23px; vertical-align:middle; ">처방분류명</caption>
  126. <line id="line6" class="line_3" style="x1:0px; y1:204px; x2:1194px; y2:204px; "/>
  127. <caption id="caption18" class="tit_2" style="left:0px; top:235px; width:139px; height:13px; vertical-align:middle; ">지시처방코드 리스트</caption>
  128. <line id="line2" class="line_1" style="x1:0px; y1:250px; x2:1193px; y2:250px; "/>
  129. <caption id="caption7" style="left:200px; top:110px; width:20px; height:20px; ">~</caption>
  130. <caption id="caption9" class="cell_1" style="left:0px; top:181px; width:101px; height:23px; vertical-align:middle; ">처방입력구분</caption>
  131. <input id="ipt_prcpnm" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpnm" class="input_search" style="left:102px; top:87px; width:788px; height:19px; "/>
  132. <input id="ipt_fromdd" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/fromdd" class="input_search" inputtype="date" style="left:102px; top:111px; width:95px; height:19px; "/>
  133. <input id="ipt_todd" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/todd" class="input_search" disabled="true" inputtype="date" style="left:213px; top:111px; width:95px; height:19px; "/>
  134. <input id="ipt_prcpclsnm" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpclsnm" class="input_search" disabled="true" style="left:102px; top:135px; width:293px; height:19px; "/>
  135. <select1 id="cmb_prcpinptflag" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpinptflag" class="combo_search" appearance="minimal" style="left:102px; top:183px; width:96px; height:19px; ">
  136. <choices>
  137. <item>
  138. <label>외래</label>
  139. <value>O</value>
  140. </item>
  141. <item>
  142. <label>입원</label>
  143. <value>I</value>
  144. </item>
  145. <item>
  146. <label>전체</label>
  147. <value>-</value>
  148. </item>
  149. </choices>
  150. </select1>
  151. <select1 id="cmb_grupsnglflag" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/grupsnglflag" class="combo_search" appearance="minimal" style="left:498px; top:159px; width:95px; height:19px; ">
  152. <choices>
  153. <item>
  154. <label>싱글</label>
  155. <value>S</value>
  156. </item>
  157. <item>
  158. <label>그룹</label>
  159. <value>J</value>
  160. </item>
  161. </choices>
  162. </select1>
  163. <select1 id="cmb_prcpuseflag" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpuseflag" class="combo_search" appearance="minimal" style="left:301px; top:183px; width:95px; height:19px; ">
  164. <choices>
  165. <item>
  166. <label>사용가능</label>
  167. <value>A</value>
  168. </item>
  169. <item>
  170. <label>사용불가</label>
  171. <value>X</value>
  172. </item>
  173. </choices>
  174. </select1>
  175. <button id="btn_save" class="btn4_letter2" style="left:1136px; top:207px; width:56px; height:22px; ">
  176. <caption>저장</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. fSaveOrdPrcpCD();
  180. ]]>
  181. </script>
  182. </button>
  183. <button id="btn_new" class="btn4_letter2" style="left:1020px; top:207px; width:56px; height:22px; ">
  184. <caption>신규</caption>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. fRgstNewOrdPrcpCD();
  188. ]]>
  189. </script>
  190. </button>
  191. <button id="btn_req" class="btn1_letter2" style="left:1125px; top:30px; width:56px; height:22px; ">
  192. <caption>조회</caption>
  193. <script type="javascript" ev:event="DOMActivate">
  194. <![CDATA[
  195. fReqOrdPrcpCD();
  196. ]]>
  197. </script>
  198. </button>
  199. <datagrid id="grd_ordprcpcdlist" nodeset="/root/main/ordprcpcdlist/ordprcpcdlist" caption="처방코드^처방명^유효시작일^유효종료일^처방분류명^처방구분^실시부서코드^실시부서^그룹싱글구분^prcpessninptflag^fromdd^사용구분" colsep="^" colwidth="100, 459, 100, 100, 0, 100, 0, 125, 86, 0, 0, 106" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:255px; width:1193px; height:529px; ">
  200. <col ref="prcpcd"/>
  201. <col ref="prcpnm"/>
  202. <col ref="fromdd" format="yyyy-mm-dd"/>
  203. <col ref="todd" format="yyyy-mm-dd"/>
  204. <col ref="prcpclsnm"/>
  205. <col disabled="true" ref="prcpclscd" type="combo">
  206. <choices>
  207. <itemset nodeset="/root/init/M0005/M0005">
  208. <label ref="cdnm"/>
  209. <value ref="cdid"/>
  210. </itemset>
  211. </choices>
  212. </col>
  213. <col ref="prcpexecdeptcd"/>
  214. <col ref="prcpexecdeptnm"/>
  215. <col disabled="true" ref="grupsnglflag" type="combo">
  216. <choices>
  217. <item>
  218. <label>싱글</label>
  219. <value>S</value>
  220. </item>
  221. <item>
  222. <label>그룹</label>
  223. <value>J</value>
  224. </item>
  225. </choices>
  226. </col>
  227. <col ref="prcpessninptflag"/>
  228. <col ref="fromdd"/>
  229. <col disabled="true" ref="prcpuseflag" type="combo">
  230. <choices>
  231. <item>
  232. <label>사용가능</label>
  233. <value>A</value>
  234. </item>
  235. <item>
  236. <label>사용불가</label>
  237. <value>X</value>
  238. </item>
  239. </choices>
  240. </col>
  241. <script type="javascript" ev:event="onclick">
  242. <![CDATA[
  243. var iRow = grd_ordprcpcdlist.row;
  244. if(iRow > 0){
  245. fDispOrdPrcpDetl(iRow);
  246. }
  247. ]]>
  248. </script>
  249. <script type="javascript" ev:event="onaftersort">
  250. <![CDATA[
  251. grd_ordprcpcdlist.gridToInstance();
  252. ]]>
  253. </script>
  254. </datagrid>
  255. <caption id="caption11" class="search_name" style="left:11px; top:31px; width:105px; height:17px; ">기준일자 :</caption>
  256. <input id="input1" ref="/root/main/cond/currentdd" class="input_search" inputtype="date" style="left:100px; top:29px; width:90px; height:19px; "/>
  257. <button id="btn_calscor" class="btn3_letter6" style="left:595px; top:157px; width:104px; height:22px; ">
  258. <caption>수가처방등록</caption>
  259. <script type="javascript" ev:event="DOMActivate">
  260. <![CDATA[
  261. if ( isNull ( model.getValue ( "/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpcd" ) )) {
  262. model.alert ( "선택된 지시처방이 없습니다." );
  263. } else {
  264. setParameter ( "SMMMB02100_cond1", model.getValue ( "/root/main/ordprcpcdinfo/ordprcpcdinfo/direcprcplnkno" ));
  265. var prcpcd = model.getValue("/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpcd");
  266. var cur_grupsnglflag = model.getValue("/root/main/ordprcpcdinfo/ordprcpcdinfo/grupsnglflag");
  267. var grupsnglflag = model.getValue("/root/main/ordprcpcdlist/ordprcpcdlist[prcpcd='" + prcpcd + "']/grupsnglflag");
  268. if(cur_grupsnglflag == grupsnglflag && cur_grupsnglflag == 'J'){
  269. modal ( "SMMMB00900" );
  270. }else{
  271. messageBox("수가처방 등록은 그룹 이외는 처리", "E001");
  272. return;
  273. }
  274. }
  275. ]]>
  276. </script>
  277. </button>
  278. <button id="btn_prcpclsnm" class="icon_search" style="left:82px; top:136px; width:16px; height:16px; ">
  279. <caption/>
  280. <script type="javascript" ev:event="DOMActivate">
  281. <![CDATA[
  282. fOpenPrcpClsNm();
  283. ]]>
  284. </script>
  285. </button>
  286. <input id="input2" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpexecdeptcd" class="input_search" disabled="true" visibility="hidden" style="left:700px; top:158px; width:130px; height:19px; "/>
  287. <caption id="caption8" class="search_name" style="left:455px; top:30px; width:105px; height:17px; ">처방분류 :</caption>
  288. <input id="input3" ref="/root/main/cond/prcpclsnm" class="input_search" editable="false" style="left:540px; top:29px; width:125px; height:19px; ">
  289. <script type="javascript" ev:event="onclick">
  290. <![CDATA[
  291. ]]>
  292. </script>
  293. </input>
  294. <button id="button2" class="icon_search" style="left:670px; top:30px; width:16px; height:16px; ">
  295. <caption/>
  296. <script type="javascript" ev:event="DOMActivate">
  297. <![CDATA[
  298. fOpenPrcpClsNmCond();
  299. ]]>
  300. </script>
  301. </button>
  302. <bool id="bool1" checkvalue="Y,N" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpnmupdtflag" style="left:885px; top:87px; width:30px; height:20px; "/>
  303. <caption id="caption12" style="left:908px; top:88px; width:100px; height:20px; ">처방명 수정구분</caption>
  304. <caption id="caption15" class="cell_1" style="left:396px; top:133px; width:101px; height:23px; vertical-align:middle; ">처방구분</caption>
  305. <select1 id="cmb_prcpcls" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpclscd" class="combo_search" appearance="minimal" style="left:498px; top:136px; width:95px; height:19px; ">
  306. <choices>
  307. <item>
  308. <label>V/S</label>
  309. <value>00</value>
  310. </item>
  311. <item>
  312. <label>활동</label>
  313. <value>01</value>
  314. </item>
  315. <item>
  316. <label>I/O</label>
  317. <value>02</value>
  318. </item>
  319. <item>
  320. <label>식이</label>
  321. <value>03</value>
  322. </item>
  323. <item>
  324. <label>HSCT</label>
  325. <value>04</value>
  326. </item>
  327. <item>
  328. <label>지시</label>
  329. <value>09</value>
  330. </item>
  331. </choices>
  332. <script type="javascript" ev:event="xforms-value-changed">
  333. <![CDATA[
  334. fChngPrcpClsCD();
  335. ]]>
  336. </script>
  337. </select1>
  338. <button id="button3" class="btn4_letter2" style="left:1078px; top:207px; width:56px; height:22px; ">
  339. <caption>삭제</caption>
  340. <script type="javascript" ev:event="DOMActivate">
  341. <![CDATA[
  342. fDelOrdPrcpCD();
  343. ]]>
  344. </script>
  345. </button>
  346. <select1 id="combo2" ref="/root/main/ordprcpcdinfo/ordprcpcdinfo/prcpexecdeptcd" appearance="minimal" itemcount="10" style="left:102px; top:159px; width:293px; height:19px; ">
  347. <choices>
  348. <itemset nodeset="/root/init/orddept/dept">
  349. <label ref="depthngnm"/>
  350. <value ref="deptcd"/>
  351. </itemset>
  352. </choices>
  353. </select1>
  354. <caption id="caption16" class="search_name" style="left:700px; top:30px; width:112px; height:17px; ">처방입력구분 :</caption>
  355. <select1 id="combo1" ref="/root/main/cond/prcpinptflag" class="combo_search" appearance="minimal" style="left:813px; top:29px; width:96px; height:19px; ">
  356. <choices>
  357. <item>
  358. <label>외래</label>
  359. <value>O</value>
  360. </item>
  361. <item>
  362. <label>입원</label>
  363. <value>I</value>
  364. </item>
  365. <item>
  366. <label>전체</label>
  367. <value>-</value>
  368. </item>
  369. </choices>
  370. </select1>
  371. <select1 id="combo3" ref="/root/main/cond/prcpuseflag" class="combo_search" appearance="minimal" style="left:1006px; top:29px; width:95px; height:19px; ">
  372. <choices>
  373. <item>
  374. <label>전체</label>
  375. <value>-</value>
  376. </item>
  377. <item>
  378. <label>사용가능</label>
  379. <value>A</value>
  380. </item>
  381. <item>
  382. <label>사용불가</label>
  383. <value>X</value>
  384. </item>
  385. </choices>
  386. </select1>
  387. <caption id="caption17" class="search_name" style="left:920px; top:30px; width:112px; height:17px; ">사용구분 :</caption>
  388. </xhtml:body>
  389. </xhtml:html>