SPPID21800_처방심사변경조회.xfdl 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPID21800" position="absolute 0 0 1104 685" titletext="처방 심사변경 조회" oninit="SPPID21800_oninit" onload="SPPID21800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="roundrect2" type="roundrectangle" class="roundrect_example" position="absolute 0 654 516 678"/>
  8. <Static id="caption1" text="심사변경 목록" class="tit_2" position="absolute 0 1 108 22"/>
  9. <Radio id="rdo_cloppayflag" taborder="1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 125 1 372 16" onitemchanged="rdo_cloppayflag_onitemchanged" columncount="-1" rowcount="-1">
  10. <Dataset id="innerdataset">
  11. <ColumnInfo>
  12. <Column id="codecolumn"/>
  13. <Column id="datacolumn"/>
  14. </ColumnInfo>
  15. <Rows>
  16. <Row>
  17. <Col id="codecolumn">-</Col>
  18. <Col id="datacolumn">전체</Col>
  19. </Row>
  20. <Row>
  21. <Col id="codecolumn">D</Col>
  22. <Col id="datacolumn">삭제처방</Col>
  23. </Row>
  24. <Row>
  25. <Col id="codecolumn">U</Col>
  26. <Col id="datacolumn">수정처방</Col>
  27. </Row>
  28. <Row>
  29. <Col id="codecolumn">I</Col>
  30. <Col id="datacolumn">입력처방</Col>
  31. </Row>
  32. </Rows>
  33. </Dataset>
  34. </Radio>
  35. <Shape id="line1" class="line_10" position="absolute 0 15 1099 26" anchor="left top right"/>
  36. <Grid id="grd_delorder" class="datagrid2" taborder="2" binddataset="ds_main_list5_clod" useinputpanel="false" position="absolute 0 22 1099 650" onaftersort="grp_biz_grd_delorder_onaftersort" anchor="all">
  37. <Formats>
  38. <Format id="default">
  39. <Columns>
  40. <Column size="17" band="left"/>
  41. <Column size="20" band="left"/>
  42. <Column size="20" band="left"/>
  43. <Column size="0" band="left"/>
  44. <Column size="0" band="left"/>
  45. <Column size="0" band="left"/>
  46. <Column size="0" band="left"/>
  47. <Column size="30" band="left"/>
  48. <Column size="18" band="left"/>
  49. <Column size="28" band="left"/>
  50. <Column size="22" band="left"/>
  51. <Column size="68" band="left"/>
  52. <Column size="70" band="left"/>
  53. <Column size="70" band="left"/>
  54. <Column size="67" band="left"/>
  55. <Column size="210"/>
  56. <Column size="30"/>
  57. <Column size="58"/>
  58. <Column size="40"/>
  59. <Column size="30"/>
  60. <Column size="40"/>
  61. <Column size="60"/>
  62. <Column size="37"/>
  63. <Column size="14"/>
  64. <Column size="68"/>
  65. <Column size="200"/>
  66. <Column size="68"/>
  67. </Columns>
  68. <Rows>
  69. <Row size="30" band="head"/>
  70. <Row size="24"/>
  71. </Rows>
  72. <Band id="head">
  73. <Cell/>
  74. <Cell col="1"/>
  75. <Cell col="2" text="X"/>
  76. <Cell col="3" text="선&#13;&#10;별"/>
  77. <Cell col="4" text="재&#13;&#10;행"/>
  78. <Cell col="5" text="급&#13;&#10;여"/>
  79. <Cell col="6" text="Seq&#10;no"/>
  80. <Cell col="7" text="조정&#10;사유"/>
  81. <Cell col="8" text="줄"/>
  82. <Cell col="9" text="항"/>
  83. <Cell col="10" text="목"/>
  84. <Cell col="11" text="처방&#10;시작일자"/>
  85. <Cell col="12" text="그룹코드"/>
  86. <Cell col="13" text="수가코드"/>
  87. <Cell col="14" text="EDI코드"/>
  88. <Cell col="15" text="한글명"/>
  89. <Cell col="16" text="코드&#10;구분"/>
  90. <Cell col="17" text="단가"/>
  91. <Cell col="18" text="1회량"/>
  92. <Cell col="19" text="횟수"/>
  93. <Cell col="20" text="일수"/>
  94. <Cell col="21" text="금액"/>
  95. <Cell col="22" text="확인&#10;코드"/>
  96. <Cell col="23" text="T"/>
  97. <Cell col="24" text="처방&#10;종료일자"/>
  98. <Cell col="25" text="처방명"/>
  99. <Cell col="26" text="수정일자"/>
  100. </Band>
  101. <Band id="body">
  102. <Cell celltype="head" expr="currow+1"/>
  103. <Cell col="1" text="bind:update"/>
  104. <Cell col="2" style="background:#c0c0c0ff;background2:#c0c0c0ff;" text="bind:rowstat"/>
  105. <Cell col="3" text="bind:spcljudgyn"/>
  106. <Cell col="4" text="bind:matractflag"/>
  107. <Cell col="5" text="bind:payflag"/>
  108. <Cell col="6" text="bind:seqno"/>
  109. <Cell col="7" text="bind:adjtresncd"/>
  110. <Cell col="8" text="bind:edilnno"/>
  111. <Cell col="9" text="bind:ediitem1"/>
  112. <Cell col="10" text="bind:ediitem2"/>
  113. <Cell col="11" displaytype="date" text="bind:ordfromdd" mask="yyyy-MM-dd"/>
  114. <Cell col="12" style="align:left middle;" text="bind:grupcalcscorcd"/>
  115. <Cell col="13" style="align:left middle;" text="bind:snglcalcscorcd"/>
  116. <Cell col="14" style="align:left middle;" text="bind:edicd"/>
  117. <Cell col="15" style="align:left middle;" text="bind:hngnm"/>
  118. <Cell col="16" style="align:right middle;" text="bind:edicdflag"/>
  119. <Cell col="17" displaytype="number" text="bind:unitcost"/>
  120. <Cell col="18" displaytype="number" text="bind:drugqty"/>
  121. <Cell col="19" displaytype="number" text="bind:tims"/>
  122. <Cell col="20" displaytype="number" text="bind:dayno"/>
  123. <Cell col="21" displaytype="number" text="bind:amt"/>
  124. <Cell col="22" text="bind:cnfmcd"/>
  125. <Cell col="23" text="bind:lnunitspclspecyn"/>
  126. <Cell col="24" displaytype="date" text="bind:ordtodd" mask="yyyy-MM-dd"/>
  127. <Cell col="25" style="align:left middle;" text="bind:ordnm"/>
  128. <Cell col="26" displaytype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd"/>
  129. </Band>
  130. </Format>
  131. </Formats>
  132. </Grid>
  133. <Shape id="line32" class="line_6" position="absolute 0 652 1099 655" anchor="left right bottom"/>
  134. <Button id="btn_close" taborder="3" text="닫기" class="btn4" position="absolute 1043 655 1099 677" anchor="right bottom" onclick="btn_close_onclick"/>
  135. <Static id="caption2" text="조정사유" class="cell_2" position="absolute 5 656 65 676" style="align:center middle;"/>
  136. <Static id="caption3" text="A:일투총투 조정 B:처방누락(입력) C:산정불가(삭제) D:적용착오 E:타부서요청" position="absolute 68 656 511 676"/>
  137. </Layout>
  138. </Layouts>
  139. <Objects>
  140. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  141. <ColumnInfo>
  142. <Column id="selectedRdo" type="STRING" size="256"/>
  143. </ColumnInfo>
  144. <Rows>
  145. <Row>
  146. <Col id="selectedRdo">selectedRdo</Col>
  147. </Row>
  148. </Rows>
  149. </Dataset>
  150. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  151. <ColumnInfo>
  152. <Column id="clamym" type="STRING" size="256"/>
  153. <Column id="clamdg" type="STRING" size="256"/>
  154. <Column id="pid" type="STRING" size="256"/>
  155. <Column id="pidsn" type="STRING" size="256"/>
  156. </ColumnInfo>
  157. <Rows>
  158. <Row/>
  159. </Rows>
  160. </Dataset>
  161. <Dataset id="ds_main_list5_clod" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  162. <ColumnInfo>
  163. <Column id="update" type="STRING" size="256" sumtext="rowStatus"/>
  164. <Column id="rowstat" type="STRING" size="256" sumtext="ROW상태"/>
  165. <Column id="spcljudgyn" type="STRING" size="256" sumtext="선별심사여부"/>
  166. <Column id="matractflag" type="STRING" size="256" sumtext="재료행위구분"/>
  167. <Column id="payflag" type="STRING" size="256" sumtext="급여구분"/>
  168. <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
  169. <Column id="adjtresncd" type="STRING" size="256" sumtext="조정사유코드"/>
  170. <Column id="edilnno" type="STRING" size="256" sumtext="줄번호"/>
  171. <Column id="ediitem1" type="STRING" size="256" sumtext="항"/>
  172. <Column id="ediitem2" type="STRING" size="256" sumtext="목"/>
  173. <Column id="ordfromdd" type="STRING" size="256" sumtext="처방시작일"/>
  174. <Column id="grupcalcscorcd" type="STRING" size="256" sumtext="그룹코드"/>
  175. <Column id="snglcalcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  176. <Column id="edicd" type="STRING" size="256" sumtext="EDI코드"/>
  177. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  178. <Column id="edicdflag" type="STRING" size="256" sumtext="코드구분"/>
  179. <Column id="unitcost" type="STRING" size="256" sumtext="단가"/>
  180. <Column id="drugqty" type="STRING" size="256" sumtext="1회투여량"/>
  181. <Column id="tims" type="STRING" size="256" sumtext="횟수"/>
  182. <Column id="dayno" type="STRING" size="256" sumtext="일수"/>
  183. <Column id="amt" type="STRING" size="256" sumtext="금액"/>
  184. <Column id="cnfmcd" type="STRING" size="256" sumtext="확인코드"/>
  185. <Column id="lnunitspclspecyn" type="STRING" size="256" sumtext="줄단위특정내역여부"/>
  186. <Column id="ordtodd" type="STRING" size="256" sumtext="처방종료일"/>
  187. <Column id="ordnm" type="STRING" size="256" sumtext="처방명"/>
  188. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  189. </ColumnInfo>
  190. </Dataset>
  191. </Objects>
  192. <Bind>
  193. <BindItem id="item0" compid="rdo_cloppayflag" propid="value" datasetid="ds_hidden" columnid="selectedRdo"/>
  194. </Bind>
  195. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  196. * System Name :
  197. * Job Name :
  198. * Creator :
  199. * Make Date : 2015-05-01
  200. * Description :
  201. *---------------------------------------------------------------------------------------
  202. * Modify Date Modifier Modify Description
  203. *---------------------------------------------------------------------------------------
  204. * 2015-05-01 Live Converter TF->XP
  205. *
  206. *---------------------------------------------------------------------------------------
  207. ****************************************************************************************/
  208. include "com_commonxp::comm_main.xjs";
  209. include "pam_insucomxp::PAM.xjs";
  210. include "pam_pamcomnxp::PAM.xjs";
  211. function SPPID21800_oninit(obj:Form, e:InitEventInfo)
  212. {
  213. frmf_initForm(obj);
  214. }
  215. function SPPID21800_onload(obj:Form, e:LoadEventInfo)
  216. {
  217. grdf_initGrid(grd_delorder);
  218. grdf_setRowTypeIcon(grd_delorder, 1);
  219. fInitialize(); // 화면을 초기화한다.
  220. }
  221. function fInitialize()
  222. {
  223. ds_hidden.setColumn(0, "selectedRdo", "-");
  224. if (frmf_checkOpener())
  225. {
  226. var clamym = opener.ds_main_item1_clbs.getColumn(0, "clamym");
  227. var clamdg = opener.ds_main_item1_clbs.getColumn(0, "clamdg");
  228. var pid = opener.ds_main_item1_clbs.getColumn(0, "pid");
  229. var pidsn = opener.ds_main_item1_clbs.getColumn(0, "pidsn");
  230. if (clamym)
  231. {
  232. ds_send.setColumn(0, "clamym", clamym);
  233. ds_send.setColumn(0, "clamdg", clamdg);
  234. ds_send.setColumn(0, "pid", pid);
  235. ds_send.setColumn(0, "pidsn", pidsn);
  236. var ioflag = opener.ds_main_item1_clbs.getColumn(0, "ioflag");
  237. var oParam = {};
  238. oParam.id = "TRPID20305";
  239. oParam.service = "aftjudgapp.InAftJudg";
  240. oParam.method = "reqGetAftJudgDelOrderList";
  241. oParam.inds = "req=ds_send";
  242. oParam.outds = "ds_main_list5_clod=clod";
  243. oParam.async = false;
  244. //oParam.callback = "cf_TRPID20305";
  245. tranf_submit(oParam);
  246. dsf_setDefaultVal(ds_main_list5_clod, "rowstat:D");
  247. var arrRow = new Array();
  248. for(var i = 0; i < ds_main_list5_clod.rowcount; i++)
  249. {
  250. if(ds_main_list5_clod.getColumn(i, "rowstat") == "D")
  251. {
  252. arrRow[0] = i;
  253. grdf_setStatus(grd_delorder, "D", arrRow);
  254. }
  255. else if(ds_main_list5_clod.getColumn(i, "rowstat") == "U")
  256. {
  257. arrRow[0] = i;
  258. grdf_setStatus(grd_delorder, "U", arrRow);
  259. }
  260. else if(ds_main_list5_clod.getColumn(i, "rowstat") == "I")
  261. {
  262. arrRow[0] = i;
  263. grdf_setStatus(grd_delorder, "I", arrRow);
  264. }
  265. }
  266. }
  267. return;
  268. }
  269. }
  270. function rdo_cloppayflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  271. {
  272. var selectedRdo = obj.value;
  273. if (selectedRdo == "D")
  274. {
  275. ds_main_list5_clod.filterstr = "rowstat == 'D'";
  276. }
  277. else if (selectedRdo == "U")
  278. {
  279. ds_main_list5_clod.filterstr = "rowstat == 'U'";
  280. }
  281. else if (selectedRdo == "I")
  282. {
  283. ds_main_list5_clod.filterstr = "rowstat == 'I'";
  284. }
  285. else
  286. {
  287. ds_main_list5_clod.filterstr = "";
  288. }
  289. }
  290. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  291. {
  292. this.close();
  293. }
  294. ]]></Script>
  295. </Form>
  296. </FDL>