SPMRI02001_권고상병상세.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMRI02000" position="absolute 0 0 855 452" titletext="권고상병" oninit="SPMRI02000_oninit" onload="SPMRI02000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button position="absolute 392 348 448 370" id="btn_yes" class="btn4" text="YES" visible="true" onclick="btn_yes_onclick"/>
  8. <Grid position="absolute 3 30 832 341" id="datagrid1" binddataset="ds_main_list" selecttype="multirow" cellsizingtype="both" extendsizetype="row">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="0"/>
  13. <Column size="53"/>
  14. <Column size="69"/>
  15. <Column size="40"/>
  16. <Column size="46"/>
  17. <Column size="91"/>
  18. <Column size="153"/>
  19. <Column size="49"/>
  20. <Column size="63"/>
  21. <Column size="40"/>
  22. <Column size="42"/>
  23. <Column size="161"/>
  24. </Columns>
  25. <Rows>
  26. <Row size="24" band="head"/>
  27. <Row size="24" band="head"/>
  28. <Row size="24"/>
  29. </Rows>
  30. <Band id="head">
  31. <Cell displaytype="normal" text="적용"/>
  32. <Cell col="1" colspan="6" displaytype="normal" text="권고상병(의무기록팀)" taborder="undefined"/>
  33. <Cell col="7" colspan="5" displaytype="normal" text="기존상병(의사)" taborder="undefined"/>
  34. <Cell row="1" displaytype="checkbox" edittype="checkbox"/>
  35. <Cell row="1" col="1" text="질병군"/>
  36. <Cell row="1" col="2" text="진단코드"/>
  37. <Cell row="1" col="3" text="R/O"/>
  38. <Cell row="1" col="4" text="POA"/>
  39. <Cell row="1" col="5" text="진단명"/>
  40. <Cell row="1" col="6" text="전달사항"/>
  41. <Cell row="1" col="7" text="질병군"/>
  42. <Cell row="1" col="8" text="진단코드"/>
  43. <Cell row="1" col="9" text="R/O"/>
  44. <Cell row="1" col="10" text="POA"/>
  45. <Cell row="1" col="11" text="진단명"/>
  46. </Band>
  47. <Band id="body">
  48. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'Y' || chk == '1' ? '1' : '0'"/>
  49. <Cell col="1" displaytype="normal" text="bind:drgtype" suppress="1" suppressalign="middle,over"/>
  50. <Cell col="2" displaytype="normal" style="align:left;" text="bind:diagcd"/>
  51. <Cell col="3" text="bind:ronm"/>
  52. <Cell col="4" displaytype="normal" text="bind:poa"/>
  53. <Cell col="5" displaytype="normal" style="align:left;" text="bind:diagcdnm"/>
  54. <Cell col="6" displaytype="normal" style="align:left;" text="bind:trnscnts"/>
  55. <Cell col="7" displaytype="normal" text="bind:propdrgtype" suppress="1" suppressalign="middle,over"/>
  56. <Cell col="8" displaytype="normal" style="align:left;" text="bind:drdiagcd"/>
  57. <Cell col="9" text="bind:drronm"/>
  58. <Cell col="10" displaytype="normal" text="bind:drpoa"/>
  59. <Cell col="11" displaytype="normal" style="align:left;" text="bind:drdiagcdnm"/>
  60. </Band>
  61. </Format>
  62. </Formats>
  63. </Grid>
  64. <Static id="cap_title" text="권고상병상세" class="tit_1" position="absolute 0 0 129 25"/>
  65. <Button id="btn_search" taborder="1" text="조회" class="btn4" position="absolute 140 1 196 23" onclick="btn_search_onclick" visible="false"/>
  66. <Static id="Static00" text="문의:의무기록팀" position="absolute 9 389 153 409" style="color:blue;font:dotum,9,bold;"/>
  67. <Static id="Static01" text="상급종합병원 지정 평가 [환자구성상태(전문/일반/단순) 비율 지표]와 관련하여 입원 환자의 전문진료질병군 비율 향상 및&#13;&#10;의무기록 충실도 향상을 위한 권고상병을 안내하오니 적합한 경우 적용 부탁드립니다.&#13;&#10;" position="absolute 120 380 835 435" style="color:black;font:dotum,10;"/>
  68. <Static id="Static02" text="권고상병을 기록의 진단명으로 일괄 적용하시겠습니까?" position="absolute 13 350 367 370" style="color:red;font:dotum,10,bold;"/>
  69. <Button id="btn_no" taborder="2" text="NO" class="btn4" position="absolute 456 348 512 370" onclick="btn_no_onclick"/>
  70. </Layout>
  71. </Layouts>
  72. <Objects>
  73. <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  74. <ColumnInfo>
  75. <Column id="pid" type="STRING" size="256"/>
  76. <Column id="indd" type="STRING" size="256"/>
  77. <Column id="creatno" type="STRING" size="256"/>
  78. <Column id="dschdd" type="STRING" size="256"/>
  79. <Column id="seqno" type="STRING" size="256"/>
  80. <Column id="diagcd" type="STRING" size="256"/>
  81. <Column id="diagcdnm" type="STRING" size="256"/>
  82. <Column id="poa" type="STRING" size="256"/>
  83. <Column id="drgtype" type="STRING" size="256"/>
  84. <Column id="propdrgtype" type="STRING" size="256"/>
  85. <Column id="drdiagcd" type="STRING" size="256"/>
  86. <Column id="drdiagcdnm" type="STRING" size="256"/>
  87. <Column id="drpoa" type="STRING" size="256"/>
  88. <Column id="chk" type="STRING" size="256"/>
  89. <Column id="trnscnts" type="STRING" size="256"/>
  90. <Column id="ro" type="STRING" size="256"/>
  91. <Column id="drro" type="STRING" size="256"/>
  92. <Column id="ronm" type="STRING" size="256"/>
  93. <Column id="drronm" type="STRING" size="256"/>
  94. </ColumnInfo>
  95. <Rows>
  96. <Row/>
  97. </Rows>
  98. </Dataset>
  99. <Dataset id="ds_req_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  100. <ColumnInfo>
  101. <Column id="pid" type="STRING" size="256"/>
  102. <Column id="indd" type="STRING" size="256"/>
  103. <Column id="cretno" type="STRING" size="256"/>
  104. <Column id="dschdd" type="STRING" size="256"/>
  105. </ColumnInfo>
  106. <Rows>
  107. <Row/>
  108. </Rows>
  109. </Dataset>
  110. </Objects>
  111. <Bind/>
  112. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  113. * System Name :
  114. * Job Name :
  115. * Creator :
  116. * Make Date : 2014-10-20
  117. * Description :
  118. *---------------------------------------------------------------------------------------
  119. * Modify Date Modifier Modify Description
  120. *---------------------------------------------------------------------------------------
  121. * 2014-10-20 Live Converter TF->XP
  122. *
  123. *---------------------------------------------------------------------------------------
  124. ****************************************************************************************/
  125. //=======================================================================================
  126. // Lib Include
  127. //---------------------------------------------------------------------------------------
  128. include "com_commonxp::comm_main.xjs"
  129. //=======================================================================================
  130. // Global Form Variable
  131. //---------------------------------------------------------------------------------------
  132. var arErrorCode = new HashArray();
  133. //=======================================================================================
  134. // Function
  135. //---------------------------------------------------------------------------------------
  136. /****************************************************************************************
  137. * Argument : 01.sKey : 코드아이디
  138. * : 02.sValue : 코드명
  139. * Description : 공통코드를 가져온다.
  140. ****************************************************************************************/
  141. //=======================================================================================
  142. // Transaction Callback
  143. //---------------------------------------------------------------------------------------
  144. /****************************************************************************************
  145. * Argument : 01.sSvcId : 서비스 ID
  146. * : 02.nErrorCode : 에러코드
  147. * : 03.sErrorMsg : 에러메시지
  148. * Description : tr_getCodeList의 콜백함수
  149. ****************************************************************************************/
  150. function cf_(sSvcId, nErrorCode, sErrorMsg) {
  151. if(nErrorCode < 0) return;
  152. arErrorCode.push(sSvcId, nErrorCode);
  153. sysf_trace("***** cf_*****");
  154. }
  155. //=======================================================================================
  156. // Event
  157. //---------------------------------------------------------------------------------------
  158. /****************************************************************************************
  159. * Components :
  160. * Components ID : button5
  161. * Event : onlbuttonup
  162. * Argument : 01.obj : Object Event has occurred
  163. * : 02.e : Event Object
  164. * Description :
  165. ****************************************************************************************/
  166. function SPMRI02000_oninit(obj:Form, e:InitEventInfo)
  167. {
  168. frmf_initForm(obj);
  169. grdf_initGrid(datagrid1);
  170. grdf_setToolTipBind(datagrid1);
  171. }
  172. function SPMRI02000_onload(obj:Form, e:LoadEventInfo)
  173. {
  174. //trace("opener:"+opener.name);
  175. var pid = opener.frmf_getParameter("SPMRI02001_pid");
  176. var indd = opener.frmf_getParameter("SPMRI02001_indd");
  177. var cretno = opener.frmf_getParameter("SPMRI02001_cretno");
  178. ds_req_send.setColumn(0,"pid",pid);
  179. ds_req_send.setColumn(0,"indd",indd);
  180. ds_req_send.setColumn(0,"cretno",cretno);
  181. fSearch();
  182. }
  183. function btn_yes_onclick(obj:Button, e:ClickEventInfo)
  184. {
  185. if (opener.name != "ivw_base") return ;
  186. if (ds_main_list.rowcount == 0 ) return ;
  187. // ds_main_list.filter("chk == '1'");
  188. // var rowcnt = ds_main_list.rowcount;
  189. // ds_main_list.filter("");
  190. //
  191. // if(rowcnt == 0){
  192. // sysf_messageBox("선택한 권고상병이 없습니다!","I");
  193. // return;
  194. // }
  195. // if ("6" != sysf_messageBox("권고상병을 기록의 진단명으로 일괄 적용하시겠습니까?","Q")) return;
  196. opener.grup_base.ivw_0001013001.lf_ClearDiagData();
  197. for ( var i=0 ; i<ds_main_list.rowcount ; i++) {
  198. var mskind = (i == 0)?"M":"S";
  199. var diagcd = ds_main_list.getColumn(i,"diagcd");
  200. var diagcdnm = ds_main_list.getColumn(i,"diagcdnm");
  201. var poa = ds_main_list.getColumn(i,"poa");
  202. var ro = ds_main_list.getColumn(i,"ro");
  203. opener.grup_base.ivw_0001013001.lf_MakeDiagData(diagcd,diagcdnm,poa,mskind,ro);
  204. }
  205. this.close();
  206. }
  207. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  208. {
  209. fSearch();
  210. }
  211. function fSearch() {
  212. var oParam = {};
  213. oParam.id = "reqGetPropDiagList_01";
  214. oParam.service = "unprepmngtapp.ChrtUnprepMngt";
  215. oParam.method = "reqGetPropDiagList";
  216. oParam.inds = "req=ds_req_send";
  217. oParam.outds = "ds_main_list=diaglist";
  218. oParam.async = false;
  219. tranf_submit(oParam);
  220. }
  221. function ImageViewer00_onclick(obj:ImageViewer, e:ClickEventInfo)
  222. {
  223. }
  224. function btn_no_onclick(obj:Button, e:ClickEventInfo)
  225. {
  226. this.close();
  227. }
  228. ]]></Script>
  229. </Form>
  230. </FDL>