SPPIR30310_의사삭감전달처방등록관리.xfdl 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIR30310" position="absolute 0 0 528 408" titletext="의사삭감전달처방등록관리" oninit="SPPIR30310_oninit" onload="SPPIR30310_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 518 376" id="group3" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Shape position="absolute 0 26 517 32" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  11. <Static text="의사삭감전달처방등록관리" position="absolute 1 8 189 30" id="caption1" class="tit_2" anchor="default"/>
  12. <Static text="상세조정구분" position="absolute 0 231 85 254" id="caption31" class="cell_1" anchor="default"/>
  13. <Shape position="absolute 0 226 517 232" linetype="horizontal" id="line8" class="line_1" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  14. <Button position="absolute 474 198 516 217" id="button3" class="btn5" text="저장" anchor="top right" onclick="group3_button3_onclick"/>
  15. <Static text="상세사유" position="absolute 1 210 85 231" id="caption4" class="tit_2" anchor="default"/>
  16. <Shape position="absolute 0 250 518 256" linetype="horizontal" id="line3" class="line_3" anchor="left top right"/>
  17. <Grid position="absolute 0 31 515 191" id="grd_pirmcuod" binddataset="ds_main_cuodlist_gridpirhobtspec" autofittype="col" anchor="left top right" cellsizingtype="col">
  18. <Formats>
  19. <Format id="default">
  20. <Columns>
  21. <Column size="22"/>
  22. <Column size="61"/>
  23. <Column size="58"/>
  24. <Column size="44"/>
  25. <Column size="64"/>
  26. <Column size="61"/>
  27. <Column size="197"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="0"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. </Columns>
  65. <Rows>
  66. <Row size="24" band="head"/>
  67. <Row size="24"/>
  68. </Rows>
  69. <Band id="head">
  70. <Cell/>
  71. <Cell col="1" text="심사차수"/>
  72. <Cell col="2" text="접수번호"/>
  73. <Cell col="3" text="명일련"/>
  74. <Cell col="4" text="처방코드"/>
  75. <Cell col="5" text="EDI코드"/>
  76. <Cell col="6" text="처방명"/>
  77. <Cell col="7"/>
  78. <Cell col="8"/>
  79. <Cell col="9"/>
  80. <Cell col="10"/>
  81. <Cell col="11"/>
  82. <Cell col="12"/>
  83. <Cell col="13"/>
  84. <Cell col="14"/>
  85. <Cell col="15"/>
  86. <Cell col="16"/>
  87. <Cell col="17"/>
  88. <Cell col="18"/>
  89. <Cell col="19"/>
  90. <Cell col="20"/>
  91. <Cell col="21"/>
  92. <Cell col="22"/>
  93. <Cell col="23"/>
  94. <Cell col="24"/>
  95. <Cell col="25"/>
  96. <Cell col="26"/>
  97. <Cell col="27"/>
  98. <Cell col="28"/>
  99. <Cell col="29"/>
  100. <Cell col="30"/>
  101. <Cell col="31"/>
  102. <Cell col="32"/>
  103. <Cell col="33"/>
  104. <Cell col="34"/>
  105. <Cell col="35"/>
  106. <Cell col="36"/>
  107. <Cell col="37"/>
  108. <Cell col="38"/>
  109. <Cell col="39"/>
  110. <Cell col="40"/>
  111. <Cell col="41"/>
  112. <Cell col="42"/>
  113. </Band>
  114. <Band id="body">
  115. <Cell celltype="head"/>
  116. <Cell col="1" style="align:left middle;" text="bind:judgdg"/>
  117. <Cell col="2" style="align:left middle;" text="bind:acptno"/>
  118. <Cell col="3" style="align:left middle;" text="bind:docuseqno"/>
  119. <Cell col="4" style="align:left middle;" text="bind:snglcalcscorcd"/>
  120. <Cell col="5" style="align:left middle;" text="bind:edicd"/>
  121. <Cell col="6" style="align:left middle;" text="bind:hngnm"/>
  122. <Cell col="7" text="bind:orddeptcd"/>
  123. <Cell col="8" text="bind:orddrid"/>
  124. <Cell col="9" text="bind:pid"/>
  125. <Cell col="10" text="bind:patnm"/>
  126. <Cell col="11" text="bind:maindiag"/>
  127. <Cell col="12" text="bind:dschdd"/>
  128. <Cell col="13" text="bind:judgrid"/>
  129. <Cell col="14" text="bind:lnno"/>
  130. <Cell col="15" text="bind:item"/>
  131. <Cell col="16" text="bind:adjtresncd"/>
  132. <Cell col="17" text="bind:matractflag"/>
  133. <Cell col="18" text="bind:unitcost"/>
  134. <Cell col="19" text="bind:adjtdayqty"/>
  135. <Cell col="20" text="bind:adjttotqty"/>
  136. <Cell col="21" text="bind:adjtamt"/>
  137. <Cell col="22" text="bind:oprcpadjtamt"/>
  138. <Cell col="23" text="bind:obtappdayqty"/>
  139. <Cell col="24" text="bind:obtapptotqty"/>
  140. <Cell col="25" text="bind:obtappamt"/>
  141. <Cell col="26" text="bind:oprcpobtappamt"/>
  142. <Cell col="27" text="bind:detladjtflag"/>
  143. <Cell col="28" text="bind:adjtresndesc"/>
  144. <Cell col="29" text="bind:ordmemo"/>
  145. <Cell col="30" text="bind:rem"/>
  146. <Cell col="31" text="bind:abdresncd"/>
  147. <Cell col="32" text="bind:abdresnmemo"/>
  148. <Cell col="33" text="bind:itemnm"/>
  149. <Cell col="34" text="bind:obtappflag"/>
  150. <Cell col="35" text="bind:clamno"/>
  151. <Cell col="36" text="bind:mpsno"/>
  152. <Cell col="37" text="bind:displayyn"/>
  153. <Cell col="38" text="bind:clamym"/>
  154. <Cell col="39" text="bind:ordym"/>
  155. <Cell col="40" text="bind:clamdg"/>
  156. <Cell col="41" text="bind:edicdflag"/>
  157. <Cell col="42" text="bind:adjtsumqty"/>
  158. </Band>
  159. </Format>
  160. </Formats>
  161. </Grid>
  162. <Combo position="absolute 88 232 245 251" id="cmb_detladjtflag" class="combo_default" innerdataset="@ds_init_P0250list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  163. <CheckBox position="absolute 251 234 366 249" id="chk_displayyn" anchor="default" text="진료의알림여부"/>
  164. <TextArea position="absolute 0 255 515 370" id="txt_adjtresndesc" anchor="all" scrollbars="autovert" wordwrap="word"/>
  165. </Layout>
  166. </Layouts>
  167. </Div>
  168. <Div position="absolute 0 361 518 404" id="group1" scrollbars="autoboth" anchor="left right bottom">
  169. <Layouts>
  170. <Layout>
  171. <Button position="absolute 461 15 517 37" id="btn_cancel" class="btn4" text="취소" anchor="right bottom" onclick="group1_btn_cancel_onclick"/>
  172. <Shape position="absolute 0 10 518 16" linetype="horizontal" id="line88" class="line_6" anchor="left right bottom"/>
  173. <Button position="absolute 107 15 235 37" id="button15" class="btn3" text="이의신청내역조회" anchor="default"/>
  174. <Button position="absolute 0 15 104 37" id="button8" class="btn3" text="조정사유관리" anchor="default" onclick="group1_button8_onclick"/>
  175. </Layout>
  176. </Layouts>
  177. </Div>
  178. </Layout>
  179. </Layouts>
  180. <Objects>
  181. <Dataset id="ds_send_resncd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  182. <ColumnInfo>
  183. <Column id="detladjtflag" type="STRING" size="256"/>
  184. <Column id="displayyn" type="STRING" size="256"/>
  185. <Column id="adjtresndesc" type="STRING" size="256"/>
  186. </ColumnInfo>
  187. <Rows>
  188. <Row/>
  189. </Rows>
  190. </Dataset>
  191. <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  192. <Dataset id="ds_main_cuodlist_gridpirhobtspec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  193. <Dataset id="ds_init_P0250list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  194. <ColumnInfo>
  195. <Column id="cdnm" type="STRING" size="256"/>
  196. <Column id="cdid" type="STRING" size="256"/>
  197. </ColumnInfo>
  198. <Rows>
  199. <Row/>
  200. </Rows>
  201. </Dataset>
  202. </Objects>
  203. <Bind>
  204. <BindItem id="item0" compid="group3.cmb_detladjtflag" propid="value" datasetid="ds_send_resncd" columnid="detladjtflag"/>
  205. <BindItem id="item1" compid="group3.chk_displayyn" propid="value" datasetid="ds_send_resncd" columnid="displayyn"/>
  206. <BindItem id="item2" compid="group3.txt_adjtresndesc" propid="value" datasetid="ds_send_resncd" columnid="adjtresndesc"/>
  207. </Bind>
  208. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  209. * System Name :
  210. * Job Name :
  211. * Creator :
  212. * Make Date : 2016-05-24
  213. * Description :
  214. *---------------------------------------------------------------------------------------
  215. * Modify Date Modifier Modify Description
  216. *---------------------------------------------------------------------------------------
  217. * 2016-05-24 Live Converter TF->XP
  218. *
  219. *---------------------------------------------------------------------------------------
  220. ****************************************************************************************/
  221. include "com_commonxp::comm_main.xjs";
  222. include "pam_pamcomnxp::PAM001.xjs";
  223. include "pam_pamcomnxp::PAM.xjs";
  224. function SPPIR30310_oninit(obj:Form, e:InitEventInfo)
  225. {
  226. frmf_initForm(obj);
  227. }
  228. function SPPIR30310_onload(obj:Form, e:LoadEventInfo)
  229. {
  230. grdf_initGrid(group3.grd_pirmcuod);
  231. grdf_setRowTypeIcon(group3.grd_pirmcuod, 0);
  232. if(frmf_checkOpener())
  233. {
  234. ds_main_cuodlist_gridpirhobtspec.copyData(arg_ds_main_cuodlist);
  235. }
  236. var row_cnt = ds_main_cuodlist_gridpirhobtspec.rowcount;
  237. for(var i = 0; i < row_cnt; i++)
  238. {
  239. var arrRow = new Array();
  240. arrRow[0] = i;
  241. grdf_setStatus(group3.grd_pirmcuod, "I", arrRow);
  242. }
  243. }
  244. function group3_button3_onclick(obj:Button, e:ClickEventInfo)
  245. {
  246. var row_cnt = ds_main_cuodlist_gridpirhobtspec.rowcount;
  247. for(var i = 0; i <row_cnt; i++)
  248. {
  249. if(utlf_isNull(ds_send_resncd.getColumn(0, "detladjtflag")))
  250. {
  251. ds_main_cuodlist_gridpirhobtspec.setColumn(i, "detladjtflag", "-");
  252. }
  253. else
  254. {
  255. ds_main_cuodlist_gridpirhobtspec.setColumn(i, "detladjtflag", ds_send_resncd.getColumn(0, "detladjtflag"));
  256. }
  257. if(utlf_isNull(ds_send_resncd.getColumn(0, "adjtresndesc")))
  258. {
  259. ds_main_cuodlist_gridpirhobtspec.setColumn(i, "adjtresndesc", "-");
  260. }
  261. else
  262. {
  263. ds_main_cuodlist_gridpirhobtspec.setColumn(i, "adjtresndesc", ds_send_resncd.getColumn(0, "adjtresndesc"));
  264. }
  265. if(ds_send_resncd.getColumn(0, "displayyn") != "Y")
  266. {
  267. ds_main_cuodlist_gridpirhobtspec.setColumn(i, "displayyn", "N");
  268. }
  269. else
  270. {
  271. ds_main_cuodlist_gridpirhobtspec.setColumn(i, "displayyn", "Y");
  272. }
  273. }
  274. var oParam = {};
  275. oParam.id = "TXPIR30310";
  276. oParam.service = "edimngtapp.EdiMngt";
  277. oParam.method = "reqInsPirmCuod";
  278. oParam.inds = "req=ds_main_cuodlist_gridpirhobtspec:U";
  279. oParam.outds = "";
  280. oParam.async = false;
  281. //oParam.callback = "cf_TXPIR30310";
  282. tranf_submit(oParam);
  283. this.close();
  284. }
  285. function group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  286. {
  287. this.close();
  288. }
  289. ]]></Script>
  290. </Form>
  291. </FDL>