SPMRI05000_장애알림.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMRI05000" position="absolute 0 0 1256 805" titletext="New Form" onload="SPMRI05000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 13 1180 760" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Shape position="absolute 0 0 574 35" id="roundrect1" type="roundrectangle"/>
  11. <Combo position="absolute 161 7 312 26" id="cmb_orddept" class="combo_search" innerdataset="@ds_init_orddept" datacolumn="deptnm" codecolumn="deptcd" onitemchanged="group3_cmb_orddept_onitemchanged"/>
  12. <Edit position="absolute 0 40 574 59" id="input2"/>
  13. <Shape position="absolute 0 303 574 309" linetype="vertical" id="line2" class="line_1"/>
  14. <Grid position="absolute 0 311 574 740" id="grd_detail" binddataset="ds_notidetaillist" oncelldblclick="group3_grd_detail_oncelldblclick">
  15. <Formats>
  16. <Format id="default">
  17. <Columns>
  18. <Column size="48"/>
  19. <Column size="59"/>
  20. <Column size="55"/>
  21. <Column size="0"/>
  22. <Column size="69"/>
  23. <Column size="0"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="49"/>
  27. <Column size="71"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="56"/>
  31. <Column size="0"/>
  32. <Column size="80"/>
  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="100"/>
  42. </Columns>
  43. <Rows>
  44. <Row size="24" band="head"/>
  45. <Row size="24"/>
  46. </Rows>
  47. <Band id="head">
  48. <Cell text="상태"/>
  49. <Cell col="1" text="등록번호"/>
  50. <Cell col="2" text="환자명"/>
  51. <Cell col="3" text="cretno"/>
  52. <Cell col="4" text="입원일"/>
  53. <Cell col="5" text="ioflag"/>
  54. <Cell col="6" text="orddrid"/>
  55. <Cell col="7" text="orddeptcd"/>
  56. <Cell col="8" text="진료과"/>
  57. <Cell col="9" text="기록일자"/>
  58. <Cell col="10" text="formrecdeptcd"/>
  59. <Cell col="11" text="formrecuserid"/>
  60. <Cell col="12" text="기록자"/>
  61. <Cell col="13" text="formcd"/>
  62. <Cell col="14" text="서식명"/>
  63. <Cell col="15" text="cnfmstat"/>
  64. <Cell col="16" text="noticd"/>
  65. <Cell col="17" text="formrecseq"/>
  66. <Cell col="18" text="histno"/>
  67. <Cell col="19" text="histstat"/>
  68. <Cell col="20" text="notideptcd"/>
  69. <Cell col="21" text="notiuserid"/>
  70. <Cell col="22" text="remark"/>
  71. <Cell col="23" text="최초작성일시"/>
  72. </Band>
  73. <Band id="body">
  74. <Cell text="bind:cnfmstatnm"/>
  75. <Cell col="1" text="bind:pid"/>
  76. <Cell col="2" text="bind:hngnm"/>
  77. <Cell col="3" text="bind:cretno"/>
  78. <Cell col="4" text="bind:orddd" mask="yyyy-mm-dd"/>
  79. <Cell col="5" text="bind:ioflag"/>
  80. <Cell col="6" text="bind:orddrid"/>
  81. <Cell col="7" text="bind:orddeptcd"/>
  82. <Cell col="8" text="bind:ordabbrnm"/>
  83. <Cell col="9" text="bind:lastformrecdd" mask="yyyy-mm-dd"/>
  84. <Cell col="10" text="bind:formrecdeptcd"/>
  85. <Cell col="11" text="bind:formrecuserid"/>
  86. <Cell col="12" text="bind:formrecusernm"/>
  87. <Cell col="13" text="bind:formcd"/>
  88. <Cell col="14" text="bind:formnm"/>
  89. <Cell col="15" text="bind:cnfmstat"/>
  90. <Cell col="16" text="bind:noticd"/>
  91. <Cell col="17" text="bind:formrecseq"/>
  92. <Cell col="18" text="bind:histno"/>
  93. <Cell col="19" text="bind:histstat"/>
  94. <Cell col="20" text="bind:notideptcd"/>
  95. <Cell col="21" text="bind:notiuserid"/>
  96. <Cell col="22" text="bind:remark"/>
  97. <Cell col="23" text="bind:fstrgstdt" mask="yyyy-mm-dd hh:nn"/>
  98. </Band>
  99. </Format>
  100. </Formats>
  101. </Grid>
  102. <TextArea position="absolute 0 66 574 300" id="txt_cnts"/>
  103. <Shape position="absolute 0 59 574 65" linetype="vertical" id="line3" class="line_3"/>
  104. <Combo position="absolute 316 7 406 26" id="cmb_user" class="combo_search" innerdataset="@ds_init_userlist" datacolumn="usernm" codecolumn="userid" onitemchanged="group3_cmb_user_onitemchanged"/>
  105. <Div position="absolute 580 0 1177 740" id="ivw_loader" url="emr_medirecxp::SSMMR01100_서식로더.xfdl"/>
  106. <Combo position="absolute 411 7 501 26" id="cmb_cnfmstat" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="group3_cmb_cnfmstat_onitemchanged">
  107. <Dataset id="innerdataset">
  108. <ColumnInfo>
  109. <Column id="codecolumn"/>
  110. <Column id="datacolumn"/>
  111. </ColumnInfo>
  112. <Rows>
  113. <Row>
  114. <Col id="codecolumn">
  115. </Col>
  116. <Col id="datacolumn">전체</Col>
  117. </Row>
  118. <Row>
  119. <Col id="codecolumn">100</Col>
  120. <Col id="datacolumn">미확인</Col>
  121. </Row>
  122. <Row>
  123. <Col id="codecolumn">200</Col>
  124. <Col id="datacolumn">확인</Col>
  125. </Row>
  126. <Row>
  127. <Col id="codecolumn">500</Col>
  128. <Col id="datacolumn">완료</Col>
  129. </Row>
  130. </Rows>
  131. </Dataset>
  132. </Combo>
  133. <Static text="진료과/사용자/상태 :" position="absolute 5 8 157 25" id="caption21" class="search_name"/>
  134. </Layout>
  135. </Layouts>
  136. </Div>
  137. </Layout>
  138. </Layouts>
  139. <Objects>
  140. <Dataset id="ds_init_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  141. <ColumnInfo>
  142. <Column id="deptnm" type="STRING"/>
  143. <Column id="deptcd" type="STRING"/>
  144. </ColumnInfo>
  145. </Dataset>
  146. <Dataset id="ds_notidetaillist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  147. <ColumnInfo>
  148. <Column id="cnfmstatnm" type="STRING"/>
  149. <Column id="pid" type="STRING"/>
  150. <Column id="hngnm" type="STRING"/>
  151. <Column id="cretno" type="STRING"/>
  152. <Column id="orddd" type="STRING"/>
  153. <Column id="ioflag" type="STRING"/>
  154. <Column id="orddrid" type="STRING"/>
  155. <Column id="orddeptcd" type="STRING"/>
  156. <Column id="ordabbrnm" type="STRING"/>
  157. <Column id="lastformrecdd" type="STRING"/>
  158. <Column id="formrecdeptcd" type="STRING"/>
  159. <Column id="formrecuserid" type="STRING"/>
  160. <Column id="formrecusernm" type="STRING"/>
  161. <Column id="formcd" type="STRING"/>
  162. <Column id="formnm" type="STRING"/>
  163. <Column id="cnfmstat" type="STRING"/>
  164. <Column id="noticd" type="STRING"/>
  165. <Column id="formrecseq" type="STRING"/>
  166. <Column id="histno" type="STRING"/>
  167. <Column id="histstat" type="STRING"/>
  168. <Column id="notideptcd" type="STRING"/>
  169. <Column id="notiuserid" type="STRING"/>
  170. <Column id="remark" type="STRING"/>
  171. <Column id="fstrgstdt" type="STRING"/>
  172. </ColumnInfo>
  173. </Dataset>
  174. <Dataset id="ds_init_userlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  175. <ColumnInfo>
  176. <Column id="usernm" type="STRING"/>
  177. <Column id="userid" type="STRING"/>
  178. </ColumnInfo>
  179. </Dataset>
  180. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  181. <ColumnInfo>
  182. <Column id="deptcd" type="STRING" size="256"/>
  183. <Column id="userid" type="STRING" size="256"/>
  184. <Column id="cnfmstat" type="STRING" size="256"/>
  185. </ColumnInfo>
  186. <Rows>
  187. <Row/>
  188. </Rows>
  189. </Dataset>
  190. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  191. <Dataset id="ds_openrecinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  192. <Dataset id="ds_send_updt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  193. </Objects>
  194. <Bind>
  195. <BindItem id="item0" compid="group3.cmb_orddept" propid="value" datasetid="ds_cond" columnid="deptcd"/>
  196. <BindItem id="item1" compid="group3.cmb_user" propid="value" datasetid="ds_cond" columnid="userid"/>
  197. <BindItem id="item2" compid="group3.cmb_cnfmstat" propid="value" datasetid="ds_cond" columnid="cnfmstat"/>
  198. </Bind>
  199. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  200. * System Name :
  201. * Job Name :
  202. * Creator :
  203. * Make Date : 2015-02-23
  204. * Description :
  205. *---------------------------------------------------------------------------------------
  206. * Modify Date Modifier Modify Description
  207. *---------------------------------------------------------------------------------------
  208. * 2015-02-23 Live Converter TF->XP
  209. *
  210. *---------------------------------------------------------------------------------------
  211. ****************************************************************************************/
  212. include "com_commonxp::comm_main.xjs";
  213. include "emr_prcpmngtxp::MMOCommon.xjs";
  214. include "emr_prcpmngtxp::MMO001.xjs";
  215. include "emr_recmngtxp::SPMRI05000.xjs";
  216. var arErrorCode = new HashArray();
  217. function SPMRI05000_onload(obj:Form, e:LoadEventInfo)
  218. {
  219. frmf_initForm(obj);
  220. fInit();
  221. }
  222. function group3_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  223. {
  224. var deptcd = ds_cond.getColumn(0,"deptcd");
  225. fGetUserInfo(deptcd);
  226. }
  227. function group3_grd_detail_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  228. {
  229. if ((grd_detail.isCell(event.target) && (grd_detail.mouserow >= grd_detail.fixedrows)) && (grd_detail.valueMatrix(grd_detail.row, grd_detail.colref("formrecseq")) != "")){
  230. fOpenRecEditMode(ds_notidetaillist.rowposition, true);
  231. //pid, orddd, cretno, ioflag , orddeptcd, orddrid, patnm, sa
  232. }
  233. }
  234. function group3_cmb_user_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  235. {
  236. fGetDetail();
  237. }
  238. function group3_cmb_cnfmstat_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  239. {
  240. fGetDetail();
  241. }
  242. ]]></Script>
  243. </Form>
  244. </FDL>