SMPIB03001_희귀난치질환기준정보관리(의료급여).xfdl 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIB03001" position="absolute 0 0 1223 771" titletext="희귀난치성질환 등록기준(의료급여_결핵포함)" oninit="SMPIB03001_oninit" onload="SMPIB03001_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 1 14 1212 746" id="group3" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 11 1209 51" align="align:center top;" id="group2" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Button position="absolute 1130 10 1186 32" id="btn_search" class="btn1" taborder="6" text="조회" anchor="top right" onclick="group3_group2_btn_search_onclick"/>
  14. <Shape position="absolute 1104 7 1110 34" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
  15. <Static text="상 병 :" position="absolute 12 11 98 28" id="caption5" class="search_name" anchor="default"/>
  16. <Static text="특정기호 :" position="absolute 569 11 655 28" id="caption2" class="search_name" visible="true" anchor="default"/>
  17. <Static text="적 용 일 :" position="absolute 898 11 984 28" id="caption4" class="search_name" anchor="default"/>
  18. <Edit position="absolute 644 9 739 28" id="ipt_spclcd" class="input_search" visible="true" anchor="default" onkeyup="group3_group2_ipt_spclcd_onkeyup"/>
  19. <Calendar position="absolute 974 10 1077 29" id="ipt_aplydd" class="input_search" mask="yyyy-mm-dd" anchor="default" onchanged="group3_group2_ipt_aplydd_onchanged" dateformat="yyyy-MM-dd " value="null"/>
  20. <Button position="absolute 200 10 216 26" id="button2" class="icon_search" taborder="5" text="" anchor="default" onclick="group3_group2_button2_onclick"/>
  21. <Edit position="absolute 91 9 194 28" id="ipt_diagcd" class="input_search" anchor="default"/>
  22. <Edit position="absolute 222 9 552 28" id="ipt_diagnm" class="input_search" anchor="default"/>
  23. <Edit id="ipt_spclcd00" taborder="7" class="input_search" position="absolute 815 10 878 29" onkeyup="group3_group2_ipt_spclcd00_onkeyup" anchor="default"/>
  24. <Static id="caption00" text="SEQ :" class="search_name" position="absolute 759 12 813 29" anchor="default"/>
  25. </Layout>
  26. </Layouts>
  27. </Div>
  28. <Static text="희귀난치성질환 등록기준List" position="absolute 0 56 194 78" id="caption1" class="tit_2" anchor="default"/>
  29. <Shape position="absolute 0 78 1204 79" linetype="vertical" id="line1" class="line_1" anchor="default"/>
  30. <Grid position="absolute 0 77 1209 717" id="grd_picmmsrglist" class="datagrid2" binddataset="ds_main_picmmsrglist" anchor="all" onexpanddown="group3_grd_picmmsrglist_onexpanddown" cellsizingtype="col" cellmovingtype="col">
  31. <Formats>
  32. <Format id="default">
  33. <Columns>
  34. <Column size="24"/>
  35. <Column size="35"/>
  36. <Column size="0"/>
  37. <Column size="40"/>
  38. <Column size="38"/>
  39. <Column size="47"/>
  40. <Column size="65"/>
  41. <Column size="220"/>
  42. <Column size="220"/>
  43. <Column size="300"/>
  44. <Column size="35"/>
  45. <Column size="63"/>
  46. <Column size="36"/>
  47. <Column size="33"/>
  48. <Column size="35"/>
  49. <Column size="158"/>
  50. <Column size="100"/>
  51. <Column size="100"/>
  52. <Column size="100"/>
  53. <Column size="100"/>
  54. <Column size="100"/>
  55. </Columns>
  56. <Rows>
  57. <Row size="90" band="head"/>
  58. <Row size="24"/>
  59. </Rows>
  60. <Band id="head">
  61. <Cell/>
  62. <Cell col="1" text="순번"/>
  63. <Cell col="2" text="SEQ"/>
  64. <Cell col="3" text="SEQ"/>
  65. <Cell col="4" text="특정&#13;&#10;기호"/>
  66. <Cell col="5" text="용어&#13;&#10;코드"/>
  67. <Cell col="6" text="상병코드"/>
  68. <Cell col="7" text="질환명"/>
  69. <Cell col="8" text="영문명"/>
  70. <Cell col="9" text="등록기준"/>
  71. <Cell col="10" text="1.&#13;&#10;영상&#13;&#10;검사"/>
  72. <Cell col="11" text="2.&#13;&#10;특수생&#13;&#10;화학/&#13;&#10;면역학&#13;&#10;검사,도말/&#13;&#10;배양검사"/>
  73. <Cell col="12" text="3.&#13;&#10;유전&#13;&#10;학검&#13;&#10;사"/>
  74. <Cell col="13" text="4.&#13;&#10;조직&#13;&#10;학검&#13;&#10;사"/>
  75. <Cell col="14" text="5.&#13;&#10;임상&#13;&#10;진단"/>
  76. <Cell col="15" text="기타"/>
  77. <Cell col="16" text="관련학회1"/>
  78. <Cell col="17" text="관련학회2"/>
  79. <Cell col="18" text="관련학회3"/>
  80. <Cell col="19" text="시작일"/>
  81. <Cell col="20" text="종료일"/>
  82. </Band>
  83. <Band id="body">
  84. <Cell celltype="head"/>
  85. <Cell col="1" displaytype="normal" edittype="none" style="align:center middle;" text="bind:rowno"/>
  86. <Cell col="2" displaytype="none" edittype="none" style="align:center middle;" text="bind:seq"/>
  87. <Cell col="3" style="align:center middle;" text="bind:seq"/>
  88. <Cell col="4" displaytype="text" edittype="text" style="align:center middle;" text="bind:spclcd"/>
  89. <Cell col="5" displaytype="text" edittype="text" style="align:center middle;" text="bind:termcd"/>
  90. <Cell col="6" displaytype="text" edittype="text" style="align:center middle;" text="bind:diagcd" expandshow="show"/>
  91. <Cell col="7" displaytype="text" edittype="text" style="align:left top;" text="bind:diagnm" wordwrap="word"/>
  92. <Cell col="8" displaytype="text" edittype="text" style="align:left top;" text="bind:diagengnm" wordwrap="word"/>
  93. <Cell col="9" displaytype="text" edittype="text" style="align:left top;" text="bind:rgstbase" wordwrap="word"/>
  94. <Cell col="10" displaytype="checkbox" edittype="checkbox" text="bind:test1" expr="expr:test1 == 'Y' || test1 == '1' ? 1 : 0"/>
  95. <Cell col="11" displaytype="checkbox" edittype="checkbox" text="bind:test2" expr="expr:test2 == 'Y' || test2 == '1' ? 1 : 0"/>
  96. <Cell col="12" displaytype="checkbox" edittype="checkbox" text="bind:test3" expr="expr:test3 == 'Y' || test3 == '1' ? 1 : 0"/>
  97. <Cell col="13" displaytype="checkbox" edittype="checkbox" text="bind:test4" expr="expr:test4 == 'Y' || test4 == '1' ? 1 : 0"/>
  98. <Cell col="14" displaytype="checkbox" edittype="checkbox" text="bind:test5" expr="expr:test5 == 'Y' || test5 == '1' ? 1 : 0"/>
  99. <Cell col="15" displaytype="normal" edittype="normal" style="align:left middle;" text="bind:remark"/>
  100. <Cell col="16" displaytype="text" edittype="text" style="align:left top;" text="bind:rellnscity1"/>
  101. <Cell col="17" displaytype="text" edittype="text" text="bind:rellnscity2"/>
  102. <Cell col="18" displaytype="text" edittype="text" text="bind:rellnscity3"/>
  103. <Cell col="19" displaytype="date" edittype="date" text="bind:fromdd" mask="yyyy-MM-dd"/>
  104. <Cell col="20" displaytype="date" edittype="date" text="bind:todd" mask="yyyy-MM-dd"/>
  105. </Band>
  106. </Format>
  107. </Formats>
  108. </Grid>
  109. <Button position="absolute 1129 53 1209 72" id="button5" class="btn7" visible="true" text="엑셀저장" anchor="top right" onclick="group3_button5_onclick"/>
  110. <Button position="absolute 1073 53 1126 72" id="btn_rowdel" class="btn2" text="행삭제" anchor="top right" onclick="group3_btn_rowdel_onclick"/>
  111. <Button position="absolute 1017 53 1070 72" id="btn_rowadd" class="btn2" text="행추가" anchor="top right" onclick="group3_btn_rowadd_onclick"/>
  112. <Shape id="line00" class="line_10" position="absolute 0 72 1209 78" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  113. </Layout>
  114. </Layouts>
  115. </Div>
  116. <Div position="absolute 0 730 1211 762" id="group4" scrollbars="autoboth" anchor="left right bottom">
  117. <Layouts>
  118. <Layout>
  119. <Shape position="absolute 0 0 1211 6" linetype="horizontal" id="line23" class="line_6" anchor="left right bottom"/>
  120. <Button position="absolute 1143 5 1211 27" id="button1" class="btn4" text="저 장" anchor="right bottom" onclick="group4_button1_onclick"/>
  121. </Layout>
  122. </Layouts>
  123. </Div>
  124. <Static id="caption6" text="희귀난치성질환 등록기준(의료급여_결핵포함)" class="tit_1" position="absolute 1 1 329 24"/>
  125. </Layout>
  126. </Layouts>
  127. <Objects>
  128. <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  129. <ColumnInfo>
  130. <Column id="diagcd" type="STRING" size="256"/>
  131. <Column id="diagnm" type="STRING" size="256"/>
  132. <Column id="spclcd" type="STRING" size="256"/>
  133. <Column id="seq" type="STRING" size="256"/>
  134. <Column id="aplydd" type="STRING" size="256"/>
  135. </ColumnInfo>
  136. <Rows>
  137. <Row/>
  138. </Rows>
  139. </Dataset>
  140. <Dataset id="ds_main_picmmsrglist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_picmmsrglist_oncolumnchanged">
  141. <ColumnInfo>
  142. <Column id="rowno" type="STRING" size="256" sumtext="순번"/>
  143. <Column id="seq" type="STRING" size="256" sumtext="상병일련번호"/>
  144. <Column id="spclcd" type="STRING" size="256" sumtext="특정기호"/>
  145. <Column id="diagcd" type="STRING" size="256" sumtext="상병코드"/>
  146. <Column id="diagnm" type="STRING" size="256" sumtext="질환명"/>
  147. <Column id="diagengnm" type="STRING" size="256" sumtext="영어명"/>
  148. <Column id="rgstbase" type="STRING" size="256" sumtext="등록기준"/>
  149. <Column id="test1" type="STRING" size="256" sumtext="영상검사"/>
  150. <Column id="test2" type="STRING" size="256" sumtext="특수생화학/면역학검사, 도말/배양검사"/>
  151. <Column id="test3" type="STRING" size="256" sumtext="유전학검사"/>
  152. <Column id="test4" type="STRING" size="256" sumtext="조직학검사"/>
  153. <Column id="test5" type="STRING" size="256" sumtext="임상 진단"/>
  154. <Column id="remark" type="STRING" size="256" sumtext="기타"/>
  155. <Column id="rellnscity1" type="STRING" size="256" sumtext="관력학회1"/>
  156. <Column id="rellnscity2" type="STRING" size="256" sumtext="관력학회2"/>
  157. <Column id="rellnscity3" type="STRING" size="256" sumtext="관력학회3"/>
  158. <Column id="fromdd" type="STRING" size="256" sumtext="시작일"/>
  159. <Column id="todd" type="STRING" size="256" sumtext="종료일"/>
  160. <Column id="termcd" type="STRING" size="256" sumtext="용어코드"/>
  161. </ColumnInfo>
  162. </Dataset>
  163. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  164. <ColumnInfo>
  165. <Column id="currendate" type="STRING" size="256"/>
  166. </ColumnInfo>
  167. </Dataset>
  168. <Dataset id="ds_hidden_sppiz00400_rslt" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  169. <ColumnInfo>
  170. <Column id="termcd" type="STRING" size="256"/>
  171. <Column id="diaghngnm" type="STRING" size="256"/>
  172. <Column id="diagengnm" type="STRING" size="256"/>
  173. </ColumnInfo>
  174. <Rows>
  175. <Row/>
  176. </Rows>
  177. </Dataset>
  178. <Dataset id="ds_temp_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  179. <ColumnInfo>
  180. <Column id="count" type="STRING" size="256"/>
  181. </ColumnInfo>
  182. </Dataset>
  183. </Objects>
  184. <Bind>
  185. <BindItem id="item0" compid="group3.group2.ipt_diagcd" propid="value" datasetid="ds_send_data1" columnid="diagcd"/>
  186. <BindItem id="item1" compid="group3.group2.ipt_diagnm" propid="value" datasetid="ds_send_data1" columnid="diagnm"/>
  187. <BindItem id="item2" compid="group3.group2.ipt_spclcd" propid="value" datasetid="ds_send_data1" columnid="spclcd"/>
  188. <BindItem id="item3" compid="group3.group2.ipt_spclcd00" propid="value" datasetid="ds_send_data1" columnid="seq"/>
  189. <BindItem id="item4" compid="group3.group2.ipt_aplydd" propid="value" datasetid="ds_send_data1" columnid="aplydd"/>
  190. </Bind>
  191. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  192. * System Name :
  193. * Job Name :
  194. * Creator :
  195. * Make Date : 2016-05-24
  196. * Description :
  197. *---------------------------------------------------------------------------------------
  198. * Modify Date Modifier Modify Description
  199. *---------------------------------------------------------------------------------------
  200. * 2016-05-24 Live Converter TF->XP
  201. *
  202. *---------------------------------------------------------------------------------------
  203. ****************************************************************************************/
  204. include "com_commonxp::comm_main.xjs";
  205. include "pam_pamcomnxp::PAM.xjs";
  206. function SMPIB03001_oninit(obj:Form, e:InitEventInfo)
  207. {
  208. frmf_initForm(obj);
  209. }
  210. function SMPIB03001_onload(obj:Form, e:LoadEventInfo)
  211. {
  212. grdf_initGrid(group3.grd_picmmsrglist);
  213. grdf_setRowTypeIcon(group3.grd_picmmsrglist, 0);
  214. pamGetDeptCDDrIDList();
  215. ds_send_data1.setColumn(0, "aplydd", utlf_getCurrentDate());
  216. ds_hidden.setColumn(0, "currendate", utlf_getCurrentDate());
  217. if (frmf_checkOpener())
  218. {
  219. ds_send_data1.setColumn(0, "diagcd", frmf_getParameter("SMPIB03001_diagcd"));
  220. ds_send_data1.setColumn(0, "diagnm", frmf_getParameter("SMPIB03001_diagnm"));
  221. ds_send_data1.setColumn(0, "spclcd", frmf_getParameter("SMPIB03001_spclcd"));
  222. ds_send_data1.setColumn(0, "aplydd", frmf_getParameter("SMPIB03001_aplydd"));
  223. ds_send_data1.setColumn(0, "seq", frmf_getParameter("SMPIB03000_seq"));
  224. group3_group2_btn_search_onclick();
  225. }
  226. }
  227. function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  228. {
  229. var oParam = {};
  230. oParam.id = "TRPIB03002";
  231. oParam.service = "insubasecdmngtapp.RareSickMngt";
  232. oParam.method = "reqGetPicmmsrgList";
  233. oParam.inds = "req=ds_send_data1";
  234. oParam.outds = "ds_main_picmmsrglist=picmmsrglist";
  235. oParam.async = false;
  236. //oParam.callback = "cf_TRPIB03002";
  237. tranf_submit(oParam);
  238. }
  239. function group3_group2_button2_onclick(obj:Button, e:ClickEventInfo)
  240. {
  241. var objArg = new Object();
  242. objArg.sDiagcd = ds_send_data1.getColumn(0, "diagcd");
  243. objArg.sSelectedrdodiagkind = 2;
  244. objArg.sSingleFlag = "P";
  245. var objDs = frmf_modal("SPPIZ00400", "SPPIZ00400", "", "", "", "", "", "", "", "", "", "", "M");
  246. ds_send_data1.setColumn(0, "diagcd", objDs.sDiagcd);
  247. ds_send_data1.setColumn(0, "diagnm", objDs.sDiagnm);
  248. }
  249. function group3_group2_ipt_spclcd_onkeyup(obj:Edit, e:KeyEventInfo)
  250. {
  251. if(e.keycode == 13)
  252. {
  253. group3_group2_btn_search_onclick();
  254. }
  255. }
  256. function group3_group2_ipt_spclcd00_onkeyup(obj:Edit, e:KeyEventInfo)
  257. {
  258. if(e.keycode == 13)
  259. {
  260. group3_group2_btn_search_onclick();
  261. }
  262. }
  263. function group3_group2_ipt_aplydd_onchanged(obj:Calendar, e:ChangeEventInfo)
  264. {
  265. group3_group2_btn_search_onclick();
  266. }
  267. function group3_grd_picmmsrglist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  268. {
  269. var rowno = e.row;
  270. if(e.col == 6)
  271. {
  272. var objArg = new Object();
  273. objArg.sDiagcd = ds_main_picmmsrglist.getColumn(rowno, "diagcd");
  274. objArg.sSelectedrdodiagkind = 2;
  275. objArg.sSingleFlag = "P";
  276. var objDs = frmf_modal("SPPIZ00400", "SPPIZ00400", objArg, "", "", "", "", "", "", "", "", "", "M");
  277. ds_main_picmmsrglist.updatecontrol = false;
  278. ds_main_picmmsrglist.setColumn(rowno, "diagcd", objDs.sDiagcd);
  279. ds_main_picmmsrglist.setColumn(rowno, "diagnm", objDs.sDiagnm);
  280. ds_main_picmmsrglist.setColumn(rowno, "diagengnm", objDs.sDiagengnm);
  281. ds_main_picmmsrglist.updatecontrol = true;
  282. }
  283. }
  284. function ds_main_picmmsrglist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  285. {
  286. if(e.columnid == "test1")
  287. {
  288. obj.setColumn(e.row, "test1", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  289. }
  290. if(e.columnid == "test2")
  291. {
  292. obj.setColumn(e.row, "test2", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  293. }
  294. if(e.columnid == "test3")
  295. {
  296. obj.setColumn(e.row, "test3", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  297. }
  298. if(e.columnid == "test4")
  299. {
  300. obj.setColumn(e.row, "test4", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  301. }
  302. if(e.columnid == "test5")
  303. {
  304. obj.setColumn(e.row, "test5", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  305. }
  306. }
  307. function group3_btn_rowadd_onclick(obj:Button, e:ClickEventInfo)
  308. {
  309. var rowno = ds_main_picmmsrglist.addRow();
  310. ds_main_picmmsrglist.setColumn(rowno, "fromdd", utlf_getCurrentDate());
  311. ds_main_picmmsrglist.setColumn(rowno, "todd", "99991231");
  312. ds_main_picmmsrglist.setColumn(rowno, "termcd", "-");
  313. }
  314. function group3_btn_rowdel_onclick(obj:Button, e:ClickEventInfo)
  315. {
  316. var row = ds_main_picmmsrglist.rowposition;
  317. ds_main_picmmsrglist.deleteRow(row);
  318. }
  319. function group3_button5_onclick(obj:Button, e:ClickEventInfo)
  320. {
  321. if(ds_main_picmmsrglist.rowcount > 0)
  322. {
  323. grdf_exportExcel(group3.grd_picmmsrglist, "희귀난치질환기준자료", "see");
  324. }
  325. else
  326. {
  327. sysf_messageBox("엑셀저장할 대상자가", "I004");
  328. }
  329. }
  330. function group4_button1_onclick(obj:Button, e:ClickEventInfo)
  331. {
  332. if ( sysf_messageBox("","Q002") == 6 )
  333. {
  334. var update = grdf_getGridUpdateData(group3.grd_picmmsrglist);
  335. if(update.rowcount == 0)
  336. {
  337. sysf_messageBox("업데이트 정보가 없습니다.", "I");
  338. return 0;
  339. }
  340. else
  341. {
  342. var oParam = {};
  343. oParam.id = "TXPIB03002";
  344. oParam.service = "insubasecdmngtapp.RareSickMngt";
  345. oParam.method = "reqSetPicmmsrgList";
  346. oParam.inds = "req=ds_main_picmmsrglist:U";
  347. oParam.typeStr = "m";
  348. oParam.outds = "ds_temp_item=item";
  349. oParam.async = false;
  350. //oParam.callback = "cf_TXPIB03002";
  351. tranf_submit(oParam);
  352. }
  353. }
  354. group3_group2_btn_search_onclick();
  355. }
  356. ]]></Script>
  357. </Form>
  358. </FDL>