SMMNE04101_진단변경환자.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNE04101" position="absolute 0 0 1223 783" titletext="응급진료정보 진단변경내역" oninit="SMMNE04101_oninit" onload="SMMNE04101_onload" ontimer="SMMNE04101_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group6" taborder="0" position="absolute 0 25 1194 65" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Calendar id="input1" taborder="2" class="input_s_essential" position="absolute 69 9 164 30" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
  11. <Static id="caption16" text="~" position="absolute 168 14 176 27" anchor="default"/>
  12. <Calendar id="input2" taborder="3" class="input_s_essential" position="absolute 180 9 275 30" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  13. <Button id="button2" taborder="6" text="조회" class="btn1" position="absolute 1048 10 1104 32" anchor="top right" onclick="group6_button2_onclick"/>
  14. <Button id="button8" taborder="8" text="엑셀저장" class="btn7" position="absolute 1108 10 1188 32" anchor="top right" onclick="group6_button8_onclick"/>
  15. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 1038 10 1044 32" anchor="top right"/>
  16. <Static id="Static00" text="일자" position="absolute 9 9 60 29" class="search_name"/>
  17. <Edit id="Edit00" taborder="9" position="absolute 472 11 572 31"/>
  18. <Static id="Static01" class="search_name" position="absolute 389 13 464 33" text="등록번호"/>
  19. </Layout>
  20. </Layouts>
  21. </Div>
  22. <Shape id="line6" linetype="horizontal" class="line_1" position="absolute 0 93 1194 99" anchor="left top right"/>
  23. <Grid id="grd_datagrid3" taborder="1" binddataset="ds_main_list" useinputpanel="false" position="absolute 0 99 1194 769" autofittype="none" anchor="all" oncelldblclick="grd_datagrid3_oncelldblclick" cellsizingtype="both">
  24. <Formats>
  25. <Format id="default">
  26. <Columns>
  27. <Column size="116"/>
  28. <Column size="75"/>
  29. <Column size="57"/>
  30. <Column size="67"/>
  31. <Column size="60"/>
  32. <Column size="78"/>
  33. <Column size="75"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="122"/>
  38. <Column size="321"/>
  39. <Column size="354"/>
  40. </Columns>
  41. <Rows>
  42. <Row size="24" band="head"/>
  43. <Row size="24"/>
  44. </Rows>
  45. <Band id="head">
  46. <Cell text="진단입력(수정)일"/>
  47. <Cell col="1" text="내원일자"/>
  48. <Cell col="2" text="내원시간"/>
  49. <Cell col="3" text="등록번호"/>
  50. <Cell col="4" text="환자명"/>
  51. <Cell col="5" text="퇴실일자"/>
  52. <Cell col="6" text="퇴원일자"/>
  53. <Cell col="7" text="생성번호"/>
  54. <Cell col="8" text="입실일자"/>
  55. <Cell col="9"/>
  56. <Cell col="10" text="구분"/>
  57. <Cell col="11" text="변경전 진단"/>
  58. <Cell col="12" text="변경후 진단"/>
  59. </Band>
  60. <Band id="body">
  61. <Cell displaytype="expr:expr:utlf_isNull(modifieddd) ? '' : 'date'" text="bind:modifieddd"/>
  62. <Cell col="1" text="bind:eragindt" mask="####-##-##"/>
  63. <Cell col="2" displaytype="normal" style="align:center middle;" text="bind:eragintm" mask="##:##"/>
  64. <Cell col="3" text="bind:eragidno"/>
  65. <Cell col="4" text="bind:patnm"/>
  66. <Cell col="5" displaytype="expr:utlf_isNull(eroutdt) ? '' : 'date'" text="bind:eroutdt"/>
  67. <Cell col="6" displaytype="expr:utlf_isNull(eragoudd) ? '' : 'date'" text="bind:eragoudd"/>
  68. <Cell col="7" text="bind:cretno"/>
  69. <Cell col="8" text="bind:indd"/>
  70. <Cell col="9" text="bind:ordtype"/>
  71. <Cell col="10" text="bind:gbn"/>
  72. <Cell col="11" style="align:left;" text="bind:b_diagtermcds"/>
  73. <Cell col="12" style="align:left;" text="bind:diagtermcds"/>
  74. </Band>
  75. </Format>
  76. </Formats>
  77. </Grid>
  78. <Static id="caption18" text="전송완료 환자중 진단변경 이력이 존재하는 내역" class="tit_2" position="absolute 0 78 388 96"/>
  79. <Static id="caption6" text="응급진료정보 진단변경내역(퇴원분석 기준)" class="tit_1" position="absolute 0 0 300 25"/>
  80. <Shape id="line00" class="line_10" position="absolute 0 94 1194 100" anchor="left top right"/>
  81. </Layout>
  82. </Layouts>
  83. <Objects>
  84. <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  85. <ColumnInfo>
  86. <Column id="b_diagtermcds" type="STRING"/>
  87. <Column id="diagtermcds" type="STRING"/>
  88. <Column id="eragindt" type="STRING"/>
  89. <Column id="eragintm" type="STRING"/>
  90. <Column id="eragidno" type="STRING"/>
  91. <Column id="patnm" type="STRING"/>
  92. <Column id="grdrage" type="STRING"/>
  93. <Column id="eragcmmt" type="STRING"/>
  94. <Column id="eragupdt" type="STRING"/>
  95. <Column id="eroutdt" type="STRING"/>
  96. <Column id="eragoudd" type="STRING"/>
  97. <Column id="cretno" type="STRING"/>
  98. <Column id="indd" type="STRING"/>
  99. <Column id="ordtype" type="STRING"/>
  100. <Column id="modifieddd" type="STRING"/>
  101. <Column id="ptmiotdt" type="STRING"/>
  102. <Column id="ptmidcdt" type="STRING"/>
  103. <Column id="gbn" type="STRING" size="256"/>
  104. </ColumnInfo>
  105. </Dataset>
  106. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  107. <ColumnInfo>
  108. <Column id="fromdd" type="STRING" size="256"/>
  109. <Column id="todd" type="STRING" size="256"/>
  110. <Column id="srchflag" type="STRING" size="256"/>
  111. <Column id="pid" type="STRING" size="256"/>
  112. <Column id="srchkind" type="STRING" size="256"/>
  113. </ColumnInfo>
  114. <Rows>
  115. <Row>
  116. <Col id="srchflag">A</Col>
  117. <Col id="srchkind">2</Col>
  118. </Row>
  119. </Rows>
  120. </Dataset>
  121. <Dataset id="ds_hidden_trsmitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  122. <ColumnInfo>
  123. <Column id="cdid" type="STRING" size="256"/>
  124. <Column id="cdnm" type="STRING" size="256"/>
  125. </ColumnInfo>
  126. <Rows>
  127. <Row>
  128. <Col id="cdid">Y</Col>
  129. <Col id="cdnm">전송완료</Col>
  130. </Row>
  131. <Row>
  132. <Col id="cdid">E</Col>
  133. <Col id="cdnm">전송에러</Col>
  134. </Row>
  135. <Row>
  136. <Col id="cdid">N</Col>
  137. <Col id="cdnm">전송대기</Col>
  138. </Row>
  139. <Row>
  140. <Col id="cdid">F</Col>
  141. <Col id="cdnm">전송대기</Col>
  142. </Row>
  143. </Rows>
  144. </Dataset>
  145. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  146. <Dataset id="ds_temp_trsmlistinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  147. <Dataset id="ds_ptmistat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  148. <ColumnInfo>
  149. <Column id="label" type="STRING" size="256"/>
  150. <Column id="value" type="STRING" size="256"/>
  151. </ColumnInfo>
  152. <Rows>
  153. <Row>
  154. <Col id="label">전송오류</Col>
  155. <Col id="value">E</Col>
  156. </Row>
  157. <Row>
  158. <Col id="label">삭제</Col>
  159. <Col id="value">K</Col>
  160. </Row>
  161. <Row>
  162. <Col id="label">실시간전송</Col>
  163. <Col id="value">H</Col>
  164. </Row>
  165. <Row>
  166. <Col id="label">퇴실전송</Col>
  167. <Col id="value">G</Col>
  168. </Row>
  169. <Row>
  170. <Col id="label">재검토필요</Col>
  171. <Col id="value">B</Col>
  172. </Row>
  173. <Row>
  174. <Col id="label">재검토필요</Col>
  175. <Col id="value">Y</Col>
  176. </Row>
  177. <Row>
  178. <Col id="label">퇴원전송</Col>
  179. <Col id="value">S</Col>
  180. </Row>
  181. <Row>
  182. <Col id="label">재검토필요</Col>
  183. <Col id="value">N</Col>
  184. </Row>
  185. <Row>
  186. <Col id="label">재검토필요</Col>
  187. <Col id="value">Z</Col>
  188. </Row>
  189. <Row>
  190. <Col id="label">기타</Col>
  191. <Col id="value">AA</Col>
  192. </Row>
  193. <Row>
  194. <Col id="label"/>
  195. <Col id="value"/>
  196. </Row>
  197. </Rows>
  198. </Dataset>
  199. </Objects>
  200. <Bind>
  201. <BindItem id="item1" compid="group6.input1" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  202. <BindItem id="item2" compid="group6.input2" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  203. <BindItem id="item0" compid="group6.Edit00" propid="value" datasetid="ds_main_cond" columnid="pid"/>
  204. </Bind>
  205. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  206. * System Name :
  207. * Job Name :
  208. * Creator :
  209. * Make Date : 2015-11-13
  210. * Description :
  211. *---------------------------------------------------------------------------------------
  212. * Modify Date Modifier Modify Description
  213. *---------------------------------------------------------------------------------------
  214. * 2015-11-13 Live Converter TF->XP
  215. *
  216. *---------------------------------------------------------------------------------------
  217. ****************************************************************************************/
  218. include "com_commonxp::comm_main.xjs";
  219. include "emr_carecomxp::CareCom.xjs";
  220. include "emr_prcpmngtxp::MMO001.xjs";
  221. /******************************************************************
  222. * Argument :
  223. * Description : 초기화
  224. ******************************************************************/
  225. function SMMNE04101_oninit(obj:Form, e:InitEventInfo)
  226. {
  227. frmf_initForm(obj);
  228. }
  229. function SMMNE04101_onload(obj:Form, e:LoadEventInfo)
  230. {
  231. grdf_setGridSort(grd_datagrid3);
  232. var sTodt = getDateAddc(utlf_getCurrentDate(), -1);
  233. var sFrdt = getDateAddc(utlf_getCurrentDate(), -1);
  234. ds_main_cond.setColumn(0, "fromdd", sFrdt);
  235. ds_main_cond.setColumn(0, "todd" , sTodt);
  236. }
  237. /******************************************************************
  238. * Argument :
  239. * Description : 조회 button event
  240. ******************************************************************/
  241. function group6_button2_onclick(obj:Button, e:ClickEventInfo)
  242. {
  243. ds_send.clear();
  244. ds_main_list.clearData();
  245. var oParam = {};
  246. oParam.id = "reqGetErPatDiagHist_01";
  247. oParam.service = "ercareapp.ERPatMngt";
  248. oParam.method = "reqGetErPatDiagHist";
  249. oParam.inds = "req=ds_main_cond";
  250. oParam.outds = "ds_main_list=diaglist";
  251. oParam.async = false;
  252. //oParam.callback = "cf_TRMNE04101";
  253. tranf_submit(oParam);
  254. }
  255. function group6_button8_onclick(obj:Button, e:ClickEventInfo)
  256. {
  257. if( ds_main_list.rowcount > 0 ){
  258. grdf_exportExcel(grd_datagrid3, "진단변경내역", "진단변경내역", false, "", "user", false);
  259. } else {
  260. sysf_messageBox("조회된 데이터가 ", "I004");
  261. }
  262. }
  263. ]]></Script>
  264. </Form>
  265. </FDL>