SPMMR08100_간질환.xrw 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  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. <![CDATA[/>]]>
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <liver>
  12. <pid/>
  13. <hngnm/>
  14. <sex/>
  15. <brthdd/>
  16. <maindiagnm/>
  17. <subdiagnm/>
  18. <subnm/>
  19. </liver>
  20. </main>
  21. <send>
  22. <reqdata>
  23. </reqdata>
  24. <search>
  25. <pid/>
  26. <ioflag/>
  27. <mdiag/>
  28. <sdiag/>
  29. <sdate/>
  30. <tdate/>
  31. </search>
  32. </send>
  33. <init/>
  34. <hidden/>
  35. <temp/>
  36. <patdetail>
  37. <subject>
  38. <subnm/>
  39. </subject>
  40. <patinfo>
  41. <hngnm/>
  42. <pid/>
  43. <jumin/>
  44. <sa/>
  45. <instcd/>
  46. <orddd/>
  47. <cretno/>
  48. <chosflag/>
  49. </patinfo>
  50. <test1>
  51. <bcolldt/>
  52. <wbc/>
  53. <rbc/>
  54. <hb/>
  55. <plt/>
  56. <anc/>
  57. <ast/>
  58. <alt/>
  59. <alb/>
  60. <tbil/>
  61. <alp/>
  62. <ggt/>
  63. <pt/>
  64. </test1>
  65. <test2>
  66. <bcolldt/>
  67. <hcop/>
  68. <hpg/>
  69. <hiu/>
  70. <hbeag/>
  71. <hbeab/>
  72. <hbsag/>
  73. <hbsab/>
  74. <ymdd/>
  75. <hcv1/>
  76. <hcv2/>
  77. <hcvg/>
  78. <hcvab/>
  79. </test2>
  80. <test3>
  81. <bcolldt/>
  82. <afp/>
  83. <pivka/>
  84. <cea/>
  85. <ca/>
  86. </test3>
  87. <prcpinfo>
  88. <prcpcd/>
  89. <engnm/>
  90. <startdd/>
  91. <enddd/>
  92. <lmc/>
  93. </prcpinfo>
  94. <anticancerinfo>
  95. <prcpcd/>
  96. <engnm/>
  97. <startdd/>
  98. <enddd/>
  99. <lmc/>
  100. </anticancerinfo>
  101. <filminfo>
  102. <cdseqno/>
  103. <name/>
  104. <excuexectodd/>
  105. <conclusion/>
  106. </filminfo>
  107. <sisulinfo>
  108. <cdseqno/>
  109. <name/>
  110. <excuexectodd/>
  111. <conclusion/>
  112. </sisulinfo>
  113. <comments/>
  114. </patdetail>
  115. <popupmenu>
  116. <menu>
  117. <item>
  118. <name>확장</name>
  119. <func>fExpandGrid</func>
  120. </item>
  121. <item>
  122. <name>축소</name>
  123. <func>fShortenGrid</func>
  124. </item>
  125. </menu>
  126. </popupmenu>
  127. <popupmenu2>
  128. <menu>
  129. <item>
  130. <name>환자삭제</name>
  131. <func>fdeletepat</func>
  132. </item>
  133. </menu>
  134. </popupmenu2>
  135. </root>
  136. </instance>
  137. <script type="javascript" ev:event="xforms-ready">
  138. <![CDATA[
  139. fInitialize();
  140. ]]>
  141. </script>
  142. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  143. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  144. <submission id="TRMMR08100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/liver"/>
  145. <submission id="TRMMR08103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/patdetail"/>
  146. <submission id="TXMMO08102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  147. <submission id="TXMMO08103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
  148. </model>
  149. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  150. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  151. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  152. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  153. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  154. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  155. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  156. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  157. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  158. <script type="javascript" src="../../../emr/medirecweb/js/SPMMR08100.js"/>
  159. </xhtml:head>
  160. <xhtml:body pagewidth="1210" pageheight="1300" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  161. <button id="btn_sw1" class="btn_sw" group="tab" selected="true" style="left:0px; top:22px; width:200px; height:22px; ">
  162. <caption>환자목록</caption>
  163. <script type="javascript" ev:event="DOMActivate">
  164. <![CDATA[
  165. model.toggle("case1");
  166. ]]>
  167. </script>
  168. </button>
  169. <button id="btn_sw2" class="btn_sw" group="tab" style="left:200px; top:22px; width:200px; height:22px; ">
  170. <caption>상세보기</caption>
  171. <script type="javascript" ev:event="DOMActivate">
  172. <![CDATA[
  173. model.toggle("case2");
  174. ]]>
  175. </script>
  176. </button>
  177. <switch id="switch1" style="left:0px; top:45px; width:1185px; height:1240px; border-color:#c7a3cf; border-style:solid; ">
  178. <case id="case1" selected="true">
  179. <datagrid id="grd_liver" nodeset="/root/main/liver" caption="환자번호^환자명^성별^생년월일^주진단명^부진단명^Study Name^COMMENT" colsep="^" colwidth="65, 60, 34, 70, 241, 190, 181, 303" dataheight="25" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:35px; width:1180px; height:1200px; ">
  180. <col ref="pid"/>
  181. <col ref="hngnm"/>
  182. <col ref="sex"/>
  183. <col ref="brthdd" format="yyyy/mm/dd"/>
  184. <col ref="maindiagnm"/>
  185. <col ref="subdiagnm"/>
  186. <col ref="subnm"/>
  187. <col autonext="true" ref="comments"/>
  188. <script type="javascript" ev:event="ondblclick">
  189. <![CDATA[
  190. fGrid_init();
  191. fDetailPat();
  192. ]]>
  193. </script>
  194. <script type="javascript" ev:event="onmousedown">
  195. <![CDATA[
  196. setPopupMenu("grd_liver", false, "/root/popupmenu2/menu/item", "name", "func");
  197. ]]>
  198. </script>
  199. <script type="javascript" ev:event="DOMFocusOut">
  200. <![CDATA[
  201. initPopupMenu();
  202. ]]>
  203. </script>
  204. </datagrid>
  205. <caption id="ㅏ" class="search_name" style="left:165px; top:8px; width:60px; height:17px; ">구분 :</caption>
  206. <caption id="caption15" class="search_name" style="left:420px; top:8px; width:86px; height:17px; ">주진단명 :</caption>
  207. <caption id="caption16" class="search_name" style="left:615px; top:8px; width:86px; height:17px; ">부진단명 :</caption>
  208. <caption id="caption17" class="search_name" style="left:815px; top:8px; width:86px; height:17px; ">등록일자 :</caption>
  209. <input id="ipt_pid" ref="/root/send/search/pid" navindex="1" autonext="false" style="left:90px; top:10px; width:70px; height:19px; ">
  210. <script type="javascript" ev:event="onkeypress">
  211. <![CDATA[
  212. if(event.keyCode == "13") {
  213. fPidKeyPress();
  214. }
  215. ]]>
  216. </script>
  217. </input>
  218. <select1 id="radio2" ref="/root/send/search/ioflag" appearance="full" cols="4" overflow="visible" style="left:225px; top:10px; width:195px; height:20px; border-style:none; ">
  219. <choices>
  220. <item>
  221. <label>전체</label>
  222. <value>A</value>
  223. </item>
  224. <item>
  225. <label>입원</label>
  226. <value>I</value>
  227. </item>
  228. <item>
  229. <label>외래</label>
  230. <value>O</value>
  231. </item>
  232. <item>
  233. <label>응급</label>
  234. <value>E</value>
  235. </item>
  236. </choices>
  237. </select1>
  238. <input id="input1" ref="/root/send/search/mdiag" navindex="1" autonext="false" style="left:505px; top:10px; width:105px; height:19px; ">
  239. <script type="javascript" ev:event="onkeypress">
  240. <![CDATA[
  241. if(event.keyCode == "13") {
  242. fPidKeyPress();
  243. }
  244. ]]>
  245. </script>
  246. </input>
  247. <input id="input2" ref="/root/send/search/sdiag" navindex="1" autonext="false" style="left:700px; top:10px; width:110px; height:19px; ">
  248. <script type="javascript" ev:event="onkeypress">
  249. <![CDATA[
  250. if(event.keyCode == "13") {
  251. fPidKeyPress();
  252. }
  253. ]]>
  254. </script>
  255. </input>
  256. <input id="ipt_formrecdtfr" ref="/root/send/search/sdate" inputtype="date" style="left:907px; top:10px; width:90px; height:19px; "/>
  257. <input id="ipt_formrecdtto" ref="/root/send/search/tdate" inputtype="date" style="left:1015px; top:10px; width:90px; height:19px; "/>
  258. <caption id="caption18" class="search_name" style="left:5px; top:8px; width:86px; height:17px; ">환자번호 :</caption>
  259. <caption id="caption21" style="left:1000px; top:10px; width:15px; height:20px; ">~</caption>
  260. <button id="button3" class="btn1_letter2" style="left:1115px; top:8px; width:56px; height:22px; ">
  261. <caption>조회</caption>
  262. <script type="javascript" ev:event="DOMActivate">
  263. <![CDATA[
  264. if(fCheck()){
  265. var sdate=model.getValue("/root/send/search/sdate");
  266. var tdate=model.getValue("/root/send/search/tdate");
  267. if(sdate !="" && tdate =="" || sdate =="" && tdate !=""){
  268. alert("등록일자를 정확히 입력해주세요.");
  269. }else{
  270. alert("검색 조건을 한가지라도 입력하세요.");
  271. }
  272. }else{
  273. submit("TRMMR08100");
  274. }
  275. ]]>
  276. </script>
  277. </button>
  278. </case>
  279. <case id="case2">
  280. <group id="group1" style="left:30px; top:250px; width:1135px; height:135px; ">
  281. <datagrid id="grd_testresult1" nodeset="/root/patdetail/test1" removehscroll="true" removevscroll="true" caption="항 목^WBC^RBC^Hb^Plt^ANC^AST(GOT)^ALT(GPT)^Alb^T. bil^ALP^GGT^PT(INR)" colsep="^" colwidth="85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 96" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:1135px; height:45px; ">
  282. <col ref="bcolldt" format="yyyy/mm/dd"/>
  283. <col ref="wbc"/>
  284. <col ref="rbc"/>
  285. <col ref="hb"/>
  286. <col ref="plt"/>
  287. <col ref="anc"/>
  288. <col ref="ast"/>
  289. <col ref="alt"/>
  290. <col ref="alb"/>
  291. <col ref="tbil"/>
  292. <col ref="alp"/>
  293. <col ref="ggt"/>
  294. <col ref="pt"/>
  295. <script type="javascript" ev:event="onmousedown">
  296. <![CDATA[
  297. setParameter("grd_name", "grd_testresult1");
  298. setPopupMenu("grd_testresult1", false, "/root/popupmenu/menu/item", "name", "func");
  299. ]]>
  300. </script>
  301. <script type="javascript" ev:event="DOMFocusOut">
  302. <![CDATA[
  303. initPopupMenu();
  304. ]]>
  305. </script>
  306. </datagrid>
  307. <datagrid id="grd_testresult2" nodeset="/root/patdetail/test2" removehscroll="true" removevscroll="true" caption="항 목^HBV -cop/ml^HBV -pg/ml^HBV -IU/ml^HBe Ag^HBe Ab^HBs Ag^HBs Ab^YMDD^HCV RNA 정량^HCV RNA 정성^HCV-genotyping^HCV Ab" colsep="^" colwidth="85, 85, 85, 85, 73, 70, 75, 69, 73, 101, 102, 116, 97" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:45px; width:1135px; height:45px; ">
  308. <col ref="bcolldt" format="yyyy/mm/dd"/>
  309. <col ref="hcop"/>
  310. <col ref="hpg"/>
  311. <col ref="hiu"/>
  312. <col ref="hbeag"/>
  313. <col ref="hbeab"/>
  314. <col ref="hbsag"/>
  315. <col ref="hbsab"/>
  316. <col ref="ymdd"/>
  317. <col ref="hcv1"/>
  318. <col ref="hcv2"/>
  319. <col ref="hcvg"/>
  320. <col ref="hcvab"/>
  321. <script type="javascript" ev:event="onmousedown">
  322. <![CDATA[
  323. setParameter("grd_name", "grd_testresult2");
  324. setPopupMenu("grd_testresult2", false, "/root/popupmenu/menu/item", "name", "func");
  325. ]]>
  326. </script>
  327. <script type="javascript" ev:event="DOMFocusOut">
  328. <![CDATA[
  329. initPopupMenu();
  330. ]]>
  331. </script>
  332. </datagrid>
  333. <datagrid id="grd_testresult3" nodeset="/root/patdetail/test3" removehscroll="true" removevscroll="true" caption="항 목^AFP^PIVKA^CEA^CA 19-9" colsep="^" colwidth="83, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:90px; width:1135px; height:45px; ">
  334. <col ref="bcolldt" format="yyyy/mm/dd"/>
  335. <col ref="afp" style="left:83px; top:23px; width:100px; height:23px; "/>
  336. <col ref="pivka"/>
  337. <col ref="cea"/>
  338. <col ref="ca"/>
  339. <script type="javascript" ev:event="onmousedown">
  340. <![CDATA[
  341. setParameter("grd_name", "grd_testresult3");
  342. setPopupMenu("grd_testresult3", false, "/root/popupmenu/menu/item", "name", "func");
  343. ]]>
  344. </script>
  345. <script type="javascript" ev:event="DOMFocusOut">
  346. <![CDATA[
  347. initPopupMenu();
  348. ]]>
  349. </script>
  350. </datagrid>
  351. </group>
  352. <caption id="caption9" class="search_name" style="left:15px; top:10px; width:90px; height:17px; ">환 자 명 :</caption>
  353. <output id="output1" ref="/root/patdetail/patinfo/hngnm" style="left:100px; top:9px; width:70px; height:19px; "/>
  354. <output id="output2" ref="/root/patdetail/patinfo/pid" style="left:280px; top:9px; width:70px; height:19px; "/>
  355. <caption id="caption1" class="search_name" style="left:190px; top:10px; width:90px; height:17px; ">환자번호 :</caption>
  356. <caption id="caption3" class="search_name" style="left:370px; top:10px; width:117px; height:17px; ">주민등록 번호 :</caption>
  357. <output id="output3" ref="/root/patdetail/patinfo/jumin" style="left:490px; top:9px; width:150px; height:19px; "/>
  358. <caption id="caption4" class="search_name" style="left:665px; top:10px; width:117px; height:17px; ">성별/나이 :</caption>
  359. <output id="output4" ref="/root/patdetail/patinfo/sa" style="left:760px; top:9px; width:50px; height:19px; "/>
  360. <caption id="caption5" class="search_name" style="left:15px; top:115px; width:117px; height:17px; ">연구 제목</caption>
  361. <datagrid id="datagrid1" nodeset="/root/patdetail/subject" autoresize="true" caption="진행 중인 연구 제목 및 히스토리" colsep="^" colwidth="1096" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:30px; top:135px; width:1135px; height:90px; ">
  362. <col ref="subnm"/>
  363. </datagrid>
  364. <caption id="caption6" class="search_name" style="left:15px; top:230px; width:117px; height:17px; ">혈액학적 검사</caption>
  365. <caption id="caption7" class="search_name" style="left:15px; top:395px; width:117px; height:17px; ">투약관리</caption>
  366. <datagrid id="grd_prcpinfo" nodeset="/root/patdetail/prcpinfo" autoresize="true" caption="처방코드^항바이러스제^시작일자^종료일자^LMC 추가기록" colsep="^" colwidth="100, 156, 100, 100, 757" mergecellsfixedrows="bycolrec" rowsep="|" style="left:30px; top:415px; width:1135px; height:200px; ">
  367. <col ref="prcpcd" visibility="hidden"/>
  368. <col ref="engnm"/>
  369. <col ref="startdd" format="yyyy/mm/dd"/>
  370. <col ref="enddd" format="yyyy/mm/dd"/>
  371. <col ref="lmc" type="input"/>
  372. </datagrid>
  373. <datagrid id="grd_sisul" nodeset="/root/patdetail/sisulinfo" autoresize="false" caption="하드코드번호^시술관리^시행일^결과" colsep="^" colwidth="100, 100, 100, 913" mergecellsfixedrows="bycolrec" rowsep="|" style="left:30px; top:920px; width:1135px; height:125px; ">
  374. <col ref="cdseqno" visibility="hidden"/>
  375. <col ref="name"/>
  376. <col ref="excuexectodd" format="yyyy/mm/dd"/>
  377. <col ref="conclusion"/>
  378. <script type="javascript" ev:event="ondblclick">
  379. <![CDATA[
  380. if(grd_sisul.isCell(event.target) && grd_sisul.mouserow >= grd_sisul.fixedrows){
  381. var cdseqno = grd_sisul.valueMatrix(grd_sisul.row, grd_sisul.colRef("cdseqno"));
  382. setParameter("film_cdseqno", "");
  383. setParameter("sisul_cdseqno", cdseqno);
  384. setParameter("sisul_pid", model.getValue("/root/patdetail/patinfo/pid"));
  385. open("SPMMR08200", 1, 0, 0, "", "", "");
  386. }
  387. ]]>
  388. </script>
  389. </datagrid>
  390. <datagrid id="grd_film" nodeset="/root/patdetail/filminfo" autoresize="false" caption="하드코드번호^영상관리^시행일^결과" colsep="^" colwidth="100, 100, 100, 913" mergecellsfixedrows="bycolrec" rowsep="|" style="left:30px; top:1080px; width:1135px; height:150px; ">
  391. <col ref="cdseqno" visibility="hidden"/>
  392. <col ref="name"/>
  393. <col ref="excuexectodd" format="yyyy/mm/dd"/>
  394. <col ref="conclusion"/>
  395. <script type="javascript" ev:event="ondblclick">
  396. <![CDATA[
  397. if(grd_film.isCell(event.target) && grd_film.mouserow >= grd_film.fixedrows){
  398. var cdseqno = grd_film.valueMatrix(grd_film.row, grd_film.colRef("cdseqno"));
  399. setParameter("sisul_cdseqno", "");
  400. setParameter("film_cdseqno", cdseqno);
  401. setParameter("film_pid", model.getValue("/root/patdetail/patinfo/pid"));
  402. open("SPMMR08200", 1, 0, 0, "", "", "");
  403. }
  404. ]]>
  405. </script>
  406. </datagrid>
  407. <button id="btn_prcp" class="btn2_letter2" style="left:1122px; top:388px; width:42px; height:19px; ">
  408. <caption>저장</caption>
  409. <script type="javascript" ev:event="onclick">
  410. <![CDATA[
  411. fSave(event.currentTarget);
  412. ]]>
  413. </script>
  414. </button>
  415. <caption id="caption8" class="search_name" style="left:15px; top:625px; width:117px; height:17px; ">항암제관리</caption>
  416. <datagrid id="grd_anticancer" nodeset="/root/patdetail/anticancerinfo" autoresize="true" caption="처방코드^항암제^시작일자^종료일자^LMC 추가기록" colsep="^" colwidth="100, 156, 100, 100, 757" mergecellsfixedrows="bycolrec" rowsep="|" style="left:30px; top:645px; width:1135px; height:250px; ">
  417. <col ref="prcpcd" visibility="hidden"/>
  418. <col ref="engnm"/>
  419. <col ref="startdd" format="yyyy/mm/dd"/>
  420. <col ref="enddd" format="yyyy/mm/dd"/>
  421. <col ref="lmc" type="input"/>
  422. </datagrid>
  423. <caption id="caption10" class="search_name" style="left:15px; top:900px; width:117px; height:17px; ">시술관리</caption>
  424. <caption id="caption11" class="search_name" style="left:15px; top:1055px; width:117px; height:17px; ">영상관리</caption>
  425. <button id="btn_anticancer" class="btn2_letter2" style="left:1122px; top:623px; width:42px; height:19px; ">
  426. <caption>저장</caption>
  427. <script type="javascript" ev:event="onclick">
  428. <![CDATA[
  429. fSave(event.currentTarget);
  430. ]]>
  431. </script>
  432. </button>
  433. <caption id="caption12" class="search_name" style="left:15px; top:35px; width:145px; height:17px; ">환자 Comment</caption>
  434. <textarea id="comment" ref="/root/patdetail/comments" editable="true" style="left:32px; top:55px; width:1133px; height:60px; "/>
  435. <button id="btn_comment" class="btn2_letter2" style="left:1120px; top:30px; width:42px; height:19px; ">
  436. <caption>저장</caption>
  437. <script type="javascript" ev:event="onclick">
  438. <![CDATA[
  439. fSave(event.currentTarget);
  440. ]]>
  441. </script>
  442. </button>
  443. </case>
  444. </switch>
  445. <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:204px; height:14px; ">간질환 환자관리</caption>
  446. </xhtml:body>
  447. </xhtml:html>