SMABC01200_조혈모세포처리실처방리스트.xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMABC01200" position="absolute 0 0 1199 762" titletext="조혈모세포처방리스트" oninit="SMABC01200_oninit" onload="SMABC01200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="조혈모세포 처방 리스트" class="tit_1" position="absolute 0 0 224 25"/>
  8. <Div id="grp_sea" taborder="1" class="div_SA2" position="absolute 0 36 1194 76" anchor="left top right">
  9. <Layouts>
  10. <Layout>
  11. <Static id="caption2" text="기간(적용일) :" class="search_name" position="absolute 15 11 127 28"/>
  12. <Static id="caption5" text="~" class="search_no_b" position="absolute 234 12 246 29"/>
  13. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 31" anchor="top right"/>
  14. <Calendar id="input1" taborder="4" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 130 10 230 29"/>
  15. <Calendar id="input25" taborder="5" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 248 10 348 29"/>
  16. <Button id="btn_sea" taborder="6" text="조회" class="btn1" position="absolute 1123 9 1179 31" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  17. <Static id="caption3" text="Row를 Double Click하면 조혈모세포처리Result 입력 또는 조혈모세포보관 및 해동현황 화면으로 이동합니다." class="search_name" position="absolute 364 12 1100 29" style="color:#000000ff;"/>
  18. </Layout>
  19. </Layouts>
  20. </Div>
  21. <Button id="btn_excsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 1114 87 1194 106" anchor="top right" onclick="btn_excsave_onclick"/>
  22. <Static id="caption1" text="조혈모세포 처방 리스트" class="tit_2" position="absolute 0 90 190 111"/>
  23. <Grid id="datagrid1" taborder="3" binddataset="ds_main_directprcplist_prcplist" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 0 111 1194 756" anchor="all" oncelldblclick="datagrid1_oncelldblclick">
  24. <Formats>
  25. <Format id="default">
  26. <Columns>
  27. <Column size="26"/>
  28. <Column size="77"/>
  29. <Column size="85"/>
  30. <Column size="80"/>
  31. <Column size="74"/>
  32. <Column size="94"/>
  33. <Column size="78"/>
  34. <Column size="0"/>
  35. <Column size="100"/>
  36. <Column size="109"/>
  37. <Column size="70"/>
  38. <Column size="100"/>
  39. <Column size="67"/>
  40. <Column size="155"/>
  41. <Column size="100"/>
  42. <Column size="155"/>
  43. <Column size="316"/>
  44. <Column size="0"/>
  45. </Columns>
  46. <Rows>
  47. <Row size="24" band="head"/>
  48. <Row size="24"/>
  49. </Rows>
  50. <Band id="head">
  51. <Cell/>
  52. <Cell col="1" text="상태"/>
  53. <Cell col="2" text="적용일자"/>
  54. <Cell col="3" text="등록번호"/>
  55. <Cell col="4" text="환자명"/>
  56. <Cell col="5" text="진료과"/>
  57. <Cell col="6" text="주치의"/>
  58. <Cell col="7" text="처방일자"/>
  59. <Cell col="8" text="이식형태"/>
  60. <Cell col="9" text="Stem Cell Source"/>
  61. <Cell col="10" text="Cryo여부"/>
  62. <Cell col="11" text="CD34채집여부"/>
  63. <Cell col="12" text="해동여부"/>
  64. <Cell col="13" text="처리일시"/>
  65. <Cell col="14" text="처방의사"/>
  66. <Cell col="15" text="처방일시"/>
  67. <Cell col="16" text="지시처방명"/>
  68. <Cell col="17" text="prcpcd"/>
  69. </Band>
  70. <Band id="body">
  71. <Cell celltype="head" expr="currow+1"/>
  72. <Cell col="1" displaytype="combo" edittype="combo" text="bind:execprcpstatcd" combodataset="ds_init_cmbinfo_execprcpstatcd_M0011" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  73. <Cell col="2" displaytype="none" edittype="none" text="bind:prcphopedd"/>
  74. <Cell col="3" displaytype="none" edittype="none" text="bind:pid"/>
  75. <Cell col="4" displaytype="none" edittype="none" text="bind:hngnm"/>
  76. <Cell col="5" text="bind:deptnm"/>
  77. <Cell col="6" text="bind:atdoctid"/>
  78. <Cell col="7" text="bind:prcpdd"/>
  79. <Cell col="8" displaytype="combo" edittype="combo" text="bind:trnpttype" combodataset="ds_init_cmbinfo_trnpttype_A0158" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  80. <Cell col="9" displaytype="combo" edittype="combo" text="bind:scs" combodataset="ds_init_cmbinfo_stemcellsource_A0159" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  81. <Cell col="10" displaytype="checkbox" edittype="checkbox" text="bind:cryoyn" expr="expr:cryoyn == 'Y' ? 1 : 0"/>
  82. <Cell col="11" displaytype="checkbox" edittype="checkbox" text="bind:cd34collyn" expr="expr:cd34collyn == 'Y' ? 1 : 0"/>
  83. <Cell col="12" displaytype="checkbox" edittype="checkbox" text="bind:thawyn" expr="expr:thawyn == 'Y' ? 1 : 0"/>
  84. <Cell col="13" text="bind:tretdt" mask="####-##-## ##:##:##" maskchar=" "/>
  85. <Cell col="14" text="bind:orddrnm"/>
  86. <Cell col="15" text="bind:prcpdt" mask="####-##-## ##:##:##" maskchar=" "/>
  87. <Cell col="16" text="bind:prcpnm"/>
  88. <Cell col="17" text="bind:prcpcd"/>
  89. </Band>
  90. </Format>
  91. </Formats>
  92. </Grid>
  93. <Shape id="line1" class="line_10" position="absolute 0 106 1194 112" anchor="left top right"/>
  94. </Layout>
  95. </Layouts>
  96. <Objects>
  97. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  98. <ColumnInfo>
  99. <Column id="prcphopefromdd" type="STRING" size="256"/>
  100. <Column id="prcphopetodd" type="STRING" size="256"/>
  101. </ColumnInfo>
  102. <Rows>
  103. <Row>
  104. <Col id="prcphopefromdd"/>
  105. <Col id="prcphopetodd"/>
  106. </Row>
  107. </Rows>
  108. </Dataset>
  109. <Dataset id="ds_main_directprcplist_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_directprcplist_prcplist_oncolumnchanged">
  110. <ColumnInfo>
  111. <Column id="execprcpstatcd" type="STRING" size="256" sumtext="처방상태"/>
  112. <Column id="prcphopedd" type="STRING" size="256" sumtext="적용(처방희망)일자"/>
  113. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  114. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  115. <Column id="deptnm" type="STRING" size="256" sumtext="진료과"/>
  116. <Column id="atdoctid" type="STRING" size="256" sumtext="주치의"/>
  117. <Column id="orddrnm" type="STRING" size="256" sumtext="처방의사"/>
  118. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  119. <Column id="prcpnm" type="STRING" size="256" sumtext="지시처방명"/>
  120. <Column id="trnpttype" type="STRING" size="256" sumtext="이식형태"/>
  121. <Column id="scs" type="STRING" size="256" sumtext="scs"/>
  122. <Column id="cryoyn" type="STRING" size="256" sumtext="cryo여부"/>
  123. <Column id="cd34collyn" type="STRING" size="256" sumtext="cd34채집여부"/>
  124. <Column id="thawyn" type="STRING" size="256" sumtext="해동여부"/>
  125. <Column id="tretdt" type="STRING" size="256" sumtext="처리일시"/>
  126. <Column id="prcpdt" type="STRING" size="256" sumtext="처방일시"/>
  127. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  128. </ColumnInfo>
  129. </Dataset>
  130. <Dataset id="ds_init_cmbinfo_execprcpstatcd_M0011" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  131. <ColumnInfo>
  132. <Column id="cdnm" type="STRING" size="256"/>
  133. <Column id="cdid" type="STRING" size="256"/>
  134. </ColumnInfo>
  135. </Dataset>
  136. <Dataset id="ds_init_cmbinfo_trnpttype_A0158" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  137. <ColumnInfo>
  138. <Column id="cdnm" type="STRING" size="256"/>
  139. <Column id="cdid" type="STRING" size="256"/>
  140. </ColumnInfo>
  141. </Dataset>
  142. <Dataset id="ds_init_cmbinfo_stemcellsource_A0159" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  143. <ColumnInfo>
  144. <Column id="cdnm" type="STRING" size="256"/>
  145. <Column id="cdid" type="STRING" size="256"/>
  146. </ColumnInfo>
  147. </Dataset>
  148. </Objects>
  149. <Bind>
  150. <BindItem id="item0" compid="grp_sea.input1" propid="value" datasetid="ds_send_req" columnid="prcphopefromdd"/>
  151. <BindItem id="item1" compid="grp_sea.input25" propid="value" datasetid="ds_send_req" columnid="prcphopetodd"/>
  152. </Bind>
  153. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  154. * System Name :
  155. * Job Name :
  156. * Creator :
  157. * Make Date : 2015-11-13
  158. * Description :
  159. *---------------------------------------------------------------------------------------
  160. * Modify Date Modifier Modify Description
  161. *---------------------------------------------------------------------------------------
  162. * 2015-11-13 Live Converter TF->XP
  163. *
  164. *---------------------------------------------------------------------------------------
  165. ****************************************************************************************/
  166. include "com_commonxp::comm_main.xjs";
  167. include "ast_examcurexp::AEZ0001.xjs";
  168. include "ast_hsctxp::bmtcommon.xjs";
  169. function SMABC01200_oninit(obj:Form, e:InitEventInfo)
  170. {
  171. frmf_initForm(obj);
  172. }
  173. function SMABC01200_onload(obj:Form, e:LoadEventInfo)
  174. {
  175. grdf_initGrid(datagrid1);
  176. var arrParam = [{dsNm: "ds_init_cmbinfo_stemcellsource_A0159", cdGrpId: "A0159"}
  177. , {dsNm: "ds_init_cmbinfo_trnpttype_M0029", cdGrpId: "M0029"}
  178. , {dsNm: "ds_init_cmbinfo_execprcpstatcd_M0011", cdGrpId: "M0011"}]
  179. appf_getCodeList(arrParam);
  180. ds_send_req.setColumn(0, "prcphopetodd", utlf_getCurrentDate());
  181. ds_send_req.setColumn(0, "prcphopefromdd", utlf_getCurrentDate().toDate().getAddDate(-30,"D").getDateFormat("YYYYMMDD"));
  182. }
  183. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  184. {
  185. var oParam = {};
  186. oParam.id = "TRABC00101";
  187. oParam.service = "hsctstemcellapp.StemCellTreat";
  188. oParam.method = "reqGetBmtPrcpList";
  189. oParam.inds = "req=ds_send_req";
  190. oParam.outds = "ds_main_directprcplist_prcplist=prcplist";
  191. oParam.async = false;
  192. //oParam.callback = "cf_TRABC00101";
  193. tranf_submit(oParam);
  194. }
  195. function datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  196. {
  197. var pid = ds_main_directprcplist_prcplist.getColumn(ds_main_directprcplist_prcplist.rowposition, "pid");
  198. var prcphopedd = ds_main_directprcplist_prcplist.getColumn(ds_main_directprcplist_prcplist.rowposition, "prcphopedd");
  199. if(ds_main_directprcplist_prcplist.getColumn(ds_main_directprcplist_prcplist.rowposition, "thawyn") != "Y")
  200. {
  201. var sflag = pid + "▦" + prcphopedd;
  202. frmf_setParameter("opener_parameter_id", sflag);
  203. frmf_modal("SMABC00200", "SMABC00200", "", "", "", "", "", "", "", "", "", "", "M");
  204. }
  205. else
  206. {
  207. var sflag = pid;
  208. frmf_setParameter("opener_parameter_id", sflag);
  209. frmf_modal("SMABC00300", "SMABC00300", "", "", "", "", "", "", "", "", "", "", "M");
  210. }
  211. }
  212. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  213. {
  214. c
  215. }
  216. function ds_main_directprcplist_prcplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  217. {
  218. if(e.columnid == "cryoyn")
  219. {
  220. obj.setColumn(e.row, "cryoyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  221. }
  222. if(e.columnid == "cd34collyn")
  223. {
  224. obj.setColumn(e.row, "cd34collyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  225. }
  226. if(e.columnid == "thawyn")
  227. {
  228. obj.setColumn(e.row, "thawyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  229. }
  230. }
  231. ]]></Script>
  232. </Form>
  233. </FDL>