SMAHR00940_환자정보화면.xrw 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  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. <gridlist>
  11. <pidlist>
  12. <pid/>
  13. <hngnm/>
  14. <rrgstno1/>
  15. <rrgstno2/>
  16. <hopedd/>
  17. <cmpycd/>
  18. <cmpynm/>
  19. <bizoffccd/>
  20. <dgflag/>
  21. <zipcd11/>
  22. <zipcd12/>
  23. <detladdr1/>
  24. <telno/>
  25. <mpphon/>
  26. <emailid/>
  27. <emailtype/>
  28. <insuid/>
  29. <insucorpbrchcd/>
  30. <insutrgtflag/>
  31. <insuflag/>
  32. <plceflag/>
  33. <jobkindflag/>
  34. <jobkindcd/>
  35. <insucorpbrchcd/>
  36. <healcntrcd/>
  37. <schlgrde/>
  38. <clsid/>
  39. <studid/>
  40. <deptcd/>
  41. <clntdeptnm/>
  42. <clntempid/>
  43. <entcodd/>
  44. <junibdd/>
  45. <oraltestyn/>
  46. <fsthptstrgtyn/>
  47. <scndhptstrgtyn/>
  48. <stmccncrflag/>
  49. <largeintescncrflag/>
  50. <livcncrflag/>
  51. <mamcncrflag/>
  52. <cervcncrflag/>
  53. <visano/>
  54. <workproccd/>
  55. <dayspclworktm/>
  56. <spclhealexamflag/>
  57. <prodcd/>
  58. <duptype/>
  59. <medioph/>
  60. <mediotor/>
  61. <mediskin/>
  62. <medidental/>
  63. <mdclhstr/>
  64. <fmlhstr/>
  65. <workcause/>
  66. <dietcnstyn/>
  67. <healexamflag/>
  68. <healexamdetlflag/>
  69. <remcnts/>
  70. </pidlist>
  71. <pkglist>
  72. <hopedd/>
  73. <pid/>
  74. <hngnm/>
  75. <rrgstno1/>
  76. <rrgstno2/>
  77. <healexamdetlflag/>
  78. <gubun/>
  79. <testcd/>
  80. <testnm/>
  81. <uncocd/>
  82. </pkglist>
  83. <rsrtlist>
  84. <hopedd/>
  85. <pid/>
  86. <hngnm/>
  87. <rrgstno1/>
  88. <rrgstno2/>
  89. <testcd/>
  90. <testnm/>
  91. <rslt1/>
  92. <rslt2/>
  93. <rslt2_nm/>
  94. <rslt3/>
  95. <rslt3_nm/>
  96. </rsrtlist>
  97. </gridlist>
  98. </main>
  99. <send>
  100. <srchfromdd/>
  101. <srchtodd/>
  102. <srchcmpycd/>
  103. <srchcmpynm/>
  104. <srchinstcd/>
  105. <srchplceflag/>
  106. <srchhealexamflag/>
  107. <srchhealexamdetlflag/>
  108. <srchrsltyn/>
  109. <save>
  110. <instcd/>
  111. <pidsave/>
  112. </save>
  113. <srchtestcd/>
  114. </send>
  115. <init>
  116. <baseinfo>
  117. <healexamflaglist/>
  118. <healexamdetlflaglist>
  119. <item/>
  120. </healexamdetlflaglist>
  121. <chedetlflaglst/>
  122. <ghedetlflaglst/>
  123. <plceflag/>
  124. </baseinfo>
  125. </init>
  126. <hidden>
  127. </hidden>
  128. </root>
  129. </instance>
  130. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  131. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  132. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  133. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  134. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  135. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  136. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  137. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  138. <submission id="TRAHR00951" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/gridlist"/>
  139. <submission id="TXAHR00951" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden"/>
  140. </model>
  141. <script type="javascript" ev:event="xforms-ready">
  142. <![CDATA[
  143. fInitInfo();
  144. fGetBasicCdList();
  145. fGetPidList();
  146. model.toggle("case1");
  147. btn_clam.selected = true;
  148. bool1.value = "Y"
  149. ]]>
  150. </script>
  151. <script type="javascript">
  152. <![CDATA[
  153. var m_vHealexamflag = "";
  154. var m_vHealexamdetlflag = "";
  155. /**========================================================================================================================================
  156. * 초기화 조회
  157. =========================================================================================================================================*/
  158. function fInitInfo(){
  159. var curDt = getCurrentDate();
  160. model.setValue(ipt_srchfromdd.attribute("ref") , curDt);
  161. model.setValue(ipt_srchtodd.attribute("ref") , curDt);
  162. model.refresh();
  163. }
  164. /**===================================================================================
  165. *기본코드 내역 가져오기
  166. =====================================================================================*/
  167. function fGetBasicCdList(){
  168. if( m_vHealexamflag == "" ) {
  169. var sFlag = getScreenMenuParameter();
  170. if(sFlag == "") {
  171. m_vHealexamflag = "G";
  172. m_vHealexamdetlflag = "G";
  173. }else {
  174. m_vHealexamflag = sFlag.substr(0,1);
  175. m_vHealexamdetlflag = sFlag.substr(0,1);
  176. }
  177. }
  178. zbcfGetCodeList( new Array("A0068","A0069" ,"A0070", "A0110" ),
  179. new Array("/root/init/baseinfo/healexamflaglist"
  180. ,"/root/init/baseinfo/chedetlflaglst"
  181. , "/root/init/baseinfo/ghedetlflaglst"
  182. ,"/root/init/baseinfo/plceflag" ) );
  183. copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/item" , "/root/init/baseinfo/chedetlflaglst/A0069","replace");
  184. copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/item" , "/root/init/baseinfo/ghedetlflaglst/A0070","after");
  185. addComboItem("cmb_srchplceflag","전체","","above");
  186. submit("TRZBC00101");
  187. model.makeValue("/root/send/srchhealexamflag", m_vHealexamflag);
  188. model.makeValue("/root/send/srchhealexamdetlflag", m_vHealexamdetlflag );
  189. }
  190. /**========================================================================================================================================
  191. * 환자정보 조회
  192. =========================================================================================================================================*/
  193. function fGetPidList(){
  194. var cmpycd = model.getValue("/root/send/srchcmpycd");
  195. if (cmpycd ==""){
  196. model.resetInstanceNode("/root/send/srchcmpynm");
  197. }
  198. model.resetInstanceNode("/root/main/gridlist/pidlist");
  199. model.resetInstanceNode("/root/main/gridlist/pkglist");
  200. model.resetInstanceNode("/root/main/gridlist/rsrtlist");
  201. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  202. submit("TRAHR00951");
  203. }
  204. /**========================================================================================================================================
  205. * 저장
  206. =========================================================================================================================================*/
  207. function fSaveList(){
  208. //var pidStat = getGridUpdateData(datagrid1);
  209. datagrid1.clearStatus();
  210. if(messageBox("환자정보를","Q002") == 6){
  211. model.setValue("/root/send/save/instcd", model.getValue("dutplceinstcd"));
  212. for(var i = 1; i < datagrid1.rows; i++){
  213. datagrid1.valueMatrix(i, datagrid1.colRef("dietcnstyn")) = "-";
  214. datagrid1.addStatus(i, "update");
  215. }
  216. model.setValue("/root/send/save/pidsave", datagrid1.getUpdateData());
  217. if (submit("TXAHR00951")){
  218. fGetPidList();
  219. }
  220. }
  221. }
  222. ]]>
  223. </script>
  224. </xhtml:head>
  225. <xhtml:body>
  226. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:22px; width:1194px; height:33px; "/>
  227. <line id="line8" class="line_4" style="x1:1110px; y1:25px; x2:1110px; y2:50px; "/>
  228. <button id="btn_selcmpy" class="icon_search" style="left:475px; top:29px; width:16px; height:16px; ">
  229. <caption/>
  230. <script type="javascript" ev:event="DOMActivate">
  231. <![CDATA[
  232. fGetComnCd("SMAHA01500", "09" , "cd", ipt_cmpycd.currentText ,ipt_cmpycd.attribute("ref"),opt_cmpynm.attribute("ref"));
  233. ]]>
  234. </script>
  235. </button>
  236. <output id="opt_cmpynm" ref="/root/send/srchcmpynm" class="output_fix" style="left:495px; top:28px; width:95px; height:19px; "/>
  237. <button id="btn_srchtrgtman" class="btn1_letter2" style="left:1125px; top:28px; width:56px; height:22px; ">
  238. <caption>조회</caption>
  239. <script type="javascript" ev:event="DOMActivate">
  240. <![CDATA[
  241. fGetPidList();
  242. ]]>
  243. </script>
  244. </button>
  245. <caption id="caption42" class="search_name" style="left:310px; top:28px; width:79px; height:17px; ">사업체 :</caption>
  246. <input id="ipt_cmpycd" ref="/root/send/srchcmpycd" class="input_search" style="left:389px; top:28px; width:81px; height:19px; ">
  247. <script type="javascript" ev:event="onkeyup">
  248. <![CDATA[
  249. inputEnterKey("btn_selcmpy", "DOMActivate");
  250. ]]>
  251. </script>
  252. </input>
  253. <caption id="caption5" class="search_name" style="left:15px; top:28px; width:100px; height:17px; ">조회기간 :</caption>
  254. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  255. <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:188px; height:14px; ">메디컴결과인터페이스</caption>
  256. </group>
  257. <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:105px; top:28px; width:90px; height:19px; "/>
  258. <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:210px; top:28px; width:90px; height:19px; "/>
  259. <group id="group1" style="left:0px; top:757px; width:1195px; height:27px; ">
  260. <button id="btn_prntcustspec" class="btn6_letter4" style="left:1050px; top:3px; width:80px; height:22px; ">
  261. <caption>엑셀출력</caption>
  262. <script type="javascript" ev:event="DOMActivate">
  263. <![CDATA[
  264. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  265. if (case1.selected == true){
  266. datagrid1.saveExcel(fileName, "SheetName", true, true, "", "", false);
  267. }else if (case2.selected == true) {
  268. datagrid2.saveExcel(fileName, "SheetName", true, true, "", "", false);
  269. }else if (case3.selected == true) {
  270. datagrid3.saveExcel(fileName, "SheetName", true, true, "", "", false);
  271. }
  272. ]]>
  273. </script>
  274. </button>
  275. <button id="btn_save" class="btn4_letter2" style="left:1134px; top:3px; width:56px; height:22px; ">
  276. <caption>저장</caption>
  277. <script type="javascript" ev:event="DOMActivate">
  278. <![CDATA[
  279. fSaveList();
  280. ]]>
  281. </script>
  282. </button>
  283. </group>
  284. <caption id="caption93" class="search_n_b" style="left:198px; top:28px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  285. <switch id="switch1" style="left:0px; top:85px; width:1195px; height:670px; border-color:#c7a3cf; border-style:solid; ">
  286. <case id="case1" selected="true">
  287. <datagrid id="datagrid1" nodeset="/root/main/gridlist/pidlist" caption="환자번호^성명^주민번호^주민번호^검진일자^사업장코드^사업장명^영업소코드^1/2차구분^우편번호^우편번호^상세주소^전화번호^휴대전화^E-MAIL^E-MAIL 주소^보험증번호^건강보험지사^직역구분^가입구분^출장/내원^직종구분^직종코드^보험지사^보건소코드^학년^반^번호^부서코드^부서명^사번^입사일자^전입일자^생애여부^1차간염대상구분^2차간염대상자구분^위암검사구분^대장암검사구분^간암검사구분^유방암검사구분^자궁경부함검사구분^차트번호^작업공정^1일 폭로시간^특검구분^생산코드^근무형태^임상진찰(안과)^임상진찰(이비인후과)^임상진찰(피부)^임상진찰(치아)^과거병력^가족력^업무기인성^비고^dietcnstyn^healexamflag^healexamdetlflag" colsep="^" colwidth="70, 70, 70, 70, 100, 91, 130, 80, 66, 50, 50, 200, 100, 100, 60, 150, 80, 80, 60, 60, 70, 70, 100, 70, 70, 35, 35, 35, 62, 100, 70, 100, 100, 60, 100, 107, 100, 100, 100, 100, 110, 70, 69, 80, 70, 70, 70, 100, 128, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:1183px; height:657px; ">
  288. <col ref="pid" type="output"/>
  289. <col ref="hngnm" type="output"/>
  290. <col ref="rrgstno1" type="output" style="text-align:center; "/>
  291. <col ref="rrgstno2" type="output" style="text-align:center; "/>
  292. <col ref="hopedd" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  293. <col ref="cmpycd" type="output"/>
  294. <col ref="cmpynm"/>
  295. <col ref="bizoffccd"/>
  296. <col ref="dgflag" style="text-align:center; "/>
  297. <col ref="zipcd11" style="text-align:center; "/>
  298. <col ref="zipcd12" style="text-align:center; "/>
  299. <col ref="detladdr1"/>
  300. <col ref="telno" style="text-align:center; "/>
  301. <col ref="mpphon" style="text-align:center; "/>
  302. <col ref="emailid"/>
  303. <col ref="emailtype"/>
  304. <col ref="insuid"/>
  305. <col ref="insucorpbrchcd"/>
  306. <col ref="insutrgtflag"/>
  307. <col ref="insuflag"/>
  308. <col ref="plceflag" style="text-align:center; "/>
  309. <col ref="jobkindflag" style="text-align:center; "/>
  310. <col ref="jobkindcd" style="text-align:center; "/>
  311. <col ref="insucorpbrchcd" style="text-align:center; "/>
  312. <col ref="healcntrcd"/>
  313. <col ref="schlgrde"/>
  314. <col ref="clsid"/>
  315. <col ref="studid"/>
  316. <col ref="deptcd"/>
  317. <col ref="clntdeptnm"/>
  318. <col ref="clntempid" style="text-align:center; "/>
  319. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
  320. <col ref="junibdd" format="yyyy-mm-dd" style="text-align:center; "/>
  321. <col ref="oraltestyn" style="text-align:center; "/>
  322. <col ref="fsthptstrgtyn" style="text-align:center; "/>
  323. <col ref="scndhptstrgtyn"/>
  324. <col ref="stmccncrflag" style="text-align:center; "/>
  325. <col ref="largeintescncrflag" style="text-align:center; "/>
  326. <col ref="livcncrflag" style="text-align:center; "/>
  327. <col ref="mamcncrflag" style="text-align:center; "/>
  328. <col ref="cervcncrflag" style="text-align:center; "/>
  329. <col ref="visano" style="text-align:center; "/>
  330. <col ref="workproccd" style="text-align:center; "/>
  331. <col ref="dayspclworktm"/>
  332. <col ref="spclhealexamflag" style="text-align:center; "/>
  333. <col ref="prodcd"/>
  334. <col ref="duptype"/>
  335. <col ref="medioph"/>
  336. <col ref="mediotor"/>
  337. <col ref="mediskin"/>
  338. <col ref="medidental"/>
  339. <col ref="mdclhstr"/>
  340. <col ref="fmlhstr"/>
  341. <col ref="workcause"/>
  342. <col ref="remcnts"/>
  343. <col ref="dietcnstyn" visibility="hidden"/>
  344. <col ref="healexamflag" visibility="hidden"/>
  345. <col ref="healexamdetlflag" visibility="hidden"/>
  346. <script type="javascript" ev:event="onaftersort">
  347. <![CDATA[
  348. datagrid1.gridToInstance();
  349. ]]>
  350. </script>
  351. </datagrid>
  352. </case>
  353. <case id="case2">
  354. <datagrid id="datagrid2" nodeset="/root/main/gridlist/pkglist" caption="건진일자^환자번호^성명^주민등록번호^주민등록번호^건진구분^패키지검사구분^패키지코드^패키지명^청구대상" colsep="^" colwidth="100, 100, 100, 80, 80, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:1183px; height:657px; ">
  355. <col ref="hopedd" format="yyyy-mm-dd" style="text-align:center; "/>
  356. <col ref="pid"/>
  357. <col ref="hngnm"/>
  358. <col ref="rrgstno1" style="text-align:center; "/>
  359. <col ref="rrgstno2" style="text-align:center; "/>
  360. <col ref="healexamdetlflag"/>
  361. <col ref="gubun"/>
  362. <col ref="testcd"/>
  363. <col ref="testnm"/>
  364. <col ref="uncocd"/>
  365. <script type="javascript" ev:event="onaftersort">
  366. <![CDATA[
  367. datagrid2.gridToInstance();
  368. ]]>
  369. </script>
  370. </datagrid>
  371. </case>
  372. <case id="case3">
  373. <datagrid id="datagrid3" nodeset="/root/main/gridlist/rsrtlist" caption="건진일자^환자번호^성명^주민등록번호^주민등록번호^검사코드^검사명^외래결과^공단결과^공단결과명^특검결과^특검결과명" colsep="^" colwidth="100, 100, 100, 80, 80, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:1183px; height:657px; ">
  374. <col ref="hopedd" format="yyyy-mm-dd" style="text-align:center; "/>
  375. <col ref="pid"/>
  376. <col ref="hngnm"/>
  377. <col ref="rrgstno1" style="text-align:center; "/>
  378. <col ref="rrgstno2" style="text-align:center; "/>
  379. <col ref="testcd"/>
  380. <col ref="testnm"/>
  381. <col ref="rslt1"/>
  382. <col ref="rslt2"/>
  383. <col ref="rslt2_nm"/>
  384. <col ref="rslt3"/>
  385. <col ref="rslt3_nm"/>
  386. <script type="javascript" ev:event="onaftersort">
  387. <![CDATA[
  388. datagrid3.gridToInstance();
  389. ]]>
  390. </script>
  391. </datagrid>
  392. </case>
  393. </switch>
  394. <button id="btn_clam" class="btn_sw" group="sub_tab" selected="true" style="left:5px; top:65px; width:70px; height:22px; ">
  395. <caption>환자정보</caption>
  396. <script type="javascript" ev:event="DOMActivate">
  397. <![CDATA[
  398. model.toggle("case1");
  399. btn_save.disabled = false;
  400. // 선택된 메인 스위치의 인덱스 정보를 가져온다.
  401. ]]>
  402. </script>
  403. </button>
  404. <button id="btn_incm" class="btn_sw" group="sub_tab" style="left:75px; top:65px; width:75px; height:22px; ">
  405. <caption>패키지정보</caption>
  406. <script type="javascript" ev:event="DOMActivate">
  407. <![CDATA[
  408. model.toggle("case2");
  409. btn_save.disabled = true;
  410. // 선택된 메인 스위치의 인덱스 정보를 가져온다.
  411. ]]>
  412. </script>
  413. </button>
  414. <button id="button1" class="btn_sw" group="sub_tab" style="left:150px; top:65px; width:70px; height:22px; ">
  415. <caption>결과정보</caption>
  416. <script type="javascript" ev:event="DOMActivate">
  417. <![CDATA[
  418. model.toggle("case3");
  419. btn_save.disabled = true;
  420. // 선택된 메인 스위치의 인덱스 정보를 가져온다.
  421. ]]>
  422. </script>
  423. </button>
  424. <caption id="caption1" class="search_name" style="left:605px; top:28px; width:103px; height:17px; ">출장/내원 :</caption>
  425. <select1 id="cmb_srchplceflag" ref="/root/send/srchplceflag" appearance="minimal" style="left:705px; top:28px; width:60px; height:19px; ">
  426. <choices>
  427. <itemset nodeset="/root/init/baseinfo/plceflag/A0110">
  428. <label ref="cdnm"/>
  429. <value ref="cdid"/>
  430. </itemset>
  431. </choices>
  432. <script type="javascript" ev:event="xforms-value-changed">
  433. <![CDATA[
  434. fGetPidList();
  435. ]]>
  436. </script>
  437. </select1>
  438. <caption id="caption3" class="search_name" style="left:995px; top:28px; width:90px; height:17px; ">결과완료 :</caption>
  439. <bool id="bool1" checkvalue="Y,N" ref="/root/send/srchrsltyn" style="left:1080px; top:28px; width:25px; height:20px; "/>
  440. <caption id="caption4" class="search_name" style="left:780px; top:28px; width:103px; height:17px; ">검사코드 :</caption>
  441. <input id="input1" ref="/root/send/srchtestcd" class="input_search" style="left:875px; top:28px; width:110px; height:19px; ">
  442. <script type="javascript" ev:event="onkeyup">
  443. <![CDATA[
  444. ]]>
  445. </script>
  446. </input>
  447. </xhtml:body>
  448. </xhtml:html>