SPMMP02900_Null처방에러.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  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>Null처방리스트</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <prcp>
  11. <prcplist>
  12. <status/>
  13. <prcpstatcd/>
  14. <prcpclscd/>
  15. <prcpkindcd/>
  16. <prcpcd/>
  17. <prcpnm/>
  18. <prcpvol/>
  19. <prcpvolunitnm/>
  20. <prcpqty/>
  21. <prcpqtyunitnm/>
  22. <prcptims/>
  23. <prcpdayno/>
  24. <drugmthdspccdnm/>
  25. <prcpmixno/>
  26. <payflagcd/>
  27. <prcpdelivefact/>
  28. <hosinhosoutflag/>
  29. <prcpexecdeptcd/>
  30. <prcphopedd/>
  31. <choiordflag/>
  32. <rgstdt/>
  33. <rgstridnm/>
  34. <testrsltunit/>
  35. <testrsltcnts/>
  36. <prcpgenrflag/>
  37. <prcphistcd/>
  38. <tempprcpflag/>
  39. <prcpsetcd/>
  40. <prcpvolunitflag/>
  41. <prcpqtyunitflag/>
  42. <orgprcpqty/>
  43. <drugspd/>
  44. <drugspdunitflag/>
  45. <powdflag/>
  46. <prnprcpflag/>
  47. <prepprcpflag/>
  48. <selfprcpflag/>
  49. <selfdrugflag/>
  50. <drugpackflag/>
  51. <erprcpflag/>
  52. <precureprcpflag/>
  53. <nigtprcpflag/>
  54. <portprcpflag/>
  55. <fixprcpflag/>
  56. <anamneflag/>
  57. <fastprcpflag/>
  58. <erreadflag/>
  59. <prcpdirecflag/>
  60. <tnsuseflag/>
  61. <tnsfiltflag/>
  62. <trnptbftestflag/>
  63. <offictourhealexamflag/>
  64. <stemcellflag/>
  65. <angioflagcd/>
  66. <opansflagcd/>
  67. <ansttm/>
  68. <mealcalrcnts/>
  69. <mealprotcnts/>
  70. <mealupdtflag/>
  71. <hosinprcpresncd/>
  72. <etcprcpresncd/>
  73. <drugmthdspccd/>
  74. <issdeptcd/>
  75. <prcpauthflag/>
  76. <prcpinptflag/>
  77. <prcpsignflag/>
  78. <rateprcpflag/>
  79. <prcprefseq/>
  80. <ordreqlnkno/>
  81. <testreqlnkno/>
  82. <prcplnkdd/>
  83. <prcplnkno/>
  84. <oprsrvno/>
  85. <tootfact/>
  86. <clinccmtcnts/>
  87. <prcpessninptflag/>
  88. <grupsnglflag/>
  89. <drugrateqty/>
  90. <asttestflag/>
  91. <clincstdyflag/>
  92. <prtlno/>
  93. <clincstdycd/>
  94. <optermcd/>
  95. <prcpflag/>
  96. <hscttempprcpflag/>
  97. <inclprcpcd/>
  98. <inclprcpno/>
  99. <pampkspec/>
  100. <prcppkspec/>
  101. <calcscormastspec/>
  102. <drugmastspec/>
  103. <rateprcpspec/>
  104. <matrsetprcpspec/>
  105. <suppdeptspec/>
  106. <contprcpspec/>
  107. <etclnkspec/>
  108. <srchcondcnts/>
  109. <orgprcpnm/>
  110. <chkcol/>
  111. <hsctdelivepos/>
  112. <hsctlnkno/>
  113. <etcprcpflag/>
  114. <aftcertflag/>
  115. <aftcertdrid/>
  116. <prcpvalidd/>
  117. <spynpy1/>
  118. <specdrid/>
  119. <anticncrprtlno/>
  120. <anticncrdayno/>
  121. <druglnkno/>
  122. <rehbprcpcurefreqflag/>
  123. <dietprcpgenrflag/>
  124. <irpayflag/>
  125. <irflag/>
  126. <procerdietflag/>
  127. <diagtestconttestintvlflag/>
  128. <drugindependpackflag/>
  129. <diagtestconttestbasetm/>
  130. <diagtestconttestorgtims/>
  131. <ermediscmngtresncd/>
  132. <rehbprcpenddd/>
  133. <matrallsizespecid/>
  134. <rehbprcpcurepartcd/>
  135. <lowdrugresncd/>
  136. <tfdtlcd/>
  137. <dnorreqlnkno/>
  138. <subcretno/>
  139. <exptmthdfact/>
  140. <lowdrugresnetcfact/>
  141. <diagtestconttestcdspec/>
  142. <drgacptflag/>
  143. <drprcpetc1/>
  144. <drprcpetc2/>
  145. <drprcpetc3/>
  146. <drprcpetc4/>
  147. <drprcpetc5/>
  148. <drprcpetc6/>
  149. <drprcpetc7/>
  150. <drprcpetc8/>
  151. <drprcpetc9/>
  152. <drprcpetc10/>
  153. <tempcol1/>
  154. <tempcol2/>
  155. <tempcol3/>
  156. <tempcol4/>
  157. <tempcol5/>
  158. <tempcol6/>
  159. <tempcol7/>
  160. <tempcol8/>
  161. <tempcol9/>
  162. <tempcol10/>
  163. <tempcol11/>
  164. <tempcol12/>
  165. <tempcol13/>
  166. <tempcol14/>
  167. <tempcol15/>
  168. <tempcol16/>
  169. <tempcol17/>
  170. <tempcol18/>
  171. <tempcol19/>
  172. <tempcol20/>
  173. <tempcol21/>
  174. <tempcol22/>
  175. <tempcol23/>
  176. <tempcol24/>
  177. <tempcol25/>
  178. <nullvalexistyn/>
  179. <nullcolumncd/>
  180. </prcplist>
  181. </prcp>
  182. </main>
  183. <init>
  184. <prcpstatcd/>
  185. <prcpclscd/>
  186. <prcpkindcd/>
  187. <payflagcd/>
  188. </init>
  189. <result>
  190. <prcperrlist/>
  191. </result>
  192. <orddept>
  193. </orddept>
  194. <send>
  195. <cond1/>
  196. <cond2/>
  197. </send>
  198. </root>
  199. </instance>
  200. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  201. <script type="javascript" ev:event="xforms-ready">
  202. <![CDATA[
  203. zbcfGetCodeList(new Array("M0011", "M0005", "M0003", "M0029"),
  204. new Array("/root/init/prcpstatcd", "/root/init/prcpclscd",
  205. "/root/init/prcpkindcd", "/root/init/payflagcd"));
  206. mmbfGetDeptCodeComboList("/root/temp/reqdata", "/root/orddept", "I");
  207. ]]>
  208. </script>
  209. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  210. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  211. <submission id="TRMMP02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
  212. <script type="javascript" ev:event="xforms-model-construct-done">
  213. <![CDATA[
  214. var colHidnValue = grdBaseColHidn("D");
  215. grdBaseColHidn(colHidnValue, "grd_prcplist", 40, "prcpvol", "prcpqty", "drprcpetc7", "drprcpetc8");
  216. ]]>
  217. </script>
  218. </model>
  219. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  220. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  221. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  222. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  223. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  224. </xhtml:head>
  225. <xhtml:body pagewidth="815" pageheight="500" guideline="1,257;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  226. <button id="button1" class="btn4_letter2" style="left:683px; top:473px; width:56px; height:22px; ">
  227. <caption>확인</caption>
  228. <script type="javascript" ev:event="DOMActivate">
  229. <![CDATA[
  230. var savePrcpInfo = instance1.selectNodes( " /root/main/prcp/prcplist[status != 'S' and status != '-']" );
  231. model.setValue("/root/send/cond1", getNodeListCSV(savePrcpInfo));
  232. model.setValue("/root/send/cond2", "1");
  233. // 용량, 수량을 제외한 처방 check Logic을 check 하고 결과 node를 opener 로 return 해야 함
  234. if ( !submit ( "TRMMP02901", false )){ //저장 전 약속처방 check : reqGetPrcpSaveChk()
  235. model.resetInstanceNode ( "/root/send" );
  236. setParameter("SPMMP02900_endYN", "N");
  237. model.refresh();
  238. return;
  239. } else {
  240. var prcpErrNode = getNodeListCSV(instance1.selectNodes("/root/result/prcperrlist"));
  241. opener.javascript.setParameter("SPMMP02900_endYN", "Y");
  242. opener.javascript.setParameter("SPMMP02900_prcpErrNode", prcpErrNode);
  243. model.close();
  244. }
  245. ]]>
  246. </script>
  247. </button>
  248. <caption id="caption2" style="left:6px; top:473px; width:259px; height:20px; color:#ff0000; ">* 위의 Null 처방 허용여부를 확인하십시오.</caption>
  249. <button id="button2" class="btn4_letter2" style="left:740px; top:473px; width:56px; height:22px; ">
  250. <caption>취소</caption>
  251. <script type="javascript" ev:event="DOMActivate">
  252. <![CDATA[
  253. window.close();
  254. ]]>
  255. </script>
  256. </button>
  257. <datagrid id="grd_prcplist" nodeset="/root/main/prcp/prcplist" caption="^상태^분류^종류^처방코드^처방명^총용량^총용량^총용량^수량^수량^수량^횟수^일수^급비^용법/검체^MIX^전달^원내외^시행부서^희망일자^선택진료^등록일시^등록자" colsep="^" colwidth="38, 55, 50, 55, 80, 260, 45, 45, 27, 37, 37, 27, 40, 37, 60, 153, 38, 40, 50, 100, 100, 60, 80, 80" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" tooltip="true" navindex="1" style="left:0px; top:0px; width:790px; height:435px; ">
  258. <col disabled="true" ref="status" type="combo" visibility="hidden" style="left:0px; top:23px; width:38px; height:23px; text-align:center; word-wrap:word; focus-rect:visible; ">
  259. <choices>
  260. <item>
  261. <label>검색</label>
  262. <value>S</value>
  263. </item>
  264. <item>
  265. <label>신규</label>
  266. <value>I</value>
  267. </item>
  268. <item>
  269. <label>삭제</label>
  270. <value>D</value>
  271. </item>
  272. <item>
  273. <label>D/C</label>
  274. <value>C</value>
  275. </item>
  276. <item>
  277. <label>-</label>
  278. <value>-</value>
  279. </item>
  280. <item>
  281. <label>수정</label>
  282. <value>U</value>
  283. </item>
  284. </choices>
  285. </col>
  286. <col disabled="true" ref="prcpstatcd" type="combo" visibility="hidden" style="text-align:center; focus-rect:visible; ">
  287. <choices>
  288. <itemset nodeset="/root/init/prcpstatcd/M0011">
  289. <label ref="cdnm"/>
  290. <value ref="cdid"/>
  291. </itemset>
  292. </choices>
  293. </col>
  294. <col ref="prcpclscd" type="combo" visibility="hidden" style="text-align:left; focus-rect:visible; ">
  295. <choices>
  296. <itemset nodeset="/root/init/prcpclscd/M0005">
  297. <label ref="cdnm"/>
  298. <value ref="cdid"/>
  299. </itemset>
  300. </choices>
  301. </col>
  302. <col class="gridcombo" ref="prcpkindcd" type="combo" style="text-align:center; focus-rect:visible; ">
  303. <choices>
  304. <itemset nodeset="/root/init/prcpkindcd/M0003">
  305. <label ref="cdnm"/>
  306. <value ref="cdid"/>
  307. </itemset>
  308. </choices>
  309. </col>
  310. <col ref="prcpcd" type="input" style="text-align:left; focus-rect:visible; "/>
  311. <col ref="prcpnm" type="input" style="text-align:left; focus-rect:visible; "/>
  312. <col ref="prcpvol" type="input" format="#.#" maxlength="5.3" style="text-align:center; focus-rect:visible; "/>
  313. <col ref="drprcpetc7" type="input" format="#.#" maxlength="5.3" style="text-align:center; focus-rect:visible; "/>
  314. <col ref="prcpvolunitnm" type="output" style="text-align:center; focus-rect:visible; "/>
  315. <col ref="prcpqty" type="input" format="#.#" maxlength="5.3" style="text-align:center; focus-rect:visible; "/>
  316. <col ref="drprcpetc8" type="input" format="#.#" maxlength="5.3" style="text-align:center; focus-rect:visible; "/>
  317. <col ref="prcpqtyunitnm" style="text-align:center; focus-rect:visible; "/>
  318. <col ref="prcptims" type="input" format="#" style="text-align:center; focus-rect:visible; "/>
  319. <col ref="prcpdayno" type="input" format="#" style="text-align:center; focus-rect:visible; "/>
  320. <col ref="payflagcd" type="combo">
  321. <choices>
  322. <itemset nodeset="/root/init/payflagcd/M0029">
  323. <label ref="cdnm"/>
  324. <value ref="cdid"/>
  325. </itemset>
  326. </choices>
  327. </col>
  328. <col ref="drugmthdspccdnm" type="output" style="focus-rect:visible; "/>
  329. <col ref="prcpmixno" type="input" style="focus-rect:visible; "/>
  330. <col ref="prcpdelivefact" style="focus-rect:visible; "/>
  331. <col disabled="true" ref="hosinhosoutflag" type="combo" style="text-align:center; focus-rect:visible; ">
  332. <choices>
  333. <item>
  334. <label>원내</label>
  335. <value>I</value>
  336. </item>
  337. <item>
  338. <label>원외</label>
  339. <value>O</value>
  340. </item>
  341. <item>
  342. <label/>
  343. <value/>
  344. </item>
  345. </choices>
  346. </col>
  347. <col class="gridcombo" disabled="true" ref="prcpexecdeptcd" type="combo" style="focus-rect:visible; ">
  348. <choices>
  349. <itemset nodeset="/root/orddept/dept">
  350. <label ref="depthngnm"/>
  351. <value ref="deptcd"/>
  352. </itemset>
  353. </choices>
  354. </col>
  355. <col ref="prcphopedd" type="inputdate" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; focus-rect:visible; "/>
  356. <col checkvalue="Y,N" ref="choiordflag" type="checkbox" style="focus-rect:visible; "/>
  357. <col ref="rgsttm" visibility="hidden" format="yyyy-mm-dd"/>
  358. <col ref="rgstridnm" visibility="hidden"/>
  359. </datagrid>
  360. </xhtml:body>
  361. </xhtml:html>