SMPIJ04100_심사완료후처방변경현황.xfdl 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIJ04100" position="absolute 0 0 1106 761" titletext="심사완료후 처방변경 현황" oninit="SMPIJ04100_oninit" onload="SMPIJ04100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="div1" taborder="1" position="absolute 3 1 1101 52" class="div_SA2" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption2" text="구분 :" class="search_name" position="absolute 15 19 63 35" anchor="default"/>
  11. <Radio id="rdo_stat" taborder="1" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemclick="rdo_stat_onitemclick" position="absolute 72 17 202 37" anchor="default">
  12. <Dataset id="innerdataset">
  13. <ColumnInfo>
  14. <Column id="codecolumn"/>
  15. <Column id="datacolumn"/>
  16. </ColumnInfo>
  17. <Rows>
  18. <Row>
  19. <Col id="codecolumn">A</Col>
  20. <Col id="datacolumn">재원</Col>
  21. </Row>
  22. <Row>
  23. <Col id="codecolumn">D</Col>
  24. <Col id="datacolumn">퇴원</Col>
  25. </Row>
  26. </Rows>
  27. </Dataset>
  28. </Radio>
  29. <Calendar id="ipt_fromdd" taborder="2" class="input_search" position="absolute 209 17 315 36" mask="yyyy-mm-dd" anchor="default"/>
  30. <Static id="caption4" text="~" position="absolute 324 12 347 42" anchor="default"/>
  31. <Calendar id="ipt_todd" taborder="3" class="input_search" position="absolute 340 17 446 36" mask="yyyy-mm-dd" anchor="default"/>
  32. <Static id="caption5" text="등록번호 :" class="search_name" position="absolute 498 19 584 36" anchor="default"/>
  33. <Edit id="ipt_pid" taborder="4" onkeydown="ipt_pid_onkeydown" class="input_search" position="absolute 590 17 686 36" anchor="default"/>
  34. <Button id="btn_srch" taborder="5" text="조회" onclick="btn_srch_onclick" class="btn1" position="absolute 1013 13 1069 35" anchor="top right"/>
  35. </Layout>
  36. </Layouts>
  37. </Div>
  38. <Static text="심사 완료 후 처방변경 현황" position="absolute 4 59 229 80" align="align:center middle;" id="caption3" class="tit_2"/>
  39. <Shape position="absolute 3 75 1100 81" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" onclick="line1_onclick" anchor="left top right"/>
  40. <Static text="처방 변경 내역" position="absolute 4 235 122 256" align="align:center middle;" id="caption6" class="tit_2"/>
  41. <Shape position="absolute 4 251 1101 257" linetype="horizontal" id="line2" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  42. <Grid position="absolute 3 80 1100 226" id="grd_chgpat" binddataset="ds_grd_chgpat" autofittype="col" oncelldblclick="grd_chgpat_oncelldblclick" anchor="left top right" cellsizingtype="col">
  43. <Formats>
  44. <Format id="default">
  45. <Columns>
  46. <Column size="21"/>
  47. <Column size="71"/>
  48. <Column size="71"/>
  49. <Column size="80"/>
  50. <Column size="26"/>
  51. <Column size="48"/>
  52. <Column size="80"/>
  53. <Column size="80"/>
  54. <Column size="80"/>
  55. <Column size="34"/>
  56. <Column size="34"/>
  57. <Column size="70"/>
  58. <Column size="69"/>
  59. <Column size="69"/>
  60. <Column size="109"/>
  61. <Column size="34"/>
  62. <Column size="97"/>
  63. <Column size="0"/>
  64. </Columns>
  65. <Rows>
  66. <Row size="35" 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="상태"/>
  76. <Cell col="6" text="퇴원일자"/>
  77. <Cell col="7" text="유형시작"/>
  78. <Cell col="8" text="유형종료"/>
  79. <Cell col="9" text="보험"/>
  80. <Cell col="10" text="보조"/>
  81. <Cell col="11" text="심사상태"/>
  82. <Cell col="12" text="심사자"/>
  83. <Cell col="13" text="최종심사자"/>
  84. <Cell col="14" text="심사완료일시"/>
  85. <Cell col="15" text="생성"/>
  86. <Cell col="16" text="최종 처방변경일"/>
  87. <Cell col="17" text="cretno"/>
  88. </Band>
  89. <Band id="body">
  90. <Cell celltype="head" text="expr:currow + 1"/>
  91. <Cell col="1" text="bind:pid"/>
  92. <Cell col="2" text="bind:patnm"/>
  93. <Cell col="3" displaytype="date" edittype="date" text="bind:indd" mask="yyyy-MM-dd"/>
  94. <Cell col="4" text="bind:mskind"/>
  95. <Cell col="5" text="bind:indschstat"/>
  96. <Cell col="6" displaytype="date" edittype="date" text="bind:dschdd" mask="yyyy-MM-dd"/>
  97. <Cell col="7" displaytype="date" edittype="date" text="bind:fromdd" mask="yyyy-MM-dd"/>
  98. <Cell col="8" displaytype="date" edittype="date" text="bind:todd" mask="yyyy-MM-dd"/>
  99. <Cell col="9" text="bind:insukind"/>
  100. <Cell col="10" text="bind:suppkind"/>
  101. <Cell col="11" displaytype="combo" edittype="combo" style="align:center;" text="bind:dschjudgprcsstat" combodataset="ds_item" combocodecol="value" combodatacol="label" enable="false"/>
  102. <Cell col="12" text="bind:judgmdlnm"/>
  103. <Cell col="13" text="bind:lastjudgendnm"/>
  104. <Cell col="14" displaytype="date" edittype="date" text="bind:judgdt" mask="yyyy-MM-dd hh:mm"/>
  105. <Cell col="15" text="bind:clamyn"/>
  106. <Cell col="16" displaytype="date" edittype="date" text="bind:judgchgdd" mask="yyyy-MM-dd"/>
  107. <Cell col="17" text="bind:cretno"/>
  108. </Band>
  109. </Format>
  110. </Formats>
  111. </Grid>
  112. <Grid position="absolute 4 256 1101 751" id="grd_chgiscl" binddataset="ds_grd_chgiscl" autofittype="col" anchor="all" cellsizingtype="col">
  113. <Formats>
  114. <Format id="default">
  115. <Columns>
  116. <Column size="23"/>
  117. <Column size="50"/>
  118. <Column size="40"/>
  119. <Column size="82"/>
  120. <Column size="73"/>
  121. <Column size="73"/>
  122. <Column size="235"/>
  123. <Column size="91"/>
  124. <Column size="43"/>
  125. <Column size="40"/>
  126. <Column size="34"/>
  127. <Column size="34"/>
  128. <Column size="50"/>
  129. <Column size="40"/>
  130. <Column size="34"/>
  131. <Column size="34"/>
  132. <Column size="50"/>
  133. <Column size="71"/>
  134. </Columns>
  135. <Rows>
  136. <Row size="41" band="head"/>
  137. <Row size="24"/>
  138. </Rows>
  139. <Band id="head">
  140. <Cell/>
  141. <Cell col="1" text="구분"/>
  142. <Cell col="2" text="상태"/>
  143. <Cell col="3" text="처방일자"/>
  144. <Cell col="4" text="그룹코드"/>
  145. <Cell col="5" text="수가코드"/>
  146. <Cell col="6" text="처방명"/>
  147. <Cell col="7" text="실시일자"/>
  148. <Cell col="8" text="실시&#10;시간"/>
  149. <Cell col="9" text="처방"/>
  150. <Cell col="10" text="처방"/>
  151. <Cell col="11" text="처방"/>
  152. <Cell col="12" text="처방"/>
  153. <Cell col="13" text="계산"/>
  154. <Cell col="14" text="계산"/>
  155. <Cell col="15" text="계산"/>
  156. <Cell col="16" text="계산"/>
  157. <Cell col="17" text="금액"/>
  158. </Band>
  159. <Band id="body">
  160. <Cell celltype="head" text="currow + 1"/>
  161. <Cell col="1" text="bind:calcyn"/>
  162. <Cell col="2" text="bind:calcstat"/>
  163. <Cell col="3" displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  164. <Cell col="4" text="bind:grupcalcscorcd"/>
  165. <Cell col="5" text="bind:snglcalcscorcd"/>
  166. <Cell col="6" text="bind:hngnm"/>
  167. <Cell col="7" displaytype="date" edittype="date" text="bind:execdd" mask="yyyy-MM-dd"/>
  168. <Cell col="8" displaytype="date" edittype="date" text="bind:exectm" mask="hh:mm"/>
  169. <Cell col="9" text="bind:ordqty"/>
  170. <Cell col="10" text="bind:ordtims"/>
  171. <Cell col="11" text="bind:orddays"/>
  172. <Cell col="12" text="bind:prcppayflag"/>
  173. <Cell col="13" text="bind:calcqty"/>
  174. <Cell col="14" text="bind:calctims"/>
  175. <Cell col="15" text="bind:calcdays"/>
  176. <Cell col="16" text="bind:calcpayflag"/>
  177. <Cell col="17" displaytype="number" text="bind:amt"/>
  178. </Band>
  179. </Format>
  180. </Formats>
  181. </Grid>
  182. </Layout>
  183. </Layouts>
  184. <Objects>
  185. <Dataset id="ds_grd_chgpat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  186. <ColumnInfo>
  187. <Column id="pid" type="STRING"/>
  188. <Column id="patnm" type="STRING"/>
  189. <Column id="indd" type="STRING"/>
  190. <Column id="mskind" type="STRING"/>
  191. <Column id="indschstat" type="STRING"/>
  192. <Column id="dschdd" type="STRING"/>
  193. <Column id="fromdd" type="STRING"/>
  194. <Column id="todd" type="STRING"/>
  195. <Column id="insukind" type="STRING"/>
  196. <Column id="suppkind" type="STRING"/>
  197. <Column id="dschjudgprcsstat" type="STRING"/>
  198. <Column id="judgmdlnm" type="STRING"/>
  199. <Column id="lastjudgendnm" type="STRING"/>
  200. <Column id="judgdt" type="STRING"/>
  201. <Column id="clamyn" type="STRING"/>
  202. <Column id="judgchgdd" type="STRING"/>
  203. <Column id="cretno" type="STRING"/>
  204. </ColumnInfo>
  205. </Dataset>
  206. <Dataset id="ds_grd_chgiscl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  207. <ColumnInfo>
  208. <Column id="calcyn" type="STRING"/>
  209. <Column id="calcstat" type="STRING"/>
  210. <Column id="prcpdd" type="STRING"/>
  211. <Column id="grupcalcscorcd" type="STRING"/>
  212. <Column id="snglcalcscorcd" type="STRING"/>
  213. <Column id="hngnm" type="STRING"/>
  214. <Column id="execdd" type="STRING"/>
  215. <Column id="exectm" type="STRING"/>
  216. <Column id="ordqty" type="STRING"/>
  217. <Column id="ordtims" type="STRING"/>
  218. <Column id="orddays" type="STRING"/>
  219. <Column id="prcppayflag" type="STRING"/>
  220. <Column id="calcqty" type="STRING"/>
  221. <Column id="calctims" type="STRING"/>
  222. <Column id="calcdays" type="STRING"/>
  223. <Column id="calcpayflag" type="STRING"/>
  224. <Column id="amt" type="STRING"/>
  225. </ColumnInfo>
  226. </Dataset>
  227. <Dataset id="ds_stat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  228. <ColumnInfo>
  229. <Column id="label" type="STRING" size="256"/>
  230. <Column id="value" type="STRING" size="256"/>
  231. </ColumnInfo>
  232. <Rows>
  233. <Row>
  234. <Col id="label">재원</Col>
  235. <Col id="value">A</Col>
  236. </Row>
  237. <Row>
  238. <Col id="value">D</Col>
  239. <Col id="label">퇴원</Col>
  240. </Row>
  241. </Rows>
  242. </Dataset>
  243. <Dataset id="ds_send_stat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  244. <ColumnInfo>
  245. <Column id="stat" type="STRING" size="256"/>
  246. <Column id="fromdd" type="STRING" size="256"/>
  247. <Column id="todd" type="STRING" size="256"/>
  248. <Column id="pid" type="STRING" size="256"/>
  249. </ColumnInfo>
  250. <Rows>
  251. <Row>
  252. <Col id="stat">A</Col>
  253. </Row>
  254. </Rows>
  255. </Dataset>
  256. <Dataset id="ds_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  257. <ColumnInfo>
  258. <Column id="label" type="STRING" size="256"/>
  259. <Column id="value" type="STRING" size="256"/>
  260. </ColumnInfo>
  261. <Rows>
  262. <Row>
  263. <Col id="label">미심</Col>
  264. <Col id="value">A</Col>
  265. </Row>
  266. <Row>
  267. <Col id="label">심사중</Col>
  268. <Col id="value">B</Col>
  269. </Row>
  270. <Row>
  271. <Col id="label">완료</Col>
  272. <Col id="value">C</Col>
  273. </Row>
  274. <Row>
  275. <Col id="label">통합</Col>
  276. <Col id="value">E</Col>
  277. </Row>
  278. <Row>
  279. <Col id="label">예고</Col>
  280. <Col id="value">G</Col>
  281. </Row>
  282. </Rows>
  283. </Dataset>
  284. </Objects>
  285. <Bind>
  286. <BindItem id="item0" compid="div1.rdo_stat" propid="value" datasetid="ds_send_stat" columnid="stat"/>
  287. <BindItem id="item1" compid="div1.ipt_fromdd" propid="value" datasetid="ds_send_stat" columnid="fromdd"/>
  288. <BindItem id="item2" compid="div1.ipt_todd" propid="value" datasetid="ds_send_stat" columnid="todd"/>
  289. <BindItem id="item3" compid="div1.ipt_pid" propid="value" datasetid="ds_send_stat" columnid="pid"/>
  290. </Bind>
  291. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  292. * System Name :
  293. * Job Name :
  294. * Creator :
  295. * Make Date : 2016-05-24
  296. * Description :
  297. *---------------------------------------------------------------------------------------
  298. * Modify Date Modifier Modify Description
  299. *---------------------------------------------------------------------------------------
  300. * 2016-05-24 Live Converter TF->XP
  301. *
  302. *---------------------------------------------------------------------------------------
  303. ****************************************************************************************/
  304. include "com_commonxp::comm_main.xjs";
  305. include "pam_pamcomnxp::PAM001.xjs";
  306. function SMPIJ04100_oninit(obj:Form, e:InitEventInfo)
  307. {
  308. frmf_initForm(obj);
  309. }
  310. function SMPIJ04100_onload(obj:Form, e:LoadEventInfo)
  311. {
  312. var dd = utlf_getCurrentDate();
  313. ds_send_stat.setColumn(0, "fromdd", (dd.toDate().getAddDate(-1, "D")).getDateFormat());
  314. ds_send_stat.setColumn(0, "todd", (dd.toDate().getAddDate(-1, "D")).getDateFormat());
  315. div1.ipt_fromdd.enable = false;
  316. div1.ipt_todd.enable = false;
  317. }
  318. function rdo_stat_onitemclick(obj:Radio, e:RadioMouseEventInfo)
  319. {
  320. if (div1.rdo_stat.value == "A") {
  321. div1.ipt_fromdd.enable = true;
  322. div1.ipt_todd.enable = true;
  323. }
  324. else if (div1.rdo_stat.value == "D") {
  325. div1.ipt_fromdd.enable = false;
  326. div1.ipt_todd.enable = false;
  327. var dd = utlf_getCurrentDateTime();
  328. }
  329. }
  330. function ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  331. {
  332. if(e.keycode == 13)
  333. {
  334. ds_send_stat.setColumn(0, "pid", div1.ipt_pid.text);
  335. btn_srch_onclick();
  336. }
  337. }
  338. function btn_srch_onclick(obj:Button, e:ClickEventInfo)
  339. {
  340. var oParam = {};
  341. oParam.id = "TRPIJ04100";
  342. oParam.service = "bfjudgapp.InHospJudg";
  343. oParam.method = "reqGetJudgEndChgPat";
  344. oParam.inds = "req=ds_send_stat";
  345. oParam.outds = "ds_grd_chgpat=gridchgpat";
  346. oParam.async = false;
  347. //oParam.callback = "cf_TRPIJ04100";
  348. tranf_submit(oParam);
  349. }
  350. function grd_chgpat_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  351. {
  352. var currow = ds_grd_chgpat.rowposition;
  353. dsf_createDsRow("ds_send", [{col:"pid", type:"STRING", size:256, val: ds_grd_chgpat.getColumn(currow, "pid")}
  354. , {col:"indd", type:"STRING", size:256 , val: ds_grd_chgpat.getColumn(currow, "indd")}
  355. , {col:"cretno", type:"STRING", size:256 ,val: ds_grd_chgpat.getColumn(currow, "cretno")}
  356. , {col:"fromdd", type:"STRING", size:256 ,val: ds_grd_chgpat.getColumn(currow, "fromdd")}
  357. , {col:"todd", type:"STRING", size:256 ,val: ds_grd_chgpat.getColumn(currow, "todd")}
  358. , {col:"dschjudgprcsstat", type:"STRING", size:256 ,val: ds_grd_chgpat.getColumn(currow, "dschjudgprcsstat")}
  359. , {col:"judgdt", type:"STRING", size:256 ,val: ds_grd_chgpat.getColumn(currow, "judgdt")}]);
  360. var oParam = {};
  361. oParam.id = "TRPIJ04101";
  362. oParam.service = "bfjudgapp.InHospJudg";
  363. oParam.method = "reqGetJudgEndChgIscl";
  364. oParam.inds = "req=ds_send";
  365. oParam.outds = "ds_grd_chgiscl=gridchgiscl";
  366. oParam.async = false;
  367. //oParam.callback = "cf_TRPIJ04101";
  368. tranf_submit(oParam);
  369. }
  370. ]]></Script>
  371. </Form>
  372. </FDL>