SPPIR30330_의사삭감전달처방등록관리(원외처방).xfdl 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SPPIR30330" position="absolute 0 0 550 420" titletext="의사삭감전달처방등록관리(원외처방)" onload="SPPIR30330_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" scrollbars="autoboth" position="absolute 0 0 518 360" style="">
  8. <Layouts>
  9. <Layout>
  10. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 20 517 23" style="" anchor="default" />
  11. <Static id="caption1" class="tit_2" position="absolute 5 6 242 20" style="" text="의사삭감전달처방등록관리(원외처방)" />
  12. <Static id="caption31" class="cell_1" position="absolute 0 221 85 244" style="" text="상세조정구분" />
  13. <Shape id="line8" class="line_1" linetype="horizontal" position="absolute 0 216 517 219" style="" anchor="default" />
  14. <Button id="button3" class="btn5_letter2" position="absolute 474 195 516 214" style="" text="저장" onclick="group3_button3_onclick" />
  15. <Static id="caption4" class="tit_2" position="absolute 6 201 90 214" style="" text="상세사유" />
  16. <Shape id="line3" class="line_3" linetype="horizontal" position="absolute 0 243 518 246" style="" anchor="default" />
  17. <Grid id="grd_pirmcuod" binddataset="ds_main_cuodlist_gridpirmcuod" position="absolute 0 31 515 191" style="">
  18. <Formats>
  19. <Format id="default">
  20. <Columns>
  21. <Column size="61" />
  22. <Column size="58" />
  23. <Column size="44" />
  24. <Column size="64" />
  25. <Column size="61" />
  26. <Column size="197" />
  27. <Column size="100" />
  28. <Column size="100" />
  29. <Column size="100" />
  30. </Columns>
  31. <Rows>
  32. <Row size="24" band="head" />
  33. <Row size="24" />
  34. </Rows>
  35. <Band id="head">
  36. <Cell text="심사차수" />
  37. <Cell col="1" text="접수번호" />
  38. <Cell col="2" text="명일련" />
  39. <Cell col="3" text="처방코드" />
  40. <Cell col="4" text="EDI코드" />
  41. <Cell col="5" text="처방명" />
  42. <Cell col="6" text="" />
  43. <Cell col="7" text="" />
  44. <Cell col="8" text="" />
  45. </Band>
  46. <Band id="body">
  47. <Cell text="bind:judgdg" />
  48. <Cell col="1" text="bind:acptno" />
  49. <Cell col="2" text="bind:docuseqno" />
  50. <Cell col="3" text="bind:snglcalcscorcd" />
  51. <Cell col="4" text="bind:edicd" />
  52. <Cell col="5" text="bind:hngnm" />
  53. <Cell col="6" text="bind:clamno" />
  54. <Cell col="7" text="bind:obtappflag" />
  55. <Cell col="8" text="bind:mpsno" />
  56. <Cell col="9" text="bind:lnno" />
  57. <Cell col="10" text="bind:adjtresncd" />
  58. <Cell col="11" text="bind:clamdd" />
  59. <Cell col="12" text="bind:ordym" />
  60. <Cell col="13" text="bind:cutqty" />
  61. <Cell col="14" text="bind:cutamt" />
  62. <Cell col="15" text="bind:orddeptcd" />
  63. <Cell col="16" text="bind:atdoct" />
  64. <Cell col="17" text="bind:detladjtflag" />
  65. </Band>
  66. </Format>
  67. </Formats>
  68. </Grid>
  69. <Combo innerdataset="ds_init_P0250list_P0250" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_detladjtflag" class="combo_default" position="absolute 88 222 245 241" style="" />
  70. <cp_checkboxList datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="chk_displayyn" position="absolute 250 224 365 239" style="" titletext="CheckBox List" text="chk_displayyn" scrollbars="none" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="100">
  71. <Dataset id="innerdataset">
  72. <ColumnInfo>
  73. <Column id="codecolumn" />
  74. <Column id="datacolumn" />
  75. </ColumnInfo>
  76. <Rows>
  77. <Row>
  78. <Col id="codecolumn">Y</Col>
  79. <Col id="datacolumn">진료의알림여부</Col>
  80. </Row>
  81. </Rows>
  82. </Dataset>
  83. </cp_checkboxList>
  84. <TextArea id="txt_adjtresndesc" position="absolute 0 245 515 360" style="" />
  85. </Layout>
  86. </Layouts>
  87. </Div>
  88. <Div id="group1" scrollbars="autoboth" position="absolute 0 363 518 390" style="">
  89. <Layouts>
  90. <Layout>
  91. <Button id="btn_cancel" class="btn4_letter2" position="absolute 461 5 517 27" style="" text="취소" onclick="group1_btn_cancel_onclick" />
  92. <Shape id="line88" class="line_6" linetype="horizontal" position="absolute 0 0 518 3" style="" anchor="default" />
  93. <Button id="button15" class="btn3_letter8" position="absolute 107 5 235 27" style="" text="이의신청내역조회" />
  94. <Button id="button8" class="btn3_letter6" position="absolute 0 5 96 27" style="" text="조정사유관리" />
  95. </Layout>
  96. </Layouts>
  97. </Div>
  98. </Layout>
  99. </Layouts>
  100. <Objects>
  101. <Dataset id="ds_send_resncd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  102. <ColumnInfo>
  103. <Column id="detladjtflag" type="STRING" size="256" />
  104. <Column id="adjtresndesc" type="STRING" size="256" />
  105. <Column id="displayyn" type="STRING" size="256" />
  106. </ColumnInfo>
  107. <Rows>
  108. <Row>
  109. <Col id="detladjtflag"></Col>
  110. <Col id="adjtresndesc"></Col>
  111. <Col id="displayyn"></Col>
  112. </Row>
  113. </Rows>
  114. </Dataset>
  115. <Dataset id="ds_send_send_adjtord" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  116. <ColumnInfo>
  117. <Column id="judgdg" type="STRING" size="256" />
  118. <Column id="clamno" type="STRING" size="256" />
  119. <Column id="acptno" type="STRING" size="256" />
  120. <Column id="docuseqno" type="STRING" size="256" />
  121. <Column id="mpsno" type="STRING" size="256" />
  122. <Column id="lnno" type="STRING" size="256" />
  123. <Column id="adjtresn" type="STRING" size="256" />
  124. </ColumnInfo>
  125. <Rows>
  126. <Row>
  127. <Col id="judgdg"></Col>
  128. <Col id="clamno"></Col>
  129. <Col id="acptno"></Col>
  130. <Col id="docuseqno"></Col>
  131. <Col id="mpsno"></Col>
  132. <Col id="lnno"></Col>
  133. <Col id="adjtresn"></Col>
  134. </Row>
  135. </Rows>
  136. </Dataset>
  137. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  138. <ColumnInfo />
  139. </Dataset>
  140. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  141. <ColumnInfo />
  142. </Dataset>
  143. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  144. <ColumnInfo>
  145. <Column id="hidden" type="STRING" size="256" />
  146. </ColumnInfo>
  147. </Dataset>
  148. <Dataset id="ds_main_list01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  149. <ColumnInfo>
  150. <Column id="gridpirmcuod" type="STRING" size="256" />
  151. </ColumnInfo>
  152. <Rows>
  153. <Row>
  154. <Col id="gridpirmcuod"></Col>
  155. </Row>
  156. </Rows>
  157. </Dataset>
  158. <Dataset id="ds_main_cuodlist_gridpirmcuod" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  159. <ColumnInfo>
  160. <Column id="judgdg" type="STRING" size="256" />
  161. <Column id="acptno" type="STRING" size="256" />
  162. <Column id="docuseqno" type="STRING" size="256" />
  163. <Column id="snglcalcscorcd" type="STRING" size="256" />
  164. <Column id="edicd" type="STRING" size="256" />
  165. <Column id="hngnm" type="STRING" size="256" />
  166. <Column id="clamno" type="STRING" size="256" />
  167. <Column id="obtappflag" type="STRING" size="256" />
  168. <Column id="mpsno" type="STRING" size="256" />
  169. <Column id="lnno" type="STRING" size="256" />
  170. <Column id="adjtresncd" type="STRING" size="256" />
  171. <Column id="clamdd" type="STRING" size="256" />
  172. <Column id="ordym" type="STRING" size="256" />
  173. <Column id="cutqty" type="STRING" size="256" />
  174. <Column id="cutamt" type="STRING" size="256" />
  175. <Column id="orddeptcd" type="STRING" size="256" />
  176. <Column id="atdoct" type="STRING" size="256" />
  177. <Column id="detladjtflag" type="STRING" size="256" />
  178. <Column id="adjtresndesc" type="STRING" size="256" />
  179. <Column id="displayyn" type="STRING" size="256" />
  180. </ColumnInfo>
  181. <Rows>
  182. <Row>
  183. <Col id="judgdg"></Col>
  184. <Col id="acptno"></Col>
  185. <Col id="docuseqno"></Col>
  186. <Col id="snglcalcscorcd"></Col>
  187. <Col id="edicd"></Col>
  188. <Col id="hngnm"></Col>
  189. <Col id="clamno"></Col>
  190. <Col id="obtappflag"></Col>
  191. <Col id="mpsno"></Col>
  192. <Col id="lnno"></Col>
  193. <Col id="adjtresncd"></Col>
  194. <Col id="clamdd"></Col>
  195. <Col id="ordym"></Col>
  196. <Col id="cutqty"></Col>
  197. <Col id="cutamt"></Col>
  198. <Col id="orddeptcd"></Col>
  199. <Col id="atdoct"></Col>
  200. <Col id="detladjtflag"></Col>
  201. <Col id="adjtresndesc"></Col>
  202. <Col id="displayyn"></Col>
  203. </Row>
  204. </Rows>
  205. </Dataset>
  206. <Dataset id="ds_init_P0250list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  207. <ColumnInfo />
  208. </Dataset>
  209. <Dataset id="ds_init_P0250list_P0250" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  210. <ColumnInfo>
  211. <Column id="cdid" type="STRING" size="256" />
  212. <Column id="cdnm" type="STRING" size="256" />
  213. </ColumnInfo>
  214. <Rows>
  215. <Row>
  216. <Col id="cdid"></Col>
  217. <Col id="cdnm"></Col>
  218. </Row>
  219. </Rows>
  220. </Dataset>
  221. <Dataset id="ds_main_cuodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  222. <ColumnInfo />
  223. </Dataset>
  224. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  225. <ColumnInfo />
  226. </Dataset>
  227. </Objects>
  228. <Bind>
  229. <BindItem id="item0" compid="group3.cmb_detladjtflag" propid="value" datasetid="ds_send_resncd" columnid="detladjtflag" />
  230. <BindItem id="item1" compid="group3.chk_displayyn" propid="value" datasetid="ds_send_resncd" columnid="displayyn" />
  231. <BindItem id="item2" compid="group3.txt_adjtresndesc" propid="value" datasetid="ds_send_resncd" columnid="adjtresndesc" />
  232. </Bind>
  233. <Script type="xscript4.0"><![CDATA[function SPPIR30330_onload(obj:Form, e:LoadEventInfo) {
  234. frmf_initForm(obj);
  235. //grdf_initGrid(grd_XXX);
  236. //grdf_setGridSort(grd_XXX);
  237. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  238. var row_cnt = group3.grd_pirmcuod.rows;
  239. // 공통코드 Load작업
  240. CommCode_Load();
  241. // submit("TRPIR30330");
  242. var oParam = {};
  243. oParam.id = "TRPIR30330";
  244. oParam.service = "edimngtapp.EdiMngt";
  245. oParam.method = "reqGetPirmCuod";
  246. oParam.inds = "req=ds_";
  247. oParam.outds = "ds_=gridpirmcuod";
  248. oParam.async = false;
  249. oParam.callback = "cf_TRPIR30330";
  250. tranf_submit(oParam);
  251. /*
  252. function cf_TRPIR30330(sSvcId, nErrorCode, sErrorMsg) {
  253. if(nErrorCode < 0) return;
  254. }
  255. function cf_TRPIR30330(sSvcId, nErrorCode, sErrorMsg) {
  256. arErrorCode.push(sSvcId, nErrorCode);
  257. }
  258. arErrorCode.pop("TRPIR30330") > -1
  259. arErrorCode.pop("TRPIR30330") < 0
  260. */
  261. for(var i=1;i<row_cnt;i++) {
  262. group3.grd_pirmcuod.rowStatus(i) = "1";
  263. }
  264. }
  265. include '../../.._com_commonweb_js_common.js'
  266. include '../../.._com_commonweb_js_tfHelper.js'
  267. include '../../.._com_basiccodeweb_js_ZBC001.js'
  268. // 공통코드 Load작업
  269. function CommCode_Load() {
  270. // 관련 Control 초기화
  271. var arrParam = [ {dsNm: "ds_init_P0250list",
  272. cdGrpId: "P0250" } ];
  273. appf_getCodeList(arrParam, );
  274. //model.refresh();
  275. }
  276. function group3_button3_onclick(obj:Button, e:ClickEventInfo) {
  277. var rtn = null;
  278. var row_cnt = group3.grd_pirmcuod.rows;
  279. for(var i=1;i<row_cnt;i++) {
  280. ds_main_cuodlist.setColumn( i , "detladjtflag", group3.cmb_detladjtflag.value);
  281. ds_main_cuodlist.setColumn( i , "adjtresndesc", group3.txt_adjtresndesc.value);
  282. ds_main_cuodlist.setColumn( i , "displayyn", group3.chk_displayyn.value);
  283. //group3.grd_pirmcuod.valueMatrix(i,18) = group3.cmb_detladjtflag.value;
  284. //group3.grd_pirmcuod.valueMatrix(i,19) = group3.txt_adjtresndesc.value;
  285. //group3.grd_pirmcuod.valueMatrix(i,20) = group3.chk_displayyn.value;
  286. }
  287. ds_main_list01.setColumn( 0, "gridpirmcuod", group3.grd_pirmcuod.getUpdateData());
  288. // rtn = submit("TXPIR30320");
  289. var oParam = {};
  290. oParam.id = "TXPIR30320";
  291. oParam.service = "edimngtapp.EdiMngt";
  292. oParam.method = "reqInsPirmCuodJudg";
  293. oParam.inds = "req=ds_";
  294. oParam.outds = "";
  295. oParam.async = false;
  296. oParam.callback = "cf_TXPIR30320";
  297. tranf_submit(oParam);
  298. /*
  299. function cf_TXPIR30320(sSvcId, nErrorCode, sErrorMsg) {
  300. if(nErrorCode < 0) return;
  301. }
  302. function cf_TXPIR30320(sSvcId, nErrorCode, sErrorMsg) {
  303. arErrorCode.push(sSvcId, nErrorCode);
  304. }
  305. arErrorCode.pop("TXPIR30320") > -1
  306. arErrorCode.pop("TXPIR30320") < 0
  307. */
  308. if(rtn == "true"){
  309. model.close();
  310. }
  311. }
  312. function group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo) {
  313. model.close();
  314. }
  315. ]]></Script>
  316. </Form>
  317. </FDL>